Searched refs:readData (Results 1 – 3 of 3) sorted by relevance
/system/libfmq/tests/ |
D | mq_test.cpp | 327 uint8_t readData[dataLen] = {}; in TEST_F() local 328 ASSERT_TRUE(mQueue->read(readData, dataLen)); in TEST_F() 329 ASSERT_EQ(0, memcmp(data, readData, dataLen)); in TEST_F() 350 uint8_t readData[dataLen] = {}; in TEST_F() local 354 ASSERT_TRUE(tx.copyFrom(readData, 0 /* startIdx */, dataLen)); in TEST_F() 358 ASSERT_EQ(0, memcmp(data, readData, dataLen)); in TEST_F() 385 uint8_t readData[dataLen] = {}; in TEST_F() local 396 readData[i] = *ptr; in TEST_F() 401 ASSERT_EQ(0, memcmp(data, readData, dataLen)); in TEST_F() 411 uint8_t readData[dataLen]; in TEST_F() local [all …]
|
D | msgq_test_client.cpp | 169 std::vector<uint16_t> readData(numMessagesMax); in TEST_F() local 170 ASSERT_FALSE(queue->read(&readData[0], numMessagesMax)); in TEST_F() 182 ASSERT_TRUE(queue->read(&readData[0], dataLen)); in TEST_F() 183 ASSERT_TRUE(verifyData(&readData[0], dataLen)); in TEST_F() 207 std::vector<uint16_t> readData(dataLen); in TEST_F() local 208 ASSERT_FALSE(queue->read(&readData[0], dataLen)); in TEST_F() 219 ASSERT_TRUE(queue->read(&readData[0], dataLen)); in TEST_F() 220 ASSERT_TRUE(verifyData(&readData[0], dataLen)); in TEST_F() 421 uint16_t readData[dataLen] = {}; in TEST_F() local 422 ASSERT_TRUE(mQueue->read(readData, dataLen)); in TEST_F() [all …]
|
/system/netd/client/ |
D | NetdClient.cpp | 256 int readData(int fd, void* buf, size_t size) { in readData() function 489 int rc = readData(fd, answer, size); in resNetworkResult()
|