/tools/iio/ |
D | iio_generic_buffer.c | 82 static void print1byte(uint8_t input, struct iio_channel_info *info) in print1byte() argument 88 input >>= info->shift; in print1byte() 89 input &= info->mask; in print1byte() 91 int8_t val = (int8_t)(input << (8 - info->bits_used)) >> in print1byte() 95 printf("%05f ", ((float)input + info->offset) * info->scale); in print1byte() 99 static void print2byte(uint16_t input, struct iio_channel_info *info) in print2byte() argument 103 input = be16toh(input); in print2byte() 105 input = le16toh(input); in print2byte() 111 input >>= info->shift; in print2byte() 112 input &= info->mask; in print2byte() [all …]
|
/tools/perf/util/ |
D | zstd.c | 62 ZSTD_inBuffer input = { src, src_size, 0 }; in zstd_compress_stream_to_records() local 66 while (input.pos < input.size) { in zstd_compress_stream_to_records() 74 ret = ZSTD_compressStream(data->cstream, &output, &input); in zstd_compress_stream_to_records() 96 ZSTD_inBuffer input = { src, src_size, 0 }; in zstd_decompress_stream() local 99 while (input.pos < input.size) { in zstd_decompress_stream() 100 ret = ZSTD_decompressStream(data->dstream, &output, &input); in zstd_decompress_stream()
|
D | lzma.c | 35 int lzma_decompress_to_file(const char *input, int output_fd) in lzma_decompress_to_file() argument 46 infile = fopen(input, "rb"); in lzma_decompress_to_file() 49 input, strerror(errno)); in lzma_decompress_to_file() 110 bool lzma_is_compressed(const char *input) in lzma_is_compressed() argument 112 int fd = open(input, O_RDONLY); in lzma_is_compressed()
|
D | compress.h | 11 int gzip_decompress_to_file(const char *input, int output_fd); 12 bool gzip_is_compressed(const char *input); 16 int lzma_decompress_to_file(const char *input, int output_fd); 17 bool lzma_is_compressed(const char *input);
|
D | zlib.c | 16 int gzip_decompress_to_file(const char *input, int output_fd) in gzip_decompress_to_file() argument 32 input_fd = open(input, O_RDONLY); in gzip_decompress_to_file() 83 bool gzip_is_compressed(const char *input) in gzip_is_compressed() argument 85 int fd = open(input, O_RDONLY); in gzip_is_compressed()
|
D | srcline.c | 131 const char *input; member 249 a2l->input = strdup(path); in addr2line_init() 250 if (a2l->input == NULL) in addr2line_init() 260 zfree((char **)&a2l->input); in addr2line_init() 271 zfree((char **)&a2l->input); in addr2line_cleanup()
|
/tools/wmi/ |
D | dell-smbios-example.c | 36 buffer->std.input[0], buffer->std.input[1], in show_buffer() 37 buffer->std.input[2], buffer->std.input[3], in show_buffer() 101 buffer->std.input[0] = *location; in token_is_active() 137 buffer->std.input[0] = location; in activate_token() 138 buffer->std.input[1] = 1; in activate_token() 179 buffer->std.input[0] = 2; in main()
|
/tools/perf/arch/arm64/entry/syscalls/ |
D | mksyscalltbl | 15 input=$4 17 if ! test -r $input; then 59 $gcc -E -dM -x c -I $incpath/include/uapi $input \
|
/tools/testing/selftests/bpf/prog_tests/ |
D | core_reloc.c | 20 .input = FLAVORS_DATA(core_reloc_##name), \ 43 .input = NESTING_DATA(core_reloc_##name), \ 68 .input = ARRAYS_DATA(core_reloc_##name), \ 99 .input = PRIMITIVES_DATA(core_reloc_##name), \ 114 .input = STRUCT_TO_CHAR_PTR(core_reloc_##name) { \ 136 .input = (const char *)&(struct core_reloc_##name []){ \ 166 .input = INTS_DATA(core_reloc_##name), \ 181 const char *input; member 194 .input = "", 269 .input = (const char *)&(struct core_reloc_misc_extensible[]){ [all …]
|
/tools/testing/selftests/rcutorture/bin/ |
D | kvm-test-1-run.sh | 47 touch $resdir/ConfigFragment.input $resdir/ConfigFragment 50 echo " --- $config_dir/CFcommon" >> $resdir/ConfigFragment.input 51 cat < $config_dir/CFcommon >> $resdir/ConfigFragment.input 57 echo " --- $config_template" >> $resdir/ConfigFragment.input 58 cat $config_template >> $resdir/ConfigFragment.input 63 echo " --- --kconfig argument" >> $resdir/ConfigFragment.input 64 cat $T/cmdline >> $resdir/ConfigFragment.input
|
/tools/testing/selftests/powerpc/vphn/ |
D | test-vphn.c | 23 long input[VPHN_REGISTER_COUNT]; member 371 vphn_unpack_associativity(test->input, output); in test_one()
|
/tools/perf/Documentation/ |
D | perf-buildid-list.txt | 20 file using -i/--input. 28 --input=::
|
D | perf-inject.txt | 33 --input=:: 60 found in the jitdumps files captured in the input perf.data file. Use this option
|
D | perf-kmem.txt | 25 --input=<file>:: 26 Select the input file (default: perf.data unless stdin is a fifo)
|
D | perf-evlist.txt | 20 --input=::
|
D | perf-annotate.txt | 11 'perf annotate' [-i <file> | --input=file] [symbol_name] 15 This command reads the input file and displays an annotated version of the 24 --input=<file>::
|
D | perf-kvm.txt | 29 is input, the perf data file name is perf.data.guest. If --host is input, 31 perf.data.host, please input --host --no-guest. The behaviors are shown as 70 --input=<path>::
|
D | perf-data.txt | 31 Specify input perf data file path.
|
D | perf-lock.txt | 34 --input=<file>::
|
/tools/testing/selftests/bpf/ |
D | test_lirc_mode2.sh | 25 INPUTDEV=$(grep DEVNAME= $i/input*/event*/uevent | sed sQDEVNAME=Q/dev/Q)
|
/tools/memory-model/scripts/ |
D | README | 35 name per line on standard input. Not normally run manually, 65 name per line on standard input. Not normally run manually,
|
/tools/testing/selftests/netfilter/ |
D | conntrack_icmp_related.sh | 153 chain input { 154 type filter hook input priority 0; policy accept; 173 chain input { 174 type filter hook input priority 0; policy accept;
|
/tools/perf/ui/tui/ |
D | util.c | 71 int ui_browser__input_window(const char *title, const char *text, char *input, in ui_browser__input_window() argument 159 strncpy(input, buf, len+1); in ui_browser__input_window()
|
/tools/firewire/ |
D | nosy-dump.c | 901 FILE *output = NULL, *input = NULL; in main() local 925 input = fopen(option_input, "r"); in main() 926 if (input == NULL) { in main() 974 if (input != NULL) { in main() 975 if (fread(&length, sizeof length, 1, input) != 1) in main() 977 fread(buf, 1, length, input); in main()
|
/tools/power/x86/turbostat/ |
D | turbostat.c | 3500 FILE *input; in dump_sysfs_cstate_config() local 3511 input = fopen(path, "r"); in dump_sysfs_cstate_config() 3512 if (input == NULL) in dump_sysfs_cstate_config() 3514 if (!fgets(name_buf, sizeof(name_buf), input)) in dump_sysfs_cstate_config() 3522 fclose(input); in dump_sysfs_cstate_config() 3526 input = fopen(path, "r"); in dump_sysfs_cstate_config() 3527 if (input == NULL) in dump_sysfs_cstate_config() 3529 if (!fgets(desc, sizeof(desc), input)) in dump_sysfs_cstate_config() 3533 fclose(input); in dump_sysfs_cstate_config() 3542 FILE *input; in dump_sysfs_pstate_config() local [all …]
|