Home
last modified time | relevance | path

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

/system/core/libutils/
DSharedBuffer_test.cpp74 android::SharedBuffer* buf2 = buf->editResize(SIZE_MAX / 2); in TEST() local
75 if (buf2 == nullptr) { in TEST()
78 EXPECT_NE(nullptr, buf2->data()); in TEST()
79 buf2->release(); in TEST()
/system/extras/simpleperf/
DRecordReadThread_test.cpp451 std::vector<char> buf2; member
456 : buf1(buf1_size, c), buf2(buf2_size, c), pad(pad_size, 0), lost(lost) {} in FakeAuxData()
480 auto SetBuf2 = [&](char** buf2) { in TEST_F() argument
481 *buf2 = aux_data[test_index].buf2.data(); in TEST_F()
485 *size2 = aux_data[test_index].buf2.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()
531 if (!expected.buf2.empty()) { in TEST_F()
532 ASSERT_EQ(memcmp(p, expected.buf2.data(), expected.buf2.size()), 0); in TEST_F()
533 p += expected.buf2.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
303 *buf2 = aux_buffer_; in GetAvailableAuxData()
/system/memory/libmeminfo/libdmabufinfo/
Ddmabufinfo_test.cpp692 unique_fd buf2{dup(buf)}; in TEST_F() local
697 close(buf2.release()); in TEST_F()
/system/core/fastboot/fuzzy_fastboot/
Dmain.cpp606 std::vector<char> buf2 = RandomBuf(1); in TEST_F() local