/kernel/liteos_m/testsuites/unittest/posix/src/string/ |
H A D | strchr_test.c | 76 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 D | instructions.c | 13 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 D | instructions.c | 13 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 D | instructions.c | 16 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 D | cgroup.c | 55 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 D | strchr.S | 3 * arch/alpha/lib/strchr.S 16 .globl strchr 17 .ent strchr 18 strchr: label 71 .end strchr 72 EXPORT_SYMBOL(strchr)
|
H A D | ev67-strchr.S | 3 * 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 D | ipmi_si_hotmod.c | 65 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 D | ev67-strchr.S | 3 * arch/alpha/lib/ev67-strchr.S 26 .globl strchr 27 .ent strchr 28 strchr: label 89 .end strchr 90 EXPORT_SYMBOL(strchr)
|
H A D | strchr.S | 3 * 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 D | ipmi_si_hotmod.c | 64 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 D | time-utils.c | 81 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 D | cputopo.c | 52 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 D | time-utils.c | 81 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 D | cputopo.c | 60 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 D | tape_class.c | 58 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 D | tape_class.c | 58 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 D | acgccex.h | 14 * 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 D | acgccex.h | 14 * 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 D | execvp.c | 45 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 D | execvp.c | 45 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 D | suncore.c | 122 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 D | test_string.c | 123 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 D | suncore.c | 122 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 D | unc.c | 34 delim = strchr(src, '\\'); in extract_hostname() 58 delim = strchr(src, '\\'); in extract_sharename()
|