/kernel/liteos_m/testsuites/sample/kernel/queue/ |
D | It_los_queue_108.c | 39 QUEUE_INFO_S queueInfo; in HwiF01() local 45 ret = LOS_QueueInfoGet(g_testQueueID01, &queueInfo); in HwiF01() 47 …ICUNIT_GOTO_EQUAL(queueInfo.queueLen, 3, queueInfo.queueLen, EXIT); // Compare wiht the expected v… in HwiF01() 48 ICUNIT_GOTO_EQUAL(queueInfo.queueID, g_testQueueID01, queueInfo.queueID, EXIT); in HwiF01() 61 QUEUE_INFO_S queueInfo; in Testcase() local 80 ret = LOS_QueueInfoGet(g_testQueueID01, &queueInfo); in Testcase() 82 …ICUNIT_GOTO_EQUAL(queueInfo.queueLen, 3, queueInfo.queueLen, EXIT); // Compare wiht the expected v… in Testcase() 83 ICUNIT_GOTO_EQUAL(queueInfo.queueID, g_testQueueID01, queueInfo.queueID, EXIT); in Testcase()
|
D | It_los_queue_110.c | 39 QUEUE_INFO_S queueInfo; in SwtmrF01() local 43 ret = LOS_QueueInfoGet(g_testQueueID01, &queueInfo); in SwtmrF01() 45 …ICUNIT_GOTO_EQUAL(queueInfo.queueLen, 3, queueInfo.queueLen, EXIT); // Compare wiht the expected v… in SwtmrF01() 46 ICUNIT_GOTO_EQUAL(queueInfo.queueID, g_testQueueID01, queueInfo.queueID, EXIT); in SwtmrF01() 60 QUEUE_INFO_S queueInfo; in Testcase() local 87 ret = LOS_QueueInfoGet(g_testQueueID01, &queueInfo); in Testcase() 89 …ICUNIT_GOTO_EQUAL(queueInfo.queueLen, 3, queueInfo.queueLen, EXIT); // Compare wiht the expected v… in Testcase() 90 ICUNIT_GOTO_EQUAL(queueInfo.queueID, g_testQueueID01, queueInfo.queueID, EXIT); in Testcase()
|
D | It_los_queue_109.c | 39 QUEUE_INFO_S queueInfo; in TaskF01() local 45 ret = LOS_QueueInfoGet(g_testQueueID01, &queueInfo); in TaskF01() 47 …ICUNIT_GOTO_EQUAL(queueInfo.queueLen, 3, queueInfo.queueLen, EXIT); // Compare wiht the expected v… in TaskF01() 48 ICUNIT_GOTO_EQUAL(queueInfo.queueID, g_testQueueID01, queueInfo.queueID, EXIT); in TaskF01() 64 QUEUE_INFO_S queueInfo; in Testcase() local 87 ret = LOS_QueueInfoGet(g_testQueueID01, &queueInfo); in Testcase() 89 …ICUNIT_GOTO_EQUAL(queueInfo.queueLen, 3, queueInfo.queueLen, EXIT); // Compare wiht the expected v… in Testcase() 90 ICUNIT_GOTO_EQUAL(queueInfo.queueID, g_testQueueID01, queueInfo.queueID, EXIT); in Testcase()
|
D | It_los_queue_088.c | 41 QUEUE_INFO_S queueInfo; in Testcase() local 46 ret = LOS_QueueInfoGet(g_testQueueID01, &queueInfo); in Testcase() 48 ICUNIT_GOTO_EQUAL(queueInfo.queueLen, len, queueInfo.queueLen, EXIT); in Testcase() 49 ICUNIT_GOTO_EQUAL(queueInfo.queueID, g_testQueueID01, queueInfo.queueID, EXIT); in Testcase() 71 ret = LOS_QueueInfoGet(g_testQueueID01, &queueInfo); in Testcase() 73 ICUNIT_GOTO_EQUAL(queueInfo.queueLen, len, queueInfo.queueLen, EXIT); in Testcase() 74 ICUNIT_GOTO_EQUAL(queueInfo.queueID, g_testQueueID01, queueInfo.queueID, EXIT); in Testcase()
|
D | It_los_queue_090.c | 44 QUEUE_INFO_S queueInfo; in Testcase() local 54 ret = LOS_QueueInfoGet(queueID[index], &queueInfo); in Testcase() 56 ICUNIT_GOTO_EQUAL(queueInfo.queueLen, len, queueInfo.queueLen, EXIT); in Testcase() 57 ICUNIT_GOTO_EQUAL(queueInfo.queueID, queueID[index], queueInfo.queueID, EXIT); in Testcase() 87 ret = LOS_QueueInfoGet(queueID[limit - 1], &queueInfo); in Testcase() 89 ICUNIT_GOTO_EQUAL(queueInfo.queueLen, len, queueInfo.queueLen, EXIT); in Testcase() 90 ICUNIT_GOTO_EQUAL(queueInfo.queueID, queueID[limit - 1], queueInfo.queueID, EXIT); in Testcase()
|
D | It_los_queue_097.c | 42 QUEUE_INFO_S queueInfo; in Testcase() local 50 ret = LOS_QueueInfoGet(swTmrID, &queueInfo); in Testcase() 52 …ICUNIT_GOTO_EQUAL(queueInfo.queueLen, 3, queueInfo.queueLen, EXIT); // Compare wiht the expected v… in Testcase() 53 ICUNIT_GOTO_EQUAL(queueInfo.queueID, swTmrID, queueInfo.queueID, EXIT); in Testcase() 58 ret = LOS_QueueInfoGet(swTmrID, &queueInfo); in Testcase()
|
D | It_los_queue_104.c | 42 QUEUE_INFO_S queueInfo; in Testcase() local 50 ret = LOS_QueueInfoGet(swTmrID, &queueInfo); in Testcase() 52 …ICUNIT_GOTO_EQUAL(queueInfo.queueLen, 3, queueInfo.queueLen, EXIT); // Compare wiht the expected v… in Testcase() 53 ICUNIT_GOTO_EQUAL(queueInfo.queueID, swTmrID, queueInfo.queueID, EXIT); in Testcase()
|
D | It_los_queue_087.c | 43 QUEUE_INFO_S queueInfo; in Testcase() local 56 ret = LOS_QueueInfoGet(g_testQueueID01, &queueInfo); in Testcase() 58 …ICUNIT_GOTO_EQUAL(queueInfo.queueLen, 3, queueInfo.queueLen, EXIT); // Compare wiht the expected v… in Testcase() 59 ICUNIT_GOTO_EQUAL(queueInfo.queueID, g_testQueueID01, queueInfo.queueID, EXIT); in Testcase()
|
D | It_los_queue_114.c | 42 QUEUE_INFO_S queueInfo; in Testcase() local 58 ret = LOS_QueueInfoGet(swTmrID, &queueInfo); in Testcase() 60 …ICUNIT_GOTO_EQUAL(queueInfo.queueLen, 3, queueInfo.queueLen, EXIT); // Compare wiht the expected v… in Testcase() 61 ICUNIT_GOTO_EQUAL(queueInfo.queueID, swTmrID, queueInfo.queueID, EXIT); in Testcase()
|
D | Llt_los_queue_001.c | 62 QUEUE_INFO_S queueInfo; in Testcase() local 81 ret = LOS_QueueInfoGet(g_testQueueID01, &queueInfo); in Testcase() 83 …O_EQUAL(queueInfo.waitReadTask[OS_WAIT_TASK_ID_TO_ARRAY_IDX(g_testTaskID01)], 1 << (g_testTaskID01… in Testcase() 88 ret = LOS_QueueInfoGet(g_testQueueID01, &queueInfo); in Testcase() 90 …O_EQUAL(queueInfo.waitWriteTask[OS_WAIT_TASK_ID_TO_ARRAY_IDX(g_testTaskID01)], 1 << (g_testTaskID0… in Testcase()
|
D | It_los_queue_096.c | 39 QUEUE_INFO_S queueInfo; in Testcase() local 42 ret = LOS_QueueInfoGet(swTmrID, &queueInfo); in Testcase() 46 ret = LOS_QueueInfoGet(swTmrID, &queueInfo); in Testcase() 50 ret = LOS_QueueInfoGet(swTmrID, &queueInfo); in Testcase()
|
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/ipc/queue/full/ |
D | It_los_queue_108.c | 43 QUEUE_INFO_S queueInfo; in HwiF01() local 49 ret = LOS_QueueInfoGet(g_testQueueID01, &queueInfo); in HwiF01() 51 …ICUNIT_GOTO_EQUAL(queueInfo.usQueueLen, 3, queueInfo.usQueueLen, EXIT); // 3, Here, assert that g_… in HwiF01() 52 ICUNIT_GOTO_EQUAL(queueInfo.uwQueueID, g_testQueueID01, queueInfo.uwQueueID, EXIT); in HwiF01() 66 QUEUE_INFO_S queueInfo; in Testcase() local 88 ret = LOS_QueueInfoGet(g_testQueueID01, &queueInfo); in Testcase() 90 …ICUNIT_GOTO_EQUAL(queueInfo.usQueueLen, 3, queueInfo.usQueueLen, EXIT); // 3, Here, assert that g_… in Testcase() 91 ICUNIT_GOTO_EQUAL(queueInfo.uwQueueID, g_testQueueID01, queueInfo.uwQueueID, EXIT); in Testcase()
|
D | It_los_queue_109.c | 42 QUEUE_INFO_S queueInfo; in TaskF01() local 46 ret = LOS_QueueInfoGet(g_testQueueID01, &queueInfo); in TaskF01() 48 …ICUNIT_GOTO_EQUAL(queueInfo.usQueueLen, 3, queueInfo.usQueueLen, EXIT); // 3, Here, assert that g_… in TaskF01() 49 ICUNIT_GOTO_EQUAL(queueInfo.uwQueueID, g_testQueueID01, queueInfo.uwQueueID, EXIT); in TaskF01() 66 QUEUE_INFO_S queueInfo; in Testcase() local 90 ret = LOS_QueueInfoGet(g_testQueueID01, &queueInfo); in Testcase() 92 …ICUNIT_GOTO_EQUAL(queueInfo.usQueueLen, 3, queueInfo.usQueueLen, EXIT); // 3, Here, assert that g_… in Testcase() 93 ICUNIT_GOTO_EQUAL(queueInfo.uwQueueID, g_testQueueID01, queueInfo.uwQueueID, EXIT); in Testcase()
|
D | It_los_queue_110.c | 43 QUEUE_INFO_S queueInfo; in SwtmrF01() local 47 ret = LOS_QueueInfoGet(g_testQueueID01, &queueInfo); in SwtmrF01() 49 …ICUNIT_GOTO_EQUAL(queueInfo.usQueueLen, 3, queueInfo.usQueueLen, EXIT); // 3, Here, assert that g_… in SwtmrF01() 50 ICUNIT_GOTO_EQUAL(queueInfo.uwQueueID, g_testQueueID01, queueInfo.uwQueueID, EXIT); in SwtmrF01() 65 QUEUE_INFO_S queueInfo; in Testcase() local 86 ret = LOS_QueueInfoGet(g_testQueueID01, &queueInfo); in Testcase() 88 …ICUNIT_GOTO_EQUAL(queueInfo.usQueueLen, 3, queueInfo.usQueueLen, EXIT); // 3, Here, assert that g_… in Testcase() 89 ICUNIT_GOTO_EQUAL(queueInfo.uwQueueID, g_testQueueID01, queueInfo.uwQueueID, EXIT); in Testcase()
|
D | It_los_queue_088.c | 47 QUEUE_INFO_S queueInfo; in Testcase() local 53 ret = LOS_QueueInfoGet(g_testQueueID01, &queueInfo); in Testcase() 55 ICUNIT_GOTO_EQUAL(queueInfo.usQueueLen, len, queueInfo.usQueueLen, EXIT); in Testcase() 56 ICUNIT_GOTO_EQUAL(queueInfo.uwQueueID, g_testQueueID01, queueInfo.uwQueueID, EXIT); in Testcase() 78 ret = LOS_QueueInfoGet(g_testQueueID01, &queueInfo); in Testcase() 80 ICUNIT_GOTO_EQUAL(queueInfo.usQueueLen, len, queueInfo.usQueueLen, EXIT); in Testcase() 81 ICUNIT_GOTO_EQUAL(queueInfo.uwQueueID, g_testQueueID01, queueInfo.uwQueueID, EXIT); in Testcase()
|
D | It_los_queue_089.c | 50 QUEUE_INFO_S queueInfo; in Testcase() local 55 ret = LOS_QueueInfoGet(g_testQueueID01, &queueInfo); in Testcase() 57 ICUNIT_GOTO_EQUAL(queueInfo.usQueueLen, len, queueInfo.usQueueLen, EXIT); in Testcase() 58 ICUNIT_GOTO_EQUAL(queueInfo.uwQueueID, g_testQueueID01, queueInfo.uwQueueID, EXIT); in Testcase() 83 ret = LOS_QueueInfoGet(g_testQueueID01, &queueInfo); in Testcase() 85 ICUNIT_GOTO_EQUAL(queueInfo.usQueueLen, len, queueInfo.usQueueLen, EXIT); in Testcase() 86 ICUNIT_GOTO_EQUAL(queueInfo.uwQueueID, g_testQueueID01, queueInfo.uwQueueID, EXIT); in Testcase()
|
D | It_los_queue_104.c | 46 QUEUE_INFO_S queueInfo; in Testcase() local 54 ret = LOS_QueueInfoGet(queueID, &queueInfo); in Testcase() 56 …ICUNIT_GOTO_EQUAL(queueInfo.usQueueLen, 3, queueInfo.usQueueLen, EXIT); // 3, Here, assert that g_… in Testcase() 57 ICUNIT_GOTO_EQUAL(queueInfo.uwQueueID, queueID, queueInfo.uwQueueID, EXIT); in Testcase()
|
D | It_los_queue_114.c | 47 QUEUE_INFO_S queueInfo; in Testcase() local 63 ret = LOS_QueueInfoGet(queueID, &queueInfo); in Testcase() 65 …ICUNIT_GOTO_EQUAL(queueInfo.usQueueLen, 3, queueInfo.usQueueLen, EXIT); // 3, Here, assert that g_… in Testcase() 66 ICUNIT_GOTO_EQUAL(queueInfo.uwQueueID, queueID, queueInfo.uwQueueID, EXIT); in Testcase()
|
D | It_los_queue_087.c | 51 QUEUE_INFO_S queueInfo; in Testcase() local 65 ret = LOS_QueueInfoGet(g_testQueueID01, &queueInfo); in Testcase() 67 …ICUNIT_GOTO_EQUAL(queueInfo.usQueueLen, 3, queueInfo.usQueueLen, EXIT); // 3, Here, assert that g_… in Testcase() 68 ICUNIT_GOTO_EQUAL(queueInfo.uwQueueID, g_testQueueID01, queueInfo.uwQueueID, EXIT); in Testcase()
|
D | It_los_queue_112.c | 73 QUEUE_INFO_S queueInfo; in Testcase() local 99 ret = LOS_QueueInfoGet(g_testQueueID01, &queueInfo); in Testcase() 101 …ICUNIT_GOTO_EQUAL(queueInfo.usQueueLen, 3, queueInfo.usQueueLen, EXIT); // 3, Here, assert that g_… in Testcase() 102 ICUNIT_GOTO_EQUAL(queueInfo.uwQueueID, g_testQueueID01, queueInfo.uwQueueID, EXIT); in Testcase()
|
D | It_los_queue_111.c | 70 QUEUE_INFO_S queueInfo; in Testcase() local 94 ret = LOS_QueueInfoGet(g_testQueueID01, &queueInfo); in Testcase() 96 …ICUNIT_GOTO_EQUAL(queueInfo.usQueueLen, 3, queueInfo.usQueueLen, EXIT); // 3, Here, assert that g_… in Testcase() 97 ICUNIT_GOTO_EQUAL(queueInfo.uwQueueID, g_testQueueID01, queueInfo.uwQueueID, EXIT); in Testcase()
|
D | It_los_queue_113.c | 69 QUEUE_INFO_S queueInfo; in Testcase() local 93 ret = LOS_QueueInfoGet(g_testQueueID01, &queueInfo); in Testcase() 95 …ICUNIT_GOTO_EQUAL(queueInfo.usQueueLen, 3, queueInfo.usQueueLen, EXIT); // 3, Here, assert that g_… in Testcase() 96 ICUNIT_GOTO_EQUAL(queueInfo.uwQueueID, g_testQueueID01, queueInfo.uwQueueID, EXIT); in Testcase()
|
D | It_los_queue_096.c | 46 QUEUE_INFO_S queueInfo; in Testcase() local 49 ret = LOS_QueueInfoGet(queueID, &queueInfo); in Testcase() 53 ret = LOS_QueueInfoGet(queueID, &queueInfo); in Testcase() 57 ret = LOS_QueueInfoGet(queueID, &queueInfo); in Testcase()
|
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/ipc/queue/smoke/ |
D | It_los_queue_097.c | 45 QUEUE_INFO_S queueInfo; in Testcase() local 53 ret = LOS_QueueInfoGet(queueID, &queueInfo); in Testcase() 55 …ICUNIT_GOTO_EQUAL(queueInfo.usQueueLen, 3, queueInfo.usQueueLen, EXIT); // 3, Here, assert the usQ… in Testcase() 56 ICUNIT_GOTO_EQUAL(queueInfo.uwQueueID, queueID, queueInfo.uwQueueID, EXIT); in Testcase() 61 ret = LOS_QueueInfoGet(queueID, &queueInfo); in Testcase()
|
/kernel/liteos_a/kernel/base/ipc/ |
D | los_queue.c | 469 LITE_OS_SEC_TEXT_MINOR UINT32 LOS_QueueInfoGet(UINT32 queueID, QUEUE_INFO_S *queueInfo) in LOS_QueueInfoGet() argument 476 if (queueInfo == NULL) { in LOS_QueueInfoGet() 484 (VOID)memset_s((VOID *)queueInfo, sizeof(QUEUE_INFO_S), 0, sizeof(QUEUE_INFO_S)); in LOS_QueueInfoGet() 493 queueInfo->uwQueueID = queueID; in LOS_QueueInfoGet() 494 queueInfo->usQueueLen = queueCB->queueLen; in LOS_QueueInfoGet() 495 queueInfo->usQueueSize = queueCB->queueSize; in LOS_QueueInfoGet() 496 queueInfo->usQueueHead = queueCB->queueHead; in LOS_QueueInfoGet() 497 queueInfo->usQueueTail = queueCB->queueTail; in LOS_QueueInfoGet() 498 queueInfo->usReadableCnt = queueCB->readWriteableCnt[OS_QUEUE_READ]; in LOS_QueueInfoGet() 499 queueInfo->usWritableCnt = queueCB->readWriteableCnt[OS_QUEUE_WRITE]; in LOS_QueueInfoGet() [all …]
|