/tools/iio/ |
D | iio_utils.h | 52 static inline int iioutils_check_suffix(const char *str, const char *suffix) in iioutils_check_suffix() argument 54 return strlen(str) >= strlen(suffix) && in iioutils_check_suffix() 55 strncmp(str+strlen(str)-strlen(suffix), in iioutils_check_suffix() 56 suffix, strlen(suffix)) == 0; in iioutils_check_suffix()
|
/tools/include/linux/ |
D | compiler.h | 14 # define __compiletime_assert(condition, msg, prefix, suffix) \ argument 16 extern void prefix ## suffix(void) __compiletime_error(msg); \ 18 prefix ## suffix(); \ 21 # define __compiletime_assert(condition, msg, prefix, suffix) do { } while (0) argument 24 #define _compiletime_assert(condition, msg, prefix, suffix) \ argument 25 __compiletime_assert(condition, msg, prefix, suffix)
|
/tools/lib/traceevent/ |
D | event-plugin.c | 433 const char *prefix, const char *suffix, in tep_print_plugins() argument 437 trace_seq_printf(s, "%s%s%s", prefix, list->name, suffix); in tep_print_plugins() 509 load_plugins_dir(struct tep_handle *tep, const char *suffix, in load_plugins_dir() argument 541 if (strcmp(name + (strlen(name) - strlen(suffix)), suffix) != 0) in load_plugins_dir() 566 void tep_load_plugins_hook(struct tep_handle *tep, const char *suffix, in tep_load_plugins_hook() argument 586 load_plugins_dir(tep, suffix, dir->path, in tep_load_plugins_hook() 597 load_plugins_dir(tep, suffix, PLUGIN_DIR, in tep_load_plugins_hook() 607 load_plugins_dir(tep, suffix, envdir, load_plugin, data); in tep_load_plugins_hook() 623 load_plugins_dir(tep, suffix, path, load_plugin, data); in tep_load_plugins_hook() 629 load_plugins_dir(tep, suffix, dir->path, in tep_load_plugins_hook()
|
D | event-parse.h | 395 void tep_load_plugins_hook(struct tep_handle *tep, const char *suffix, 409 const char *prefix, const char *suffix,
|
/tools/testing/selftests/powerpc/nx-gzip/ |
D | README | 18 Compress any file using Fixed Huffman mode. Output will have a .nx.gz suffix: 24 Uncompress the previous output. Output will have a .nx.gunzip suffix:
|
/tools/bpf/bpftool/ |
D | gen.c | 36 static bool str_has_suffix(const char *str, const char *suffix) in str_has_suffix() argument 38 size_t i, n1 = strlen(str), n2 = strlen(suffix); in str_has_suffix() 44 if (str[n1 - i - 1] != suffix[n2 - i - 1]) in str_has_suffix()
|
/tools/perf/Documentation/ |
D | perf-timechart.txt | 74 suffix to specify time in milliseconds or microseconds. 79 It's possible to specify ms or us suffix to specify time in
|
D | perf-probe.txt | 173 …t the name of the probed function, and for return probes, a "\_\_return" suffix is automatically a…
|
D | perf-report.txt | 174 The field name can have '/raw' suffix which disables pretty printing
|
/tools/perf/util/ |
D | probe-file.c | 730 static int sdt_arg_parse_size(char *n_ptr, const char **suffix) in sdt_arg_parse_size() argument 740 *suffix = type_to_suffix[type_idx + 8]; in sdt_arg_parse_size() 747 const char *suffix = ""; in synthesize_sdt_probe_arg() local 765 if (sdt_arg_parse_size(desc, &suffix)) in synthesize_sdt_probe_arg() 777 ret = strbuf_addf(buf, " arg%d=%s%s", i + 1, new_op, suffix); in synthesize_sdt_probe_arg()
|
/tools/testing/selftests/tc-testing/ |
D | tdc.py | 732 suffix = 'xml' 735 suffix = 'tap' 740 fname = 'test-results.{}'.format(suffix)
|
/tools/perf/pmu-events/ |
D | jevents.c | 948 const char *suffix; in is_json_file() local 953 suffix = name + strlen(name) - 5; in is_json_file() 955 if (strncmp(suffix, ".json", 5) == 0) in is_json_file()
|
/tools/usb/usbip/ |
D | INSTALL | 123 with an extra prefix or suffix on their names by giving `configure' the 124 option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
|
/tools/perf/ |
D | builtin-script.c | 2905 static const char *ends_with(const char *str, const char *suffix) in ends_with() argument 2907 size_t suffix_len = strlen(suffix); in ends_with() 2912 if (!strncmp(p, suffix, suffix_len)) in ends_with() 2960 static char *get_script_root(struct dirent *script_dirent, const char *suffix) in get_script_root() argument 2968 str = (char *)ends_with(script_root, suffix); in get_script_root() 3170 static char *get_script_path(const char *script_root, const char *suffix) in get_script_path() argument 3193 __script_root = get_script_root(script_dirent, suffix); in get_script_path()
|
D | builtin-trace.c | 794 const char *suffix = "_OK"; in syscall_arg__scnprintf_access_mode() local 799 return scnprintf(bf, size, "F%s", show_prefix ? suffix : ""); in syscall_arg__scnprintf_access_mode() 802 printed += scnprintf(bf + printed, size - printed, "%s%s", #n, show_prefix ? suffix : ""); \ in syscall_arg__scnprintf_access_mode()
|
/tools/memory-model/Documentation/ |
D | simple.txt | 185 suffix (providing no ordering), or an _acquire() or _release() suffix
|
D | explanation.txt | 344 same memory location (the "-loc" suffix). 1367 where the * suffix indicates an arbitrary number of links of the 1368 specified type, and the ? suffix indicates the link is optional (Y may
|
D | litmus-tests.txt | 93 suffix stripped. In this case, the actual test may be found in
|
/tools/power/x86/intel-speed-select/ |
D | isst-config.c | 1015 #define _get_tdp_level(desc, suffix, object, help, str0, str1) \ argument 1031 exec_on_get_ctdp_cpu, isst_get_ctdp_##suffix, \ 1035 isst_get_ctdp_##suffix, \
|
/tools/memory-model/litmus-tests/ |
D | README | 244 Adding the ".litmus" suffix: SB+rfionceonce-poonceonces.litmus
|
/tools/perf/scripts/python/ |
D | exported-sql-viewer.py | 3490 suffix = val[-2:] 3491 if suffix == "ms": 3493 elif suffix == "us": 3495 elif suffix == "ns":
|
/tools/power/pm-graph/ |
D | sleepgraph.py | 4332 suffix = 'th' 4335 suffix = 'st' 4337 suffix = 'nd' 4339 suffix = 'rd' 4340 return '%d%s' % (value, suffix)
|