Home
last modified time | relevance | path

Searched refs:buf2 (Results 1 – 5 of 5) sorted by relevance

/system/extras/simpleperf/
DRecordReadThread_test.cpp447 std::vector<char> buf2; member
452 : buf1(buf1_size, c), buf2(buf2_size, c), pad(pad_size, 0), lost(lost) {} in FakeAuxData()
476 auto SetBuf2 = [&](char** buf2) { in TEST_F() argument
477 *buf2 = aux_data[test_index].buf2.data(); in TEST_F()
481 *size2 = aux_data[test_index].buf2.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()
527 if (!expected.buf2.empty()) { in TEST_F()
528 ASSERT_EQ(memcmp(p, expected.buf2.data(), expected.buf2.size()), 0); in TEST_F()
529 p += expected.buf2.size(); in TEST_F()
[all …]
Devent_fd.h102 virtual uint64_t GetAvailableAuxData(char** buf1, size_t* size1, char** buf2, size_t* size2);
Devent_fd.cpp293 uint64_t EventFd::GetAvailableAuxData(char** buf1, size_t* size1, char** buf2, size_t* size2) { in GetAvailableAuxData() argument
311 *buf2 = aux_buffer_; in GetAvailableAuxData()
/system/memory/libmeminfo/libdmabufinfo/
Ddmabufinfo_test.cpp440 unique_fd buf2{dup(buf)}; in TEST_F() local
445 close(buf2.release()); in TEST_F()
/system/core/fastboot/fuzzy_fastboot/
Dmain.cpp591 std::vector<char> buf2 = RandomBuf(1); in TEST_F() local