Home
last modified time | relevance | path

Searched refs:suffix (Results 1 – 22 of 22) sorted by relevance

/tools/iio/
Diio_utils.h52 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/
Dcompiler.h14 # 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/
Devent-plugin.c433 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()
Devent-parse.h395 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/
DREADME18 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/
Dgen.c36 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/
Dperf-timechart.txt74 suffix to specify time in milliseconds or microseconds.
79 It's possible to specify ms or us suffix to specify time in
Dperf-probe.txt173 …t the name of the probed function, and for return probes, a "\_\_return" suffix is automatically a…
Dperf-report.txt174 The field name can have '/raw' suffix which disables pretty printing
/tools/perf/util/
Dprobe-file.c730 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/
Dtdc.py732 suffix = 'xml'
735 suffix = 'tap'
740 fname = 'test-results.{}'.format(suffix)
/tools/perf/pmu-events/
Djevents.c948 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/
DINSTALL123 with an extra prefix or suffix on their names by giving `configure' the
124 option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
/tools/perf/
Dbuiltin-script.c2905 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()
Dbuiltin-trace.c794 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/
Dsimple.txt185 suffix (providing no ordering), or an _acquire() or _release() suffix
Dexplanation.txt344 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
Dlitmus-tests.txt93 suffix stripped. In this case, the actual test may be found in
/tools/power/x86/intel-speed-select/
Disst-config.c1015 #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/
DREADME244 Adding the ".litmus" suffix: SB+rfionceonce-poonceonces.litmus
/tools/perf/scripts/python/
Dexported-sql-viewer.py3490 suffix = val[-2:]
3491 if suffix == "ms":
3493 elif suffix == "us":
3495 elif suffix == "ns":
/tools/power/pm-graph/
Dsleepgraph.py4332 suffix = 'th'
4335 suffix = 'st'
4337 suffix = 'nd'
4339 suffix = 'rd'
4340 return '%d%s' % (value, suffix)