Home
last modified time | relevance | path

Searched refs:TEST_LOOP (Results 1 – 8 of 8) sorted by relevance

/kernel/liteos_a/testsuites/unittest/process/basic/pthread/full/
Dpthread_test_014.cpp33 static const int TEST_LOOP = 5000; variable
39 while (g_testCnt < TEST_LOOP) { in ThreadFunc()
49 g_testCnt = TEST_LOOP + 1000; // 1000, here set a special num. in ThreadFunc()
56 while (g_testCnt < TEST_LOOP) { in ThreadFunc1()
72 while (g_testCnt < TEST_LOOP) { in ThreadFunc2()
88 while (g_testCnt < TEST_LOOP) { in ThreadFunc3()
130 while (g_testCnt < TEST_LOOP) { in TestCase()
139 …ICUNIT_GOTO_EQUAL(g_testCnt, TEST_LOOP + 1000, g_testCnt, EXIT); // 1000, here assert the special … in TestCase()
/kernel/liteos_a/testsuites/unittest/process/basic/process/full/
Dprocess_test_042.cpp35 static const int TEST_LOOP = 3000; variable
43 while ((*shared) < (TEST_LOOP + 2)) { // 2, Set the cycle number. in Child2()
60 while ((*shared) < (TEST_LOOP + 1)) { in Child1()
120 while ((*shared) < TEST_LOOP) { in GroupProcess()
125 (*shared) = TEST_LOOP + 10; // 10, Set the cycle number. in GroupProcess()
/kernel/liteos_m/testsuites/sample/kernel/atomic/
Dit_los_atomic_010.c35 #define TEST_LOOP 10 macro
41 for (i = 0; i < TEST_LOOP; ++i) { in TaskF01()
66 ICUNIT_ASSERT_EQUAL(g_testAtomicID05, TEST_LOOP, g_testAtomicID05); in TestCase()
/kernel/liteos_m/testsuites/sample/kernel/power/
DIt_los_pm_003.c36 #define TEST_LOOP 5 macro
139 if (g_pmTestCount > TEST_LOOP) { in PmTestTask()
155 if (g_pmTestCount > TEST_LOOP) { in TaskSampleEntry2()
177 if (g_pmTestCount > TEST_LOOP) { in TaskSampleEntry1()
DIt_los_pm_002.c37 #define TEST_LOOP 5 macro
136 if (g_pmTestCount > TEST_LOOP) { in PmTestTask()
172 if (g_pmTestCount > TEST_LOOP) { in TaskSampleEntry2()
203 if (g_pmTestCount > TEST_LOOP) { in TaskSampleEntry1()
/kernel/linux/linux-5.10/tools/testing/selftests/vm/
Dmlock-random-test.c22 #define TEST_LOOP 100 macro
154 for (i = 0; i < TEST_LOOP; i++) { in test_mlock_within_limit()
231 for (i = 0; i < TEST_LOOP; i++) { in test_mlock_outof_limit()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/
Digc_ethtool.c92 TEST_LOOP, enumerator
100 [TEST_LOOP] = "Loopback test (offline)",
1879 data[TEST_LOOP] = 0; in igc_ethtool_diag_test()
1892 data[TEST_LOOP] = 0; in igc_ethtool_diag_test()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/
Digb_ethtool.c115 TEST_LOOP, enumerator
123 [TEST_LOOP] = "Loopback test (offline)",
2062 if (igb_loopback_test(adapter, &data[TEST_LOOP])) in igb_diag_test()
2091 data[TEST_LOOP] = 0; in igb_diag_test()