/external/dbus/dbus/ |
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 79 _dbus_string_init (&uuid); 80 if (!_dbus_get_local_machine_uuid_encoded (&uuid) || 81 !_dbus_string_steal_data (&uuid, &s)) 83 _dbus_string_free (&uuid); [all...] |
dbus-uuidgen.c | 44 return_uuid (DBusGUID *uuid, 52 if (!_dbus_uuid_encode (uuid, &encoded) || 70 * @param uuid_p out param to return the uuid 81 DBusGUID uuid; local 87 if (!_dbus_read_uuid_file (&filename_str, &uuid, create_if_not_found, error)) 92 if (!_dbus_read_local_machine_uuid (&uuid, create_if_not_found, error)) 96 if (!return_uuid(&uuid, uuid_p, error)) 111 * @param uuid_p out param to return the uuid 117 DBusGUID uuid; local 119 _dbus_generate_uuid (&uuid); [all...] |
/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.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. 48 struct uuid uuid; local 53 uuid_unpack(uu, &uuid); 55 high = uuid.time_mid | ((uuid.time_hi_and_version & 0xFFF) << 16); 56 clock_reg = uuid.time_low | ((unsigned long long) high << 32); 70 struct uuid uuid local 78 struct uuid uuid; local [all...] |
/libcore/luni/src/test/java/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);
|
agent.c | 217 const char *path, *uuid; local 220 DBUS_TYPE_STRING, &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...] |
/packages/apps/Email/src/com/android/email/activity/ |
FolderMessageList.java | 59 String uuid = uri.getPath(); local 60 if (uuid.length() > 0) { 61 uuid = uuid.substring(1); // remove the beginning '/'. 63 if (TextUtils.isEmpty(uuid)) { 66 MessageList.actionOpenAccountInboxUuid(this, uuid);
|
/system/extras/ext4_utils/ |
uuid.c | 22 #include "uuid.h" 24 struct uuid { struct 47 struct uuid *uuid = (struct uuid *)result; local 50 memcpy(uuid, sha1, sizeof(struct uuid)); 52 uuid->time_low = ntohl(uuid->time_low); 53 uuid->time_mid = ntohs(uuid->time_mid) [all...] |
/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/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...] |
/libcore/luni/src/main/java/java/util/ |
UUID.java | 28 * UUID is an immutable representation of a 128-bit universally unique 29 * identifier (UUID). 39 public final class UUID implements Serializable, Comparable<UUID> { 60 * The 64 most significant bits of the UUID. 62 * The 64 least significant bits of the UUID. 64 public UUID(long mostSigBits, long leastSigBits) { 116 * Generates a variant 2, version 4 (randomly generated number) UUID as per 119 * @return an UUID instance. 121 public static UUID randomUUID() [all...] |
/external/bluetooth/bluez/compat/ |
bnep.c | 59 uint16_t uuid; member in struct:__anon1670 67 int bnep_str2svc(char *svc, uint16_t *uuid) 72 *uuid = __svc[i].uuid; 78 char *bnep_svc2str(uint16_t uuid) 82 if (__svc[i].uuid == uuid) 268 req->uuid_size = 2; /* 16bit UUID */
|
/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
|
wps_supplicant.c | 24 #include "uuid.h" 635 char uuid[40], txt[400]; local 637 if (uuid_bin2str(uuid_e, uuid, sizeof(uuid))) 639 wpa_printf(MSG_DEBUG, "WPS: PIN needed for UUID-E %s", uuid); 642 uuid, MAC2STR(dev->mac_addr), dev->device_name, 699 if (is_nil_uuid(wpa_s->conf->uuid)) { 700 uuid_gen_mac_addr(wpa_s->own_addr, wps->uuid); 701 wpa_hexdump(MSG_DEBUG, "WPS: UUID based on MAC address" 847 const u8 *sel_uuid, *uuid; local [all...] |
/external/bluetooth/bluez/serial/ |
port.c | 78 char *uuid; /* service identification */ member in struct:serial_port 115 if (port->uuid && !strcasecmp(port->uuid, pattern)) 124 if (!port->uuid) 131 ret = strcasecmp(port->uuid, uuid_str); 201 g_free(port->uuid); 444 uuid_t uuid; local 447 if (!port->uuid) 450 err = bt_string2uuid(&uuid, port->uuid); [all...] |
/external/e2fsprogs/e2fsck/ |
dirinfo.c | 13 #include "uuid/uuid.h" 44 char *tdb_dir, uuid[40]; local 62 uuid_unparse(ctx->fs->super->s_uuid, uuid); 63 sprintf(db->tdb_fn, "%s/%s-dirinfo-XXXXXX", tdb_dir, uuid);
|
/external/oprofile/daemon/ |
opd_perfmon.c | 79 static unsigned char uuid[16] = { variable 212 memcpy(&ctx.ctx_smpl_buf_id, &uuid, 16);
|
/frameworks/base/core/java/android/bluetooth/ |
BluetoothSocket.java | 114 * @param uuid SDP uuid 119 BluetoothDevice device, int port, ParcelUuid uuid) throws IOException { 120 if (type == BluetoothSocket.TYPE_RFCOMM && uuid == null && fd == -1) { 125 if (uuid == null) { 129 mSdp = new SdpHelper(device, uuid); 344 private final ParcelUuid uuid; field in class:BluetoothSocket.SdpHelper 348 public SdpHelper(BluetoothDevice device, ParcelUuid uuid) { 351 this.uuid = uuid; [all...] |