Home
last modified time | relevance | path

Searched refs:testStr (Results 1 - 5 of 5) sorted by relevance

/kernel/liteos_a/testsuites/unittest/basic/mem/shm/full/
H A Dshm_test_007.cpp39 char testStr[] = "hello shmem"; in Testcase() local
55 if (strncmp(shared, testStr, sizeof(testStr)) != 0) { in Testcase()
78 ret = strncpy_s(shared, memSize, testStr, sizeof(testStr)); in Testcase()
/kernel/liteos_a/apps/lms/src/
H A Dsample_usr_lms.c182 char *testStr = "bbbbbbbbbbbbbbbbb"; in LmsStrcpyTest() local
184 (int)strlen(testStr) + 1); in LmsStrcpyTest()
185 strcpy(buf, testStr); in LmsStrcpyTest()
201 char *testStr = "cccccccccccccc"; in LmsStrcatTest() local
204 testStr, buf, strlen(testStr) + strlen(buf) + 1); in LmsStrcatTest()
205 strcat(buf, testStr); in LmsStrcatTest()
/kernel/liteos_a/testsuites/unittest/libc/sys/smoke/
H A Dsys_test_008.cpp43 char *testStr = const_cast<char *>("Hello World"); in TestCase() local
51 ret = regexec(&reg, testStr, 0, NULL, 0); in TestCase()
/kernel/linux/linux-6.6/drivers/platform/x86/
H A Dsamsung-laptop.c912 static int find_signature(void __iomem *memcheck, const char *testStr) in find_signature() argument
920 if (temp == testStr[i]) { in find_signature()
921 if (i == strlen(testStr)-1) in find_signature()
/kernel/linux/linux-5.10/drivers/platform/x86/
H A Dsamsung-laptop.c922 static int find_signature(void __iomem *memcheck, const char *testStr) in find_signature() argument
930 if (temp == testStr[i]) { in find_signature()
931 if (i == strlen(testStr)-1) in find_signature()

Completed in 6 milliseconds