/test/xts/acts/kernel_lite/ipc_posix/pipe_fifo/ |
D | FifoTest.cpp | 110 int memRet = -1; variable 112 memRet = memset_s(testBuffer, sizeof(testBuffer), '1', sizeof(testBuffer)); 113 EXPECT_EQ(0, memRet); 122 memRet = memset_s(readBuffer, sizeof(readBuffer), 0, sizeof(readBuffer)); 123 EXPECT_EQ(0, memRet); 147 memRet = memset_s(writeBuffer, sizeof(writeBuffer), '1', sizeof(writeBuffer)); 148 EXPECT_EQ(0, memRet); 175 int memRet = -1; variable 176 memRet = memset_s(testBuffer, sizeof(testBuffer), '1', sizeof(testBuffer)); 177 EXPECT_EQ(0, memRet); [all …]
|
D | PipeTest.cpp | 124 int memRet = -1; variable 126 memRet = memset_s(testBuffer, sizeof(testBuffer), '1', sizeof(testBuffer)); 127 EXPECT_EQ(0, memRet); 137 memRet = memset_s(readBuffer, sizeof(readBuffer), 0, sizeof(readBuffer)); 138 EXPECT_EQ(0, memRet); 161 memRet = memset_s(writeBuffer, sizeof(writeBuffer), '1', sizeof(writeBuffer)); 162 EXPECT_EQ(0, memRet); 188 int memRet = -1; variable 189 memRet = memset_s(testBuffer, sizeof(testBuffer), '1', sizeof(testBuffer)); 190 EXPECT_EQ(0, memRet); [all …]
|
/test/xts/acts/kernel_lite/net_posix/src/ |
D | ActsNetTest.cpp | 111 int memRet = -1; in CommTcpClientTask() local 142 memRet = memset_s(dataBuf, sizeof(dataBuf), 0, sizeof(dataBuf)); in CommTcpClientTask() 143 EXPECT_EQ(0, memRet); in CommTcpClientTask() 154 memRet = memset_s(dataBuf, sizeof(dataBuf), 0, sizeof(dataBuf)); in CommTcpClientTask() 155 EXPECT_EQ(0, memRet); in CommTcpClientTask() 179 int memRet = -1; in SampleTcpServerTask() local 207 memRet = memset_s(buf, BUF_SIZE, 0, BUF_SIZE); in SampleTcpServerTask() 208 EXPECT_EQ(0, memRet); in SampleTcpServerTask() 215 memRet =memset_s(buf, BUF_SIZE, 0, BUF_SIZE); in SampleTcpServerTask() 216 EXPECT_EQ(0, memRet); in SampleTcpServerTask() [all …]
|
/test/xts/acts/kernel_lite/ipc_posix/message_queue/ |
D | IpcMqTest.cpp | 111 int memRet = -1; variable 120 memRet = memset_s(&getAttr, sizeof(getAttr), 0, sizeof(getAttr)); 121 EXPECT_EQ(0, memRet); 122 memRet = memset_s(&setAttr, sizeof(setAttr), 0, sizeof(setAttr)); 123 EXPECT_EQ(0, memRet); 670 int memRet = -1; variable 674 memRet = memset_s(&setAttr, sizeof(setAttr), 0, sizeof(setAttr)); 675 EXPECT_EQ(0, memRet); 682 memRet = memset_s(&getAttr, sizeof(getAttr), 0, sizeof(getAttr)); 683 EXPECT_EQ(0, memRet);
|
D | IpcMqExceptionTest.cpp | 814 int memRet = -1; variable 816 memRet = memset_s(&mqstat, sizeof(mqstat), 0, sizeof(mqstat)); 817 EXPECT_EQ(0, memRet); 844 int memRet = -1; variable 850 memRet = memset_s(&gMqstat, sizeof(gMqstat), 0, sizeof(gMqstat)); 851 EXPECT_EQ(0, memRet); 852 memRet = memset_s(&sMqstat, sizeof(sMqstat), 0, sizeof(sMqstat)); 853 EXPECT_EQ(0, memRet);
|
/test/xts/acts/kernel_lite/io_posix/src/ |
D | IoTestOther.cpp | 216 int memRet = -1; variable 217 memRet = memset_s(&tm, sizeof(struct tm), 0, sizeof(struct tm)); 218 EXPECT_EQ(0, memRet);
|
D | IoTestWchar.cpp | 334 int memRet = -1; variable 338 memRet = memset_s(&psF, sizeof(psF), 0, sizeof(psF)); 339 EXPECT_EQ(0, memRet);
|