Home
last modified time | relevance | path

Searched refs:uuid (Results 1 – 25 of 319) sorted by relevance

12345678910>>...13

/third_party/python/Lib/test/
Dtest_uuid.py32 uuid = None variable in BaseTestUUID
47 0, 0, self.uuid.RESERVED_NCS, None),
56 0x607040500010203, 0x809, self.uuid.RESERVED_NCS, None),
65 0x82e946702d9e6d5, 0xf9b, self.uuid.RFC_4122, 3),
74 0x678123412345678, 0x1234, self.uuid.RESERVED_NCS, None),
83 0x1d19dad6ba7b810, 0xb4, self.uuid.RFC_4122, 1),
92 0x1d19dad6ba7b811, 0xb4, self.uuid.RFC_4122, 1),
101 0x1d19dad6ba7b812, 0xb4, self.uuid.RFC_4122, 1),
110 0x1d19dad6ba7b814, 0xb4, self.uuid.RFC_4122, 1),
119 0x1d19dc07d444840, 0x3245, self.uuid.RFC_4122, 1),
[all …]
/third_party/ffmpeg/libavutil/tests/
Duuid.c42 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()
86 if (!av_uuid_equal(uuid, UUID_1_BYTES)) in main()
91 if (av_uuid_urn_parse(UUID_1_URN, uuid)) in main()
[all …]
/third_party/python/Modules/
D_uuidmodule.c25 uuid_t uuid; in py_uuid_generate_time_safe() local
29 res = uuid_generate_time_safe(uuid); in py_uuid_generate_time_safe()
30 return Py_BuildValue("y#i", (const char *) uuid, sizeof(uuid), res); in py_uuid_generate_time_safe()
33 uuid_create(&uuid, &status); in py_uuid_generate_time_safe()
35 unsigned char buf[sizeof(uuid)]; in py_uuid_generate_time_safe()
36 uuid_enc_be(buf, &uuid); in py_uuid_generate_time_safe()
37 return Py_BuildValue("y#i", buf, sizeof(uuid), (int) status); in py_uuid_generate_time_safe()
39 return Py_BuildValue("y#i", (const char *) &uuid, sizeof(uuid), (int) status); in py_uuid_generate_time_safe()
42 uuid_generate_time(uuid); in py_uuid_generate_time_safe()
43 return Py_BuildValue("y#O", (const char *) uuid, sizeof(uuid), Py_None); in py_uuid_generate_time_safe()
[all …]
/third_party/ffmpeg/tests/ref/fate/
Dimf2 urn:uuid:8713c020-2489-45f5-a9f7-87be539e20b5
18 urn:uuid:6f768ca4-c89e-4dac-9056-a29425d40ba1
20 urn:uuid:f3b263b3-096b-4360-a952-b1a9623cd0ca
25 urn:uuid:381dadd2-061e-46cc-a63a-e3d58ce7f488
27 urn:uuid:2484d613-bb7d-4bcc-8b0f-2e65938f0535
31 urn:uuid:381dadd2-061e-46cc-a63a-e3d58ce7f488
33 urn:uuid:2484d613-bb7d-4bcc-8b0f-2e65938f0535
38 …Compare urn:uuid:b5d674b8-c6ce-4bce-3bdf-be045dfdb2d0 to urn:uuid:b5d674b8-c6ce-4bce-3bdf-be045dfd…
41 …Compare urn:uuid:ec3467ec-ab2a-4f49-c8cb-89caa3761f4a to urn:uuid:ec3467ec-ab2a-4f49-c8cb-89caa376…
44 …Compare urn:uuid:5cf5b5a7-8bb3-4f08-eaa6-3533d4b77fa6 to urn:uuid:5cf5b5a7-8bb3-4f08-eaa6-3533d4b7…
[all …]
/third_party/node/test/parallel/
Dtest-crypto-randomuuid.js17 function testMatch(uuid) { argument
19 uuid,
28 const uuid = randomUUID(); constant
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.substr(19, 2), 'hex')[0] & 0b1100_0000, 0b1000_0000);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Duuid.c65 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[8] = 0x80 | (uuid[8] & 0x3f); in uuid_random()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Duuid.c65 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[8] = 0x80 | (uuid[8] & 0x3f); in uuid_random()
/third_party/libuv/src/unix/
Drandom-sysctl-linux.c46 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()
87 uuid[6] = uuid[14]; in uv__random_sysctl()
88 uuid[8] = uuid[15]; in uv__random_sysctl()
94 memcpy(p, uuid, n); in uv__random_sysctl()
/third_party/node/deps/uv/src/unix/
Drandom-sysctl-linux.c46 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()
87 uuid[6] = uuid[14]; in uv__random_sysctl()
88 uuid[8] = uuid[15]; in uv__random_sysctl()
94 memcpy(p, uuid, n); in uv__random_sysctl()
/third_party/node/test/fixtures/wpt/resources/
Dchannel.sub.js54 async getOrCreate(type, uuid, onmessage=null) { argument
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, socket);
80 if (this.writeSockets.has(uuid)) {
81 [socket, count] = this.writeSockets.get(uuid);
88 socket.addEventListener("close", () => this.writeSockets.delete(uuid));
89 this.writeSockets.set(uuid, [socket, count]);
96 async close(type, uuid) { argument
[all …]
/third_party/e2fsprogs/
D.gitignore125 lib/uuid/subdirs
126 lib/uuid/tst_uuid
127 lib/uuid/uuid.3
128 lib/uuid/uuid.pc
129 lib/uuid/uuid_clear.3
130 lib/uuid/uuid_compare.3
131 lib/uuid/uuid_copy.3
132 lib/uuid/uuid_generate.3
133 lib/uuid/uuid_is_null.3
134 lib/uuid/uuid_parse.3
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
Dwps_er.c44 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 …]
Dwps.h246 const u8 *uuid,
565 const u8 *uuid; member
581 const u8 *uuid; member
595 const u8 *uuid; member
600 const u8 *uuid; member
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);
894 int wps_er_pbc(struct wps_er *er, const u8 *uuid, const u8 *addr);
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
Dwps_er.c44 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 …]
Dwps.h247 const u8 *uuid,
569 const u8 *uuid; member
585 const u8 *uuid; member
599 const u8 *uuid; member
604 const u8 *uuid; member
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);
907 int wps_er_pbc(struct wps_er *er, const u8 *uuid, const u8 *addr);
[all …]
/third_party/ffmpeg/libavformat/tests/
Dimf.c367 AV_UUID_ARG(asset->uuid), in check_asset_locator_attributes()
368 AV_UUID_ARG(expected_asset->uuid)); in check_asset_locator_attributes()
371 if (asset->uuid[i] != expected_asset->uuid[i]) { in check_asset_locator_attributes()
373 AV_UUID_ARG(asset->uuid), in check_asset_locator_attributes()
374 AV_UUID_ARG(expected_asset->uuid)); in check_asset_locator_attributes()
391 …{.uuid = {0xb5, 0xd6, 0x74, 0xb8, 0xc6, 0xce, 0x4b, 0xce, 0x3b, 0xdf, 0xbe, 0x04, 0x5d, 0xfd, 0xb2…
393 …{.uuid = {0xec, 0x34, 0x67, 0xec, 0xab, 0x2a, 0x4f, 0x49, 0xc8, 0xcb, 0x89, 0xca, 0xa3, 0x76, 0x1f…
395 …{.uuid = {0x5c, 0xf5, 0xb5, 0xa7, 0x8b, 0xb3, 0x4f, 0x08, 0xea, 0xa6, 0x35, 0x33, 0xd4, 0xb7, 0x7f…
397 …{.uuid = {0x55, 0x97, 0x77, 0xd6, 0xec, 0x29, 0x43, 0x75, 0xf9, 0x0d, 0x30, 0x0b, 0x0b, 0xf7, 0x36…
399 …{.uuid = {0xdd, 0x04, 0x52, 0x8d, 0x9b, 0x80, 0x45, 0x2a, 0x7a, 0x13, 0x80, 0x5b, 0x08, 0x27, 0x8b…
/third_party/node/test/fixtures/wpt/WebCryptoAPI/
DrandomUUID.https.any.js7 const uuid = self.crypto.randomUUID();
8 if (uuids.has(uuid)) {
9 throw new Error(`uuid collision ${uuid}`)
11 uuids.add(uuid);
12 return uuid;
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dwps_supplicant.h53 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);
Dwps_supplicant.c740 uuid_bin2str(ap->uuid, uuid_str, sizeof(uuid_str)); in wpa_supplicant_wps_event_er_ap_add()
763 uuid_bin2str(ap->uuid, uuid_str, sizeof(uuid_str)); in wpa_supplicant_wps_event_er_ap_remove()
774 uuid_bin2str(enrollee->uuid, uuid_str, sizeof(uuid_str)); in wpa_supplicant_wps_event_er_enrollee_add()
798 uuid_bin2str(enrollee->uuid, uuid_str, sizeof(uuid_str)); in wpa_supplicant_wps_event_er_enrollee_remove()
820 uuid_bin2str(ap_settings->uuid, uuid_str, sizeof(uuid_str)); in wpa_supplicant_wps_event_er_ap_settings()
836 uuid_bin2str(ev->uuid, uuid_str, sizeof(uuid_str)); in wpa_supplicant_wps_event_er_set_sel_reg()
1436 char uuid[40], txt[400]; in wpas_wps_pin_needed_cb() local
1439 if (uuid_bin2str(uuid_e, uuid, sizeof(uuid))) in wpas_wps_pin_needed_cb()
1441 wpa_printf(MSG_DEBUG, "WPS: PIN needed for UUID-E %s", uuid); in wpas_wps_pin_needed_cb()
1444 uuid, MAC2STR(dev->mac_addr), dev->device_name, in wpas_wps_pin_needed_cb()
[all …]
/third_party/python/Doc/library/
Duuid.rst1 :mod:`uuid` --- UUID objects according to :rfc:`4122`
4 .. module:: uuid
9 **Source code:** :source:`Lib/uuid.py`
59 UUID('urn:uuid:12345678-1234-5678-1234-567812345678')
75 ``str(uuid)`` returns a string in the form
153 The :mod:`uuid` module defines the following functions:
208 The :mod:`uuid` module defines the following namespace identifiers for use with
233 The :mod:`uuid` module defines the following constants for the possible values
269 Here are some examples of typical usage of the :mod:`uuid` module::
271 >>> import uuid
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dwps_supplicant.h53 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);
Dwps_supplicant.c748 uuid_bin2str(ap->uuid, uuid_str, sizeof(uuid_str)); in wpa_supplicant_wps_event_er_ap_add()
771 uuid_bin2str(ap->uuid, uuid_str, sizeof(uuid_str)); in wpa_supplicant_wps_event_er_ap_remove()
782 uuid_bin2str(enrollee->uuid, uuid_str, sizeof(uuid_str)); in wpa_supplicant_wps_event_er_enrollee_add()
806 uuid_bin2str(enrollee->uuid, uuid_str, sizeof(uuid_str)); in wpa_supplicant_wps_event_er_enrollee_remove()
828 uuid_bin2str(ap_settings->uuid, uuid_str, sizeof(uuid_str)); in wpa_supplicant_wps_event_er_ap_settings()
844 uuid_bin2str(ev->uuid, uuid_str, sizeof(uuid_str)); in wpa_supplicant_wps_event_er_set_sel_reg()
1459 char uuid[40], txt[400]; in wpas_wps_pin_needed_cb() local
1462 if (uuid_bin2str(uuid_e, uuid, sizeof(uuid))) in wpas_wps_pin_needed_cb()
1464 wpa_printf(MSG_DEBUG, "WPS: PIN needed for UUID-E %s", uuid); in wpas_wps_pin_needed_cb()
1467 uuid, MAC2STR(dev->mac_addr), dev->device_name, in wpas_wps_pin_needed_cb()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/examples/
Dwps-nfc.py87 def wpas_get_er_config_token(uuid): argument
91 ret = wpas.request("WPS_ER_NFC_CONFIG_TOKEN NDEF " + uuid)
116 def wpas_get_handover_sel(uuid): argument
120 if uuid is None:
123 res = wpas.request("NFC_GET_HANDOVER_SEL NDEF WPS-CR " + uuid).rstrip()
176 data = wpas_get_handover_sel(self.uuid)
345 def wps_write_er_config_tag(clf, uuid, wait_remove=True): argument
349 write_data = wpas_get_er_config_token(uuid)
413 srv.uuid = None
416 srv.uuid = arg_uuid
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/examples/
Dwps-nfc.py87 def wpas_get_er_config_token(uuid): argument
91 ret = wpas.request("WPS_ER_NFC_CONFIG_TOKEN NDEF " + uuid)
116 def wpas_get_handover_sel(uuid): argument
120 if uuid is None:
123 res = wpas.request("NFC_GET_HANDOVER_SEL NDEF WPS-CR " + uuid).rstrip()
176 data = wpas_get_handover_sel(self.uuid)
345 def wps_write_er_config_tag(clf, uuid, wait_remove=True): argument
349 write_data = wpas_get_er_config_token(uuid)
413 srv.uuid = None
416 srv.uuid = arg_uuid
[all …]
/third_party/ffmpeg/libavformat/
Dimf_cpl.c73 int ff_imf_xml_read_uuid(xmlNodePtr element, AVUUID uuid) in ff_imf_xml_read_uuid() argument
81 ret = av_uuid_urn_parse(element_text, uuid); in ff_imf_xml_read_uuid()
361 AVUUID uuid; in push_marker_sequence() local
373 if (ff_imf_xml_read_uuid(track_id_elem, uuid)) { in push_marker_sequence()
380 AV_UUID_ARG(uuid)); in push_marker_sequence()
388 av_uuid_copy(cpl->main_markers_track->base.id_uuid, uuid); in push_marker_sequence()
390 } else if (!av_uuid_equal(cpl->main_markers_track->base.id_uuid, uuid)) { in push_marker_sequence()
448 AVUUID uuid; in push_main_audio_sequence() local
461 if ((ret = ff_imf_xml_read_uuid(track_id_elem, uuid))) { in push_main_audio_sequence()
468 AV_UUID_ARG(uuid)); in push_main_audio_sequence()
[all …]

12345678910>>...13