Searched refs:uuid (Results 1 - 25 of 241) sorted by relevance

12345678910

/freebsd-11-stable/sys/sys/
H A Duuid.h44 struct uuid { struct
59 struct uuid *kern_uuidgen(struct uuid *, size_t);
64 int snprintf_uuid(char *, size_t, struct uuid *);
65 int printf_uuid(struct uuid *);
66 int sbuf_printf_uuid(struct sbuf *, struct uuid *);
67 int parse_uuid(const char *, struct uuid *);
69 void be_uuid_dec(void const *buf, struct uuid *uuid);
70 void be_uuid_enc(void *buf, struct uuid cons
[all...]
H A Defiio.h33 #include <sys/uuid.h>
38 struct uuid uuid; /* UUID to look up */ member in struct:efi_get_table_ioc
46 struct uuid vendor; /* Vendor's UUID for variable */
/freebsd-11-stable/lib/libc/uuid/
H A DMakefile.inc5 .PATH: ${LIBC_SRCTOP}/uuid
10 SYM_MAPS+= ${LIBC_SRCTOP}/uuid/Symbol.map
12 MAN+= uuid.3
13 MLINKS+=uuid.3 uuid_compare.3
14 MLINKS+=uuid.3 uuid_create.3
15 MLINKS+=uuid.3 uuid_create_nil.3
16 MLINKS+=uuid.3 uuid_equal.3
17 MLINKS+=uuid.3 uuid_from_string.3
18 MLINKS+=uuid.3 uuid_hash.3
19 MLINKS+=uuid
[all...]
H A Duuid_stream.c33 #include <uuid.h>
56 uuid_enc_le(void *buf, const uuid_t *uuid) argument
61 le32enc(p, uuid->time_low);
62 le16enc(p + 4, uuid->time_mid);
63 le16enc(p + 6, uuid->time_hi_and_version);
64 p[8] = uuid->clock_seq_hi_and_reserved;
65 p[9] = uuid->clock_seq_low;
67 p[10 + i] = uuid->node[i];
71 uuid_dec_le(const void *buf, uuid_t *uuid) argument
76 uuid
86 uuid_enc_be(void *buf, const uuid_t *uuid) argument
101 uuid_dec_be(const void *buf, uuid_t *uuid) argument
[all...]
H A Duuid_create.c30 #include <uuid.h>
H A Duuid_create_nil.c31 #include <uuid.h>
H A Duuid_hash.c30 #include <uuid.h>
H A Duuid_equal.c31 #include <uuid.h>
/freebsd-11-stable/usr.bin/mkimg/
H A Duuid.c28 __FBSDID("$FreeBSD: stable/11/usr.bin/mkimg/uuid.c 329059 2018-02-09 09:15:43Z manu $");
41 #include <uuid/uuid.h>
44 osdep_uuidgen(mkimg_uuid_t *uuid) argument
47 uuid_generate_time((void *)uuid);
52 #include <sys/uuid.h>
55 osdep_uuidgen(mkimg_uuid_t *uuid) argument
58 uuidgen((void *)uuid, 1);
67 osdep_uuidgen(mkimg_uuid_t *uuid) argument
80 uuid
97 mkimg_uuid(mkimg_uuid_t *uuid) argument
113 mkimg_uuid_enc(void *buf, const mkimg_uuid_t *uuid) argument
[all...]
/freebsd-11-stable/contrib/subversion/subversion/libsvn_fs_base/
H A Duuid.c0 /* uuid.c : operations on repository uuids
27 #include "uuid.h"
37 const char **uuid; member in struct:get_uuid_args
45 return svn_fs_bdb__get_uuid(trail->fs, args->idx, args->uuid,
59 const char *uuid; local
63 args.uuid = &uuid;
67 if (uuid)
70 fs->uuid = apr_pstrdup(fs->pool, uuid);
81 const char *uuid; member in struct:set_uuid_args
95 svn_fs_base__set_uuid(svn_fs_t *fs, const char *uuid, apr_pool_t *pool) argument
[all...]
H A Duuid.h0 /* uuid.h : internal interface to uuid functions
42 svn_error_t *svn_fs_base__set_uuid(svn_fs_t *fs, const char *uuid,
/freebsd-11-stable/etc/rc.d/
H A Dhostid47 uuid=$1
48 # Generate hostid based on hostuuid - take first four bytes from md5(uuid).
49 id=`echo -n $uuid | /sbin/md5`
54 check_startmsgs && echo "Setting hostuuid: ${uuid}."
55 ${SYSCTL} kern.hostuuid="${uuid}" >/dev/null
62 uuid=$1
69 case "${uuid}" in
106 uuid=`kenv -q smbios.system.uuid`
108 if valid_hostid $uuid; the
[all...]
/freebsd-11-stable/contrib/apr-util/test/
H A Dtestuuid.c23 apr_uuid_t uuid; local
27 apr_uuid_get(&uuid);
28 apr_uuid_format(buf, &uuid);
32 memcmp(&uuid, &uuid2, sizeof(uuid)) == 0);
37 apr_uuid_t uuid; local
41 apr_uuid_get(&uuid);
45 memcmp(&uuid, &uuid2, sizeof(uuid)) != 0);
/freebsd-11-stable/contrib/wpa/src/utils/
H A Duuid.h16 int is_nil_uuid(const u8 *uuid);
17 int uuid_random(u8 *uuid);
H A Duuid.c13 #include "uuid.h"
65 int is_nil_uuid(const u8 *uuid) argument
69 if (uuid[i])
75 int uuid_random(u8 *uuid) argument
83 if (os_get_random(uuid, UUID_LEN) < 0 ||
84 hmac_sha256(uuid, UUID_LEN, (const u8 *) &t, sizeof(t), hash) < 0)
87 os_memcpy(uuid, hash, UUID_LEN);
90 uuid[6] = (4 << 4) | (uuid[6] & 0x0f);
93 uuid[
[all...]
/freebsd-11-stable/contrib/apr-util/include/
H A Dapr_uuid.h51 * @param uuid The resulting UUID
53 APU_DECLARE(void) apr_uuid_get(apr_uuid_t *uuid); variable
60 * @param uuid The UUID to format
62 APU_DECLARE(void) apr_uuid_format(char *buffer, const apr_uuid_t *uuid);
66 * @param uuid The resulting UUID
69 APU_DECLARE(apr_status_t) apr_uuid_parse(apr_uuid_t *uuid, const char *uuid_str);
/freebsd-11-stable/stand/libsa/
H A Dgpt.h32 #include <uuid.h>
37 int gptread(const uuid_t *uuid, struct dsk *dskp, char *buf);
38 int gptfind(const uuid_t *uuid, struct dsk *dskp, int part);
/freebsd-11-stable/sys/kern/
H A Dkern_uuid.c40 #include <sys/uuid.h>
56 CTASSERT(sizeof(struct uuid) == 16);
129 struct uuid *
130 kern_uuidgen(struct uuid *store, size_t count)
132 struct uuid_private uuid; local
138 uuid_node(uuid.node);
141 if (uuid_last.time.ll == 0LL || uuid_last.node[0] != uuid.node[0] ||
142 uuid_last.node[1] != uuid.node[1] ||
143 uuid_last.node[2] != uuid.node[2])
144 uuid
271 snprintf_uuid(char *buf, size_t sz, struct uuid *uuid) argument
284 printf_uuid(struct uuid *uuid) argument
293 sbuf_printf_uuid(struct sbuf *sb, struct uuid *uuid) argument
319 le_uuid_enc(void *buf, struct uuid const *uuid) argument
335 le_uuid_dec(void const *buf, struct uuid *uuid) argument
351 be_uuid_enc(void *buf, struct uuid const *uuid) argument
367 be_uuid_dec(void const *buf, struct uuid *uuid) argument
383 parse_uuid(const char *str, struct uuid *uuid) argument
[all...]
/freebsd-11-stable/contrib/subversion/subversion/libsvn_fs_base/bdb/
H A Duuids-table.h49 * storing the result in @a *uuid.
53 const char **uuid,
58 * to @a uuid.
62 const char *uuid,
H A Duuids-table.c40 When the table is created, the repository's uuid is
74 apr_uuid_t uuid;
87 apr_uuid_get(&uuid);
88 apr_uuid_format(buffer, &uuid);
99 const char **uuid,
120 SVN_ERR(BDB_WRAP(fs, N_("get repository uuid"),
123 *uuid = apr_pstrmemdup(pool, value.data, value.size);
130 const char *uuid,
144 value.size = (u_int32_t) strlen(uuid);
145 value.data = apr_pstrmemdup(pool, uuid, valu
73 apr_uuid_t uuid; local
96 svn_fs_bdb__get_uuid(svn_fs_t *fs, int idx, const char **uuid, trail_t *trail, apr_pool_t *pool) argument
127 svn_fs_bdb__set_uuid(svn_fs_t *fs, int idx, const char *uuid, trail_t *trail, apr_pool_t *pool) argument
[all...]
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/
H A Dssar.c42 #include "uuid-private.h"
53 server_search_uuid_sub(uint8_t *buf, uint8_t const * const eob, const uint128_t *uuid) argument
73 if (memcmp(&duuid, uuid, sizeof(duuid)) == 0)
86 if (memcmp(&duuid, uuid, sizeof(duuid)) == 0)
94 if (memcmp(&duuid, uuid, sizeof(duuid)) == 0)
156 server_search_uuid(provider_p const provider, const uint128_t *uuid) argument
168 if (server_search_uuid_sub(buffer, buffer + len, uuid) == 0)
191 uint128_t uuid, puuid; local
310 memcpy(&uuid, &uuid_base, sizeof(uuid));
[all...]
H A Dssr.c47 #include "uuid-private.h"
64 uint128_t uuid, puuid; local
153 memcpy(&uuid, &uuid_base, sizeof(uuid));
154 uuid.b[2] = *req ++;
155 uuid.b[3] = *req ++;
163 memcpy(&uuid, &uuid_base, sizeof(uuid));
164 uuid.b[0] = *req ++;
165 uuid
[all...]
/freebsd-11-stable/usr.sbin/bluetooth/btpand/
H A Dsdp.c55 * _sdp_match_uuid16(ptr, limit, uuid)
62 _sdp_match_uuid16(uint8_t **ptr, uint8_t *limit, uint16_t uuid) argument
68 u1.time_low = uuid;
79 * _sdp_get_uuid(ptr, limit, uuid)
86 _sdp_get_uuid(uint8_t **ptr, uint8_t *limit, uuid_t *uuid) argument
98 memcpy(uuid, &BASE_UUID, sizeof(uuid_t));
99 uuid->time_low = be16dec(p);
107 memcpy(uuid, &BASE_UUID, sizeof(uuid_t));
108 uuid->time_low = be32dec(p);
116 uuid_dec_be(p, uuid);
[all...]
H A Dsdp.h35 #include <uuid.h>
/freebsd-11-stable/bin/uuidgen/
H A Duuidgen.c35 #include <uuid.h>
48 uuid_t *store, *uuid; local
95 uuid = store;
97 if (uuidgen(uuid++, 1) != 0)
102 uuid = store;
104 uuid_to_string(uuid++, &p, &status);

Completed in 303 milliseconds

12345678910