Home
last modified time | relevance | path

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

/openbmc/linux/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
361 static const struct test_string strings_upper[] __initconst = {
372 static const struct test_string strings_lower[] __initconst = {
H A Dtest_printf.c184 test_string(void) in test_string() function
819 test_string(); in selftest()
H A DMakefile52 obj-$(CONFIG_STRING_SELFTEST) += test_string.o
/openbmc/linux/tools/perf/tests/
H A Dapi-io.c95 if (setup_test(path, test_string, buf_size, &io)) in do_test_get_char()
98 for (i = 0; i < strlen(test_string); i++) { in do_test_get_char()
101 EXPECT_EQUAL(ch, test_string[i]); in do_test_get_char()
131 static int do_test_get_hex(const char *test_string, in do_test_get_hex() argument
142 if (setup_test(path, test_string, 4, &io)) in do_test_get_hex()
223 if (setup_test(path, test_string, 4, &io)) in do_test_get_dec()
297 char test_string[1024]; in test_get_line() local
304 test_string[i] = 'a'; in test_get_line()
305 test_string[512] = '\n'; in test_get_line()
307 test_string[i] = 'b'; in test_get_line()
[all …]
/openbmc/openbmc/poky/meta-selftest/recipes-test/cpp/files/
H A Dtest-cpp-example.cpp19 if(0 == ret_string.compare(CppExample::test_string + FAIL_COMPARISON_STR)) { in main()
20 std::cout << "PASS: " << ret_string << " = " << CppExample::test_string << std::endl; in main()
22 std::cout << "FAIL: " << ret_string << " != " << CppExample::test_string << std::endl; in main()
H A Dcpp-example-lib.cpp14 return test_string; in get_string()
28 json_object_object_add(jobj, "test_string", json_object_new_string(test_string.c_str())); in print_json()
H A Dcpp-example-lib.hpp13 inline static const std::string test_string = "cpp-example-lib Magic: 123456789"; member
/openbmc/u-boot/test/dm/
H A Dvideo.c147 …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
152 vidconsole_put_string(con, test_string); in dm_test_video_chars()
333 …const char *test_string = "Criticism may not be agreeable, but it is necessary. It fulfils the sam… in dm_test_video_truetype() local
337 vidconsole_put_string(con, test_string); in dm_test_video_truetype()
349 …const char *test_string = "Criticism may not be agreeable, but it is necessary. It fulfils the sam… in dm_test_video_truetype_scroll() local
358 vidconsole_put_string(con, test_string); in dm_test_video_truetype_scroll()
370 …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
379 vidconsole_put_string(con, test_string); in dm_test_video_truetype_bs()
/openbmc/phosphor-logging/
H A Dlogging_test.cpp92 const char* test_string = "/tmp/test_string/"; in elog_test() local
99 FILE_PATH(test_string), in elog_test()
125 rc = validate_journal(TestErrorOne::FILE_PATH::str_short, test_string); in elog_test()
170 rc = validate_journal(TestErrorOne::FILE_PATH::str_short, test_string); in elog_test()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/cpprest/cpprest/
H A Ddisable-float-tests.patch19 std::string test_string;
/openbmc/u-boot/lib/efi_selftest/
H A Defi_selftest_textoutput.c46 ret = con_out->test_string(con_out, in execute()
/openbmc/linux/drivers/platform/x86/
H A Dsamsung-laptop.c144 const char *test_string; member
159 .test_string = "SECLINUX",
222 .test_string = "SwSmi@",
1388 for (i = 0; sabi_configs[i].test_string != NULL; ++i) { in samsung_sabi_init()
1391 samsung->config->test_string); in samsung_sabi_init()
1440 samsung->config->test_string); in samsung_sabi_init()
/openbmc/linux/drivers/firmware/efi/libstub/
H A Defistub.h508 void *test_string; member
513 u32 test_string; member
/openbmc/u-boot/lib/efi_loader/
H A Defi_console.c435 .test_string = efi_cout_test_string,
/openbmc/qemu/tests/tcg/i386/
H A Dtest-i386.c1537 void test_string(void) in test_string() function
2173 test_string(); in main()
/openbmc/linux/kernel/trace/
H A Dtrace_events_filter.c799 static __always_inline char *test_string(char *str) in test_string() function
867 str = test_string(*addr); in filter_pred_pchar()
/openbmc/u-boot/include/
H A Defi_api.h568 efi_status_t (EFIAPI *test_string)(
/openbmc/openbmc/poky/bitbake/lib/bs4/tests/
H A Dtest_tree.py1188 def test_string(self): member in TestElementObjects
/openbmc/linux/
H A DMAINTAINERS8789 F: lib/test_string.c