/tools/perf/util/ |
D | help-unknown-cmd.c | 43 tmp = realloc(cmds->names, cmds->alloc * sizeof(*cmds->names)); in add_cmd_list() 46 cmds->names = tmp; in add_cmd_list() 49 cmds->names[cmds->cnt++] = old->names[i]; in add_cmd_list() 50 zfree(&old->names); in add_cmd_list() 71 qsort(main_cmds.names, main_cmds.cnt, in help_unknown_cmd() 72 sizeof(main_cmds.names), cmdname_compare); in help_unknown_cmd() 78 main_cmds.names[i]->len = in help_unknown_cmd() 79 levenshtein(cmd, main_cmds.names[i]->name, 0, 2, 1, 4); in help_unknown_cmd() 81 qsort(main_cmds.names, main_cmds.cnt, in help_unknown_cmd() 82 sizeof(*main_cmds.names), levenshtein_compare); in help_unknown_cmd() [all …]
|
D | map_groups.h | 19 struct rb_root names; member
|
D | map.c | 577 maps->names = RB_ROOT; in maps__init() 610 struct rb_root *root = &maps->names; in __maps__purge_names() 933 struct rb_node **p = &maps->names.rb_node; in __maps__insert_name() 948 rb_insert_color(&map->rb_node_name, &maps->names); in __maps__insert_name() 965 rb_erase_init(&map->rb_node_name, &maps->names); in __maps__remove()
|
/tools/lib/subcmd/ |
D | help.c | 24 ALLOC_GROW(cmds->names, cmds->cnt + 1, cmds->alloc); in add_cmdname() 25 cmds->names[cmds->cnt++] = ent; in add_cmdname() 33 zfree(&cmds->names[i]); in clean_cmdnames() 34 zfree(&cmds->names); in clean_cmdnames() 54 if (!strcmp(cmds->names[i]->name, cmds->names[i-1]->name)) in uniq() 55 zfree(&cmds->names[i - 1]); in uniq() 58 if (cmds->names[i]) { in uniq() 62 cmds->names[j++] = cmds->names[i]; in uniq() 67 cmds->names[j++] = NULL; in uniq() 77 cmp = strcmp(cmds->names[ci]->name, excludes->names[ei]->name); in exclude_cmds() [all …]
|
D | help.h | 14 } **names; member
|
/tools/perf/ui/browsers/ |
D | res_sample.c | 34 char **names; in res_sample_browse() local 44 names = calloc(num_res, sizeof(char *)); in res_sample_browse() 45 if (!names) in res_sample_browse() 51 if (asprintf(&names[i], "%s: CPU %d tid %d", tbuf, in res_sample_browse() 54 zfree(&names[i]); in res_sample_browse() 55 free(names); in res_sample_browse() 59 choice = ui__popup_menu(num_res, names); in res_sample_browse() 61 zfree(&names[i]); in res_sample_browse() 62 free(names); in res_sample_browse()
|
D | scripts.c | 27 const char **names; member 52 c->names[c->index] = name; in add_script_option() 70 c->names[c->index] = strdup(var + 7); in scripts_config() 71 if (!c->names[c->index]) in scripts_config() 88 char *buf, *paths[SCRIPT_MAX_NO], *names[SCRIPT_MAX_NO]; in list_scripts() local 95 .names = (const char **)names, in list_scripts() 121 names[i] = buf + (i - max_std) * (SCRIPT_NAMELEN + SCRIPT_FULLPATH_LEN); in list_scripts() 122 paths[i] = names[i] + SCRIPT_NAMELEN; in list_scripts() 125 num = find_scripts(names + max_std, paths + max_std, SCRIPT_MAX_NO - max_std, in list_scripts() 129 choice = ui__popup_menu(num + max_std, (char * const *)names); in list_scripts()
|
/tools/perf/tests/ |
D | evsel-roundtrip-name.c | 67 static int __perf_evsel__name_array_test(const char *names[], int nr_names) in __perf_evsel__name_array_test() argument 77 err = parse_events(evlist, names[i], NULL); in __perf_evsel__name_array_test() 80 names[i], err); in __perf_evsel__name_array_test() 87 if (strcmp(perf_evsel__name(evsel), names[evsel->idx])) { in __perf_evsel__name_array_test() 89 pr_debug("%s != %s\n", perf_evsel__name(evsel), names[evsel->idx]); in __perf_evsel__name_array_test() 98 #define perf_evsel__name_array_test(names) \ argument 99 __perf_evsel__name_array_test(names, ARRAY_SIZE(names))
|
/tools/testing/selftests/networking/timestamping/ |
D | hwtstamp_config.c | 20 lookup_value(const char **names, int size, const char *name) in lookup_value() argument 25 if (names[value] && strcasecmp(names[value], name) == 0) in lookup_value() 32 lookup_name(const char **names, int size, int value) in lookup_name() argument 34 return (value >= 0 && value < size) ? names[value] : NULL; in lookup_name() 37 static void list_names(FILE *f, const char **names, int size) in list_names() argument 42 if (names[value]) in list_names() 43 fprintf(f, " %s\n", names[value]); in list_names()
|
/tools/perf/Documentation/ |
D | perf-evlist.txt | 6 perf-evlist - List the event names in a perf.data file 15 This command displays the names of events sampled in a perf.data file. 40 Show tracepoint field names.
|
D | db-export.txt | 23 used so long as the names and meanings (and to some extent data types) remain 27 so long as the new names are unique.
|
/tools/usb/usbip/libsrc/ |
D | Makefile.am | 7 libusbip_la_SOURCES := names.c names.h usbip_host_driver.c usbip_host_driver.h \
|
/tools/bpf/bpftool/ |
D | common.c | 261 static const char * const names[] = { in get_fd_type_name() local 267 if (type < 0 || type >= ARRAY_SIZE(names) || !names[type]) in get_fd_type_name() 268 return names[BPF_OBJ_UNKNOWN]; in get_fd_type_name() 270 return names[type]; in get_fd_type_name()
|
D | btf.c | 580 static const char * const names[] = { in build_btf_type_table() local 608 p_err("can't get next %s: %s%s", names[type], in build_btf_type_table() 629 p_err("can't get %s by id (%u): %s", names[type], id, in build_btf_type_table() 639 p_err("can't get %s info: %s", names[type], in build_btf_type_table()
|
/tools/usb/usbip/ |
D | .gitignore | 24 libsrc/libusbip_la-names.lo
|
/tools/bpf/bpftool/Documentation/ |
D | bpftool-feature.rst | 40 as a prefix to the names of the macros: this can be used to 41 avoid conflicts on macro names when including the output of
|
/tools/power/pm-graph/config/ |
D | cgskip.txt | 8 # adding or removing function symbol names.
|
D | custom-timeline-functions.cfg | 97 # enclose the arg names. 162 # enclose the arg names.
|
/tools/firewire/ |
D | decode-fcp.c | 52 struct avc_enum *names; member
|
/tools/usb/ffs-aio-example/simple/device_app/ |
D | aio_simple.c | 143 static const char *const names[] = { in display_event() local 160 printf("Event %s\n", names[event->type]); in display_event()
|
/tools/virtio/virtio-trace/ |
D | README | 48 For example, if a guest use three CPUs, the names are 82 Here, chardev names are restricted to trace-path-cpuX and agent-ctl-path. For 83 example, if a guest use three CPUs, chardev names should be trace-path-cpu0,
|
/tools/testing/selftests/kexec/ |
D | test_kexec_file_load.sh | 85 line=$(getfattr -n security.ima -e hex --absolute-names $KERNEL_IMAGE 2>&1)
|
/tools/usb/ffs-aio-example/multibuff/device_app/ |
D | aio_multibuff.c | 155 static const char *const names[] = { in display_event() local 172 printf("Event %s\n", names[event->type]); in display_event()
|
/tools/testing/selftests/media_tests/ |
D | regression_test.txt | 36 test with possible device names. If we start with /dev/media0 for example,
|
/tools/testing/selftests/filesystems/incfs/ |
D | incfs_test.c | 902 } names[] = { in iterate_directory() local 958 for (i = 0; i < sizeof(names) / sizeof(*names); ++i) in iterate_directory() 959 if (!strcmp(dirent->d_name, names[i].name)) { in iterate_directory() 960 if (names[i].root_only && !root) { in iterate_directory() 966 if (names[i].found) { in iterate_directory() 972 names[i].found = true; in iterate_directory() 981 for (i = 0; i < sizeof(names) / sizeof(*names); ++i) { in iterate_directory() 982 if (!names[i].found) in iterate_directory() 983 if (root || !names[i].root_only) { in iterate_directory()
|