Home
last modified time | relevance | path

Searched refs:str1 (Results 1 – 21 of 21) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dtest_global_data.c48 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 Dtest_snprintf.c43 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 Dprobe_read_user_str.c5 static const char str1[] = "mestring"; variable
62 if (test_one_str(skel, str1, sizeof(str1))) in test_probe_read_user_str()
H A Dvarlen.c18 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 Dstrset.c33 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 Dstring.c48 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 Dstrcmp-archs.S21 ;; Detect NULL char in str1
/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.c2392 static unsigned int parse_percent_type(char *str1, char *str2) in parse_percent_type() argument
2396 if (!strcmp("period", str1)) { in parse_percent_type()
2403 if (!strcmp("hits", str1)) { in parse_percent_type()
2417 char *str1, *str2; in annotate_parse_percent_type() local
2420 str1 = strdup(_str); in annotate_parse_percent_type()
2421 if (!str1) in annotate_parse_percent_type()
2424 str2 = strchr(str1, '-'); in annotate_parse_percent_type()
2430 type = parse_percent_type(str1, str2); in annotate_parse_percent_type()
2432 type = parse_percent_type(str2, str1); in annotate_parse_percent_type()
2439 free(str1); in annotate_parse_percent_type()
/linux/drivers/ata/
H A Dahci_imx.c299 u32 str1, str2, str3, str4; in __sata_ahci_read_temperature() local
331 str1 = (mpll_test_reg >> 2) & 0x7FF; in __sata_ahci_read_temperature()
361 mpll_test_reg = (mpll_test_reg & 0xE03) | (str1) << 2; in __sata_ahci_read_temperature()
/linux/scripts/kconfig/
H A Dexpr.c894 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 Disst-display.c339 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 Disst.h261 unsigned int val, char *str0, char *str1);
H A Disst-config.c1266 #define _get_tdp_level(desc, suffix, object, help, str0, str1) \ argument
1278 local_str1 = str1; \
/linux/tools/usb/
H A Dffs-test.c314 const char str1[sizeof STR_INTERFACE_]; member
329 #define STR_INTERFACE strings.lang0.str1
/linux/drivers/staging/rtl8723bs/hal/
H A Dhal_com.c753 bool eqNByte(u8 *str1, u8 *str2, u32 num) in eqNByte() argument
759 if (str1[num] != str2[num]) in eqNByte()
/linux/tools/usb/ffs-aio-example/simple/device_app/
H A Daio_simple.c142 const char str1[sizeof(STR_INTERFACE)]; member
/linux/tools/usb/ffs-aio-example/multibuff/device_app/
H A Daio_multibuff.c126 const char str1[sizeof(STR_INTERFACE)]; member
/linux/tools/testing/selftests/bpf/
H A Dveristat.c1044 const char **str1 = (const char **)a; 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()
2406 fetch_join_stat_value(s1, id, var, &str1, &v1);
2414 if (str1) in output_headers()
2415 cmp = strcmp(str1, str2); in output_headers()
1025 const char **str1 = (const char **)a; str_cmp() local
2348 const char *str1 = NULL, *str2 = NULL; cmp_join_stat() local
/linux/tools/testing/selftests/net/openvswitch/
H A Dovs-dpctl.py73 def strcspn(str1, str2): argument
75 for char in str1:
82 def strspn(str1, str2): argument
84 for char in str1:
/linux/scripts/
H A Dcheckpatch.pl708 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)) {