Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/lib/
H A Dtest_string.c117 const char *test_string = "abcdefghijkl"; in strchr_selftest() local
122 for (i = 0; i < strlen(test_string) + 1; i++) { in strchr_selftest()
123 result = strchr(test_string, test_string[i]); in strchr_selftest()
124 if (result - test_string != i) in strchr_selftest()
136 result = strchr(test_string, 'z'); in strchr_selftest()
145 const char *test_string = "abcdefghijkl"; in strnchr_selftest() local
150 for (i = 0; i < strlen(test_string) + 1; i++) { in strnchr_selftest()
151 for (j = 0; j < strlen(test_string) + 2; j++) { in strnchr_selftest()
152 result = strnchr(test_string, j, test_string[i]); in strnchr_selftest()
158 if (result - test_string != i) in strnchr_selftest()
H A Dtest-string_helpers.c34 struct test_string { struct
40 static const struct test_string strings[] __initconst = { argument
241 static const struct test_string strings_upper[] __initconst = {
252 static const struct test_string strings_lower[] __initconst = {
H A Dtest_printf.c184 test_string(void) in test_string() function
716 test_string(); in selftest()
H A DMakefile54 obj-$(CONFIG_STRING_SELFTEST) += test_string.o
/OK3568_Linux_fs/kernel/tools/perf/tests/
H A Dapi-io.c87 static int do_test_get_char(const char *test_string, size_t buf_size) in do_test_get_char() argument
94 if (setup_test(path, test_string, buf_size, &io)) in do_test_get_char()
97 for (i = 0; i < strlen(test_string); i++) { in do_test_get_char()
100 EXPECT_EQUAL(ch, test_string[i]); in do_test_get_char()
130 static int do_test_get_hex(const char *test_string, in do_test_get_hex() argument
141 if (setup_test(path, test_string, 4, &io)) in do_test_get_hex()
211 static int do_test_get_dec(const char *test_string, in do_test_get_dec() argument
222 if (setup_test(path, test_string, 4, &io)) in do_test_get_dec()
/OK3568_Linux_fs/u-boot/test/dm/
H A Dvideo.c142 …const char *test_string = "Well\b\b\b\bxhe is\r \n\ta very \amodest \bman\n\t\tand Has much to\b\… in dm_test_video_chars() local
148 for (s = test_string; *s; s++) in dm_test_video_chars()
296 …const char *test_string = "Criticism may not be agreeable, but it is necessary. It fulfils the sam… in dm_test_video_truetype() local
301 for (s = test_string; *s; s++) in dm_test_video_truetype()
314 …const char *test_string = "Criticism may not be agreeable, but it is necessary. It fulfils the sam… in dm_test_video_truetype_scroll() local
324 for (s = test_string; *s; s++) in dm_test_video_truetype_scroll()
337 …const char *test_string = "...Criticism may or may\b\b\b\b\b\bnot be agreeable, but seldom it is n… in dm_test_video_truetype_bs() local
347 for (s = test_string; *s; s++) in dm_test_video_truetype_bs()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-extended/polkit/polkit/
H A D0004-Make-netgroup-support-optional.patch207 g_test_add_data_func ("/PolkitIdentity/group_string_2", "unix-group:jane", test_string);
208 g_test_add_data_func ("/PolkitIdentity/group_string_3", "unix-group:users", test_string);
211 g_test_add_data_func ("/PolkitIdentity/netgroup_string", "unix-netgroup:foo", test_string);
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/cpprest/cpprest/
H A Ddisable-float-tests.patch17 std::string test_string;
/OK3568_Linux_fs/kernel/drivers/platform/x86/
H A Dsamsung-laptop.c144 const char *test_string; member
159 .test_string = "SECLINUX",
222 .test_string = "SwSmi@",
1405 for (i = 0; sabi_configs[i].test_string != NULL; ++i) { in samsung_sabi_init()
1408 samsung->config->test_string); in samsung_sabi_init()
1457 samsung->config->test_string); in samsung_sabi_init()
/OK3568_Linux_fs/buildroot/package/polkit/
H A D0001-make-netgroup-support-optional.patch369 g_test_add_data_func ("/PolkitIdentity/group_string_2", "unix-group:jane", test_string);
370 g_test_add_data_func ("/PolkitIdentity/group_string_3", "unix-group:users", test_string);
373 g_test_add_data_func ("/PolkitIdentity/netgroup_string", "unix-netgroup:foo", test_string);
/OK3568_Linux_fs/kernel/drivers/firmware/efi/libstub/
H A Defistub.h375 void *test_string; member
380 u32 test_string; member
/OK3568_Linux_fs/u-boot/lib/efi_loader/
H A Defi_console.c324 .test_string = efi_cout_test_string,
/OK3568_Linux_fs/u-boot/include/
H A Defi_api.h426 efi_status_t (EFIAPI *test_string)(
/OK3568_Linux_fs/kernel/kernel/trace/
H A Dtrace_events_filter.c667 static __always_inline char *test_string(char *str) in test_string() function
735 str = test_string(*addr); in filter_pred_pchar()
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bs4/tests/
H A Dtest_tree.py1188 def test_string(self): member in TestElementObjects