/freebsd-12-stable/sys/sys/ |
H A D | uuid.h | 46 struct uuid { struct 61 struct uuid *kern_uuidgen(struct uuid *, size_t); 66 int snprintf_uuid(char *, size_t, struct uuid *); 67 int printf_uuid(struct uuid *); 68 int sbuf_printf_uuid(struct sbuf *, struct uuid *); 76 int validate_uuid(const char *, size_t, struct uuid *, int); 77 int parse_uuid(const char *, struct uuid *); 83 int uuidcmp(const struct uuid *, const struct uuid *); [all...] |
H A D | gpt.h | 34 #include <sys/uuid.h> 36 #define GPT_UUID_TYPE struct uuid
|
H A D | efiio.h | 32 #include <sys/uuid.h> 37 struct uuid uuid; /* UUID to look up */ member in struct:efi_get_table_ioc 45 struct uuid vendor; /* Vendor's UUID for variable */
|
/freebsd-12-stable/lib/libc/uuid/ |
H A D | Makefile.inc | 5 .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 D | uuid_stream.c | 35 #include <uuid.h> 58 uuid_enc_le(void *buf, const uuid_t *uuid) argument 63 le32enc(p, uuid->time_low); 64 le16enc(p + 4, uuid->time_mid); 65 le16enc(p + 6, uuid->time_hi_and_version); 66 p[8] = uuid->clock_seq_hi_and_reserved; 67 p[9] = uuid->clock_seq_low; 69 p[10 + i] = uuid->node[i]; 73 uuid_dec_le(const void *buf, uuid_t *uuid) argument 78 uuid 88 uuid_enc_be(void *buf, const uuid_t *uuid) argument 103 uuid_dec_be(const void *buf, uuid_t *uuid) argument [all...] |
H A D | uuid_create.c | 32 #include <uuid.h>
|
H A D | uuid_create_nil.c | 33 #include <uuid.h>
|
H A D | uuid_hash.c | 32 #include <uuid.h>
|
/freebsd-12-stable/usr.bin/mkimg/ |
H A D | uuid.c | 40 #include <uuid/uuid.h> 43 osdep_uuidgen(mkimg_uuid_t *uuid) argument 46 uuid_generate_time((void *)uuid); 51 #include <sys/uuid.h> 54 osdep_uuidgen(mkimg_uuid_t *uuid) argument 57 uuidgen((void *)uuid, 1); 66 osdep_uuidgen(mkimg_uuid_t *uuid) argument 79 uuid->time_low = (uint32_t)time; 80 uuid 96 mkimg_uuid(mkimg_uuid_t *uuid) argument 112 mkimg_uuid_enc(void *buf, const mkimg_uuid_t *uuid) argument [all...] |
/freebsd-12-stable/contrib/subversion/subversion/libsvn_fs_base/ |
H A D | uuid.c | 0 /* 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 D | uuid.h | 0 /* uuid.h : internal interface to uuid functions 42 svn_error_t *svn_fs_base__set_uuid(svn_fs_t *fs, const char *uuid,
|
/freebsd-12-stable/libexec/rc/rc.d/ |
H A D | hostid | 46 uuid=$1 47 # Generate hostid based on hostuuid - take first four bytes from md5(uuid). 48 id=`echo -n $uuid | /sbin/md5` 53 check_startmsgs && echo "Setting hostuuid: ${uuid}." 54 ${SYSCTL} kern.hostuuid="${uuid}" >/dev/null 61 uuid=$1 68 case "${uuid}" in 105 uuid=`kenv -q smbios.system.uuid` 107 if valid_hostid $uuid; the [all...] |
/freebsd-12-stable/contrib/apr-util/test/ |
H A D | testuuid.c | 23 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-12-stable/contrib/wpa/src/utils/ |
H A D | uuid.h | 16 int is_nil_uuid(const u8 *uuid); 17 int uuid_random(u8 *uuid);
|
H A D | uuid.c | 13 #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-12-stable/stand/libsa/ |
H A D | gpt.h | 32 #include <uuid.h> 38 int gptfind(const uuid_t *uuid, struct dsk *dskp, int part);
|
/freebsd-12-stable/contrib/apr-util/include/ |
H A D | apr_uuid.h | 51 * @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-12-stable/sys/kern/ |
H A D | kern_uuid.c | 42 #include <sys/uuid.h> 58 CTASSERT(sizeof(struct uuid) == 16); 131 struct uuid * 132 kern_uuidgen(struct uuid *store, size_t count) 134 struct uuid_private uuid; local 140 uuid_node(uuid.node); 143 if (uuid_last.time.ll == 0LL || uuid_last.node[0] != uuid.node[0] || 144 uuid_last.node[1] != uuid.node[1] || 145 uuid_last.node[2] != uuid.node[2]) 146 uuid 273 snprintf_uuid(char *buf, size_t sz, struct uuid *uuid) argument 286 printf_uuid(struct uuid *uuid) argument 295 sbuf_printf_uuid(struct sbuf *sb, struct uuid *uuid) argument 321 le_uuid_enc(void *buf, struct uuid const *uuid) argument 337 le_uuid_dec(void const *buf, struct uuid *uuid) argument 353 be_uuid_enc(void *buf, struct uuid const *uuid) argument 369 be_uuid_dec(void const *buf, struct uuid *uuid) argument 385 validate_uuid(const char *str, size_t size, struct uuid *uuid, int flags) argument 443 parse_uuid(const char *str, struct uuid *uuid) argument [all...] |
/freebsd-12-stable/contrib/subversion/subversion/libsvn_fs_base/bdb/ |
H A D | uuids-table.h | 49 * storing the result in @a *uuid. 53 const char **uuid, 58 * to @a uuid. 62 const char *uuid,
|
H A D | uuids-table.c | 40 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-12-stable/usr.sbin/bluetooth/sdpd/ |
H A D | ssar.c | 42 #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 D | ssr.c | 47 #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-12-stable/usr.sbin/bluetooth/btpand/ |
H A D | sdp.c | 55 * _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 D | sdp.h | 35 #include <uuid.h>
|
/freebsd-12-stable/bin/uuidgen/ |
H A D | uuidgen.c | 38 #include <uuid.h> 51 uuid_t *store, *uuid; local 104 uuid = store; 106 if (uuidgen(uuid++, 1) != 0) 111 uuid = store; 113 uuid_to_string(uuid++, &p, &status);
|