• Home
  • Raw
  • Download

Lines Matching refs:readData

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
412 ASSERT_FALSE(mQueue->read(readData, dataLen)); in TEST_F()
447 std::vector<uint8_t> readData(mNumMessagesMax); in TEST_F() local
448 ASSERT_TRUE(mQueue->read(&readData[0], mNumMessagesMax)); in TEST_F()
449 ASSERT_EQ(data, readData); in TEST_F()
483 std::vector<uint8_t> readData(mNumMessagesMax); in TEST_F() local
484 ASSERT_TRUE(mQueue->read(&readData[0], mNumMessagesMax)); in TEST_F()
485 ASSERT_EQ(data, readData); in TEST_F()
501 std::vector<uint8_t> readData(mNumMessagesMax); in TEST_F() local
502 ASSERT_FALSE(mQueue->read(&readData[0], mNumMessagesMax)); in TEST_F()
503 ASSERT_NE(data, readData); in TEST_F()
517 std::vector<uint8_t> readData(mNumMessagesMax); in TEST_F() local
518 ASSERT_TRUE(mQueue->read(&readData[0], mNumMessagesMax)); in TEST_F()
519 ASSERT_EQ(data, readData); in TEST_F()
554 uint8_t readData[dataLen] = {}; in TEST_F() local
556 ASSERT_TRUE(mQueue->read(readData + i * chunkSize, chunkSize)); in TEST_F()
558 ASSERT_EQ(0, memcmp(readData, data, dataLen)); in TEST_F()
575 uint8_t readData[dataLen] = {}; in TEST_F() local
576 ASSERT_TRUE(mQueue->read(readData, dataLen)); in TEST_F()
577 ASSERT_EQ(0, memcmp(readData, data, dataLen)); in TEST_F()
589 std::vector<uint8_t> readData(mNumMessagesMax); in TEST_F() local
592 ASSERT_TRUE(mQueue->read(&readData[0], numMessages)); in TEST_F()
594 ASSERT_TRUE(mQueue->read(&readData[0], mNumMessagesMax)); in TEST_F()
595 ASSERT_EQ(data, readData); in TEST_F()
609 std::vector<uint8_t> readData(mNumMessagesMax); in TEST_F() local
612 ASSERT_TRUE(mQueue->read(&readData[0], dataLen)); in TEST_F()
636 ASSERT_TRUE(tx.copyFrom(&readData[0], 0 /* startIdx */, mNumMessagesMax)); in TEST_F()
639 ASSERT_EQ(data, readData); in TEST_F()
652 uint8_t readData[dataLen] = {}; in TEST_F() local
653 ASSERT_TRUE(mQueue->read(readData, dataLen)); in TEST_F()
654 ASSERT_EQ(0, memcmp(data, readData, dataLen)); in TEST_F()
664 uint8_t readData[dataLen]; in TEST_F() local
665 ASSERT_FALSE(mQueue->read(readData, dataLen)); in TEST_F()
681 std::vector<uint8_t> readData(mNumMessagesMax); in TEST_F() local
682 ASSERT_FALSE(mQueue->read(&readData[0], mNumMessagesMax)); in TEST_F()
704 std::vector<uint8_t> readData(mNumMessagesMax); in TEST_F() local
705 ASSERT_FALSE(mQueue->read(&readData[0], mNumMessagesMax)); in TEST_F()
717 std::vector<uint8_t> readData(mNumMessagesMax); in TEST_F() local
718 ASSERT_TRUE(mQueue->read(&readData[0], mNumMessagesMax)); in TEST_F()
719 ASSERT_EQ(data, readData); in TEST_F()
734 std::vector<uint8_t> readData(mNumMessagesMax); in TEST_F() local
735 ASSERT_FALSE(mQueue->read(&readData[0], mNumMessagesMax)); in TEST_F()
736 ASSERT_NE(data, readData); in TEST_F()
750 std::vector<uint8_t> readData(mNumMessagesMax); in TEST_F() local
751 ASSERT_FALSE(mQueue->read(&readData[0], mNumMessagesMax)); in TEST_F()
765 uint8_t readData[dataLen] = {}; in TEST_F() local
767 ASSERT_TRUE(mQueue->read(readData + i * chunkSize, chunkSize)); in TEST_F()
769 ASSERT_EQ(0, memcmp(readData, data, dataLen)); in TEST_F()
787 uint8_t readData[dataLen] = {}; in TEST_F() local
788 ASSERT_TRUE(mQueue->read(readData, dataLen)); in TEST_F()
789 ASSERT_EQ(0, memcmp(readData, data, dataLen)); in TEST_F()
801 std::vector<uint8_t> readData(mNumMessagesMax); in TEST_F() local
805 ASSERT_TRUE(mQueue->read(&readData[0], numMessages)); in TEST_F()
807 ASSERT_TRUE(mQueue->read(&readData[0], mNumMessagesMax)); in TEST_F()
808 ASSERT_EQ(data, readData); in TEST_F()