/tools/testing/kunit/ |
D | kunit_parser.py | 100 def consume_non_diagnositic(lines: List[str]) -> None: 104 def save_non_diagnositic(lines: List[str], test_case: TestCase) -> None: 115 def parse_ok_not_ok_test_case(lines: List[str], test_case: TestCase) -> bool: 141 def parse_diagnostic(lines: List[str], test_case: TestCase) -> bool: 155 def parse_test_case(lines: List[str]) -> Optional[TestCase]: 167 def parse_subtest_header(lines: List[str]) -> Optional[str]: 180 def parse_subtest_plan(lines: List[str]) -> Optional[int]: 201 def parse_ok_not_ok_test_suite(lines: List[str], 234 def parse_test_suite(lines: List[str], expected_suite_index: int) -> Optional[TestSuite]: 265 def parse_tap_header(lines: List[str]) -> bool: [all …]
|
D | kunit_config.py | 55 def write_to_file(self, path: str) -> None: 60 def parse_from_string(self, blob: str) -> None: 87 def read_from_file(self, path: str) -> None:
|
/tools/perf/util/ |
D | string.c | 24 s64 perf_atoll(const char *str) in perf_atoll() 111 static bool __match_glob(const char *str, const char *pat, bool ignore_space, in __match_glob() 171 bool strglobmatch(const char *str, const char *pat) in strglobmatch() 176 bool strglobmatch_nocase(const char *str, const char *pat) in strglobmatch_nocase() 189 bool strlazymatch(const char *str, const char *pat) in strlazymatch() 252 char *strpbrk_esc(char *str, const char *stopset) in strpbrk_esc() 268 char *strdup_esc(const char *str) in strdup_esc()
|
D | comm.c | 13 char *str; member 41 static struct comm_str *comm_str__alloc(const char *str) in comm_str__alloc() 61 struct comm_str *__comm_str__findnew(const char *str, struct rb_root *root) in __comm_str__findnew() 97 static struct comm_str *comm_str__findnew(const char *str, struct rb_root *root) in comm_str__findnew() 108 struct comm *comm__new(const char *str, u64 timestamp, bool exec) in comm__new() 127 int comm__override(struct comm *comm, const char *str, u64 timestamp, bool exec) in comm__override()
|
D | parse-regs-options.c | 13 __parse_regs(const struct option *opt, const char *str, int unset, bool intr) in __parse_regs() 90 parse_user_regs(const struct option *opt, const char *str, int unset) in parse_user_regs() 96 parse_intr_regs(const struct option *opt, const char *str, int unset) in parse_intr_regs()
|
D | expr.l | 13 static double __value(YYSTYPE *yylval, char *str, int token) in __value() 38 static char *normalize(char *str, int runtime) in normalize() 70 static int str(yyscan_t scanner, int token, int runtime) in str() function
|
D | parse-sublevel-options.c | 9 static int parse_one_sublevel_option(const char *str, in parse_one_sublevel_option() 46 int perf_parse_sublevel_options(const char *str, struct sublevel_option *opts) in perf_parse_sublevel_options()
|
D | time-utils.c | 18 int parse_nsec_time(const char *str, u64 *ptime) in parse_nsec_time() 70 char *d, *str; in split_start_end() local 124 char *str, *arg, *p; in perf_time__parse_strs() local 180 static int parse_percent(double *pcnt, char *str) in parse_percent() 218 static int percent_slash_split(char *str, struct perf_time_interval *ptime, in percent_slash_split() 253 static int percent_dash_split(char *str, struct perf_time_interval *ptime, in percent_dash_split() 286 char *str, *p1, *p2; in percent_comma_split() local 330 char *str; in one_percent_convert() local
|
D | parse-branch-options.c | 38 int parse_branch_str(const char *str, __u64 *mode) in parse_branch_str() 94 parse_branch_stack(const struct option *opt, const char *str, int unset) in parse_branch_stack()
|
D | parse-events.c | 188 char *str, char *help) in parse_events__handle_error() 287 char *str = strchr(name, ':'); in tracepoint_name_to_path() local 426 static int parse_aliases(char *str, const char *names[][EVSEL__MAX_ALIASES], int size) in parse_aliases() 479 char *str = op_result[i]; in parse_events_add_cache() local 531 const char *str; in tracepoint_error() local 1566 char *str, struct list_head **listp) in parse_events_multi_pmu_add() 1788 static int get_event_modifier(struct event_modifier *mod, char *str, in get_event_modifier() 1889 static int check_modifier(char *str) in check_modifier() 1906 int parse_events__modifier_event(struct list_head *list, char *str, bool add) in parse_events__modifier_event() 1981 #define SET_SYMBOL(str, stype) \ argument [all …]
|
D | demangle-rust.c | 100 static bool is_prefixed_hash(const char *str) in is_prefixed_hash() 129 static bool looks_like_rust(const char *str, size_t len) in looks_like_rust()
|
D | demangle-java.c | 45 __demangle_java_sym(const char *str, const char *end, char *buf, int maxlen, int mode) in __demangle_java_sym() 158 java_demangle_sym(const char *str, int flags) in java_demangle_sym()
|
D | cgroup.c | 38 static struct cgroup *evlist__find_cgroup(struct evlist *evlist, const char *str) in evlist__find_cgroup() 90 static int add_cgroup(struct evlist *evlist, const char *str) in add_cgroup() 152 int parse_cgroups(const struct option *opt, const char *str, in parse_cgroups() 204 int evlist__expand_cgroup(struct evlist *evlist, const char *str, in evlist__expand_cgroup()
|
D | parse-events.h | 39 static inline int parse_events(struct evlist *evlist, const char *str, in parse_events() 105 char *str; member 125 char *str; /* string to display at the index */ member 251 static inline bool is_sdt_event(char *str) in is_sdt_event()
|
/tools/perf/ |
D | builtin-probe.c | 53 static int parse_probe_event(const char *str) in parse_probe_event() 81 static int params_add_filter(const char *str) in params_add_filter() 167 static int opt_set_target(const struct option *opt, const char *str, in opt_set_target() 203 const char *str, int unset __maybe_unused) in opt_set_target_ns() 234 const char *str, int unset __maybe_unused) in opt_show_lines() 254 const char *str, int unset __maybe_unused) in opt_show_vars() 276 const char *str, int unset __maybe_unused) in opt_add_probe_event() 287 const char *str, int unset) in opt_set_filter_with_command() 299 const char *str, int unset __maybe_unused) in opt_set_filter() 423 char *str = strfilter__string(filter); in perf_del_probe_events() local
|
D | builtin-ftrace.c | 185 void (*cb)(char *str, void *arg), in read_tracing_file_by_line() 717 static void list_function_cb(char *str, void *arg) in list_function_cb() 726 const char *str, int unset) in opt_list_avail_functions() 757 static int parse_filter_func(const struct option *opt, const char *str, in parse_filter_func() 784 const char *str, int unset) in parse_buffer_size() 815 const char *str, int unset) in parse_func_tracer_opts() 836 const char *str, int unset) in parse_graph_tracer_opts()
|
/tools/testing/vsock/ |
D | control.c | 114 void control_writeln(const char *str) in control_writeln() 203 void control_expectln(const char *str) in control_expectln() 214 bool control_cmpln(char *line, const char *str, bool fail) in control_cmpln()
|
/tools/perf/tests/ |
D | bitmap.c | 11 static unsigned long *get_bitmap(const char *str, int nbits) in get_bitmap() 29 static int test_bitmap(const char *str) in test_bitmap()
|
/tools/lib/ |
D | argv_split.c | 19 static int count_argc(const char *str) in count_argc() 63 char **argv_split(const char *str, int *argcp) in argv_split()
|
/tools/bpf/bpftool/ |
D | netlink_dumper.h | 79 #define NET_DUMP_STR(name, fmt_str, str) \ argument 87 #define NET_DUMP_STR_ONLY(str) \ argument
|
/tools/testing/selftests/arm64/mte/ |
D | check_ksm_options.c | 26 static unsigned long read_sysfs(char *str) in read_sysfs() 41 static void write_sysfs(char *str, unsigned long val) in write_sysfs()
|
/tools/include/linux/ |
D | refcount.h | 45 #define REFCOUNT_WARN(cond, str) (void)(cond) argument 48 #define REFCOUNT_WARN(cond, str) BUG_ON(cond) argument
|
D | string.h | 40 static inline bool strstarts(const char *str, const char *prefix) in strstarts()
|
/tools/iio/ |
D | lsiio.c | 28 static inline int check_prefix(const char *str, const char *prefix) in check_prefix() 34 static inline int check_postfix(const char *str, const char *postfix) in check_postfix()
|
/tools/bootconfig/include/linux/ |
D | string.h | 8 static inline char *skip_spaces(const char *str) in skip_spaces()
|