Home
last modified time | relevance | path

Searched refs:buf1 (Results 1 – 3 of 3) sorted by relevance

/system/extras/simpleperf/
DRecordReadThread_test.cpp450 std::vector<char> buf1; member
456 : buf1(buf1_size, c), buf2(buf2_size, c), pad(pad_size, 0), lost(lost) {} in FakeAuxData()
472 auto SetBuf1 = [&](char** buf1) { in TEST_F() argument
473 *buf1 = aux_data[test_index].buf1.data(); in TEST_F()
477 *size1 = aux_data[test_index].buf1.size(); in TEST_F()
489 return size == aux_data[test_index].buf1.size() + aux_data[test_index].buf2.size(); in TEST_F()
524 expected.buf1.size() + expected.buf2.size() + expected.pad.size()); in TEST_F()
527 if (!expected.buf1.empty()) { in TEST_F()
528 ASSERT_EQ(memcmp(p, expected.buf1.data(), expected.buf1.size()), 0); in TEST_F()
529 p += expected.buf1.size(); in TEST_F()
[all …]
Devent_fd.h104 virtual uint64_t GetAvailableAuxData(char** buf1, size_t* size1, char** buf2, size_t* size2);
Devent_fd.cpp285 uint64_t EventFd::GetAvailableAuxData(char** buf1, size_t* size1, char** buf2, size_t* size2) { in GetAvailableAuxData() argument
297 *buf1 = aux_buffer_ + data_pos; in GetAvailableAuxData()