Searched refs:readbuffer (Results 1 – 6 of 6) sorted by relevance
/kernel/liteos_a/testsuites/unittest/extended/signal/full/ |
D | pipe_test_003.cpp | 46 char readbuffer[100]; in TestPipeSingleProcessFcntl() local 70 (void)memset_s(readbuffer, sizeof(readbuffer), 0, sizeof(readbuffer)); in TestPipeSingleProcessFcntl() 71 retValue = read(*readFd, readbuffer, sizeof(readbuffer)); in TestPipeSingleProcessFcntl() 72 printf("Receive %d bytes data : %s,%d\n", retValue, readbuffer, errno); in TestPipeSingleProcessFcntl() 73 …printf("Receive %d bytes data : %s,%d\n", retValue, readbuffer + 13, errno); // 13, readbuffer off… in TestPipeSingleProcessFcntl() 74 …printf("Receive %d bytes data : %s,%d\n", retValue, readbuffer + 26, errno); // 26, readbuffer off… in TestPipeSingleProcessFcntl() 75 ICUNIT_ASSERT_SIZE_STRING_EQUAL(readbuffer, "Hello World0", strlen(sentence1), errno); in TestPipeSingleProcessFcntl() 76 …ICUNIT_ASSERT_SIZE_STRING_EQUAL(readbuffer + 13, "Hello World1", strlen(sentence1), errno); // 13,… in TestPipeSingleProcessFcntl() 77 …ICUNIT_ASSERT_SIZE_STRING_EQUAL(readbuffer + 26, "Hello World2", strlen(sentence1), errno); // 26,… in TestPipeSingleProcessFcntl() 81 (void)memset_s(readbuffer, sizeof(readbuffer), 0, sizeof(readbuffer)); in TestPipeSingleProcessFcntl() [all …]
|
D | pipe_test_001.cpp | 46 char readbuffer[100]; // 100, array subscript in TestPipeSingleProcess() local 67 (void)memset_s(readbuffer, sizeof(readbuffer), 0, sizeof(readbuffer)); in TestPipeSingleProcess() 68 retValue = read(*readFd, readbuffer, sizeof(readbuffer)); in TestPipeSingleProcess() 69 printf("Receive %d bytes data : %s,%d\n", retValue, readbuffer, errno); in TestPipeSingleProcess() 70 if (strncmp((readbuffer), (readbuffer), (strlen(sentence1))) != 0) { in TestPipeSingleProcess()
|
D | pipe_test_005.cpp | 50 char readbuffer[100]; in PipecommonWrite() local
|
/kernel/liteos_a/testsuites/unittest/extended/signal/smoke/ |
D | It_ipc_pipe_004.cpp | 43 char readbuffer[100]; in TestCase() local 63 retValue = memset_s(readbuffer, sizeof(readbuffer), 0, sizeof(readbuffer)); in TestCase() 65 retValue = read(*readFd, readbuffer, sizeof(readbuffer)); in TestCase() 67 ret = strncmp((readbuffer), (sentence1), (strlen(sentence1))); in TestCase()
|
D | pipe_test_002.cpp | 46 char readbuffer[100] = {0}; in TestPipeMultiProcess() local 92 (void)memset_s(readbuffer, sizeof(readbuffer), 0, sizeof(readbuffer)); in TestPipeMultiProcess() 93 retValue = read(*readFd, readbuffer, strlen(sentence1) + 1); in TestPipeMultiProcess() 94 printf("Receive %d bytes data : %s, errno : %d\n", retValue, readbuffer, errno); in TestPipeMultiProcess() 95 ICUNIT_ASSERT_SIZE_STRING_EQUAL(readbuffer, sentence1, strlen(sentence1), errno); in TestPipeMultiProcess()
|
/kernel/linux/linux-5.10/drivers/s390/block/ |
D | dasd_eer.c | 544 static char readbuffer[PAGE_SIZE]; variable 651 tc = dasd_eer_read_buffer(eerb, readbuffer, effective_count); in dasd_eer_read() 656 if (copy_to_user(buf, readbuffer, effective_count)) { in dasd_eer_read()
|