Home
last modified time | relevance | path

Searched refs:hex (Results 1 – 25 of 32) sorted by relevance

12

/tools/mm/
A Dshow_page_info.py86 "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 Dio.h102 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 Dihex2fw.c46 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 Dapi-io.c140 __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 Dcode-reading.c66 **buf = (hex(c1) << 4) | hex(c2); in read_objdump_chunk()
/tools/testing/selftests/ftrace/test.d/ftrace/
A Dfgraph-retval.tc31 echo 0 > options/funcgraph-retval-hex
38 echo 1 > options/funcgraph-retval-hex
/tools/perf/util/
A Ddemangle-ocaml.c58 result[j++] = (hex(sym[i + 1]) << 4) | hex(sym[i + 2]); in ocaml_demangle_sym()
A Ddemangle-rust-v0.c1264 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 Dstring2.h43 unsigned int hex(char c);
A Ddata-convert-bt.c1432 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 Dstring.c405 unsigned int hex(char c) in hex() function
/tools/testing/selftests/bpf/prog_tests/
A Dxdp_synproxy.c23 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 Djit-interface.txt12 START and SIZE are hex numbers without 0x.
A Dperf-ftrace.txt128 - retval-hex - Show function return value in hexadecimal format.
A Dperf-c2c.txt200 - cacheline address (hex number)
/tools/testing/selftests/bpf/
A Dgenerate_udp_fragments.py47 chunks_fmted = [", ".join([str(hex(b)) for b in chunk]) for chunk in chunks]
/tools/testing/selftests/kexec/
A Dtest_kexec_file_load.sh85 line=$(getfattr -n security.ima -e hex --absolute-names $KERNEL_IMAGE 2>&1)
/tools/bpf/bpftool/Documentation/
A Dbpftool-map.rst48 | *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 Dcli.py36 return bytes.hex(obj)
/tools/testing/selftests/rcutorture/doc/
A Drcu-test-image.txt6 text data bss dec hex filename
/tools/perf/util/scripting-engines/
A Dtrace-event-perl.c225 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 Dbpftool275 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 Disst-config.c2836 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 Dynl.py936 formatted = hex(raw)
938 formatted = bytes.hex(raw, ' ')
/tools/perf/pmu-events/
A Djevents.py209 return str(x) if x >= 0 and x < 10 else hex(x)

Completed in 43 milliseconds

12