Searched defs:uuid (Results 1 - 25 of 138) sorted by relevance

123456

/external/bluetooth/bluedroid/btif/include/
H A Dbtif_sock_sdp.h28 static inline BOOLEAN is_uuid_empty(const uint8_t* uuid) argument
31 return uuid == NULL || memcmp(uuid, empty_uuid, sizeof(empty_uuid)) == 0;
34 int add_rfc_sdp_rec(const char* name, const uint8_t* uuid, int scn);
37 int get_reserved_rfc_channel(const uint8_t* uuid);
/external/e2fsprogs/contrib/python-uuid/
H A Duuid.c3 #include <uuid/uuid.h>
8 char uuid[37]; local
11 uuid_unparse(u, uuid);
12 return Py_BuildValue("s", uuid);
H A Dsetup.py4 uuid = Extension('e2fsprogs_uuid', variable
5 sources = ['uuid.c'],
6 libraries = ['uuid'])
10 description = 'This is python uuid interface',
11 ext_modules = [uuid])
/external/e2fsprogs/lib/uuid/
H A Dparse.c44 struct uuid uuid; local
65 uuid.time_low = strtoul(in, NULL, 16);
66 uuid.time_mid = strtoul(in+9, NULL, 16);
67 uuid.time_hi_and_version = strtoul(in+14, NULL, 16);
68 uuid.clock_seq = strtoul(in+19, NULL, 16);
74 uuid.node[i] = strtoul(buf, NULL, 16);
77 uuid_pack(&uuid, uu);
H A DuuidP.h2 * uuid.h -- private header file for uuids
38 #include <uuid/uuid_types.h>
42 #include <uuid/uuid.h>
50 struct uuid { struct
62 void uuid_pack(const struct uuid *uu, uuid_t ptr);
63 void uuid_unpack(const uuid_t in, struct uuid *uu);
H A Dunparse.c53 struct uuid uuid; local
55 uuid_unpack(uu, &uuid);
57 uuid.time_low, uuid.time_mid, uuid.time_hi_and_version,
58 uuid.clock_seq >> 8, uuid.clock_seq & 0xFF,
59 uuid.node[0], uuid
[all...]
H A Dtst_uuid.c44 #include <uuid/uuid.h>
46 static int test_uuid(const char * uuid, int isValid) argument
52 parsedOk = uuid_parse(uuid, uuidBits) == 0;
54 printf("%s is %s", uuid, validStr[isValid]);
H A Duuid_time.c2 * uuid_time.c --- Interpret the time field from a uuid. This program
59 struct uuid uuid; local
63 uuid_unpack(uu, &uuid);
65 high = uuid.time_mid | ((uuid.time_hi_and_version & 0xFFF) << 16);
66 clock_reg = uuid.time_low | ((uint64_t) high << 32);
80 struct uuid uuid; local
82 uuid_unpack(uu, &uuid);
88 struct uuid uuid; local
[all...]
/external/webkit/Source/WebCore/platform/
H A DUUID.cpp60 QUuid uuid = QUuid::createUuid(); local
61 String canonicalUuidStr = uuid.toString().mid(1, 36).toLower(); // remove opening and closing bracket and make it lower.
65 GUID uuid = { 0 };
66 HRESULT hr = CoCreateGuid(&uuid);
70 int num = StringFromGUID2(uuid, reinterpret_cast<LPOLESTR>(uuidStr), WTF_ARRAY_LENGTH(uuidStr));
76 CFUUIDRef uuid = CFUUIDCreate(0);
77 CFStringRef uuidStrRef = CFUUIDCreateString(0, uuid);
80 CFRelease(uuid);
86 FILE* fptr = fopen("/proc/sys/kernel/random/uuid", "r");
/external/dbus/dbus/
H A Ddbus-uuidgen.c45 return_uuid (DBusGUID *uuid, argument
59 if (!_dbus_uuid_encode (uuid, &encoded) ||
77 * @param uuid_p out param to return the uuid
88 DBusGUID uuid; local
94 if (!_dbus_read_uuid_file (&filename_str, &uuid, create_if_not_found, error))
99 if (!_dbus_read_local_machine_uuid (&uuid, create_if_not_found, error))
103 if (!return_uuid(&uuid, uuid_p, error))
118 * @param uuid_p out param to return the uuid
124 DBusGUID uuid; local
126 _dbus_generate_uuid (&uuid);
[all...]
H A Ddbus-misc.c75 DBusString uuid; local
80 if (!_dbus_string_init (&uuid))
83 if (!_dbus_get_local_machine_uuid_encoded (&uuid) ||
84 !_dbus_string_steal_data (&uuid, &s))
86 _dbus_string_free (&uuid);
91 _dbus_string_free (&uuid);
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/util/
H A DUUIDConverter.java26 public static byte[] convert(UUID uuid) { argument
28 long msb = uuid.getMostSignificantBits();
29 long lsb = uuid.getLeastSignificantBits();
/external/wpa_supplicant_6/wpa_supplicant/src/utils/
H A Duuid.c20 #include "uuid.h"
72 int is_nil_uuid(const u8 *uuid) argument
76 if (uuid[i])
82 void uuid_gen_mac_addr(const u8 *mac_addr, u8 *uuid) argument
100 os_memcpy(uuid, hash, 16);
103 uuid[6] = (5 << 4) | (uuid[6] & 0x0f);
106 uuid[8] = 0x80 | (uuid[8] & 0x3f);
/external/wpa_supplicant_8/hostapd/src/utils/
H A Duuid.c12 #include "uuid.h"
64 int is_nil_uuid(const u8 *uuid) argument
68 if (uuid[i])
/external/wpa_supplicant_8/src/utils/
H A Duuid.c12 #include "uuid.h"
64 int is_nil_uuid(const u8 *uuid) argument
68 if (uuid[i])
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Duuid.c12 #include "uuid.h"
64 int is_nil_uuid(const u8 *uuid) argument
68 if (uuid[i])
/external/dbus/tools/
H A Ddbus-uuidgen.c129 char *uuid; local
130 if (dbus_internal_do_not_use_get_uuid (filename, &uuid, ensure_uuid, &error))
133 printf ("%s\n", uuid);
134 dbus_free (uuid);
139 char *uuid; local
140 if (dbus_internal_do_not_use_create_uuid (&uuid))
142 printf ("%s\n", uuid);
143 dbus_free (uuid);
/external/e2fsprogs/lib/e2p/
H A Duuid.c2 * uuid.c -- utility routines for manipulating UUID's.
16 struct uuid { struct
24 /* Returns 1 if the uuid is the NULL uuid */
36 static void e2p_unpack_uuid(void *in, struct uuid *uu)
64 struct uuid uuid; local
66 e2p_unpack_uuid(uu, &uuid);
69 uuid.time_low, uuid
[all...]
/external/bluetooth/bluedroid/btif/src/
H A Dbtif_profile_queue.c46 uint16_t uuid; member in struct:connect_node_tag
135 bt_status_t btif_queue_connect(uint16_t uuid, const bt_bdaddr_t *bda, argument
141 node.uuid = uuid;
H A Dbtif_sock.c48 const uint8_t* uuid, int channel, int* sock_fd, int flags);
50 const uint8_t* uuid, int channel, int* sock_fd, int flags);
106 error("invalid parameters, uuid:%p, channel:%d, sock_fd:%p", service_uuid, channel, sock_fd);
132 const uint8_t* uuid, int channel, int* sock_fd, int flags)
134 if((uuid == NULL && channel <= 0) || bd_addr == NULL || sock_fd == NULL)
136 error("invalid parameters, bd_addr:%p, uuid:%p, channel:%d, sock_fd:%p",
137 bd_addr, uuid, channel, sock_fd);
145 status = btsock_rfc_connect(bd_addr, uuid, channel, sock_fd, flags);
131 btsock_connect(const bt_bdaddr_t *bd_addr, btsock_type_t type, const uint8_t* uuid, int channel, int* sock_fd, int flags) argument
/external/bluetooth/bluedroid/stack/pan/
H A Dpan_utils.c61 UINT32 pan_register_with_sdp (UINT16 uuid, UINT8 sec_mask, char *p_name, char *p_desc) argument
79 SDP_AddServiceClassIdList (sdp_handle, 1, &uuid);
96 SDP_AddProfileDescriptorList (sdp_handle, uuid, PAN_PROFILE_VERSION);
114 if (uuid == UUID_SERVCLASS_NAP)
141 if (uuid == UUID_SERVCLASS_GN)
153 if (uuid == UUID_SERVCLASS_PANU)
/external/llvm/test/Scripts/
H A Dmacho-dumpx124 import uuid namespace
125 print " ('uuid', %s)" % uuid.UUID(bytes=f.read(16))
/external/wpa_supplicant_6/wpa_supplicant/src/wps/
H A Dwps.c41 os_memcpy(data->uuid_r, cfg->wps->uuid, WPS_UUID_LEN);
44 os_memcpy(data->uuid_e, cfg->wps->uuid, WPS_UUID_LEN);
275 * @uuid: Own UUID
282 const u8 *uuid,
308 wps_build_uuid_e(ie, uuid) ||
281 wps_build_probe_req_ie(int pbc, struct wps_device_data *dev, const u8 *uuid, enum wps_request_type req_type) argument
/external/wpa_supplicant_8/hostapd/src/wps/
H A Dwps_er_ssdp.c12 #include "uuid.h"
30 u8 uuid[WPS_UUID_LEN]; local
57 os_memset(uuid, 0, sizeof(uuid));
91 pos2 = os_strstr(start, "uuid:");
96 if (uuid_str2bin(pos2, uuid) < 0) {
125 wps_er_ap_add(er, uuid, &addr.sin_addr, location, max_age);
/external/wpa_supplicant_8/src/wps/
H A Dwps_er_ssdp.c12 #include "uuid.h"
30 u8 uuid[WPS_UUID_LEN]; local
57 os_memset(uuid, 0, sizeof(uuid));
91 pos2 = os_strstr(start, "uuid:");
96 if (uuid_str2bin(pos2, uuid) < 0) {
125 wps_er_ap_add(er, uuid, &addr.sin_addr, location, max_age);

Completed in 7549 milliseconds

123456