| /linux/fs/hfsplus/ |
| H A D | unicode_test.c | 15 struct hfsplus_unistr str1; member 74 create_unistr(&mock_env->str1, "hello"); in hfsplus_strcasecmp_test() 76 KUNIT_EXPECT_EQ(test, 0, hfsplus_strcasecmp(&mock_env->str1, in hfsplus_strcasecmp_test() 80 create_unistr(&mock_env->str1, "Hello"); in hfsplus_strcasecmp_test() 82 KUNIT_EXPECT_EQ(test, 0, hfsplus_strcasecmp(&mock_env->str1, in hfsplus_strcasecmp_test() 85 create_unistr(&mock_env->str1, "HELLO"); in hfsplus_strcasecmp_test() 87 KUNIT_EXPECT_EQ(test, 0, hfsplus_strcasecmp(&mock_env->str1, in hfsplus_strcasecmp_test() 91 create_unistr(&mock_env->str1, "apple"); in hfsplus_strcasecmp_test() 93 KUNIT_EXPECT_LT(test, hfsplus_strcasecmp(&mock_env->str1, in hfsplus_strcasecmp_test() 96 create_unistr(&mock_env->str1, "zebra"); in hfsplus_strcasecmp_test() [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_global_data.c | 48 static char str1[32] = "abcdefghijklmnopqrstuvwxyz"; variable 88 test_reloc(string, 1, str1); in load_static_data() 90 str1[5] = 'x'; in load_static_data() 91 test_reloc(string, 3, str1); in load_static_data()
|
| H A D | test_snprintf.c | 43 static const char str1[] = "str1"; in handler() local 64 str1, 'a', 'b', 'c', 'd', 'e', longstr); in handler()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | probe_read_user_str.c | 5 static const char str1[] = "mestring"; variable 62 if (test_one_str(skel, str1, sizeof(str1))) in test_probe_read_user_str()
|
| H A D | varlen.c | 18 const char str1[] = "Hello, "; in test_varlen() local 21 const int size1 = sizeof(str1); in test_varlen() 37 memcpy(bss->buf_in1, str1, size1); in test_varlen()
|
| /linux/tools/lib/bpf/ |
| H A D | strset.c | 33 const char *str1 = s->strs_data + key1; 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 50 const unsigned char *s1 = (const unsigned char *)str1; in strcmp()
|
| /linux/arch/arc/lib/ |
| H A D | strcmp-archs.S | 21 ;; Detect NULL char in str1
|
| /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 | 2391 static unsigned int parse_percent_type(char *str1, char *str2) in parse_percent_type() 2395 if (!strcmp("period", str1)) { in parse_percent_type() 2402 if (!strcmp("hits", str1)) { in parse_percent_type() 2416 char *str1, *str2; in annotate_parse_percent_type() 2419 str1 = strdup(_str); in annotate_parse_percent_type() 2420 if (!str1) in annotate_parse_percent_type() 2423 str2 = strchr(str1, '-'); in annotate_parse_percent_type() 2429 type = parse_percent_type(str1, str2); in annotate_parse_percent_type() 2431 type = parse_percent_type(str2, str1); in annotate_parse_percent_type() 2438 free(str1); 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 D | expr.c | 894 const char *str1, *str2; in __expr_calc_value() local 928 str1 = sym_get_string_value(e->left.sym); in __expr_calc_value() 932 k1 = expr_parse_string(str1, e->left.sym->type, &lval); in __expr_calc_value() 937 res = strcmp(str1, str2); in __expr_calc_value()
|
| /linux/tools/power/x86/intel-speed-select/ |
| H A D | isst-display.c | 339 unsigned int val, char *str0, char *str1) in isst_ctdp_display_core_info() argument 348 else if (str1 && val) in isst_ctdp_display_core_info() 349 snprintf(value, sizeof(value), "%s", str1); in isst_ctdp_display_core_info()
|
| H A D | isst.h | 261 unsigned int val, char *str0, char *str1);
|
| H A D | isst-config.c | 1280 #define _get_tdp_level(desc, suffix, object, help, str0, str1) \ 1292 local_str1 = str1; \ 1266 _get_tdp_level(desc,suffix,object,help,str0,str1) global() argument
|
| /linux/tools/usb/ |
| H A D | ffs-test.c | 314 const char str1[sizeof STR_INTERFACE_]; member 329 #define STR_INTERFACE strings.lang0.str1
|
| /linux/tools/usb/ffs-aio-example/simple/device_app/ |
| H A D | aio_simple.c | 142 const char str1[sizeof(STR_INTERFACE)]; member
|
| /linux/tools/usb/ffs-aio-example/multibuff/device_app/ |
| H A D | aio_multibuff.c | 126 const char str1[sizeof(STR_INTERFACE)]; member
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | veristat.c | 1044 const char **str1 = (const char **)a; in str_cmp() local 1047 return strcmp(*str1, *str2); in str_cmp() 2402 const char *str1 = NULL, *str2 = NULL; in cmp_join_stat() local 2406 fetch_join_stat_value(s1, id, var, &str1, &v1); in cmp_join_stat() 2414 if (str1) in cmp_join_stat() 2415 cmp = strcmp(str1, str2); in cmp_join_stat()
|
| /linux/tools/testing/selftests/net/openvswitch/ |
| H A D | ovs-dpctl.py | 73 def strcspn(str1, str2): argument 75 for char in str1: 82 def strspn(str1, str2): argument 84 for char in str1:
|
| /linux/drivers/media/platform/st/sti/delta/ |
| H A D | delta-v4l2.c | 1318 unsigned char str1[100] = ""; in delta_vb2_au_start_streaming() local 1382 delta_streaminfo_str(streaminfo, str1, sizeof(str1)), in delta_vb2_au_start_streaming()
|
| /linux/scripts/ |
| H A D | checkpatch.pl | 708 my ($str1, $str2) = @_; 709 $str1 = lc($str1); 711 $str1 =~ s/-//g; 713 my $len1 = length($str1); 723 } elsif (substr($str1, $i-1, 1) eq substr($str2, $j-1, 1)) {
|