Home
last modified time | relevance | path

Searched refs:strchr (Results 1 - 25 of 937) sorted by relevance

12345678910>>...38

/kernel/liteos_m/testsuites/unittest/posix/src/string/
H A Dstrchr_test.c76 char *ret = strchr(src, '!');
78 LOG("[DEMO] posix string test case 1:strchr(!) %s ok.\n", src);
80 LOG("[DEMO] posix string test case 1:strchr(!) %s fail.\n", src);
94 char *ret = strchr(src, 'l');
96 LOG("[DEMO] posix string test case 2:strchr(l) %s ok.\n", src);
98 LOG("[DEMO] posix string test case 2:strchr(l) %s fail.\n", src);
112 char *ret = strchr(src, '\0');
114 LOG("[DEMO] posix string test case 3:strchr(\'\\0\') %s ok.\n", src);
116 LOG("[DEMO] posix string test case 3:strchr(\'\\0\') %s fail.\n", src);
130 char *ret = strchr(sr
[all...]
/kernel/linux/linux-5.10/tools/perf/arch/s390/annotate/
H A Dinstructions.c13 tok = strchr(ops->raw, ','); in s390_call__parse()
19 name = strchr(endptr, '<'); in s390_call__parse()
26 strchr(name, arch->objdump.skip_functions_char)) in s390_call__parse()
29 tok = strchr(name, '>'); in s390_call__parse()
60 char *s = strchr(ops->raw, ','), *target, *endptr; in s390_mov__parse()
81 s = strchr(endptr, '<'); in s390_mov__parse()
84 endptr = strchr(s + 1, '>'); in s390_mov__parse()
114 if (strchr(name, 'j') || in s390__associate_ins_ops()
/kernel/linux/linux-6.6/tools/perf/arch/s390/annotate/
H A Dinstructions.c13 tok = strchr(ops->raw, ','); in s390_call__parse()
19 name = strchr(endptr, '<'); in s390_call__parse()
26 strchr(name, arch->objdump.skip_functions_char)) in s390_call__parse()
29 tok = strchr(name, '>'); in s390_call__parse()
57 char *s = strchr(ops->raw, ','), *target, *endptr; in s390_mov__parse()
78 s = strchr(endptr, '<'); in s390_mov__parse()
81 endptr = strchr(s + 1, '>'); in s390_mov__parse()
111 if (strchr(name, 'j') || in s390__associate_ins_ops()
/kernel/linux/linux-6.6/tools/perf/arch/loongarch/annotate/
H A Dinstructions.c16 c = strchr(ops->raw, '#'); in loongarch_call__parse()
22 name = strchr(endptr, '<'); in loongarch_call__parse()
26 strchr(name, arch->objdump.skip_functions_char)) in loongarch_call__parse()
29 tok = strchr(name, '>'); in loongarch_call__parse()
61 const char *c = strchr(ops->raw, '#'); in loongarch_jump__parse()
64 ops->raw_comment = strchr(ops->raw, arch->objdump.comment_char); in loongarch_jump__parse()
65 ops->raw_func_start = strchr(ops->raw, '<'); in loongarch_jump__parse()
/kernel/linux/linux-6.6/tools/lib/api/fs/
H A Dcgroup.c55 p = strchr(line, ' '); in cgroupfs_find_mountpoint()
61 p = strchr(p, ' '); in cgroupfs_find_mountpoint()
85 if (!strchr(" ,", p[-1]) || !strchr(" ,", p[strlen(subsys)])) in cgroupfs_find_mountpoint()
/kernel/linux/linux-5.10/arch/alpha/lib/
H A Dstrchr.S3 * arch/alpha/lib/strchr.S
16 .globl strchr
17 .ent strchr
18 strchr: label
71 .end strchr
72 EXPORT_SYMBOL(strchr)
H A Dev67-strchr.S3 * arch/alpha/lib/ev67-strchr.S
26 .globl strchr
27 .ent strchr
28 strchr: label
89 .end strchr
90 EXPORT_SYMBOL(strchr)
/kernel/linux/linux-5.10/drivers/char/ipmi/
H A Dipmi_si_hotmod.c65 s = strchr(*curr, ','); in parse_str()
127 s = strchr(curr, ','); in parse_hotmod_str()
140 s = strchr(curr, ','); in parse_hotmod_str()
145 o = strchr(curr, '='); in parse_hotmod_str()
208 next = strchr(curr, ':'); in hotmod_handler()
/kernel/linux/linux-6.6/arch/alpha/lib/
H A Dev67-strchr.S3 * arch/alpha/lib/ev67-strchr.S
26 .globl strchr
27 .ent strchr
28 strchr: label
89 .end strchr
90 EXPORT_SYMBOL(strchr)
H A Dstrchr.S3 * arch/alpha/lib/strchr.S
16 .globl strchr
17 .ent strchr
18 strchr: label
71 .end strchr
72 EXPORT_SYMBOL(strchr)
/kernel/linux/linux-6.6/drivers/char/ipmi/
H A Dipmi_si_hotmod.c64 s = strchr(*curr, ','); in parse_str()
126 s = strchr(curr, ','); in parse_hotmod_str()
139 s = strchr(curr, ','); in parse_hotmod_str()
144 o = strchr(curr, '='); in parse_hotmod_str()
199 next = strchr(curr, ':'); in hotmod_handler()
/kernel/linux/linux-5.10/tools/perf/util/
H A Dtime-utils.c81 d = strchr(start_str, ch); in split_start_end()
144 p = skip_spaces(strchr(p, ',') + 1); in perf_time__parse_strs()
185 c = strchr(str, '%'); in parse_percent()
231 p = strchr(str, '/'); in percent_slash_split()
302 p2 = strchr(p1, ','); in percent_comma_split()
372 c = strchr(ostr, '/'); in perf_time__percent_parse_str()
378 c = strchr(ostr, '-'); in perf_time__percent_parse_str()
384 c = strchr(ostr, '%'); in perf_time__percent_parse_str()
405 p2 = strchr(p1, ','); in perf_time__range_alloc()
467 bool has_percent = strchr(time_st in perf_time__parse_for_ranges_reltime()
[all...]
H A Dcputopo.c52 p = strchr(buf, '\n'); in build_cpu_topology()
83 p = strchr(buf, '\n'); in build_cpu_topology()
113 p = strchr(buf, '\n'); in build_cpu_topology()
253 if (!strchr(buf, ':')) in load_numa_node()
278 p = strchr(buf, '\n'); in load_numa_node()
314 c = strchr(buf, '\n'); in numa_topology__new()
/kernel/linux/linux-6.6/tools/perf/util/
H A Dtime-utils.c81 d = strchr(start_str, ch); in split_start_end()
144 p = skip_spaces(strchr(p, ',') + 1); in perf_time__parse_strs()
185 c = strchr(str, '%'); in parse_percent()
231 p = strchr(str, '/'); in percent_slash_split()
302 p2 = strchr(p1, ','); in percent_comma_split()
372 c = strchr(ostr, '/'); in perf_time__percent_parse_str()
378 c = strchr(ostr, '-'); in perf_time__percent_parse_str()
384 c = strchr(ostr, '%'); in perf_time__percent_parse_str()
405 p2 = strchr(p1, ','); in perf_time__range_alloc()
467 bool has_percent = strchr(time_st in perf_time__parse_for_ranges_reltime()
[all...]
H A Dcputopo.c60 p = strchr(buf, '\n'); in build_cpu_topology()
91 p = strchr(buf, '\n'); in build_cpu_topology()
121 p = strchr(buf, '\n'); in build_cpu_topology()
170 if (strchr(cpu_list, ',') || strchr(cpu_list, '-')) in cpu_topology__smt_on()
335 if (!strchr(buf, ':')) in load_numa_node()
360 p = strchr(buf, '\n'); in load_numa_node()
396 c = strchr(buf, '\n'); in numa_topology__new()
457 p = strchr(buf, '\n'); in load_hybrid_node()
/kernel/linux/linux-5.10/drivers/s390/char/
H A Dtape_class.c58 for (s = strchr(tcd->device_name, '/'); s; s = strchr(s, '/')) in register_tape_dev()
61 for (s = strchr(tcd->mode_name, '/'); s; s = strchr(s, '/')) in register_tape_dev()
/kernel/linux/linux-6.6/drivers/s390/char/
H A Dtape_class.c58 for (s = strchr(tcd->device_name, '/'); s; s = strchr(s, '/')) in register_tape_dev()
61 for (s = strchr(tcd->mode_name, '/'); s; s = strchr(s, '/')) in register_tape_dev()
/kernel/linux/linux-5.10/include/acpi/platform/
H A Dacgccex.h14 * Some versions of gcc implement strchr() with a buggy macro. So,
20 #ifdef strchr
21 #undef strchr macro
/kernel/linux/linux-6.6/include/acpi/platform/
H A Dacgccex.h14 * Some versions of gcc implement strchr() with a buggy macro. So,
20 #ifdef strchr
21 #undef strchr macro
/kernel/linux/linux-5.10/arch/um/os-Linux/
H A Dexecvp.c45 if (strchr (file, '/') != NULL) { in execvp_noalloc()
71 p = strchr(path, ':'); in execvp_noalloc()
73 p = strchr(path, '\0'); in execvp_noalloc()
/kernel/linux/linux-6.6/arch/um/os-Linux/
H A Dexecvp.c45 if (strchr (file, '/') != NULL) { in execvp_noalloc()
71 p = strchr(path, ':'); in execvp_noalloc()
73 p = strchr(path, '\0'); in execvp_noalloc()
/kernel/linux/linux-5.10/drivers/tty/serial/
H A Dsuncore.c122 s = strchr(s, ','); in sunserial_console_termios()
124 s = strchr(s, ','); in sunserial_console_termios()
126 s = strchr(s, ','); in sunserial_console_termios()
128 s = strchr(s, ','); in sunserial_console_termios()
/kernel/linux/linux-5.10/lib/
H A Dtest_string.c123 result = strchr(test_string, test_string[i]); in strchr_selftest()
128 result = strchr(empty_string, '\0'); in strchr_selftest()
132 result = strchr(empty_string, 'a'); in strchr_selftest()
136 result = strchr(test_string, 'z'); in strchr_selftest()
/kernel/linux/linux-6.6/drivers/tty/serial/
H A Dsuncore.c122 s = strchr(s, ','); in sunserial_console_termios()
124 s = strchr(s, ','); in sunserial_console_termios()
126 s = strchr(s, ','); in sunserial_console_termios()
128 s = strchr(s, ','); in sunserial_console_termios()
/kernel/linux/linux-6.6/fs/smb/client/
H A Dunc.c34 delim = strchr(src, '\\'); in extract_hostname()
58 delim = strchr(src, '\\'); in extract_sharename()

Completed in 9 milliseconds

12345678910>>...38