/qemu/scripts/oss-fuzz/ |
H A D | minimize_qtest_trace.py | 168 addr=hex(addr), 169 size=hex(write_suffix_lookup[suffix][0]), 170 data=data.hex()) 199 addr=hex(hint_addr), 200 size=hex(hint_len), 216 addr=hex(addr), 217 size=hex(leftlength), 220 addr=hex(addr+leftlength), 221 size=hex(rightlength), 261 data_try = hex(int("".join(data_bin_list), 2))
|
/qemu/tests/unit/ |
H A D | test-crypto-hash.c | 85 static const char hex[] = "0123456789abcdef"; variable 112 g_assert(expected_outputs[i][j * 2] == hex[(result[j] >> 4) & 0xf]); in test_hash_alloc() 113 g_assert(expected_outputs[i][j * 2 + 1] == hex[result[j] & 0xf]); in test_hash_alloc() 147 g_assert(expected_outputs[i][j * 2] == hex[(result[j] >> 4) & 0xf]); in test_hash_prealloc() 148 g_assert(expected_outputs[i][j * 2 + 1] == hex[result[j] & 0xf]); in test_hash_prealloc() 183 g_assert(expected_outputs[i][j * 2] == hex[(result[j] >> 4) & 0xf]); in test_hash_iov() 184 g_assert(expected_outputs[i][j * 2 + 1] == hex[result[j] & 0xf]); in test_hash_iov()
|
H A D | test-crypto-hmac.c | 81 static const char hex[] = "0123456789abcdef"; variable 112 g_assert(exp_output[j * 2] == hex[(result[j] >> 4) & 0xf]); in test_hmac_alloc() 113 g_assert(exp_output[j * 2 + 1] == hex[result[j] & 0xf]); in test_hmac_alloc() 155 g_assert(exp_output[j * 2] == hex[(result[j] >> 4) & 0xf]); in test_hmac_prealloc() 156 g_assert(exp_output[j * 2 + 1] == hex[result[j] & 0xf]); in test_hmac_prealloc() 198 g_assert(exp_output[j * 2] == hex[(result[j] >> 4) & 0xf]); in test_hmac_iov() 199 g_assert(exp_output[j * 2 + 1] == hex[result[j] & 0xf]); in test_hmac_iov()
|
H A D | test-crypto-afsplit.c | 107 static inline char hex(int i) in hex() function 122 hexstr[i * 2] = hex((bytes[i] >> 4) & 0xf); in hex_string() 123 hexstr[i * 2 + 1] = hex(bytes[i] & 0xf); in hex_string()
|
H A D | test-crypto-pbkdf.c | 349 static inline char hex(int i) in hex() function 364 hexstr[i * 2] = hex((bytes[i] >> 4) & 0xf); in hex_string() 365 hexstr[i * 2 + 1] = hex(bytes[i] & 0xf); in hex_string()
|
H A D | test-crypto-cipher.c | 606 static inline char hex(int i) in hex() function 641 hexstr[i*2] = hex((bytes[i] >> 4) & 0xf); in hex_string() 642 hexstr[i*2+1] = hex(bytes[i] & 0xf); in hex_string()
|
/qemu/crypto/ |
H A D | hmac.c | 16 static const char hex[] = "0123456789abcdef"; variable 62 (*digest)[(i * 2)] = hex[(result[i] >> 4) & 0xf]; in qcrypto_hmac_digestv() 63 (*digest)[(i * 2) + 1] = hex[result[i] & 0xf]; in qcrypto_hmac_digestv()
|
H A D | hash.c | 80 static const char hex[] = "0123456789abcdef"; variable 98 (*digest)[(i * 2)] = hex[(result[i] >> 4) & 0xf]; in qcrypto_hash_digestv() 99 (*digest)[(i * 2) + 1] = hex[result[i] & 0xf]; in qcrypto_hash_digestv()
|
/qemu/pc-bios/s390-ccw/ |
H A D | s390-ccw.h | 96 const char hex[] = "0123456789abcdef"; in fill_hex() local 98 out[0] = hex[(val >> 4) & 0xf]; in fill_hex() 99 out[1] = hex[val & 0xf]; in fill_hex()
|
/qemu/tests/qemu-iotests/ |
H A D | 242 | 101 .format(hex(bitmap_flag_unknown), flag_offset)) 106 .format(hex(bitmap_flag_unknown)))
|
/qemu/scripts/ |
H A D | analyse-9p-simpletrace.py | 106 … print("TGETATTR (tag =", tag, ", fid =", fid, ", request_mask =", hex(request_mask), ")") 109 …print("RGETATTR (tag =", tag, ", result_mask =", hex(result_mask), ", mode =", oct(mode), ", uid =… 115 print("RWALK (tag =", tag, ", nwnames =", nwnames, ", qids =", hex(qids), ")")
|
H A D | checkpatch.pl | 1706 my $hex = 1711 $tmpline =~ s/($hex[.:\/ ])+$hex//g; 1713 if ($tmpline =~ /(?<!0x)$hex/) {
|
H A D | decodetree.py | 757 return hex(b >> sh) 1381 return hex(b >> sh)
|
/qemu/docs/system/ |
H A D | generic-loader.rst | 42 will be parsed as decimal. To use hex values the user should prefix the number 65 will be parsed as decimal. To use hex values the user should prefix the number 104 will be parsed as decimal. To use hex values the user should prefix the number
|
H A D | qemu-block-drivers.rst.inc | 790 must be given as a hex encoded string:: 795 each pair of hex digits.
|
/qemu/hw/mips/ |
H A D | malta.c | 864 g_autoptr(GString) hex = rng_seed_hex_new(); in reinitialize_rng_seed() 865 memcpy(opaque, hex->str, hex->len); in reinitialize_rng_seed() 955 g_autoptr(GString) hex = rng_seed_hex_new(); in load_kernel() 956 prom_set(prom_buf, prom_index++, "%s", hex->str); in load_kernel()
|
/qemu/docs/system/arm/ |
H A D | nrf.rst | 51 $ qemu-system-arm -M microbit -device loader,file=test.hex
|
/qemu/block/ |
H A D | ssh.c | 397 static const char *hex = "0123456789abcdef"; in format_fingerprint() local 400 ret[i * 2] = hex[((fingerprint[i] >> 4) & 0xf)]; in format_fingerprint() 401 ret[(i * 2) + 1] = hex[(fingerprint[i] & 0xf)]; in format_fingerprint()
|
/qemu/contrib/gitdm/ |
H A D | filetypes.txt | 74 filetype tests \.hex$
|
/qemu/docs/devel/ |
H A D | style.rst | 798 In trace-events files, use a '0x' prefix to specify hex numbers, as in: 813 it is obvious that numbers are in hex, ex.: 817 data_dump(uint8_t c1, uint8_t c2, uint8_t c3) "bytes (in hex): %02x %02x %02x" 819 Rationale: hex numbers are hard to read in logs when there is no 0x prefix,
|
/qemu/tests/docker/ |
H A D | docker.py | 359 label = uuid.uuid4().hex
|
/qemu/docs/system/i386/ |
H A D | amd-memory-encryption.rst | 187 | policy | hex | 0x30000 | a 64-bit guest policy |
|
/qemu/docs/system/s390x/ |
H A D | vfio-ap.rst | 178 is AP adapter number xx (in hex) 262 * An absolute hex string starting with 0x - like "0x12345678" - sets
|
/qemu/ |
H A D | hmp-commands.hx | 484 can be x (hex), d (signed decimal), u (unsigned decimal), o (octal),
|
H A D | MAINTAINERS | 2524 F: tests/data/hex-loader/test.hex
|