Searched refs:hex (Results 1 – 10 of 10) sorted by relevance
37 char *hex, *phex; in spdk_hexlify() local39 hex = malloc((len * 2) + 1); in spdk_hexlify()40 if (hex == NULL) { in spdk_hexlify()43 phex = hex; in spdk_hexlify()49 free(hex); in spdk_hexlify()56 return hex; in spdk_hexlify()60 spdk_unhexlify(const char *hex) in spdk_unhexlify() argument63 size_t len = strlen(hex); in spdk_unhexlify()75 int v0 = __c2v(hex[i]); in spdk_unhexlify()76 int v1 = __c2v(hex[i + 1]); in spdk_unhexlify()[all …]
146 static const char *hex = "0123456789abcdef"; in spdk_cpuset_fmt() local162 *(ptr++) = hex[(val & 0xf0) >> 4]; in spdk_cpuset_fmt()164 *(ptr++) = hex[val & 0x0f]; in spdk_cpuset_fmt()168 *(ptr++) = hex[(val & 0xf0) >> 4]; in spdk_cpuset_fmt()169 *(ptr++) = hex[val & 0x0f]; in spdk_cpuset_fmt()
30 char *spdk_unhexlify(const char *hex);
18 return str(uuid.UUID(hex=volume_id))
12 hex() { printf '0x%02x\n' "$@"; } function63 dev_id=$(hex "$(< "$ipmi/device/bmc/device_id")")102 hex "${rsp[@]}"
122 …print("{}element at address: {} with size: {:>15}".format(header, hex(self.addr), B_to_MiB(self.si…215 print("{}located at address {}".format(header, hex(self.address)))227 print("{}address: {} length: {:>15}".format(header, hex(self.address), B_to_MiB(self.size)))
328 char hex[] = "0123456789ABCDEF"; in write_hex_2() local330 p[0] = hex[val >> 4]; in write_hex_2()331 p[1] = hex[val & 0xf]; in write_hex_2()
161 'addr': hex(phid),
163 'addr': hex(phid),
558 properties={'ptr': hex(dprobe.args['qpair']),