Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/progs/
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()
Dtest_snprintf.c43 static const char str1[] = "str1"; in handler() local
64 str1, 'a', 'b', 'c', 'd', 'e', longstr); in handler()
/tools/testing/selftests/bpf/prog_tests/
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()
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()
/tools/lib/bpf/
Dstrset.c33 const char *str1 = s->strs_data + (long)key1; in strset_equal_fn() local
36 return strcmp(str1, str2) == 0; in strset_equal_fn()
/tools/power/x86/intel-speed-select/
Disst.h212 unsigned int val, char *str0, char *str1);
Disst-display.c323 unsigned int val, char *str0, char *str1) in isst_ctdp_display_core_info() argument
347 else if (str1 && val) in isst_ctdp_display_core_info()
348 snprintf(value, sizeof(value), "%s", str1); in isst_ctdp_display_core_info()
Disst-config.c1051 #define _get_tdp_level(desc, suffix, object, help, str0, str1) \ argument
1063 local_str1 = str1; \
/tools/usb/ffs-aio-example/simple/device_app/
Daio_simple.c124 const char str1[sizeof(STR_INTERFACE)]; member
/tools/usb/
Dffs-test.c314 const char str1[sizeof STR_INTERFACE_]; member
329 #define STR_INTERFACE strings.lang0.str1
/tools/perf/util/
Dannotate.c3192 static unsigned int parse_percent_type(char *str1, char *str2) in parse_percent_type() argument
3196 if (!strcmp("period", str1)) { in parse_percent_type()
3203 if (!strcmp("hits", str1)) { in parse_percent_type()
3218 char *str1, *str2; in annotate_parse_percent_type() local
3221 str1 = strdup(_str); in annotate_parse_percent_type()
3222 if (!str1) in annotate_parse_percent_type()
3225 str2 = strchr(str1, '-'); in annotate_parse_percent_type()
3231 type = parse_percent_type(str1, str2); in annotate_parse_percent_type()
3233 type = parse_percent_type(str2, str1); in annotate_parse_percent_type()
3240 free(str1); in annotate_parse_percent_type()
/tools/usb/ffs-aio-example/multibuff/device_app/
Daio_multibuff.c126 const char str1[sizeof(STR_INTERFACE)]; member
/tools/lib/traceevent/
Dparse-filter.c2238 char *str1, *str2; in tep_filter_compare() local
2260 str1 = arg_to_str(filter1, filter_type1->filter); in tep_filter_compare()
2262 if (str1 && str2) in tep_filter_compare()
2263 result = strcmp(str1, str2) != 0; in tep_filter_compare()
2268 free(str1); in tep_filter_compare()
/tools/testing/selftests/arm64/fp/
Dfpsimd-test.S72 .pushsection .rodata.str1.1, "aMS", 1
Dsve-test.S85 .pushsection .rodata.str1.1, "aMS", 1
/tools/testing/selftests/vm/
Duserfaultfd.c475 static int my_bcmp(char *str1, char *str2, size_t n) in my_bcmp() argument
479 if (str1[i] != str2[i]) in my_bcmp()