| /tools/mm/ |
| A D | show_page_info.py | 86 "Page Address": hex(page.value_()), 89 "Page PFN": hex(page_to_pfn(page).value_()), 90 "Page Physical": hex(page_to_phys(page).value_()), 91 "Page Virtual": hex(page_to_virt(page).value_()), 94 "Page Index": hex(page.__folio_index.value_()), 95 "Page Memcg Data": hex(page.memcg_data.value_()), 101 fields["Page Mapping"] = hex(page.mapping.value_()) 106 fields["Page VMA"] = hex(vma.value_()) 107 fields["VMA Start"] = hex(vma.vm_start.value_()) 108 fields["VMA End"] = hex(vma.vm_end.value_())
|
| /tools/lib/api/ |
| A D | io.h | 102 static inline int io__get_hex(struct io *io, __u64 *hex) in io__get_hex() argument 106 *hex = 0; in io__get_hex() 113 *hex = (*hex << 4) | (ch - '0'); in io__get_hex() 115 *hex = (*hex << 4) | (ch - 'a' + 10); in io__get_hex() 117 *hex = (*hex << 4) | (ch - 'A' + 10); in io__get_hex()
|
| /tools/firmware/ |
| A D | ihex2fw.c | 46 static uint8_t hex(const uint8_t *data, uint8_t *crc) in hex() function 157 len = hex(data + i, &crc); i += 2; in process_ihex() 160 len += hex(data + i, &crc); i += 2; in process_ihex() 178 record->addr = hex(data + i, &crc) << 8; i += 2; in process_ihex() 179 record->addr |= hex(data + i, &crc); i += 2; in process_ihex() 180 type = hex(data + i, &crc); i += 2; in process_ihex() 183 record->data[j] = hex(data + i, &crc); in process_ihex() 186 crcbyte = hex(data + i, &crc); i += 2; in process_ihex()
|
| /tools/perf/tests/ |
| A D | api-io.c | 140 __u64 hex; in do_test_get_hex() local 145 ch = io__get_hex(&io, &hex); in do_test_get_hex() 146 EXPECT_EQUAL64(hex, val1); in do_test_get_hex() 149 ch = io__get_hex(&io, &hex); in do_test_get_hex() 150 EXPECT_EQUAL64(hex, val2); in do_test_get_hex() 153 ch = io__get_hex(&io, &hex); in do_test_get_hex() 154 EXPECT_EQUAL64(hex, val3); in do_test_get_hex()
|
| A D | code-reading.c | 66 **buf = (hex(c1) << 4) | hex(c2); in read_objdump_chunk()
|
| /tools/testing/selftests/ftrace/test.d/ftrace/ |
| A D | fgraph-retval.tc | 31 echo 0 > options/funcgraph-retval-hex 38 echo 1 > options/funcgraph-retval-hex
|
| /tools/perf/util/ |
| A D | demangle-ocaml.c | 58 result[j++] = (hex(sym[i + 1]) << 4) | hex(sym[i + 2]); in ocaml_demangle_sym()
|
| A D | demangle-rust-v0.c | 1264 struct buf hex; in printer_print_const_uint() local 1265 PARSE(printer, parser_hex_nibbles, &hex); in printer_print_const_uint() 1268 if (try_parse_uint(hex.start, hex.len, &val)) { in printer_print_const_uint() 1272 PRINT(printer_print_buf(printer, hex.start, hex.len)); in printer_print_const_uint() 1286 struct buf hex; in printer_print_const_str_literal() local 1287 PARSE(printer, parser_hex_nibbles, &hex); in printer_print_const_str_literal() 1290 nibbles_to_string_status nts_status = nibbles_to_string(hex.start, hex.len, NULL, &out_len); in printer_print_const_str_literal() 1295 nts_status = nibbles_to_string(hex.start, hex.len, (uint8_t*)printer->out, &out_len); in printer_print_const_str_literal() 1340 struct buf hex; in printer_print_const() local 1376 if (try_parse_uint(hex.start, hex.len, &val)) { in printer_print_const() [all …]
|
| A D | string2.h | 43 unsigned int hex(char c);
|
| A D | data-convert-bt.c | 1432 static struct bt_ctf_field_type *create_int_type(int size, bool sign, bool hex) in create_int_type() argument 1444 if (hex && in create_int_type() 1455 size, sign ? "un" : "", hex ? "hex" : ""); in create_int_type() 1473 #define CREATE_INT_TYPE(type, size, sign, hex) \ in ctf_writer__init_data() argument 1475 (type) = create_int_type(size, sign, hex); \ in ctf_writer__init_data()
|
| A D | string.c | 405 unsigned int hex(char c) in hex() function
|
| /tools/testing/selftests/bpf/prog_tests/ |
| A D | xdp_synproxy.c | 23 static const char *hex = "0123456789ABCDEF"; in escape_str() local 32 *out++ = hex[(in[i] >> 4) & 0xf]; in escape_str() 33 *out++ = hex[in[i] & 0xf]; in escape_str()
|
| /tools/perf/Documentation/ |
| A D | jit-interface.txt | 12 START and SIZE are hex numbers without 0x.
|
| A D | perf-ftrace.txt | 128 - retval-hex - Show function return value in hexadecimal format.
|
| A D | perf-c2c.txt | 200 - cacheline address (hex number)
|
| /tools/testing/selftests/bpf/ |
| A D | generate_udp_fragments.py | 47 chunks_fmted = [", ".join([str(hex(b)) for b in chunk]) for chunk in chunks]
|
| /tools/testing/selftests/kexec/ |
| A D | test_kexec_file_load.sh | 85 line=$(getfattr -n security.ima -e hex --absolute-names $KERNEL_IMAGE 2>&1)
|
| /tools/bpf/bpftool/Documentation/ |
| A D | bpftool-map.rst | 48 | *DATA* := { [**hex**] *BYTES* } 100 If the **hex** keyword is provided in front of the bytes sequence, the 185 | **# bpftool map update id 10 key hex 20 c4 b7 00 value hex 0f ff ff ab 01 02 …
|
| /tools/net/ynl/pyynl/ |
| A D | cli.py | 36 return bytes.hex(obj)
|
| /tools/testing/selftests/rcutorture/doc/ |
| A D | rcu-test-image.txt | 6 text data bss dec hex filename
|
| /tools/perf/util/scripting-engines/ |
| A D | trace-event-perl.c | 225 define_event_symbols(event, ev_name, args->hex.field); in define_event_symbols() 226 define_event_symbols(event, ev_name, args->hex.size); in define_event_symbols()
|
| /tools/bpf/bpftool/bash-completion/ |
| A D | bpftool | 275 help|hex) 768 COMPREPLY+=( $( compgen -W 'hex' -- "$cur" ) ) 797 COMPREPLY+=( $( compgen -W 'hex' -- "$cur" ) ) 814 COMPREPLY+=( $( compgen -W 'hex' \
|
| /tools/power/x86/intel-speed-select/ |
| A D | isst-config.c | 2836 static void check_optarg(char *option, int hex) in check_optarg() argument 2842 if (hex && strlen(optarg) < 3) { in check_optarg() 2848 if (hex) { in check_optarg() 2858 if (hex) { in check_optarg()
|
| /tools/net/ynl/pyynl/lib/ |
| A D | ynl.py | 936 formatted = hex(raw) 938 formatted = bytes.hex(raw, ' ')
|
| /tools/perf/pmu-events/ |
| A D | jevents.py | 209 return str(x) if x >= 0 and x < 10 else hex(x)
|