Home
last modified time | relevance | path

Searched refs:str2 (Results 1 – 15 of 15) sorted by relevance

/linux/fs/hfsplus/
H A Dunicode_test.c16 struct hfsplus_unistr str2; member
75 create_unistr(&mock_env->str2, "hello"); in hfsplus_strcasecmp_test()
77 &mock_env->str2)); in hfsplus_strcasecmp_test()
81 create_unistr(&mock_env->str2, "hello"); in hfsplus_strcasecmp_test()
83 &mock_env->str2)); in hfsplus_strcasecmp_test()
86 create_unistr(&mock_env->str2, "hello"); in hfsplus_strcasecmp_test()
88 &mock_env->str2)); in hfsplus_strcasecmp_test()
92 create_unistr(&mock_env->str2, "banana"); in hfsplus_strcasecmp_test()
94 &mock_env->str2), 0); in hfsplus_strcasecmp_test()
97 create_unistr(&mock_env->str2, "apple"); in hfsplus_strcasecmp_test()
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_global_data.c49 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 Dprobe_read_user_str.c6 static const char str2[] = "mestringalittlebigger"; variable
64 if (test_one_str(skel, str2, sizeof(str2))) in test_probe_read_user_str()
H A Dvarlen.c19 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 Dipc4.c188 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 Dstrset.c34 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 Dstring.c48 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 Dhal_com.h144 bool eqNByte(u8 *str1, u8 *str2, u32 num);
/linux/tools/perf/util/
H A Dannotate.c2391 static unsigned int parse_percent_type(char *str1, char *str2) in parse_percent_type()
2396 if (!strcmp("local", str2)) in parse_percent_type()
2398 else if (!strcmp("global", str2)) in parse_percent_type()
2403 if (!strcmp("local", str2)) in parse_percent_type()
2405 else if (!strcmp("global", str2)) in parse_percent_type()
2416 char *str1, *str2; in annotate_parse_percent_type()
2423 str2 = strchr(str1, '-'); in annotate_parse_percent_type()
2424 if (!str2) in annotate_parse_percent_type()
2427 *str2++ = 0; in annotate_parse_percent_type()
2429 type = parse_percent_type(str1, str2); in annotate_parse_percent_type()
2388 parse_percent_type(char * str1,char * str2) parse_percent_type() argument
2413 char *str1, *str2; annotate_parse_percent_type() local
[all...]
/linux/scripts/kconfig/
H A Dexpr.c894 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/target/
H A Dtarget_core_configfs.c3610 char *se_plugin_str, *str, *str2; in target_core_call_addhbatotarget() local
3634 str2 = strstr(str+1, "_"); in target_core_call_addhbatotarget()
3635 if (str2) { in target_core_call_addhbatotarget()
3636 *str2 = '\0'; /* Terminate for *se_plugin_str */ in target_core_call_addhbatotarget()
3637 str2++; /* Skip to start of plugin dependent ID */ in target_core_call_addhbatotarget()
3638 str = str2; in target_core_call_addhbatotarget()
/linux/tools/testing/selftests/net/openvswitch/
H A Dovs-dpctl.py73 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 Dveristat.c1045 const char **str2 = (const char **)b; in str_cmp() local
1047 return strcmp(*str1, *str2); in str_cmp()
2402 const char *str1 = NULL, *str2 = NULL; in cmp_join_stat() local
2407 fetch_join_stat_value(s2, id, var, &str2, &v2); in cmp_join_stat()
2415 cmp = strcmp(str1, str2); in cmp_join_stat()
/linux/drivers/media/platform/st/sti/delta/
H A Ddelta-v4l2.c1319 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 Dcheckpatch.pl708 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)) {