/third_party/python/Lib/test/ |
H A D | test_uuid.py | 15 py_uuid = import_helper.import_fresh_module('uuid', blocked=['_uuid']) 16 c_uuid = import_helper.import_fresh_module('uuid', fresh=['_uuid']) 33 uuid = None variable in BaseTestUUID 54 'urn:uuid:00000000-0000-0000-0000-000000000000', 55 0, 0, self.uuid.RESERVED_NCS, None), 63 'urn:uuid:00010203-0405-0607-0809-0a0b0c0d0e0f', 64 0x607040500010203, 0x809, self.uuid.RESERVED_NCS, None), 72 'urn:uuid:02d9e6d5-9467-382e-8f9b-9300a64ac3cd', 73 0x82e946702d9e6d5, 0xf9b, self.uuid.RFC_4122, 3), 81 'urn:uuid 679 uuid = py_uuid global() variable in TestUUIDWithoutExtModule 683 uuid = c_uuid global() variable in TestUUIDWithExtModule 876 uuid = py_uuid global() variable in TestInternalsWithoutExtModule 880 uuid = c_uuid global() variable in TestInternalsWithExtModule [all...] |
/third_party/ffmpeg/libavutil/tests/ |
H A D | uuid.c | 22 #include "libavutil/uuid.h" 28 static const char *UUID_1_URN = "urn:uuid:6021b21e-894e-43ff-8317-1ca891c1c49b"; 42 AVUUID uuid; in main() local 48 if (av_uuid_parse(UUID_1, uuid)) in main() 51 if (!av_uuid_equal(uuid, UUID_1_BYTES)) in main() 56 av_uuid_nil(uuid); in main() 58 if (!av_uuid_equal(uuid, UUID_NIL)) in main() 75 if (av_uuid_parse(UUID_1_UC, uuid)) in main() 78 if (!av_uuid_equal(uuid, UUID_1_BYTES)) in main() 83 if (av_uuid_parse(UUID_1_MIXED, uuid)) in main() [all...] |
/third_party/python/Modules/ |
H A D | _uuidmodule.c | 11 #include <uuid.h> 14 #include <uuid/uuid.h> 27 uuid_t uuid; in Py_UNUSED() local 31 res = uuid_generate_time_safe(uuid); in Py_UNUSED() 32 return Py_BuildValue("y#i", (const char *) uuid, sizeof(uuid), res); in Py_UNUSED() 35 uuid_create(&uuid, &status); in Py_UNUSED() 37 unsigned char buf[sizeof(uuid)]; in Py_UNUSED() 38 uuid_enc_be(buf, &uuid); in Py_UNUSED() 55 UUID uuid; Py_UNUSED() local [all...] |
/base/tee/tee_client/services/teecd/src/ |
H A D | secfile_load_agent.c | 61 static int32_t SecFileLoadWork(int tzFd, const char *filePath, enum SecFileType fileType, const TEEC_UUID *uuid) in SecFileLoadWork() argument 84 ret = LoadSecFile(tzFd, fp, fileType, uuid); in SecFileLoadWork() 91 // input param uuid may be NULL, so don need to check if uuid is NULL 92 int32_t LoadSecFile(int tzFd, FILE *fp, enum SecFileType fileType, const TEEC_UUID *uuid) in LoadSecFile() argument 136 if (uuid != NULL && memcpy_s((void *)(&ioctlArg.uuid), sizeof(ioctlArg.uuid), uuid, sizeof(*uuid)) ! in LoadSecFile() 153 IsTaLib(const TEEC_UUID *uuid) IsTaLib() argument [all...] |
/third_party/node/test/parallel/ |
H A D | test-crypto-randomuuid.js | 17 function testMatch(uuid) { 19 uuid, 28 const uuid = randomUUID(); 29 assert(!last.has(uuid)); 30 last.add(uuid); 31 assert.strictEqual(typeof uuid, 'string'); 32 assert.strictEqual(uuid.length, 36); 33 testMatch(uuid); 37 Buffer.from(uuid.substr(14, 2), 'hex')[0] & 0x40, 0x40); 41 Buffer.from(uuid [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
H A D | uuid.c | 13 #include "uuid.h" 65 int is_nil_uuid(const u8 *uuid) in is_nil_uuid() argument 69 if (uuid[i]) in is_nil_uuid() 75 int uuid_random(u8 *uuid) in uuid_random() argument 83 if (os_get_random(uuid, UUID_LEN) < 0 || in uuid_random() 84 hmac_sha256(uuid, UUID_LEN, (const u8 *) &t, sizeof(t), hash) < 0) in uuid_random() 87 os_memcpy(uuid, hash, UUID_LEN); in uuid_random() 90 uuid[6] = (4 << 4) | (uuid[6] & 0x0f); in uuid_random() 93 uuid[ in uuid_random() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | uuid.c | 13 #include "uuid.h" 65 int is_nil_uuid(const u8 *uuid) in is_nil_uuid() argument 69 if (uuid[i]) in is_nil_uuid() 75 int uuid_random(u8 *uuid) in uuid_random() argument 83 if (os_get_random(uuid, UUID_LEN) < 0 || in uuid_random() 84 hmac_sha256(uuid, UUID_LEN, (const u8 *) &t, sizeof(t), hash) < 0) in uuid_random() 87 os_memcpy(uuid, hash, UUID_LEN); in uuid_random() 90 uuid[6] = (4 << 4) | (uuid[6] & 0x0f); in uuid_random() 93 uuid[ in uuid_random() [all...] |
/third_party/libuv/src/unix/ |
H A D | random-sysctl-linux.c | 46 char uuid[16]; in uv__random_sysctl() local 59 args.oldval = uuid; in uv__random_sysctl() 61 n = sizeof(uuid); in uv__random_sysctl() 80 if (n != sizeof(uuid)) in uv__random_sysctl() 83 /* uuid[] is now a type 4 UUID. Bytes 6 and 8 (counting from zero) contain in uv__random_sysctl() 87 uuid[6] = uuid[14]; in uv__random_sysctl() 88 uuid[8] = uuid[15]; in uv__random_sysctl() 94 memcpy(p, uuid, in uv__random_sysctl() [all...] |
/third_party/node/deps/uv/src/unix/ |
H A D | random-sysctl-linux.c | 46 char uuid[16]; in uv__random_sysctl() local 59 args.oldval = uuid; in uv__random_sysctl() 61 n = sizeof(uuid); in uv__random_sysctl() 80 if (n != sizeof(uuid)) in uv__random_sysctl() 83 /* uuid[] is now a type 4 UUID. Bytes 6 and 8 (counting from zero) contain in uv__random_sysctl() 87 uuid[6] = uuid[14]; in uv__random_sysctl() 88 uuid[8] = uuid[15]; in uv__random_sysctl() 94 memcpy(p, uuid, in uv__random_sysctl() [all...] |
/test/testfwk/xdevice/src/xdevice/_core/report/ |
H A D | repeater_helper.py | 41 uuid = "{}#{}".format(module_name, name_in_suite) 45 if uuid not in modules.keys(): 46 modules[uuid] = suite 48 self._update_suite(modules, suite, uuid) 74 def _update_suite(self, modules, suite, uuid): 82 matched_case = modules[uuid].find(pattern) 84 modules[uuid].append(testcase) 86 modules[uuid].attrib.get(ReportConstant.tests, 0)) + 1 87 modules[uuid].attrib[ReportConstant.tests] = str(tests) 90 value = int(modules[uuid] [all...] |
/base/tee/tee_client/services/tlogcat/src/ |
H A D | tlogcat.c | 69 struct TeeUuid uuid; member 162 static void GetUuidStr(const struct TeeUuid *uuid, char *name, uint32_t nameLen) in GetUuidStr() argument 165 uuid->timeLow, uuid->timeMid, uuid->timeHiAndVersion, uuid->clockSeqAndNode[0], in GetUuidStr() 166 uuid->clockSeqAndNode[1], uuid->clockSeqAndNode[2], uuid->clockSeqAndNode[3], in GetUuidStr() 167 uuid in GetUuidStr() 176 LogFilesAdd(const struct TeeUuid *uuid, const char *logName, FILE *file, long fileLen, uint32_t index) LogFilesAdd() argument 273 IsTaUuid(const struct TeeUuid *uuid) IsTaUuid() argument 383 GetCompressFile(const struct TeeUuid *uuid) GetCompressFile() argument 413 ArrangeCompressFile(const struct TeeUuid *uuid) ArrangeCompressFile() argument 561 LogFilesCompress(const struct TeeUuid *uuid) LogFilesCompress() argument 663 GetUsableFile(const struct TeeUuid *uuid) GetUsableFile() argument 717 LogFilesGet(const struct TeeUuid *uuid, bool isTa) LogFilesGet() argument [all...] |
H A D | proc_tag.c | 42 struct TeeUuid uuid; member 49 static char *QueryTaTagNode(const struct TeeUuid *uuid) in QueryTaTagNode() argument 60 if (memcmp(&(tagInfo->uuid), uuid, sizeof(*uuid)) != 0) { in QueryTaTagNode() 156 errno_t rc = memcpy_s(&tagInfo->uuid, sizeof(tagInfo->uuid), in InsertTaTagNode() 157 (struct TeeUuid *)logItem->uuid, sizeof(logItem->uuid)); in InsertTaTagNode() 159 tloge("memcpy_s uuid erro in InsertTaTagNode() [all...] |
/third_party/node/test/fixtures/wpt/resources/ |
H A D | channel.sub.js | 38 * just have a simple map of {uuid: WebSocket}. The socket can be 41 * For writing there can be many channels for each uuid. Those can 43 * of {uuid: [WebSocket, count]}. Count is incremented when a 44 * channel is opened with a given uuid, and decremented when its 54 async getOrCreate(type, uuid, onmessage=null) { 58 let url = `${protocol}://{{host}}:${port}/msg_channel?uuid=${uuid}&direction=${type}`; 68 if (this.readSockets.has(uuid)) { 73 socket.addEventListener("close", () => this.readSockets.delete(uuid)); 74 this.readSockets.set(uuid, socke [all...] |
/base/security/access_token/services/tokensyncmanager/src/remote/ |
H A D | soft_bus_device_connection_listener.cpp | 50 std::string uuid = SoftBusManager::GetInstance().GetUniversallyUniqueIdByNodeId(networkId);
in OnDeviceOnline() local 54 "networkId: %{public}s, uuid: %{public}s, udid: %{public}s",
in OnDeviceOnline() 56 ConstantCommon::EncryptDevId(uuid).c_str(),
in OnDeviceOnline() 59 if (uuid != "" && udid != "") {
in OnDeviceOnline() 61 networkId, uuid, udid, info.deviceName, std::to_string(info.deviceTypeId));
in OnDeviceOnline() 85 std::string uuid = DeviceInfoManager::GetInstance().ConvertToUniversallyUniqueIdOrFetch(networkId);
in OnDeviceOffline() local 87 if ((uuid == "") || (udid == "")) {
in OnDeviceOffline() 92 ACCESSTOKEN_LOG_INFO(LABEL, "NetworkId: %{public}s, uuid: %{public}s, udid: %{public}s.",
in OnDeviceOffline() 94 ConstantCommon::EncryptDevId(uuid).c_str(),
in OnDeviceOffline() 97 RemoteCommandManager::GetInstance().NotifyDeviceOffline(uuid);
in OnDeviceOffline() [all...] |
H A D | soft_bus_manager.cpp | 99 std::string uuid;
in AddTrustedDeviceInfo() local 102 uuid);
in AddTrustedDeviceInfo() 105 if (uuid.empty() || udid.empty()) {
in AddTrustedDeviceInfo() 106 ACCESSTOKEN_LOG_ERROR(LABEL, "Uuid = %{public}s, udid = %{public}s, uuid or udid is empty, abort.",
in AddTrustedDeviceInfo() 107 ConstantCommon::EncryptDevId(uuid).c_str(), ConstantCommon::EncryptDevId(udid).c_str());
in AddTrustedDeviceInfo() 111 DeviceInfoManager::GetInstance().AddDeviceInfo(device.networkId, uuid, udid, device.deviceName,
in AddTrustedDeviceInfo() 467 std::string uuid;
in GetUniversallyUniqueIdByNodeId() local 468 DistributedHardware::DeviceManager::GetInstance().GetUuidByNetworkId(TOKEN_SYNC_PACKAGE_NAME, networkId, uuid);
in GetUniversallyUniqueIdByNodeId() 469 if (uuid.empty()) {
in GetUniversallyUniqueIdByNodeId() 475 bool result = DeviceInfoManager::GetInstance().GetDeviceInfo(uuid, DeviceIdTyp in GetUniversallyUniqueIdByNodeId() 535 std::string uuid; FulfillLocalDeviceInfo() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
H A D | wps_er.c | 13 #include "uuid.h" 44 ev->uuid = sta->uuid; in wps_er_sta_event() 60 const u8 *uuid) in wps_er_sta_get() 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() 106 (uuid == NULL || in wps_er_ap_get() 107 os_memcmp(uuid, a in wps_er_ap_get() 59 wps_er_sta_get(struct wps_er_ap *ap, const u8 *addr, const u8 *uuid) wps_er_sta_get() argument 99 wps_er_ap_get(struct wps_er *er, struct in_addr *addr, const u8 *uuid, const u8 *mac_addr) wps_er_ap_get() argument 278 wps_er_ap_get_settings(struct wps_er *er, const u8 *uuid) wps_er_ap_get_settings() argument 637 wps_er_ap_add(struct wps_er *er, const u8 *uuid, struct in_addr *addr, const char *location, int max_age) wps_er_ap_add() argument 1560 wps_er_pbc(struct wps_er *er, const u8 *uuid, const u8 *addr) wps_er_pbc() argument 1911 wps_er_learn(struct wps_er *er, const u8 *uuid, const u8 *addr, const u8 *pin, size_t pin_len) wps_er_learn() argument 1944 wps_er_set_config(struct wps_er *er, const u8 *uuid, const u8 *addr, const struct wps_credential *cred) wps_er_set_config() argument 1995 wps_er_config(struct wps_er *er, const u8 *uuid, const u8 *addr, const u8 *pin, size_t pin_len, const struct wps_credential *cred) wps_er_config() argument 2060 wps_er_nfc_config_token(struct wps_er *er, const u8 *uuid, const u8 *addr) wps_er_nfc_config_token() argument 2081 wps_er_nfc_handover_sel(struct wps_er *er, struct wps_context *wps, const u8 *uuid, const u8 *addr, struct wpabuf *pubkey) wps_er_nfc_handover_sel() argument [all...] |
H A D | wps.h | 246 const u8 *uuid, 565 const u8 *uuid; member 581 const u8 *uuid; member 595 const u8 *uuid; member 600 const u8 *uuid; member 654 * uuid - Own UUID 656 u8 uuid[16]; member 847 const u8 *uuid, const u8 *pin, size_t pin_len, 849 int wps_registrar_invalidate_pin(struct wps_registrar *reg, const u8 *uuid); 851 int wps_registrar_unlock_pin(struct wps_registrar *reg, const u8 *uuid); [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
H A D | wps_er.c | 13 #include "uuid.h" 44 ev->uuid = sta->uuid; in wps_er_sta_event() 60 const u8 *uuid) in wps_er_sta_get() 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() 106 (uuid == NULL || in wps_er_ap_get() 107 os_memcmp(uuid, a in wps_er_ap_get() 59 wps_er_sta_get(struct wps_er_ap *ap, const u8 *addr, const u8 *uuid) wps_er_sta_get() argument 99 wps_er_ap_get(struct wps_er *er, struct in_addr *addr, const u8 *uuid, const u8 *mac_addr) wps_er_ap_get() argument 278 wps_er_ap_get_settings(struct wps_er *er, const u8 *uuid) wps_er_ap_get_settings() argument 637 wps_er_ap_add(struct wps_er *er, const u8 *uuid, struct in_addr *addr, const char *location, int max_age) wps_er_ap_add() argument 1560 wps_er_pbc(struct wps_er *er, const u8 *uuid, const u8 *addr) wps_er_pbc() argument 1911 wps_er_learn(struct wps_er *er, const u8 *uuid, const u8 *addr, const u8 *pin, size_t pin_len) wps_er_learn() argument 1944 wps_er_set_config(struct wps_er *er, const u8 *uuid, const u8 *addr, const struct wps_credential *cred) wps_er_set_config() argument 1995 wps_er_config(struct wps_er *er, const u8 *uuid, const u8 *addr, const u8 *pin, size_t pin_len, const struct wps_credential *cred) wps_er_config() argument 2060 wps_er_nfc_config_token(struct wps_er *er, const u8 *uuid, const u8 *addr) wps_er_nfc_config_token() argument 2081 wps_er_nfc_handover_sel(struct wps_er *er, struct wps_context *wps, const u8 *uuid, const u8 *addr, struct wpabuf *pubkey) wps_er_nfc_handover_sel() argument [all...] |
H A D | wps.h | 247 const u8 *uuid, 569 const u8 *uuid; member 585 const u8 *uuid; member 599 const u8 *uuid; member 604 const u8 *uuid; member 658 * uuid - Own UUID 660 u8 uuid[16]; member 855 const u8 *uuid, const u8 *pin, size_t pin_len, 857 int wps_registrar_invalidate_pin(struct wps_registrar *reg, const u8 *uuid); 859 int wps_registrar_unlock_pin(struct wps_registrar *reg, const u8 *uuid); [all...] |
/base/tee/tee_client/frameworks/libteec_vendor/ |
H A D | load_sec_file.c | 49 /* input param uuid may be NULL, so don need to check if uuid is NULL */ 50 int32_t LoadSecFile(int tzFd, FILE *fp, enum SecFileType fileType, const TEEC_UUID *uuid) in LoadSecFile() argument 94 if (uuid != NULL && memcpy_s((void *)(&ioctlArg.uuid), sizeof(ioctlArg.uuid), uuid, sizeof(*uuid)) != EOK) { in LoadSecFile() 95 tloge("memcpy uuid fail\n"); in LoadSecFile()
|
/third_party/ffmpeg/libavformat/tests/ |
H A D | imf.c | 64 "<Id>urn:uuid:8713c020-2489-45f5-a9f7-87be539e20b5</Id>" 70 " <Id>urn:uuid:8e097bb0-cff7-4969-a692-bad47bfb528f</Id>" 76 "<Id>urn:uuid:81fed4e5-9722-400a-b9d1-7f2bd21df4b6</Id>" 79 "<Id>urn:uuid:16327185-9205-47ef-a17b-ee28df251db7</Id>" 80 "<TrackId>urn:uuid:461f5424-8f6e-48a9-a385-5eda46fda381</TrackId>" 83 "<Id>urn:uuid:ea3d0f23-55d6-4e03-86ec-cfe0666f0e6a</Id>" 93 "<Id>urn:uuid:6ae100b0-92d1-41be-9321-85e0933dfc42</Id>" 94 "<TrackId>urn:uuid:e8ef9653-565c-479c-8039-82d4547973c5</TrackId>" 97 "<Id>urn:uuid:7d418acb-07a3-4e57-984c-b8ea2f7de4ec</Id>" 99 "<SourceEncoding>urn:uuid [all...] |
/base/tee/tee_client/services/teecd/include/ |
H A D | secfile_load_agent.h | 36 TEEC_UUID uuid; member 39 TEEC_UUID uuid; member 43 TEEC_UUID uuid; member 50 int32_t LoadSecFile(int tzFd, FILE *fp, enum SecFileType fileType, const TEEC_UUID *uuid);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | wps_supplicant.h | 53 const char *uuid, const char *pin); 54 int wpas_wps_er_pbc(struct wpa_supplicant *wpa_s, const char *uuid); 55 int wpas_wps_er_learn(struct wpa_supplicant *wpa_s, const char *uuid, 57 int wpas_wps_er_set_config(struct wpa_supplicant *wpa_s, const char *uuid, 59 int wpas_wps_er_config(struct wpa_supplicant *wpa_s, const char *uuid, 62 int ndef, const char *uuid); 78 int ndef, int cr, const char *uuid);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | wps_supplicant.h | 53 const char *uuid, const char *pin); 54 int wpas_wps_er_pbc(struct wpa_supplicant *wpa_s, const char *uuid); 55 int wpas_wps_er_learn(struct wpa_supplicant *wpa_s, const char *uuid, 57 int wpas_wps_er_set_config(struct wpa_supplicant *wpa_s, const char *uuid, 59 int wpas_wps_er_config(struct wpa_supplicant *wpa_s, const char *uuid, 62 int ndef, const char *uuid); 79 int ndef, int cr, const char *uuid);
|
/third_party/mesa3d/src/freedreno/common/ |
H A D | freedreno_uuid.c | 38 fd_get_driver_uuid(void *uuid) in fd_get_driver_uuid() argument 57 memcpy(uuid, sha1, UUID_SIZE); in fd_get_driver_uuid() 61 fd_get_device_uuid(void *uuid, const struct fd_dev_id *id) in fd_get_device_uuid() argument 93 memcpy(uuid, sha1, UUID_SIZE); in fd_get_device_uuid()
|