| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_global_data.c | 49 static char str2[32]; variable 89 test_reloc(string, 2, str2); in load_static_data() 92 __builtin_memcpy(&str2[2], "hello", sizeof("hello")); in load_static_data() 93 test_reloc(string, 4, str2); in load_static_data()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | probe_read_user_str.c | 6 static const char str2[] = "mestringalittlebigger"; variable 64 if (test_one_str(skel, str2, sizeof(str2))) in test_probe_read_user_str()
|
| H A D | varlen.c | 19 const char str2[] = "World!"; in test_varlen() local 22 const int size2 = sizeof(str2); in test_varlen() 38 memcpy(bss->buf_in2, str2, size2); in test_varlen()
|
| /linux/sound/soc/sof/ |
| H A D | ipc4.c | 188 const u8 *str2 = NULL; in sof_ipc4_log_header() 217 str2 = ipc4_dbg_notification_type[notif]; in sof_ipc4_log_header() 218 if (!str2) in sof_ipc4_log_header() 219 str2 = "Unknown Global notification"; in sof_ipc4_log_header() 223 if (str2) { in sof_ipc4_log_header() 226 text, msg->primary, msg->extension, str, str2, in sof_ipc4_log_header() 230 msg->extension, str, str2); in sof_ipc4_log_header() 187 const u8 *str2 = NULL; sof_ipc4_log_header() local
|
| /linux/tools/lib/bpf/ |
| H A D | strset.c | 34 const char *str2 = s->strs_data + key2; in strset_equal_fn() local 36 return strcmp(str1, str2) == 0; in strset_equal_fn()
|
| /linux/arch/x86/boot/ |
| H A D | string.c | 48 int strcmp(const char *str1, const char *str2) in strcmp() argument 51 const unsigned char *s2 = (const unsigned char *)str2; in strcmp()
|
| /linux/tools/perf/util/ |
| H A D | annotate.c | 2390 static unsigned int parse_percent_type(char *str1, char *str2) in parse_percent_type() argument 2395 if (!strcmp("local", str2)) in parse_percent_type() 2397 else if (!strcmp("global", str2)) in parse_percent_type() 2402 if (!strcmp("local", str2)) in parse_percent_type() 2404 else if (!strcmp("global", str2)) in parse_percent_type() 2415 char *str1, *str2; in annotate_parse_percent_type() local 2422 str2 = strchr(str1, '-'); in annotate_parse_percent_type() 2423 if (!str2) in annotate_parse_percent_type() 2426 *str2++ = 0; in annotate_parse_percent_type() 2428 type = parse_percent_type(str1, str2); in annotate_parse_percent_type() [all …]
|
| /linux/scripts/kconfig/ |
| H A D | expr.c | 894 const char *str1, *str2; in __expr_calc_value() local 929 str2 = sym_get_string_value(e->right.sym); in __expr_calc_value() 933 k2 = expr_parse_string(str2, e->right.sym->type, &rval); in __expr_calc_value() 937 res = strcmp(str1, str2); in __expr_calc_value()
|
| /linux/tools/testing/selftests/net/openvswitch/ |
| H A D | ovs-dpctl.py | 72 def strcspn(str1, str2): argument 75 if str2.find(char) != -1: 81 def strspn(str1, str2): argument 84 if str2.find(char) == -1:
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | veristat.c | 1045 const char **str2 = (const char **)b; in str_cmp() local 1047 return strcmp(*str1, *str2); in str_cmp() 2388 const char *str1 = NULL, *str2 = NULL; in cmp_join_stat() local 2393 fetch_join_stat_value(s2, id, var, &str2, &v2); in cmp_join_stat() 2401 cmp = strcmp(str1, str2); in cmp_join_stat()
|
| /linux/drivers/media/platform/st/sti/delta/ |
| H A D | delta-v4l2.c | 1319 unsigned char str2[100] = ""; in delta_vb2_au_start_streaming() local 1383 delta_frameinfo_str(frameinfo, str2, sizeof(str2))); in delta_vb2_au_start_streaming()
|
| /linux/scripts/ |
| H A D | checkpatch.pl | 709 my ($str1, $str2) = @_; 711 $str2 = lc($str2); 713 $str2 =~ s/-//g; 715 my $len2 = length($str2); 724 } elsif (substr($str1, $i-1, 1) eq substr($str2, $j-1, 1)) {
|