/external/e2fsprogs/contrib/python-uuid/ |
uuid.c | 3 #include <uuid/uuid.h> 8 char uuid[37]; local 11 uuid_unparse(u, uuid); 12 return Py_BuildValue("s", uuid); 16 {"generate", _uuid_generate, METH_VARARGS, "Generate UUID"},
|
setup.py | 4 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/ |
parse.c | 2 * parse.c --- UUID parsing 44 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);
|
unparse.c | 2 * unparse.c -- convert a UUID to string 53 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.node[1], uuid.node[2] [all...] |
uuidP.h | 2 * 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);
|
uuid_time.c | 2 * uuid_time.c --- Interpret the time field from a uuid. This program 3 * violates the UUID abstraction barrier by reaching into the guts 4 * of a UUID and interpreting it. 40 #define UUID MYUUID 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 88 struct uuid uuid; local [all...] |
/external/dbus/dbus/ |
dbus-uuidgen.c | 45 return_uuid (DBusGUID *uuid, 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...] |
dbus-misc.c | 38 * Obtains the machine UUID of the machine this process is running on. 42 * This UUID is guaranteed to remain the same until the next reboot 67 * The UUID is not a UUID in the sense of RFC4122; the details 70 * @returns a 32-byte-long hex-encoded UUID string, or #NULL if insufficient memory 75 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); [all...] |
/external/webkit/Source/WebCore/platform/ |
UUID.cpp | 32 #include "UUID.h" 60 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") [all...] |
/external/bluetooth/bluez/src/ |
eir.h | 26 uuid_t uuid; member in struct:uuid_info
|
eir.c | 37 #define EIR_UUID16_SOME 0x02 /* 16-bit UUID, more available */ 38 #define EIR_UUID16_ALL 0x03 /* 16-bit UUID, all listed */ 39 #define EIR_UUID32_SOME 0x04 /* 32-bit UUID, more available */ 40 #define EIR_UUID32_ALL 0x05 /* 32-bit UUID, all listed */ 41 #define EIR_UUID128_SOME 0x06 /* 128-bit UUID, more available */ 42 #define EIR_UUID128_ALL 0x07 /* 128-bit UUID, all listed */ 181 struct uuid_info *uuid = list->data; local 182 uint8_t *uuid128_data = uuid->uuid.value.uuid128.data; 184 if (uuid->uuid.type != SDP_UUID128 281 struct uuid_info *uuid = l->data; local [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
UUIDTest.java | 20 import java.util.UUID; 29 * @see UUID#UUID(long, long) 32 UUID uuid = new UUID(0xf81d4fae7dec11d0L, 0xa76500a0c91e6bf6L); local 33 assertEquals(2, uuid.variant()); 34 assertEquals(1, uuid.version()); 35 assertEquals(0x1d07decf81d4faeL, uuid.timestamp()); 36 assertEquals(130742845922168750L, uuid.timestamp()) 45 UUID uuid = new UUID(0, 0); local 57 UUID uuid = new UUID(0, 0); local 69 UUID uuid = new UUID(0, 0); local 87 UUID uuid = new UUID(0, 0x0000000000000000L); local 120 UUID uuid = new UUID(0x0000000000001000L, 0x8000000000000000L); local 143 UUID uuid = new UUID(0x0000000000001000L, 0x8000000000000000L); local 169 UUID uuid = new UUID(0x0000000000001000L, 0x8000000000000000L); local 207 UUID uuid = new UUID(0, 0); local 240 UUID uuid = new UUID(0xf81d4fae7dec11d0L, 0xa76500a0c91e6bf6L); local 269 UUID uuid = UUID.randomUUID(); local 283 UUID uuid = UUID.nameUUIDFromBytes(name); local 364 UUID uuid = UUID.fromString("0-0-0-0-0"); local [all...] |
/external/bluetooth/bluez/test/ |
sdptest.c | 65 uuid_t uuid; local 75 sdp_uuid16_create(&uuid, PUBLIC_BROWSE_GROUP); 77 search = sdp_list_append(NULL, &uuid);
|
/external/dbus/tools/ |
dbus-uuidgen.c | 43 printf ("D-Bus UUID Generator %s\n" 129 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/ |
uuid.c | 2 * uuid.c -- utility routines for manipulating UUID's. 11 struct uuid { struct 19 /* Returns 1 if the uuid is the NULL uuid */ 31 static void e2p_unpack_uuid(void *in, struct uuid *uu) 59 struct uuid uuid; local 61 e2p_unpack_uuid(uu, &uuid); 64 uuid.time_low, uuid.time_mid, uuid.time_hi_and_version [all...] |
/system/extras/ext4_utils/ |
uuid.c | 22 #include "uuid.h" 25 struct uuid { struct 48 struct uuid *uuid = (struct uuid *)result; local 51 memcpy(uuid, sha1, sizeof(struct uuid)); 53 uuid->time_low = ntohl(uuid->time_low); 54 uuid->time_mid = ntohs(uuid->time_mid) [all...] |
/external/wpa_supplicant_8/src/wps/ |
wps_er_ssdp.c | 18 #include "uuid.h" 36 u8 uuid[WPS_UUID_LEN]; local 63 os_memset(uuid, 0, sizeof(uuid)); 97 pos2 = os_strstr(start, "uuid:"); 102 if (uuid_str2bin(pos2, uuid) < 0) { 104 "Invalid UUID in USN: %s", 131 wps_er_ap_add(er, uuid, &addr.sin_addr, location, max_age);
|
/external/bluetooth/hcidump/parser/ |
bnep.c | 82 uint32_t uuid = 0; local 96 uuid = get_u16(frm); 97 printf("dst 0x%x", uuid); 98 if ((s = get_uuid_name(uuid)) != 0) 100 uuid = get_u16(frm); 101 printf(" src 0x%x", uuid); 102 if ((s = get_uuid_name(uuid)) != 0) 107 uuid = get_u32(frm); 108 printf("dst 0x%x", uuid); 109 if ((s = get_uuid_name(uuid)) != 0 [all...] |
/external/llvm/test/Scripts/ |
macho-dumpx | 124 import uuid namespace 125 print " ('uuid', %s)" % uuid.UUID(bytes=f.read(16))
|
/external/qemu/android/ |
user-config.c | 33 uint64_t uuid; member in struct:AUserConfig 42 #define KEY_UUID "uuid" 124 uc->uuid = (uint64_t) iniFile_getInt64(ini, KEY_UUID, 0LL); 126 DD(" found %s = %lld", KEY_UUID, uc->uuid); 137 /* Generate a 64-bit UUID if necessary. We simply take the 144 uc->uuid = (uint64_t)tm.tv_sec*1000 + tm.tv_usec/1000; 146 DD(" Generated UUID = %lld", uc->uuid); 156 return uconfig->uuid; 196 KEY_UUID, uconfig->uuid ); [all...] |
/packages/apps/Email/src/com/android/email/activity/ |
ShortcutPicker.java | 148 String uuid = account.mCompatibilityUuid; local 149 shortcutIntent = Welcome.createAccountShortcutIntent(myActivity, uuid, mailboxId);
|
/libcore/luni/src/main/java/java/util/ |
UUID.java | 30 * UUID is an immutable representation of a 128-bit universally unique 31 * identifier (UUID). 41 public final class UUID implements Serializable, Comparable<UUID> { 62 * The 64 most significant bits of the UUID. 64 * The 64 least significant bits of the UUID. 66 public UUID(long mostSigBits, long leastSigBits) { 117 * Generates a variant 2, version 4 (randomly generated number) UUID as per 120 * @return an UUID instance. 122 public static UUID randomUUID() [all...] |
/external/bluetooth/bluez/compat/ |
bnep.c | 58 uint16_t uuid; member in struct:__anon1472 66 int bnep_str2svc(char *svc, uint16_t *uuid) 71 *uuid = __svc[i].uuid; 77 char *bnep_svc2str(uint16_t uuid) 81 if (__svc[i].uuid == uuid) 284 req->uuid_size = 2; /* 16bit UUID */
|
/external/clang/utils/VtableTest/ |
gen.cc | 28 int uuid = 0; variable 176 g(fn); g("(char *t) { mix(\"vfn this offset\", (char *)this - t); mix(\"vfn uuid\", "); g(++uuid); 248 g(fn); g("(char *t) { mix(\"vfn this offset\", (char *)this - t); mix(\"vfn uuid\", "); g(++uuid); 283 g(" else mix(\"no dyncast\", "); g(++uuid); gl(");"); 292 g(" mix(\"no fields\", "); g(++uuid); gl(");"); 300 g(" mix(\"no funcs\", "); g(++uuid); gl(");");
|
/external/wpa_supplicant_6/wpa_supplicant/ |
config.h | 252 * uuid - Universally Unique IDentifier (UUID; see RFC 4122) for WPS 254 u8 uuid[16]; member in struct:wpa_config
|