Searched refs:needle (Results 1 – 7 of 7) sorted by relevance
/tools/testing/selftests/cgroup/ |
D | cgroup_util.h | 30 const char *needle); 52 extern int proc_read_strstr(int pid, bool thread, const char *item, const char *needle);
|
D | cgroup_util.c | 129 int cg_read_strstr(const char *cgroup, const char *control, const char *needle) in cg_read_strstr() argument 136 return strstr(buf, needle) ? 0 : -1; in cg_read_strstr() 551 int proc_read_strstr(int pid, bool thread, const char *item, const char *needle) in proc_read_strstr() argument 558 return strstr(buf, needle) ? 0 : -1; in proc_read_strstr()
|
/tools/testing/selftests/powerpc/signal/ |
D | sigreturn_vdso.c | 26 static int search_proc_maps(char *needle, unsigned long *low, unsigned long *high) in search_proc_maps() argument 52 if (strstr(name, needle)) { in search_proc_maps()
|
/tools/testing/selftests/powerpc/mm/ |
D | stack_expansion_ldst.c | 75 static int search_proc_maps(char *needle, unsigned long *low, unsigned long *high) in search_proc_maps() argument 101 if (strstr(name, needle)) { in search_proc_maps()
|
/tools/testing/selftests/bpf/ |
D | test_verifier.c | 1036 char needle[200]; in cmp_str_seq() local 1048 if (len >= sizeof(needle) || !len) { in cmp_str_seq() 1052 strncpy(needle, exp, len); in cmp_str_seq() 1053 needle[len] = 0; in cmp_str_seq() 1054 q = strstr(log, needle); in cmp_str_seq() 1057 "EXP: %s\nRES:\n", needle); in cmp_str_seq()
|
D | test_offload.py | 660 def check_no_extack(res, needle): argument 661 fail((res[1] + res[2]).count(needle) or (res[1] + res[2]).count("Warning:"), 662 "Found '%s' in command output, leaky extack?" % (needle)) 680 def test_spurios_extack(sim, obj, skip_hw, needle): argument 683 check_no_extack(res, needle) 686 check_no_extack(res, needle) 689 check_no_extack(res, needle)
|
/tools/testing/kunit/ |
D | kunit_tool_test.py | 96 def assertContains(self, needle: str, haystack: kunit_parser.LineStream): 100 if needle in line:
|