Searched refs:guid (Results 1 - 25 of 25) sorted by relevance

/haiku-fatelf/src/add-ons/kernel/partitioning_systems/gpt/
H A Dutility.h13 #include "guid.h"
22 const char* get_partition_type(const guid_t& guid);
27 bool get_guid_for_partition_type(const char* type, guid_t& guid);
H A Dgpt_known_guids.h16 struct guid;
25 inline bool operator==(const guid& other) const;
44 guid_t guid; local
45 guid.data1 = B_HOST_TO_LENDIAN_INT32(data1);
46 guid.data2 = B_HOST_TO_LENDIAN_INT16(data2);
47 guid.data3 = B_HOST_TO_LENDIAN_INT16(data3);
49 memcpy(guid.data4, &last, sizeof(uint64));
51 return guid;
56 static_guid guid; member in struct:type_map
H A Dguid.h12 typedef struct guid { struct
18 inline bool operator==(const guid &other) const;
19 inline bool operator!=(const guid &other) const;
H A Dutility.cpp86 get_partition_type(const guid_t& guid) argument
89 if (kTypeMap[i].guid == guid)
99 get_guid_for_partition_type(const char* type, guid_t& guid) argument
103 guid = kTypeMap[i].guid;
H A DHeader.cpp141 // TODO: set disk guid
337 static char guid[48]; local
338 snprintf(guid, sizeof(guid),
344 return guid;
/haiku-fatelf/src/add-ons/media/plugins/asf_reader/libasf/
H A Dguid.c21 #include "guid.h"
119 asf_guid_get_object_type(const asf_guid_t *guid) argument
123 if (asf_guid_equals(guid, &asf_guid_header))
125 else if (asf_guid_equals(guid, &asf_guid_data))
127 else if (asf_guid_equals(guid, &asf_guid_index))
130 else if (asf_guid_equals(guid, &asf_guid_file_properties))
132 else if (asf_guid_equals(guid, &asf_guid_stream_properties))
134 else if (asf_guid_equals(guid, &asf_guid_content_description))
136 else if (asf_guid_equals(guid, &asf_guid_header_extension))
138 else if (asf_guid_equals(guid,
164 asf_guid_get_stream_type(const asf_guid_t *guid) argument
183 asf_guid_get_type(const asf_guid_t *guid) argument
[all...]
H A Dguid.h64 guid_type_t asf_guid_get_object_type(const asf_guid_t *guid);
65 guid_type_t asf_guid_get_stream_type(const asf_guid_t *guid);
66 guid_type_t asf_guid_get_type(const asf_guid_t *guid);
H A Dasfint.h25 #include "guid.h"
29 GetGUID(const void *pointer, asf_guid_t *guid) argument
32 guid->v1 = GetDWLE(data);
33 guid->v2 = GetWLE(data + 4);
34 guid->v3 = GetWLE(data + 6);
35 memcpy(guid->v4, data + 8, 8);
48 asf_guid_t guid; \
H A Dparse.c26 #include "guid.h"
38 GetGUID(data, &obj->guid);
39 obj->type = asf_guid_get_type(&obj->guid);
48 obj->guid.v1, obj->guid.v2, obj->guid.v3, obj->guid.v4[0],
49 obj->guid.v4[1], obj->guid.v4[2], obj->guid
[all...]
H A Dheader.c26 #include "guid.h"
61 asf_guid_t guid; local
70 GetGUID(objdata, &guid);
71 type = asf_guid_get_stream_type(&guid);
89 GetGUID(objdata, &guid);
90 type = asf_guid_get_stream_type(&guid);
264 asf_guid_t guid; local
274 GetGUID(data, &guid);
275 if (asf_guid_get_type(&guid) != GUID_STREAM_PROPERTIES) {
426 /* unknown guid typ
[all...]
/haiku-fatelf/src/servers/media/
H A DFormatManager.cpp84 desc.u.asf.guid.data[0], desc.u.asf.guid.data[1],
85 desc.u.asf.guid.data[2], desc.u.asf.guid.data[3],
86 desc.u.asf.guid.data[4], desc.u.asf.guid.data[5],
87 desc.u.asf.guid.data[6], desc.u.asf.guid.data[7],
88 desc.u.asf.guid.data[8], desc.u.asf.guid
[all...]
/haiku-fatelf/headers/private/kernel/boot/
H A Ddisk_identifier.h59 uint64 guid; member in struct:disk_identifier::__anon1045::__anon1050
/haiku-fatelf/src/add-ons/media/plugins/wav_reader/
H A Dwav.h106 uint8 guid[16]; // first two bytes are format code member in struct:format_struct_extensible
H A DWavReaderPlugin.cpp275 TRACE(" guid[0-1] format 0x%04x\n", (format_ext.guid[1] << 8) | format_ext.guid[0]);
323 fMetaData.format_tag = (format_ext.guid[1] << 8) | format_ext.guid[0];
/haiku-fatelf/src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/
H A DUVCCamDevice.cpp52 print_guid(const usbvc_guid guid) argument
54 if (!memcmp(guid, kYUY2Guid, sizeof(usbvc_guid)))
56 else if (!memcmp(guid, kNV12Guid, sizeof(usbvc_guid)))
60 "%02x:%02x:%02x:%02x", guid[0], guid[1], guid[2], guid[3], guid[4],
61 guid[5], guid[
[all...]
/haiku-fatelf/src/tests/kits/media/
H A DmediaFormats.cpp137 printf("\tguid:\t0x%Lx%Lx\n", *(uint64 *)&description.u.asf.guid.data[0], *(uint64 *)&description.u.asf.guid.data[8]);
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dsecurity.h222 extern BOOL ntfs_guid_is_zero(const GUID *guid);
223 extern char *ntfs_guid_to_mbs(const GUID *guid, char *guid_str);
244 extern void ntfs_generate_guid(GUID *guid);
H A Dsecurity.c160 * @guid: [IN] guid to check
162 * Return TRUE if @guid is a valid pointer to a GUID and it is the zero GUID
165 BOOL ntfs_guid_is_zero(const GUID *guid) argument
167 return (memcmp(guid, zero_guid, sizeof(*zero_guid)));
172 * @guid: [IN] guid to convert
175 * Convert the GUID pointed to by @guid to a multi byte string of the form
186 char *ntfs_guid_to_mbs(const GUID *guid, char *guid_str) argument
191 if (!guid) {
369 ntfs_generate_guid(GUID *guid) argument
[all...]
H A Dobject_id.c113 GUID guid; member in union:__anon2449::__anon2450
/haiku-fatelf/headers/os/media/
H A DMediaFormats.h137 GUID guid; member in struct:__anon475
/haiku-fatelf/src/kits/media/
H A DMediaFormats.cpp203 return a.u.asf.guid == b.u.asf.guid;
238 return a.u.asf.guid < b.u.asf.guid;
/haiku-fatelf/src/add-ons/kernel/bus_managers/firewire/
H A Dfwohcireg.h227 fwohcireg_t guid; /* GUID_ROM No. 0x4 */ member in struct:ohci_registers
/haiku-fatelf/src/system/boot/platform/bios_ia32/
H A Ddevices.cpp102 uint64 guid; member in struct:drive_parameters::__anon314::__anon319
333 disk.device.firewire.guid = parameters.device.firewire.guid;
/haiku-fatelf/src/system/boot/platform/atari_m68k/
H A Ddevices.cpp86 uint64 guid; member in struct:drive_parameters::__anon304::__anon309
282 disk.device.firewire.guid = parameters.device.firewire.guid;
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/utils/
H A Dmkntfs.c3005 * Insert an index entry with the key @guid and data pointing to the mft record
3011 static int index_obj_id_insert(MFT_RECORD *m, const GUID *guid, argument
3034 idx_entry_new->key.object_id = *guid;

Completed in 157 milliseconds