Home
last modified time | relevance | path

Searched refs:str1 (Results 1 – 22 of 22) 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/arch/arm64/lib/
H A Dcopy_template.S67 str1 tmp1w, dst, #4
71 str1 tmp1, dst, #8
112 str1 tmp1, dst, #8
116 str1 tmp1w, dst, #4
H A Dcopy_from_user.S43 .macro str1 reg, ptr, val macro
H A Dcopy_to_user.S42 .macro str1 reg, ptr, val macro
/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/powerpc/platforms/cell/
H A Dcbe_thermal.c299 union spe_reg str1; in init_default_values() local
321 str1.val = 0x1010101010101010ull; in init_default_values()
354 out_be64(&pmd_regs->tm_str1.val, str1.val); in init_default_values()
/linux/arch/arc/lib/
H A Dstrcmp-archs.S21 ;; Detect NULL char in str1
/linux/tools/perf/util/
H A Dannotate.c2259 static unsigned int parse_percent_type(char *str1, char *str2) in parse_percent_type() argument
2263 if (!strcmp("period", str1)) { in parse_percent_type()
2270 if (!strcmp("hits", str1)) { in parse_percent_type()
2284 char *str1, *str2; in annotate_parse_percent_type() local
2287 str1 = strdup(_str); in annotate_parse_percent_type()
2288 if (!str1) in annotate_parse_percent_type()
2291 str2 = strchr(str1, '-'); in annotate_parse_percent_type()
2297 type = parse_percent_type(str1, str2); in annotate_parse_percent_type()
2299 type = parse_percent_type(str2, str1); in annotate_parse_percent_type()
2306 free(str1); in annotate_parse_percent_type()
/linux/tools/power/x86/intel-speed-select/
H A Disst-display.c332 unsigned int val, char *str0, char *str1) in isst_ctdp_display_core_info() argument
341 else if (str1 && val) in isst_ctdp_display_core_info()
342 snprintf(value, sizeof(value), "%s", str1); in isst_ctdp_display_core_info()
H A Disst.h258 unsigned int val, char *str0, char *str1);
H A Disst-config.c1248 #define _get_tdp_level(desc, suffix, object, help, str0, str1) \ argument
1260 local_str1 = str1; \
/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/drivers/gpu/drm/sti/
H A Dsti_hdmi.c600 #define DBGFS_PRINT_STR(str1, str2) seq_printf(s, "%-24s %s\n", str1, str2) argument
601 #define DBGFS_PRINT_INT(str1, int2) seq_printf(s, "%-24s %d\n", str1, int2) argument
/linux/tools/usb/
H A Dffs-test.c314 const char str1[sizeof STR_INTERFACE_]; member
329 #define STR_INTERFACE strings.lang0.str1
/linux/tools/testing/selftests/bpf/
H A Dveristat.c905 const char **str1 = (const char **)a; in str_cmp() local
908 return strcmp(*str1, *str2); in str_cmp()
1503 const char *str1 = NULL, *str2 = NULL; in cmp_join_stat() local
1507 fetch_join_stat_value(s1, id, var, &str1, &v1); in cmp_join_stat()
1515 if (str1) in cmp_join_stat()
1516 cmp = strcmp(str1, str2); in cmp_join_stat()
/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/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: