/kernel/liteos_m/testsuites/unittest/xts/cmsis/ |
H A D | cmsis_msg_func_test.c | 51 osStatus_t uwRet; in CmsisMessageQueueGetFunc001() local 55 uwRet = osMessageQueueGet(g_cmsisMqId, ucTemp, &msgPrio, TIMEOUT_COUNT); in CmsisMessageQueueGetFunc001() 56 ICUNIT_ASSERT_EQUAL(uwRet, osOK, uwRet); in CmsisMessageQueueGetFunc001() 58 ICUNIT_ASSERT_EQUAL(uwRet, 0, uwCmp); in CmsisMessageQueueGetFunc001() 60 uwRet = osMessageQueueDelete(g_cmsisMqId); in CmsisMessageQueueGetFunc001() 61 ICUNIT_ASSERT_EQUAL(uwRet, osOK, uwRet); in CmsisMessageQueueGetFunc001() 118 osStatus_t uwRet; variable 121 uwRet 133 osStatus_t uwRet = osMessageQueueDelete(NULL); global() variable 145 osStatus_t uwRet; global() variable 164 osStatus_t uwRet = osMessageQueuePut(NULL, g_cmsisMessageInfo[MSGQUEUE_COUNT_INDEX_0], 0, 0); global() variable 176 osStatus_t uwRet; global() variable 195 osStatus_t uwRet; global() variable 227 osStatus_t uwRet; global() variable 242 osStatus_t uwRet; global() variable 262 UINT32 uwRet; global() variable 281 UINT32 uwRet = osMessageQueueGetMsgSize(NULL); global() variable 293 UINT32 uwRet; global() variable 311 UINT32 uwRet = osMessageQueueGetCapacity(NULL); global() variable 323 UINT32 uwRet; global() variable 351 UINT32 uwRet = osMessageQueueGetCount(NULL); global() variable 363 UINT32 uwRet; global() variable 391 UINT32 uwRet = osMessageQueueGetSpace(NULL); global() variable [all...] |
H A D | cmsis_timer_func_test.c | 168 UINT32 uwRet; variable 174 uwRet = osTimerStart(id, millisec); 175 ICUNIT_ASSERT_EQUAL(osOK, uwRet, uwRet); 187 UINT32 uwRet; variable 193 uwRet = osTimerStart(id, millisec); 194 ICUNIT_ASSERT_EQUAL(osOK, uwRet, uwRet); 206 UINT32 uwRet; variable 214 uwRet 231 UINT32 uwRet; global() variable 256 UINT32 uwRet; global() variable 274 UINT32 uwRet; global() variable 293 UINT32 uwRet = osTimerStart(NULL, millisec); global() variable 305 UINT32 uwRet; global() variable 326 UINT32 uwRet; global() variable 347 UINT32 uwRet; global() variable 370 UINT32 uwRet; global() variable 394 UINT32 uwRet = osTimerDelete(NULL); global() variable 406 UINT32 uwRet; global() variable 431 UINT32 uwRet; global() variable 456 UINT32 uwRet; global() variable 478 UINT32 uwRet; global() variable 500 UINT32 uwRet = osTimerStop(NULL); global() variable 512 UINT32 uwRet; global() variable 531 UINT32 uwRet; global() variable 553 UINT32 uwRet; global() variable 578 UINT32 uwRet; global() variable 601 UINT32 uwRet; global() variable 620 UINT32 uwRet; global() variable 642 UINT32 uwRet; global() variable 666 UINT32 uwRet; global() variable 689 UINT32 uwRet = osTimerIsRunning(NULL); global() variable 701 UINT32 uwRet = osKernelGetTickFreq(); global() variable 713 UINT32 uwRet = osKernelGetSysTimerFreq(); global() variable 725 UINT32 uwRet = osKernelGetSysTimerCount(); global() variable [all...] |
H A D | cmsis_task_func_test.c | 374 UINT32 uwRet = osThreadGetCount(); in CmsisThreadGetCountFunc002() local 375 ICUNIT_ASSERT_WITHIN_EQUAL_VOID(uwRet, 0, INT_MAX, uwRet); in CmsisThreadGetCountFunc002() 400 UINT32 uwRet = osThreadGetCount(); in CmsisThreadGetCountFunc003() local 401 ICUNIT_ASSERT_EQUAL_VOID(uwRet, g_threadCount + 1, uwRet); in CmsisThreadGetCountFunc003() 747 osStatus_t uwRet; variable 765 uwRet = osThreadResume(g_puwTaskID01); 766 ICUNIT_ASSERT_EQUAL(uwRet, osOK, uwRet); 1228 UINT32 uwRet = osThreadGetCount(); global() variable 1459 osStatus_t uwRet = osThreadGetState(NULL); global() variable 1589 osStatus_t uwRet = osThreadSuspend(NULL); global() variable 1603 osStatus_t uwRet; global() variable 1658 osStatus_t uwRet; global() variable 1705 UINT32 uwRet = osThreadGetStackSize(NULL); global() variable 1789 UINT32 uwRet = osThreadGetStackSpace(NULL); global() variable 1895 UINT32 uwRet = osThreadResume(NULL); global() variable 1911 UINT32 uwRet = osThreadTerminate(NULL); global() variable 2045 osKernelState_t uwRet = osKernelGetState(); global() variable 2058 osKernelState_t uwRet; global() variable 2072 UINT32 uwRet = osKernelLock(); global() variable 2088 UINT32 uwRet; global() variable 2118 UINT32 uwRet = osKernelUnlock(); global() variable 2130 UINT32 uwRet; global() variable 2146 UINT32 uwRet; global() variable 2163 UINT32 uwRet; global() variable 2179 UINT32 uwRet; global() variable 2196 UINT32 uwRet = osKernelUnlock(); global() variable [all...] |
H A D | cmsis_task_pri_func_test.c | 75 UINT32 uwRet; in CmsisThreadSetPriorityFunc001() local 77 uwRet = osThreadSetPriority(g_priTaskID01, g_setPriority); in CmsisThreadSetPriorityFunc001() 78 ICUNIT_ASSERT_EQUAL(uwRet, osOK, uwRet); in CmsisThreadSetPriorityFunc001() 88 UINT32 uwRet; in CmsisThreadSetPriorityFunc002() local 90 uwRet = osThreadSetPriority(g_priTaskID01, g_setPriority); in CmsisThreadSetPriorityFunc002() 91 ICUNIT_ASSERT_EQUAL(uwRet, osErrorParameter, uwRet); in CmsisThreadSetPriorityFunc002() 130 UINT32 uwRet = osThreadGetPriority(NULL); variable 131 ICUNIT_ASSERT_EQUAL(uwRet, osPriorityErro 142 UINT32 uwRet; global() variable 336 UINT32 uwRet = osThreadSetPriority(NULL, osPriorityNormal); global() variable 348 UINT32 uwRet; global() variable 1056 UINT32 uwRet = osDelay(DELAY_TICKS_5); global() variable 1071 UINT32 uwRet; global() variable [all...] |
/kernel/liteos_m/testsuites/sample/posix/mutex/ |
H A D | It_posix_mutex.c | 35 UINT32 uwRet = 0; in PosixPthreadDestroy() local 37 uwRet = pthread_join(thread, NULL); in PosixPthreadDestroy() 38 ICUNIT_GOTO_EQUAL(uwRet, 0, uwRet, NOK); in PosixPthreadDestroy() 40 uwRet = pthread_attr_destroy(attr); in PosixPthreadDestroy() 41 ICUNIT_GOTO_EQUAL(uwRet, 0, uwRet, NOK); in PosixPthreadDestroy() 50 UINT32 uwRet = 0; in PosixPthreadInit() local 53 uwRet = pthread_attr_init(attr); in PosixPthreadInit() 54 ICUNIT_GOTO_EQUAL(uwRet, in PosixPthreadInit() [all...] |
/kernel/liteos_a/testsuites/unittest/common/ |
H A D | osTest.cpp | 291 UINT32 uwRet = 0; in PosixPthreadInit() local 294 uwRet = pthread_attr_init(attr); in PosixPthreadInit() 295 ICUNIT_GOTO_EQUAL(uwRet, 0, uwRet, NOK); in PosixPthreadInit() 297 uwRet = pthread_attr_setinheritsched(attr, PTHREAD_EXPLICIT_SCHED); in PosixPthreadInit() 298 ICUNIT_GOTO_EQUAL(uwRet, 0, uwRet, NOK); in PosixPthreadInit() 301 uwRet = pthread_attr_setschedparam(attr, &sp); in PosixPthreadInit() 302 ICUNIT_GOTO_EQUAL(uwRet, 0, uwRet, NO in PosixPthreadInit() 311 UINT32 uwRet = 0; PosixPthreadDestroy() local 380 int uwRet = 0; TestPartInit() local 409 int uwRet = 0; TestPartDelete() local [all...] |
/kernel/liteos_m/testsuites/include/ |
H A D | iCunit.h | 361 iUINT32 uwRet = 1; \
362 uwRet = ICunitAddCase(name, (CASE_FUNCTION)casefunc, testcase_layer, testcase_module, testcase_level, \
364 ICUNIT_ASSERT_EQUAL_VOID(uwRet, ICUNIT_SUCCESS, uwRet); \
|
/kernel/liteos_a/testsuites/kernel/include/ |
H A D | iCunit.h | 445 iUINT32 uwRet = 1; \ 446 uwRet = ICunitAddCase(name, (CASE_FUNCTION)casefunc, testcase_layer, testcase_module, testcase_level, \ 448 ICUNIT_ASSERT_EQUAL_VOID(uwRet, ICUNIT_SUCCESS, uwRet); \
|