Home
last modified time | relevance | path

Searched refs:STR_LEN (Results 1 – 25 of 28) sorted by relevance

12

/kernel/liteos_m/testsuites/unittest/fuzz/src/string/
Dstrcspn_fuzz.c40 #define STR_LEN 1 macro
60 source = (char *)DT_SetGetString(&g_element[0], STR_LEN, MAX_STR_LEN, "pin"); in StrcspnFuzzTest()
61 dest = (char *)DT_SetGetString(&g_element[1], STR_LEN, MAX_STR_LEN, "pin"); in StrcspnFuzzTest()
Dstrcmp_fuzz.c40 #define STR_LEN 1 macro
60 source = (char *)DT_SetGetString(&g_element[0], STR_LEN, MAX_STR_LEN, "pin"); in StrcmpFuzzTest()
61 dest = (char *)DT_SetGetString(&g_element[1], STR_LEN, MAX_STR_LEN, "pin"); in StrcmpFuzzTest()
Dstrstr_fuzz.c40 #define STR_LEN 1 macro
60 … str = (char *)DT_SetGetString(&g_element[0], STR_LEN, MAX_STR_LEN, "abcdefghijklmnopqrstuvwxyz"); in StrstrFuzzTest()
61 substr = (char *)DT_SetGetString(&g_element[0], STR_LEN, MAX_STR_LEN, "bcd"); in StrstrFuzzTest()
Dmemcmp_fuzz.c40 #define STR_LEN 1 macro
60 source = (char *)DT_SetGetString(&g_element[0], STR_LEN, MAX_STR_LEN, "pin"); in MemcmpFuzzTest()
61 dest = (char *)DT_SetGetString(&g_element[0], STR_LEN, MAX_STR_LEN, "pin"); in MemcmpFuzzTest()
Dtest_strncmp_fuzz.c40 #define STR_LEN 1 macro
61 stringVal1 = (char *)DT_SetGetString(&g_element[0], STR_LEN, MAX_STR_LEN, "string"); in StrncmpFuzz()
62 stringVal2 = (char *)DT_SetGetString(&g_element[1], STR_LEN, MAX_STR_LEN, "STring"); in StrncmpFuzz()
Dmemcpy_fuzz.c40 #define STR_LEN 1 macro
56 char *source = (char *)DT_SetGetString(&g_element[0], STR_LEN, MAX_STR_LEN, "pin"); in MemcpyFuzzTest()
Dtest_strlen_fuzz.c40 #define STR_LEN 1 macro
60 str = (char *)DT_SetGetString(&g_element[0], STR_LEN, MAX_STR_LEN, ""); in StrlenFuzz()
Dtest_strrchr_fuzz.c40 #define STR_LEN 1 macro
62 str = (char *)DT_SetGetString(&g_element[0], STR_LEN, MAX_STR_LEN, ""); in StrrchrFuzz()
Dstrchr_fuzz.c40 #define STR_LEN 1 macro
62 … str = (char *)DT_SetGetString(&g_element[0], STR_LEN, MAX_STR_LEN, "abcdefghijklmnopqrstuvwxyz"); in StrchrFuzzTest()
Dstrdup_fuzz.c40 #define STR_LEN 1 macro
59 source = (char *)DT_SetGetString(&g_element[0], STR_LEN, MAX_STR_LEN, "pin"); in StrdupFuzzTest()
/kernel/liteos_m/testsuites/unittest/fuzz/src/strings/
Dit_test_strings_fuzz.c41 #define STR_LEN 1 macro
61 lstring = DT_SetGetString(&g_element[0], STR_LEN, MAX_STR_LEN, ""); in StrcasecmpFuzz()
62 rstring = DT_SetGetString(&g_element[1], STR_LEN, MAX_STR_LEN, ""); in StrcasecmpFuzz()
Dtest_strncasecmp_fuzz.c40 #define STR_LEN 1 macro
61 stringVal1 = (char *)DT_SetGetString(&g_element[0], STR_LEN, MAX_STR_LEN, ""); in StrncasecmpFuzz()
62 stringVal2 = (char *)DT_SetGetString(&g_element[1], STR_LEN, MAX_STR_LEN, ""); in StrncasecmpFuzz()
/kernel/linux/linux-5.10/tools/perf/arch/nds32/util/
Dheader.c9 #define STR_LEN 1024 macro
21 buf = malloc(STR_LEN); in get_cpuid_str()
/kernel/liteos_a/testsuites/unittest/libc/misc/smoke/
Dmisc_test_003.cpp34 #define STR_LEN 20 macro
47 CHAR ptr[STR_LEN] = TEST_OK; in TestCase()
Dmisc_test_002.cpp34 #define STR_LEN 20 macro
47 CHAR ptr[STR_LEN] = TEST_OK; in TestCase()
Dmisc_test_004.cpp34 #define STR_LEN 20 macro
47 CHAR ptr[STR_LEN] = TEST_OK; in TestCase()
Dmisc_test_005.cpp34 #define STR_LEN 20 macro
47 CHAR ptr[STR_LEN] = TEST_OK; in TestCase()
/kernel/liteos_m/testsuites/unittest/fuzz/src/stdlib/
Datoi_fuzz.c40 #define STR_LEN 1 macro
59 str = (char *)DT_SetGetString(&g_element[0], STR_LEN, MAX_STR_LEN, "1"); in AtoiFuzzTest()
Datol_fuzz.c40 #define STR_LEN 1 macro
59 str = (char *)DT_SetGetString(&g_element[0], STR_LEN, MAX_STR_LEN, "1"); in AtolFuzzTest()
Datoll_fuzz.c40 #define STR_LEN 1 macro
59 str = (char *)DT_SetGetString(&g_element[0], STR_LEN, MAX_STR_LEN, "1"); in AtollFuzzTest()
Dstrtol_fuzz.c40 #define STR_LEN 1 macro
69 str = (char *)DT_SetGetString(&g_element[0], STR_LEN, MAX_STR_LEN, "1"); in StrtolFuzzTest()
Dstrtoull_fuzz.c40 #define STR_LEN 1 macro
69 str = (char *)DT_SetGetString(&g_element[0], STR_LEN, MAX_STR_LEN, "1"); in StrtoullFuzzTest()
/kernel/liteos_m/testsuites/unittest/fuzz/src/stdio/
Dperror_fuzz.c40 #define STR_LEN 1 macro
59 str = (char *)DT_SetGetString(&g_element[0], STR_LEN, MAX_STR_LEN, "syserror"); in PerrorFuzzTest()
/kernel/liteos_m/testsuites/unittest/fuzz/src/libgen/
Ddirname_fuzz.c42 #define STR_LEN 1 macro
61 dirName = (char *)DT_SetGetString(&g_element[0], STR_LEN, MAX_STR_LEN, "test"); in DirnameFuzzTest()
/kernel/liteos_m/testsuites/unittest/fuzz/src/time/
Dstrptime_fuzz.c40 #define STR_LEN 1 macro
59 str = (char *)DT_SetGetString(&g_element[0], STR_LEN, MAX_STR_LEN, "20210304133500"); in StrptimeFuzzTest()

12