| /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/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/sound/soc/sof/ |
| H A D | ipc4.c | 187 const u8 *str2 = NULL; in sof_ipc4_log_header() local 216 str2 = ipc4_dbg_notification_type[notif]; in sof_ipc4_log_header() 217 if (!str2) in sof_ipc4_log_header() 218 str2 = "Unknown Global notification"; in sof_ipc4_log_header() 222 if (str2) { in sof_ipc4_log_header() 225 text, msg->primary, msg->extension, str, str2, in sof_ipc4_log_header() 229 msg->extension, str, str2); in sof_ipc4_log_header()
|
| /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/drivers/staging/rtl8723bs/include/ |
| H A D | hal_com.h | 144 bool eqNByte(u8 *str1, u8 *str2, u32 num);
|
| /linux/tools/perf/util/ |
| H A D | annotate.c | 2392 static unsigned int parse_percent_type(char *str1, char *str2) in parse_percent_type() argument 2397 if (!strcmp("local", str2)) in parse_percent_type() 2399 else if (!strcmp("global", str2)) in parse_percent_type() 2404 if (!strcmp("local", str2)) in parse_percent_type() 2406 else if (!strcmp("global", str2)) in parse_percent_type() 2417 char *str1, *str2; in annotate_parse_percent_type() local 2424 str2 = strchr(str1, '-'); in annotate_parse_percent_type() 2425 if (!str2) in annotate_parse_percent_type() 2428 *str2++ = 0; in annotate_parse_percent_type() 2430 type = parse_percent_type(str1, str2); in annotate_parse_percent_type() [all …]
|
| /linux/drivers/ata/ |
| H A D | ahci_imx.c | 299 u32 str1, str2, str3, str4; in __sata_ahci_read_temperature() local 333 str2 = (rtune_ctl_reg) & 0x3; in __sata_ahci_read_temperature() 363 rtune_ctl_reg = (rtune_ctl_reg & 0xFFC) | (str2); in __sata_ahci_read_temperature()
|
| /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/drivers/staging/rtl8723bs/hal/ |
| H A D | hal_com.c | 753 bool eqNByte(u8 *str1, u8 *str2, u32 num) in eqNByte() argument 759 if (str1[num] != str2[num]) in eqNByte()
|
| /linux/drivers/target/ |
| H A D | target_core_configfs.c | 3563 char *se_plugin_str, *str, *str2; in target_core_call_addhbatotarget() local 3587 str2 = strstr(str+1, "_"); in target_core_call_addhbatotarget() 3588 if (str2) { in target_core_call_addhbatotarget() 3589 *str2 = '\0'; /* Terminate for *se_plugin_str */ in target_core_call_addhbatotarget() 3590 str2++; /* Skip to start of plugin dependent ID */ in target_core_call_addhbatotarget() 3591 str = str2; in target_core_call_addhbatotarget()
|
| /linux/tools/testing/selftests/net/openvswitch/ |
| H A D | ovs-dpctl.py | 73 def strcspn(str1, str2): argument 76 if str2.find(char) != -1: 82 def strspn(str1, str2): argument 85 if str2.find(char) == -1:
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | veristat.c | 1045 const char **str2 = (const char **)b; in print_top_src_lines() 1047 return strcmp(*str1, *str2); in print_top_src_lines() 2402 const char *str1 = NULL, *str2 = NULL; in output_header_underlines() 2407 fetch_join_stat_value(s2, id, var, &str2, &v2); in output_headers() 2415 cmp = strcmp(str1, str2); in output_headers() 1026 const char **str2 = (const char **)b; str_cmp() local 2348 const char *str1 = NULL, *str2 = NULL; cmp_join_stat() local
|
| /linux/scripts/ |
| H A D | checkpatch.pl | 708 my ($str1, $str2) = @_; 710 $str2 = lc($str2); 712 $str2 =~ s/-//g; 714 my $len2 = length($str2); 723 } elsif (substr($str1, $i-1, 1) eq substr($str2, $j-1, 1)) {
|