Searched refs:buf1 (Results 1 – 3 of 3) sorted by relevance
/system/extras/simpleperf/ |
D | RecordReadThread_test.cpp | 446 std::vector<char> buf1; member 452 : buf1(buf1_size, c), buf2(buf2_size, c), pad(pad_size, 0), lost(lost) {} in FakeAuxData() 468 auto SetBuf1 = [&](char** buf1) { in TEST_F() argument 469 *buf1 = aux_data[test_index].buf1.data(); in TEST_F() 473 *size1 = aux_data[test_index].buf1.size(); in TEST_F() 485 return size == aux_data[test_index].buf1.size() + aux_data[test_index].buf2.size(); in TEST_F() 520 expected.buf1.size() + expected.buf2.size() + expected.pad.size()); in TEST_F() 523 if (!expected.buf1.empty()) { in TEST_F() 524 ASSERT_EQ(memcmp(p, expected.buf1.data(), expected.buf1.size()), 0); in TEST_F() 525 p += expected.buf1.size(); in TEST_F() [all …]
|
D | event_fd.h | 102 virtual uint64_t GetAvailableAuxData(char** buf1, size_t* size1, char** buf2, size_t* size2);
|
D | event_fd.cpp | 293 uint64_t EventFd::GetAvailableAuxData(char** buf1, size_t* size1, char** buf2, size_t* size2) { in GetAvailableAuxData() argument 305 *buf1 = aux_buffer_ + data_pos; in GetAvailableAuxData()
|