/external/chromium_org/device/bluetooth/ |
D | bluetooth_uuid.cc | 20 void GetCanonicalUuid(std::string uuid, in GetCanonicalUuid() argument 29 if (uuid.empty()) in GetCanonicalUuid() 32 if (uuid.size() < 11 && uuid.find("0x") == 0) in GetCanonicalUuid() 33 uuid = uuid.substr(2); in GetCanonicalUuid() 35 if (!(uuid.size() == 4 || uuid.size() == 8 || uuid.size() == 36)) in GetCanonicalUuid() 38 for (size_t i = 0; i < uuid.size(); ++i) { in GetCanonicalUuid() 40 if (uuid[i] != '-') in GetCanonicalUuid() 43 if (!IsHexDigit(uuid[i])) in GetCanonicalUuid() 45 uuid[i] = base::ToLowerASCII(uuid[i]); in GetCanonicalUuid() 49 canonical->assign(uuid); in GetCanonicalUuid() [all …]
|
D | bluetooth_uuid.h | 41 explicit BluetoothUUID(const std::string& uuid); 73 bool operator<(const BluetoothUUID& uuid) const; 76 bool operator==(const BluetoothUUID& uuid) const; 77 bool operator!=(const BluetoothUUID& uuid) const; 93 void PrintTo(const BluetoothUUID& uuid, std::ostream* out);
|
/external/chromium_org/content/browser/fileapi/ |
D | blob_storage_host.cc | 36 bool BlobStorageHost::StartBuildingBlob(const std::string& uuid) { in StartBuildingBlob() argument 37 if (!context_.get() || uuid.empty() || context_->IsInUse(uuid)) in StartBuildingBlob() 39 context_->StartBuildingBlob(uuid); in StartBuildingBlob() 40 blobs_inuse_map_[uuid] = 1; in StartBuildingBlob() 45 const std::string& uuid, const BlobData::Item& data_item) { in AppendBlobDataItem() argument 46 if (!context_.get() || !IsBeingBuiltInHost(uuid)) in AppendBlobDataItem() 48 context_->AppendBlobDataItem(uuid, data_item); in AppendBlobDataItem() 52 bool BlobStorageHost::CancelBuildingBlob(const std::string& uuid) { in CancelBuildingBlob() argument 53 if (!context_.get() || !IsBeingBuiltInHost(uuid)) in CancelBuildingBlob() 55 blobs_inuse_map_.erase(uuid); in CancelBuildingBlob() [all …]
|
D | blob_storage_host.h | 43 bool StartBuildingBlob(const std::string& uuid) WARN_UNUSED_RESULT; 44 bool AppendBlobDataItem(const std::string& uuid, 46 bool CancelBuildingBlob(const std::string& uuid) WARN_UNUSED_RESULT; 47 bool FinishBuildingBlob(const std::string& uuid, 49 bool IncrementBlobRefCount(const std::string& uuid) WARN_UNUSED_RESULT; 50 bool DecrementBlobRefCount(const std::string& uuid) WARN_UNUSED_RESULT; 52 const std::string& uuid) WARN_UNUSED_RESULT; 58 bool IsInUseInHost(const std::string& uuid); 59 bool IsBeingBuiltInHost(const std::string& uuid);
|
/external/qemu/distrib/ext4_utils/src/ |
D | uuid.c | 30 struct uuid { struct 53 struct uuid *uuid = (struct uuid *)result; in generate_uuid() argument 56 memcpy(uuid, sha1, sizeof(struct uuid)); in generate_uuid() 58 uuid->time_low = ntohl(uuid->time_low); in generate_uuid() 59 uuid->time_mid = ntohs(uuid->time_mid); in generate_uuid() 60 uuid->time_hi_and_version = ntohs(uuid->time_hi_and_version); in generate_uuid() 61 uuid->time_hi_and_version &= 0x0FFF; in generate_uuid() 62 uuid->time_hi_and_version |= (5 << 12); in generate_uuid() 63 uuid->clk_seq_hi_res &= ~(1 << 6); in generate_uuid() 64 uuid->clk_seq_hi_res |= 1 << 7; in generate_uuid()
|
/external/e2fsprogs/lib/uuid/ |
D | unparse.c | 53 struct uuid uuid; in uuid_unparse_x() local 55 uuid_unpack(uu, &uuid); in uuid_unparse_x() 57 uuid.time_low, uuid.time_mid, uuid.time_hi_and_version, in uuid_unparse_x() 58 uuid.clock_seq >> 8, uuid.clock_seq & 0xFF, in uuid_unparse_x() 59 uuid.node[0], uuid.node[1], uuid.node[2], in uuid_unparse_x() 60 uuid.node[3], uuid.node[4], uuid.node[5]); in uuid_unparse_x()
|
D | uuid_time.c | 59 struct uuid uuid; in uuid_time() local 63 uuid_unpack(uu, &uuid); in uuid_time() 65 high = uuid.time_mid | ((uuid.time_hi_and_version & 0xFFF) << 16); in uuid_time() 66 clock_reg = uuid.time_low | ((uint64_t) high << 32); in uuid_time() 80 struct uuid uuid; in uuid_type() local 82 uuid_unpack(uu, &uuid); in uuid_type() 83 return ((uuid.time_hi_and_version >> 12) & 0xF); in uuid_type() 88 struct uuid uuid; in uuid_variant() local 91 uuid_unpack(uu, &uuid); in uuid_variant() 92 var = uuid.clock_seq; in uuid_variant()
|
D | Makefile.in | 8 my_dir = lib/uuid 15 SMANPAGES= uuid.3 uuid_clear.3 uuid_compare.3 uuid_copy.3 \ 42 LIBDIR= uuid 47 ELF_MYDIR = uuid 53 BSDLIB_MYDIR = uuid 71 all:: tst_uuid uuid_time $(SMANPAGES) uuid.pc 73 uuid.h: $(srcdir)/uuid.h.in 75 $(Q) cp $(srcdir)/uuid.h.in uuid.h 77 $(top_builddir)/lib/uuid/uuid_types.h: $(srcdir)/uuid_types.h.in $(top_builddir)/config.status 80 tst_uuid.o: $(srcdir)/tst_uuid.c uuid.h [all …]
|
D | parse.c | 44 struct uuid uuid; in uuid_parse() local 65 uuid.time_low = strtoul(in, NULL, 16); in uuid_parse() 66 uuid.time_mid = strtoul(in+9, NULL, 16); in uuid_parse() 67 uuid.time_hi_and_version = strtoul(in+14, NULL, 16); in uuid_parse() 68 uuid.clock_seq = strtoul(in+19, NULL, 16); in uuid_parse() 74 uuid.node[i] = strtoul(buf, NULL, 16); in uuid_parse() 77 uuid_pack(&uuid, uu); in uuid_parse()
|
/external/e2fsprogs/lib/e2p/ |
D | uuid.c | 16 struct uuid { struct 36 static void e2p_unpack_uuid(void *in, struct uuid *uu) in e2p_unpack_uuid() 64 struct uuid uuid; in e2p_uuid_to_str() local 66 e2p_unpack_uuid(uu, &uuid); in e2p_uuid_to_str() 69 uuid.time_low, uuid.time_mid, uuid.time_hi_and_version, in e2p_uuid_to_str() 70 uuid.clock_seq >> 8, uuid.clock_seq & 0xFF, in e2p_uuid_to_str() 71 uuid.node[0], uuid.node[1], uuid.node[2], in e2p_uuid_to_str() 72 uuid.node[3], uuid.node[4], uuid.node[5]); in e2p_uuid_to_str()
|
/external/chromium_org/storage/browser/blob/ |
D | blob_storage_context.cc | 61 const std::string& uuid) { in GetBlobDataFromUUID() argument 63 BlobMap::iterator found = blob_map_.find(uuid); in GetBlobDataFromUUID() 85 StartBuildingBlob(data->uuid()); in AddFinishedBlob() 89 AppendBlobDataItem(data->uuid(), *iter); in AddFinishedBlob() 91 FinishBuildingBlob(data->uuid(), data->content_type()); in AddFinishedBlob() 92 scoped_ptr<BlobDataHandle> handle = GetBlobDataFromUUID(data->uuid()); in AddFinishedBlob() 93 DecrementBlobRefCount(data->uuid()); in AddFinishedBlob() 98 const GURL& blob_url, const std::string& uuid) { in RegisterPublicBlobURL() argument 100 DCHECK(IsInUse(uuid)); in RegisterPublicBlobURL() 102 if (!IsInUse(uuid) || IsUrlRegistered(blob_url)) in RegisterPublicBlobURL() [all …]
|
D | blob_storage_context.h | 43 scoped_ptr<BlobDataHandle> GetBlobDataFromUUID(const std::string& uuid); 51 bool RegisterPublicBlobURL(const GURL& url, const std::string& uuid); 78 void StartBuildingBlob(const std::string& uuid); 79 void AppendBlobDataItem(const std::string& uuid, 81 void FinishBuildingBlob(const std::string& uuid, const std::string& type); 82 void CancelBuildingBlob(const std::string& uuid); 83 void IncrementBlobRefCount(const std::string& uuid); 84 void DecrementBlobRefCount(const std::string& uuid); 101 bool IsInUse(const std::string& uuid); 102 bool IsBeingBuilt(const std::string& uuid);
|
D | blob_data_handle.cc | 22 context_->IncrementBlobRefCount(blob_data->uuid()); in BlobDataHandleShared() 29 const std::string& BlobDataHandle::BlobDataHandleShared::uuid() const { in uuid() function in storage::BlobDataHandle::BlobDataHandleShared 30 return blob_data_->uuid(); in uuid() 35 context_->DecrementBlobRefCount(blob_data_->uuid()); in ~BlobDataHandleShared() 64 std::string BlobDataHandle::uuid() const { in uuid() function in storage::BlobDataHandle 65 return shared_->uuid(); in uuid()
|
/external/clang/test/Parser/ |
D | MicrosoftExtensions.cpp | 47 struct __declspec(uuid(L"00000000-0000-0000-1234-000000000047")) uuid_attr_bad1 { };// expected-err… 48 struct __declspec(uuid(3)) uuid_attr_bad2 { };// expected-error {{'uuid' attribute requires a strin… 49 struct __declspec(uuid("0000000-0000-0000-1234-0000500000047")) uuid_attr_bad3 { };// expected-erro… 50 struct __declspec(uuid("0000000-0000-0000-Z234-000000000047")) uuid_attr_bad4 { };// expected-error… 51 struct __declspec(uuid("000000000000-0000-1234-000000000047")) uuid_attr_bad5 { };// expected-error… 53 __declspec(uuid("000000A0-0000-0000-C000-000000000046")) int i; // expected-warning {{'uuid' attrib… 55 struct __declspec(uuid("000000A0-0000-0000-C000-000000000046")) 59 struct __declspec(uuid("000000A0-0000-0000-C000-000000000049")) 117 struct __declspec(uuid("000000A0-0000-0000-C000-000000000049")) late_defined_uuid; 124 struct __declspec(uuid("{12345678-1234-1234-1234-1234567890aB}")) uuid; [all …]
|
/external/bluetooth/bluedroid/btif/src/ |
D | btif_gatt_server.c | 92 bt_uuid_t uuid; member 180 bta_to_btif_uuid(&app_uuid, &p_data->reg_oper.uuid); in btapp_gatts_handle_cback() 219 bta_to_btif_uuid(&srvc_id.id.uuid, &p_data->create.uuid); in btapp_gatts_handle_cback() 238 bt_uuid_t uuid; in btapp_gatts_handle_cback() local 239 bta_to_btif_uuid(&uuid, &p_data->add_result.char_uuid); in btapp_gatts_handle_cback() 244 &uuid, in btapp_gatts_handle_cback() 252 bt_uuid_t uuid; in btapp_gatts_handle_cback() local 253 bta_to_btif_uuid(&uuid, &p_data->add_result.char_uuid); in btapp_gatts_handle_cback() 258 &uuid, in btapp_gatts_handle_cback() 377 tBT_UUID uuid; in btgatts_handle_event() local [all …]
|
D | btif_sock_sdp.c | 460 static int add_rfc_sdp_by_uuid(const char* name, const uint8_t* uuid, int scn) in add_rfc_sdp_by_uuid() argument 478 int final_scn = get_reserved_rfc_channel(uuid); in add_rfc_sdp_by_uuid() 483 if (IS_UUID(UUID_OBEX_OBJECT_PUSH,uuid)) in add_rfc_sdp_by_uuid() 487 else if (IS_UUID(UUID_PBAP_PSE,uuid)) in add_rfc_sdp_by_uuid() 491 else if (IS_UUID(UUID_MAPS_MAS,uuid)) in add_rfc_sdp_by_uuid() 495 else if (IS_UUID(UUID_SPP, uuid)) in add_rfc_sdp_by_uuid() 501 handle = add_sdp_by_uuid(name, uuid, final_scn); in add_rfc_sdp_by_uuid() 518 int get_reserved_rfc_channel (const uint8_t* uuid) in get_reserved_rfc_channel() argument 520 if (IS_UUID(UUID_PBAP_PSE,uuid)) in get_reserved_rfc_channel() 524 else if (IS_UUID(UUID_OBEX_OBJECT_PUSH,uuid)) in get_reserved_rfc_channel() [all …]
|
/external/bluetooth/bluedroid/bta/gatt/ |
D | bta_gattc_cache.c | 79 ((p_cur_srvc->service_uuid.id.uuid.len == 2) ? "uuid16" : "uuid128"), in bta_gattc_display_cache_server() 80 p_cur_srvc->service_uuid.id.uuid.uu.uuid16, in bta_gattc_display_cache_server() 119 i + 1, pp->uuid.uu.uuid16, pp->s_handle, pp->e_handle, pp->is_primary); in bta_gattc_display_explore_record() 212 static UINT8 bta_gattc_get_srvc_inst_id(tBTA_GATTC_SERV *p_srvc_cb, tBT_UUID uuid) in bta_gattc_get_srvc_inst_id() argument 223 if (bta_gattc_uuid_compare(&p_srvc_rec->uuid, &uuid, TRUE)) in bta_gattc_get_srvc_inst_id() 319 memcpy(&p_new_srvc->service_uuid.id.uuid, p_uuid, sizeof(tBT_UUID)); in bta_gattc_add_srvc_to_cache() 591 &p_rec->uuid, in bta_gattc_explore_srvc() 646 &p_rec->uuid, in bta_gattc_char_disc_cmpl() 679 &p_rec->uuid, in bta_gattc_char_dscpt_disc_cmpl() 698 UINT16 e_handle, tBT_UUID uuid) in bta_gattc_srvc_in_list() argument [all …]
|
/external/bluetooth/bluedroid/stack/gatt/ |
D | gatt_db.c | 103 return &((tGATT_ATTR16 *)p_db->p_attr_list)->p_value->uuid; in gatts_get_service_uuid() 166 switch (p_attr->uuid) in gatts_check_attr_readability() 221 p_attr16->uuid, in read_attr_value() 233 uuid16 = p_attr16->uuid; in read_attr_value() 240 read_long_uuid = p_attr16->uuid; in read_attr_value() 245 len = p_attr16->p_value->uuid.len; in read_attr_value() 246 if (mtu >= p_attr16->p_value->uuid.len) in read_attr_value() 248 gatt_build_uuid_to_stream(&p, p_attr16->p_value->uuid); in read_attr_value() 263 UINT16_TO_STREAM(p, ((tGATT_ATTR16 *)(p_attr16->p_next))->uuid); in read_attr_value() 268 gatt_convert_uuid32_to_uuid128 (p, ((tGATT_ATTR32 *)(p_attr16->p_next))->uuid); in read_attr_value() [all …]
|
/external/chromium_org/third_party/WebKit/public/platform/ |
D | WebBlobInfo.h | 21 WebBlobInfo(const WebString& uuid, const WebString& type, long long size) in WebBlobInfo() argument 23 , m_uuid(uuid) in WebBlobInfo() 29 …WebBlobInfo(const WebString& uuid, const WebString& filePath, const WebString& fileName, const Web… in WebBlobInfo() argument 31 , m_uuid(uuid) in WebBlobInfo() 39 …WebBlobInfo(const WebString& uuid, const WebString& filePath, const WebString& fileName, const Web… in WebBlobInfo() argument 41 , m_uuid(uuid) in WebBlobInfo() 53 const WebString& uuid() const in uuid() function
|
/external/bluetooth/bluedroid/btif/include/ |
D | btif_sock_sdp.h | 30 static inline BOOLEAN is_uuid_empty(const uint8_t* uuid) in is_uuid_empty() argument 33 return uuid == NULL || memcmp(uuid, empty_uuid, sizeof(empty_uuid)) == 0; in is_uuid_empty() 36 int add_rfc_sdp_rec(const char* name, const uint8_t* uuid, int scn); 39 int get_reserved_rfc_channel(const uint8_t* uuid);
|
/external/chromium_org/remoting/host/win/ |
D | com_imported_mstscax.tlh | 28 struct __declspec(uuid("8c11efa1-92c3-11d1-bc1e-00c04fa31489")) 30 struct __declspec(uuid("336d5562-efa8-482e-8cb3-c5c0fc7a7db6")) 36 struct __declspec(uuid("92b4a539-7115-4b7c-a5a9-e5d9efc2780a")) 38 struct __declspec(uuid("8c11efae-92c3-11d1-bc1e-00c04fa31489")) 40 struct __declspec(uuid("327bb5cd-834e-4400-aef2-b30e15e5d682")) 42 struct __declspec(uuid("c9d65442-a0f9-45b2-8f73-d61d2db8cbb6")) 44 struct __declspec(uuid("809945cc-4b3b-4a92-a6b0-dbf9b5f2ef2d")) 46 struct __declspec(uuid("209d0eb9-6254-47b1-9033-a98dae55bb27")) 48 struct __declspec(uuid("3c65b4ab-12b3-465b-acd4-b8dad3bff9e2")) 50 struct __declspec(uuid("605befcf-39c1-45cc-a811-068fb7be346d")) [all …]
|
/external/qemu/ |
D | arch_init.c | 650 int qemu_uuid_parse(const char *str, uint8_t *uuid) in qemu_uuid_parse() argument 658 ret = sscanf(str, UUID_FMT, &uuid[0], &uuid[1], &uuid[2], &uuid[3], in qemu_uuid_parse() 659 &uuid[4], &uuid[5], &uuid[6], &uuid[7], &uuid[8], &uuid[9], in qemu_uuid_parse() 660 &uuid[10], &uuid[11], &uuid[12], &uuid[13], &uuid[14], in qemu_uuid_parse() 661 &uuid[15]); in qemu_uuid_parse() 667 smbios_add_field(1, offsetof(struct smbios_type_1, uuid), 16, uuid); in qemu_uuid_parse()
|
/external/chromium_org/remoting/tools/winext/manifest/ |
D | rdp.h | 20 struct __declspec(uuid("336d5562-efa8-482e-8cb3-c5c0fc7a7db6")) IMsTscAxEvents; 21 struct __declspec(uuid("92b4a539-7115-4b7c-a5a9-e5d9efc2780a")) IMsRdpClient; 22 struct __declspec(uuid("8c11efae-92c3-11d1-bc1e-00c04fa31489")) IMsTscAx; 23 struct __declspec(uuid("327bb5cd-834e-4400-aef2-b30e15e5d682")) IMsTscAx_Redist; 24 struct __declspec(uuid("c9d65442-a0f9-45b2-8f73-d61d2db8cbb6")) IMsTscSecuredSettings; 25 struct __declspec(uuid("809945cc-4b3b-4a92-a6b0-dbf9b5f2ef2d")) IMsTscAdvancedSettings; 26 struct __declspec(uuid("209d0eb9-6254-47b1-9033-a98dae55bb27")) IMsTscDebug; 27 struct __declspec(uuid("3c65b4ab-12b3-465b-acd4-b8dad3bff9e2")) IMsRdpClientAdvancedSettings; 28 struct __declspec(uuid("605befcf-39c1-45cc-a811-068fb7be346d")) IMsRdpClientSecuredSettings; 29 struct __declspec(uuid("c1e6743a-41c1-4a74-832a-0dd06c1c7a0e")) IMsTscNonScriptable; [all …]
|
/external/wpa_supplicant_8/src/wps/ |
D | wps_er.c | 44 ev->uuid = sta->uuid; in wps_er_sta_event() 60 const u8 *uuid) in wps_er_sta_get() argument 66 (uuid == NULL || in wps_er_sta_get() 67 os_memcmp(uuid, sta->uuid, WPS_UUID_LEN) == 0)) in wps_er_sta_get() 100 struct in_addr *addr, const u8 *uuid, in wps_er_ap_get() argument 106 (uuid == NULL || in wps_er_ap_get() 107 os_memcmp(uuid, ap->uuid, WPS_UUID_LEN) == 0) && in wps_er_ap_get() 137 evap->uuid = ap->uuid; in wps_er_ap_event() 279 const u8 *uuid) in wps_er_ap_get_settings() argument 283 if (os_memcmp(uuid, s->uuid, WPS_UUID_LEN) == 0) in wps_er_ap_get_settings() [all …]
|
/external/lldb/source/Host/macosx/ |
D | Symbols.cpp | 47 CFURLRef DBGCopyFullDSYMURLForUUID (CFUUIDRef uuid, CFURLRef exec_url); 58 const lldb_private::UUID *uuid, // the UUID we are looking for in SkinnyMachOFileContainsArchAndUUID() argument 93 if (uuid == NULL) in SkinnyMachOFileContainsArchAndUUID() 125 if (file_uuid == *uuid) in SkinnyMachOFileContainsArchAndUUID() 139 const lldb_private::UUID *uuid, in UniversalMachOFileContainsArchAndUUID() argument 189 …if (SkinnyMachOFileContainsArchAndUUID (file_spec, arch, uuid, file_offset + arch_offset, arch_dat… in UniversalMachOFileContainsArchAndUUID() 202 const lldb_private::UUID *uuid in FileAtPathContainsArchAndUUID() argument 223 …return SkinnyMachOFileContainsArchAndUUID (file_spec, arch, uuid, file_offset, data, data_offset, … in FileAtPathContainsArchAndUUID() 228 …return UniversalMachOFileContainsArchAndUUID (file_spec, arch, uuid, file_offset, data, data_offse… in FileAtPathContainsArchAndUUID() 239 const lldb_private::UUID *uuid, in FindSymbolFileInBundle() argument [all …]
|