Searched refs:descriptor (Results 1 - 25 of 83) sorted by path

1234

/haiku/headers/posix/sys/
H A Dsocket.h189 int sockatmark(int descriptor);
H A Dstatvfs.h35 int fstatvfs(int descriptor, struct statvfs *buffer);
/haiku/src/add-ons/kernel/busses/usb/
H A Duhci_hardware.h144 uhci_td_maximum_length(uhci_td *descriptor) argument
146 size_t length = (descriptor->token >> TD_TOKEN_MAXLEN_SHIFT) + 1;
154 uhci_td_actual_length(uhci_td *descriptor) argument
156 size_t length = (descriptor->status & TD_STATUS_ACTLEN_MASK) + 1;
/haiku/src/add-ons/kernel/drivers/bus/usb/
H A Dusb_raw.h69 usb_device_descriptor *descriptor; member in struct:__anon543::__anon545
74 usb_configuration_descriptor *descriptor; member in struct:__anon543::__anon546
80 usb_configuration_descriptor *descriptor; member in struct:__anon543::__anon547
94 usb_interface_descriptor *descriptor; member in struct:__anon543::__anon549
101 usb_interface_descriptor *descriptor; member in struct:__anon543::__anon550
109 usb_endpoint_descriptor *descriptor; member in struct:__anon543::__anon551
117 usb_endpoint_descriptor *descriptor; member in struct:__anon543::__anon552
126 usb_descriptor *descriptor; member in struct:__anon543::__anon553
135 usb_descriptor *descriptor; member in struct:__anon543::__anon554
145 usb_string_descriptor *descriptor; member in struct:__anon543::__anon555
157 } descriptor; member in union:__anon543
[all...]
/haiku/src/add-ons/kernel/file_systems/udf/
H A DAllocationDescriptorList.h23 The \c Accessor class is an allocation descriptor accessor class
27 - inline uint8 GetType(DescriptorType &descriptor);
28 - inline uint32 GetBlock(DescriptorType &descriptor);
29 - inline uint16 GetPartition(DescriptorType &descriptor);
30 - inline uint32 GetLength(DescriptorType &descriptor);
54 void _WalkContinuationChain(Descriptor *descriptor);
117 Descriptor *descriptor = _CurrentDescriptor(); local
118 if (descriptor) {
120 < _BlockIndex() + fAccessor.GetLength(*descriptor)) {
124 extent->set_block(fAccessor.GetBlock(*descriptor)
171 Descriptor* descriptor = _CurrentDescriptor(); local
199 _WalkContinuationChain(Descriptor *descriptor) argument
[all...]
H A DIcb.h178 Descriptor* descriptor = _Descriptor(); local
179 return descriptor ? descriptor->allocation_descriptors() : NULL;
187 Descriptor* descriptor = _Descriptor(); local
188 return descriptor ? descriptor->allocation_descriptors_length() : 0;
H A DUdfStructures.h315 Each descriptor consumes an entire block. All unused trailing
316 bytes in the descriptor should be set to 0.
349 // Volume structure descriptor ids
419 /*! \brief Allocation descriptor.
472 /*! \brief Allocation descriptor w/ 6 byte implementation use field.
561 /*! \brief Common tag found at the beginning of most udf descriptor structures.
596 the descriptor_tag's enclosing descriptor and all member variables
600 size of the enclosing descriptor).
602 \param The tag's enclosing descriptor.
603 \param The size of the tag's enclosing descriptor (includin
608 set_checksums(Descriptor &descriptor, uint16 size = sizeof(Descriptor)) argument
[all...]
H A DVolume.cpp87 // Run through the volume recognition and descriptor sequences to
120 // Find the corresponding partition descriptor
121 partition_descriptor *descriptor = NULL; local
125 descriptor = &partitionDescriptors[j];
130 if (descriptor) {
133 descriptor->start(), descriptor->length());
138 map->partition_number(), descriptor->start(),
139 descriptor->length()));
145 TRACE_ERROR(("Volume::Mount: no matching partition descriptor foun
173 partition_descriptor *descriptor = NULL; local
[all...]
/haiku/src/add-ons/kernel/partitioning_systems/apple/
H A Dapple.h60 uint64 Start(apple_driver_descriptor &descriptor) { return StartBlock() * descriptor.BlockSize(); } argument
61 uint64 Size(apple_driver_descriptor &descriptor) { return BlockCount() * descriptor.BlockSize(); } argument
/haiku/src/add-ons/kernel/partitioning_systems/vmdk/
H A Dvmdk.cpp41 // #pragma mark - VMDK header/descriptor parsing
214 TRACE("Error: Invalid descriptor location!\n");
221 TRACE("Error: Unsupported descriptor size!\n");
225 // read descriptor
226 char* descriptor = (char*)malloc(descriptorSize + 1); local
227 if (descriptor == NULL) {
231 MemoryDeleter descriptorDeleter(descriptor);
233 error = read_file(fd, descriptorOffset, descriptor, descriptorSize);
237 // determine the actual descriptor size
238 descriptor[descriptorSiz
[all...]
/haiku/src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/
H A DUVCCamDevice.h40 const usbvc_class_descriptor* descriptor,
43 const usbvc_class_descriptor* descriptor,
55 descriptor);
/haiku/src/add-ons/translators/tga/
H A DTGATranslator.cpp201 // descriptor which says there are no alpha bits.
206 nalpha = imagespec.descriptor & TGA_DESC_ALPHABITS;
340 imagespec.descriptor = buf[17];
343 if ((imagespec.descriptor & TGA_ORIGIN_HORZ_BIT) != TGA_ORIGIN_LEFT)
345 // unused descriptor bits, these bits must be zero
346 if (imagespec.descriptor & TGA_DESC_BITS76)
351 (imagespec.descriptor & TGA_DESC_ALPHABITS) != 8 &&
352 (imagespec.descriptor & TGA_DESC_ALPHABITS) != 0)
357 (imagespec.descriptor & TGA_DESC_ALPHABITS) != 0)
362 (imagespec.descriptor
[all...]
H A DTGATranslator.h102 uint8 descriptor; member in struct:TGAImageSpec
/haiku/src/build/libroot/
H A DLocalFD.h21 Descriptor* descriptor = get_descriptor(fd); local
22 if (descriptor && !descriptor->IsSystemFD()) {
25 return descriptor->GetPath(fPath);
H A Dfs_attr_haiku.cpp290 // create descriptor
291 AttrDirDescriptor *descriptor = new AttrDirDescriptor(dir, ref);
292 return add_descriptor(descriptor);
H A Dfs_descriptors.cpp497 add_descriptor(Descriptor *descriptor) argument
503 if (FileDescriptor *file = dynamic_cast<FileDescriptor*>(descriptor)) {
513 (*sDescriptors)[fd] = descriptor;
514 descriptor->fd = fd;
542 Descriptor* descriptor = get_descriptor(fd); local
543 return descriptor == NULL || descriptor->IsSystemFD();
H A Dfs_descriptors.h123 int add_descriptor(Descriptor *descriptor);
/haiku/src/kits/device/
H A DUSBConfiguration.cpp24 command.config.descriptor = &fDescriptor;
H A DUSBEndpoint.cpp21 command.endpoint_etc.descriptor = &fDescriptor;
H A DUSBInterface.cpp127 BUSBInterface::OtherDescriptorAt(uint32 index, usb_descriptor *descriptor, argument
130 if (length <= 0 || descriptor == NULL)
134 command.generic_etc.descriptor = descriptor;
241 command.interface_etc.descriptor = &fDescriptor;
/haiku/src/system/kernel/arch/generic/
H A Dgeneric_vm_physical_page_mapper.cpp69 // pull this descriptor out of the lru list
216 paddr_chunk_descriptor* descriptor local
220 while (descriptor != NULL) {
222 (descriptor - paddr_desc) / sizeof(paddr_desc[0]), descriptor);
226 descriptor = descriptor->next_q;
/haiku/src/system/kernel/fs/
H A Dvfs_tracing.h26 FDTraceEntry(file_descriptor* descriptor) argument
29 fDescriptor(descriptor),
30 fReferenceCount(descriptor->ref_count)
42 NewFD(io_context* context, int fd, file_descriptor* descriptor) argument
44 FDTraceEntry(descriptor),
53 out.Print("fd new: descriptor: %p (%" B_PRId32 "), context: %p, "
65 PutFD(file_descriptor* descriptor) argument
67 FDTraceEntry(descriptor)
74 out.Print("fd put: descriptor: %p (%" B_PRId32 ")", fDescriptor,
82 GetFD(io_context* context, int fd, file_descriptor* descriptor) argument
105 RemoveFD(io_context* context, int fd, file_descriptor* descriptor) argument
160 InheritFD(io_context* context, int fd, file_descriptor* descriptor, io_context* parentContext) argument
[all...]
/haiku/src/tools/fs_shell/
H A Dfd.h48 int32_t type; /* descriptor type */
85 extern void close_fd(struct file_descriptor *descriptor);
86 extern void put_fd(struct file_descriptor *descriptor);
87 extern void disconnect_fd(struct file_descriptor *descriptor);
88 extern void inc_fd_ref_count(struct file_descriptor *descriptor);
94 extern vnode* fd_vnode(struct file_descriptor *descriptor);
H A Dvfs.h93 void vfs_unlock_vnode_if_locked(struct file_descriptor *descriptor);
/haiku/src/tools/vmdkimage/
H A Dvmdkimage.cpp91 char *descriptor = (char *)malloc(descriptorSize); local
92 if (descriptor == NULL) {
93 fprintf(stderr, "Error: cannot allocate descriptor size %u.\n",
98 if (pread(image, descriptor, descriptorSize,
105 puts(descriptor);
107 free(descriptor);
341 // Create embedded descriptor

Completed in 195 milliseconds

1234