/kernel/liteos_a/testsuites/unittest/libc/posix/mqueue/full/ |
D | It_posix_queue_175.cpp | 38 const CHAR *msgptr = MQUEUE_SEND_STRING_TEST; in Testcase() local 55 …ret = mq_timedsend(mqueue, msgptr, strlen(msgptr), MQUEUE_PRIORITY_TEST + 6, &ts); // 6, Mqueue pr… in Testcase() 60 …ret = mq_timedsend(mqueue, msgptr, strlen(msgptr), MQUEUE_PRIORITY_TEST + 10, &ts); // 10, Mqueue … in Testcase() 65 …ret = mq_timedsend(mqueue, msgptr, strlen(msgptr), MQUEUE_PRIORITY_TEST + 2, &ts); // 2, Mqueue pr… in Testcase() 70 …ret = mq_timedsend(mqueue, msgptr, strlen(msgptr), MQUEUE_PRIORITY_TEST + 8, &ts); // 8, Mqueue pr… in Testcase() 75 ret = mq_timedsend(mqueue, msgptr, strlen(msgptr), MQUEUE_PRIORITY_TEST + 1, &ts); in Testcase()
|
D | It_posix_queue_168.cpp | 40 const CHAR *msgptr = MQUEUE_SEND_STRING_TEST; in Testcase() local 54 ret = mq_send(mqueue, msgptr, strlen(msgptr), MQUEUE_PRIORITY_TEST + 6); // 6, Mqueue priority. in Testcase() 58 … ret = mq_send(mqueue, msgptr, strlen(msgptr), MQUEUE_PRIORITY_TEST + 10); // 10, Mqueue priority. in Testcase() 62 ret = mq_send(mqueue, msgptr, strlen(msgptr), MQUEUE_PRIORITY_TEST + 2); // 2, Mqueue priority. in Testcase() 66 ret = mq_send(mqueue, msgptr, strlen(msgptr), MQUEUE_PRIORITY_TEST + 8); // 8, Mqueue priority. in Testcase() 70 ret = mq_send(mqueue, msgptr, strlen(msgptr), MQUEUE_PRIORITY_TEST + 1); in Testcase()
|
D | It_posix_queue_169.cpp | 39 const CHAR *msgptr = MQUEUE_SEND_STRING_TEST; in Testcase() local 53 ret = mq_send(mqueue, msgptr, strlen(msgptr), MQUEUE_PRIORITY_TEST + 1); in Testcase() 57 ret = mq_send(mqueue, msgptr, strlen(msgptr), MQUEUE_PRIORITY_TEST + 1); in Testcase() 61 ret = mq_send(mqueue, msgptr, strlen(msgptr), MQUEUE_PRIORITY_TEST + 2); // 2, Mqueue priority. in Testcase() 71 ret = strncmp(msgptr, msgrcd, strlen(msgptr)); in Testcase()
|
D | It_posix_queue_043.cpp | 38 const CHAR *msgptr = MQUEUE_SEND_STRING_TEST; in Testcase() local 51 ret = mq_send(mqueue, msgptr, strlen(msgptr), MQ_PRIO_MAX - 1); in Testcase() 55 ICUNIT_GOTO_EQUAL(ret, strlen(msgptr), ret, EXIT1); in Testcase() 56 ICUNIT_GOTO_STRING_EQUAL(msgrcd, msgptr, msgrcd, EXIT1); in Testcase() 58 ret = strncmp(msgptr, msgrcd, strlen(msgptr)); in Testcase()
|
D | It_posix_queue_083.cpp | 36 CHAR msgptr[MQUEUE_STANDARD_NAME_LENGTH]; in Testcase() local 53 …ret = snprintf_s(msgptr, MQUEUE_STANDARD_NAME_LENGTH, MQUEUE_STANDARD_NAME_LENGTH - 1, "message %d… in Testcase() 55 ret = mq_timedsend(queue, msgptr, strlen(msgptr), 0, &ts); in Testcase() 59 …ret = snprintf_s(msgptr, MQUEUE_STANDARD_NAME_LENGTH, MQUEUE_STANDARD_NAME_LENGTH - 1, "message %d… in Testcase() 61 ret = mq_timedsend(queue, msgptr, strlen(msgptr), 0, &ts); in Testcase()
|
D | It_posix_queue_176.cpp | 39 const CHAR *msgptr = MQUEUE_SEND_STRING_TEST; in Testcase() local 55 ret = mq_timedsend(mqueue, msgptr, strlen(msgptr), MQUEUE_PRIORITY_TEST + 1, &ts); in Testcase() 60 ret = mq_timedsend(mqueue, msgptr, strlen(msgptr), MQUEUE_PRIORITY_TEST + 1, &ts); in Testcase() 65 …ret = mq_timedsend(mqueue, msgptr, strlen(msgptr), MQUEUE_PRIORITY_TEST + 2, &ts); // 2, Mqueue pr… in Testcase()
|
D | It_posix_queue_042.cpp | 39 CHAR msgptr[MQUEUE_STANDARD_NAME_LENGTH] = {0}; in Testcase() local 54 …ret = snprintf_s(msgptr, MQUEUE_STANDARD_NAME_LENGTH, MQUEUE_STANDARD_NAME_LENGTH - 1, "message %d… in Testcase() 56 ret = mq_send(mqueue, msgptr, strlen(msgptr), 0); in Testcase() 66 …ret = snprintf_s(msgptr, MQUEUE_STANDARD_NAME_LENGTH, MQUEUE_STANDARD_NAME_LENGTH - 1, "message %d… in Testcase() 69 ICUNIT_GOTO_EQUAL(ret, strlen(msgptr), ret, EXIT1); in Testcase() 71 ret = strcmp(msgptr, msgrcd); in Testcase()
|
D | It_posix_queue_011.cpp | 39 const CHAR *msgptr = MQUEUE_SEND_STRING_TEST; in Testcase() local 52 ret = mq_send(rdwrqueue, msgptr, strlen(msgptr), 0); in Testcase() 56 ICUNIT_GOTO_EQUAL(ret, strlen(msgptr), ret, EXIT); in Testcase() 61 ret = mq_send(rdwrqueue2, msgptr, strlen(msgptr), 0); in Testcase() 65 ICUNIT_GOTO_EQUAL(ret, strlen(msgptr), ret, EXIT1); in Testcase()
|
D | It_posix_queue_165.cpp | 37 const CHAR *msgptr = MQUEUE_SEND_STRING_TEST; in Testcase() local 52 ret = mq_send(mqueue, msgptr, strlen(msgptr), 0); in Testcase() 56 ret = mq_send(mqueue, msgptr, strlen(msgptr), 0); in Testcase()
|
D | It_posix_queue_147.cpp | 38 const CHAR *msgptr = "A"; in Testcase() local 52 ret = mq_send(mqueue, msgptr, strlen(msgptr), 0); in Testcase() 56 ICUNIT_GOTO_EQUAL(ret, strlen(msgptr), ret, EXIT1); in Testcase() 57 ICUNIT_GOTO_STRING_EQUAL(msgrcd, msgptr, msgrcd, EXIT1); in Testcase()
|
D | It_posix_queue_081.cpp | 36 const CHAR *msgptr = MQUEUE_SEND_STRING_TEST; in Testcase() local 54 ret = mq_timedsend(queue, msgptr, strlen(msgptr), 0, &ts); in Testcase() 60 ret = strncmp(msgptr, msgrcd, strlen(msgptr)); in Testcase()
|
D | It_posix_queue_013.cpp | 37 const CHAR *msgptr = MQUEUE_SEND_STRING_TEST; in Testcase() local 47 ret = mq_send(mqueue1, msgptr, strlen(msgptr), 0); in Testcase() 53 ret = mq_send(mqueue2, msgptr, strlen(msgptr), 0); in Testcase()
|
D | It_posix_queue_033.cpp | 38 const CHAR *msgptr = MQUEUE_SEND_STRING_TEST; in Testcase() local 51 ret = mq_send(mqueue, msgptr, strlen(msgptr), 0); in Testcase() 57 ret = strncmp(msgptr, msgrcd, strlen(msgptr)); in Testcase()
|
D | It_posix_queue_031.cpp | 38 const CHAR *msgptr = MQUEUE_SEND_STRING_TEST; in Testcase() local 54 ret = mq_timedsend(mqueue, msgptr, strlen(msgptr), 0, &ts); in Testcase() 60 ret = strncmp(msgptr, msgrcd, strlen(msgptr)); in Testcase()
|
D | It_posix_queue_201.cpp | 38 const CHAR *msgptr = MQUEUE_SEND_STRING_TEST; in Testcase() local 54 ret = mq_timedsend(mqueue, msgptr, strlen(msgptr), 0, &ts); in Testcase() 64 ret = mq_timedsend(mqueue, msgptr, strlen(msgptr), 0, &ts); in Testcase()
|
D | It_posix_queue_093.cpp | 36 CHAR *msgptr = MQUEUE_SEND_STRING_TEST; in Testcase() local 56 ret = mq_timedsend(g_gqueue, msgptr, strlen(msgptr), 0, &ts); in Testcase() 60 ret = mq_timedsend(g_gqueue, msgptr, strlen(msgptr), 0, &ts); in Testcase()
|
/kernel/liteos_a/testsuites/unittest/container/smoke/ |
D | It_ipc_container_003.cpp | 41 const char msgptr[] = "childMsg"; in childFunc() local 51 ret = mq_send(mqueue, msgptr, strlen(msgptr), 0); in childFunc() 56 if (ret != strlen(msgptr)) { in childFunc() 59 if (strncmp(msgrcd, msgptr, strlen(msgptr)) != 0) { in childFunc() 91 const char msgptr[] = "parentMsg"; in IpcContainerUnshare() local 130 ret = mq_send(mqueue, msgptr, strlen(msgptr), 0); in IpcContainerUnshare() 149 ASSERT_EQ(ret, strlen(msgptr)); in IpcContainerUnshare() 150 ASSERT_STREQ(msgrcd, msgptr); in IpcContainerUnshare()
|
D | It_ipc_container_001.cpp | 42 const char msgptr[] = "childMsgs"; in childFunc() local 50 ret = mq_send(mqueueChild, msgptr, strlen(msgptr), 0); in childFunc() 58 if (strncmp(msgrcd, msgptr, strlen(msgptr)) != 0) { in childFunc() 90 const char msgptr[] = "parentMsg"; in ItIpcContainer001() local 111 ret = mq_send(mqueueParent, msgptr, strlen(msgptr), 0); in ItIpcContainer001() 128 ASSERT_STREQ(msgrcd, msgptr); in ItIpcContainer001()
|
D | It_ipc_container_002.cpp | 41 const char msgptr[] = "childMsgs"; in childFunc() local 51 ret = mq_send(mqueue, msgptr, strlen(msgptr), 0); in childFunc() 56 if (ret != strlen(msgptr)) { in childFunc() 59 if (strncmp(msgrcd, msgptr, strlen(msgptr)) != 0) { in childFunc() 94 const char msgptr[] = "parentMsg"; in ItIpcContainer002() local 118 ret = mq_send(mqueue, msgptr, strlen(msgptr), 0); in ItIpcContainer002()
|
/kernel/liteos_m/testsuites/sample/posix/mqueue/ |
D | It_posix_queue_028.c | 37 const CHAR *msgptr = MQUEUE_SEND_STRING_TEST; in Testcase() local 50 ret = mq_send(mqueue, msgptr, strlen(msgptr), MQ_PRIO_MAX - 1); in Testcase() 54 ICUNIT_GOTO_EQUAL(ret, strlen(msgptr), ret, EXIT1); in Testcase() 55 ICUNIT_GOTO_STRING_EQUAL(msgrcd, msgptr, msgrcd, EXIT1); in Testcase() 57 ret = strncmp(msgptr, msgrcd, strlen(msgptr)); in Testcase()
|
D | It_posix_queue_027.c | 37 CHAR msgptr[MQUEUE_STANDARD_NAME_LENGTH] = {0}; in Testcase() local 52 …ret = snprintf_s(msgptr, MQUEUE_STANDARD_NAME_LENGTH, MQUEUE_STANDARD_NAME_LENGTH - 1, "message %d… in Testcase() 54 ret = mq_send(mqueue, msgptr, strlen(msgptr), 0); in Testcase() 64 …ret = snprintf_s(msgptr, MQUEUE_STANDARD_NAME_LENGTH, MQUEUE_STANDARD_NAME_LENGTH - 1, "message %d… in Testcase() 67 ICUNIT_GOTO_EQUAL(ret, strlen(msgptr), ret, EXIT1); in Testcase() 69 ret = strcmp(msgptr, msgrcd); in Testcase()
|
D | It_posix_queue_006.c | 38 const CHAR *msgptr = MQUEUE_SEND_STRING_TEST; in Testcase() local 52 ret = mq_send(rdwrqueue, msgptr, strlen(msgptr), 0); in Testcase() 56 ICUNIT_GOTO_EQUAL(ret, strlen(msgptr), ret, EXIT); in Testcase() 61 ret = mq_send(rdwrqueue2, msgptr, strlen(msgptr), 0); in Testcase() 65 ICUNIT_GOTO_EQUAL(ret, strlen(msgptr), ret, EXIT1); in Testcase()
|
D | It_posix_queue_022.c | 37 const CHAR *msgptr = MQUEUE_SEND_STRING_TEST; in Testcase() local 50 ret = mq_send(mqueue, msgptr, strlen(msgptr), 0); in Testcase() 56 ret = strncmp(msgptr, msgrcd, strlen(msgptr)); in Testcase()
|
D | It_posix_queue_007.c | 36 const CHAR *msgptr = MQUEUE_SEND_STRING_TEST; in Testcase() local 47 ret = mq_send(mqueue1, msgptr, strlen(msgptr), 0); in Testcase() 53 ret = mq_send(mqueue2, msgptr, strlen(msgptr), 0); in Testcase()
|
D | It_posix_queue_020.c | 37 const CHAR *msgptr = MQUEUE_SEND_STRING_TEST; in Testcase() local 53 ret = mq_timedsend(mqueue, msgptr, strlen(msgptr), 0, &ts); in Testcase() 59 ret = strncmp(msgptr, msgrcd, strlen(msgptr)); in Testcase()
|