Home
last modified time | relevance | path

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

/system/dev/usb/usb-peripheral-test/
A Dtest.cpp24 constexpr size_t BUFFER_SIZE = 4096; variable
27 uint8_t send_buf[BUFFER_SIZE] = {};
29 int receive_buf[BUFFER_SIZE] = {};
130 send_req->buffer_length = static_cast<int>(BUFFER_SIZE); in bulk_test()
135 receive_req->buffer_length = static_cast<int>(BUFFER_SIZE); in bulk_test()
160 EXPECT_EQ(memcmp(send_buf, receive_buf, BUFFER_SIZE), 0); in bulk_test()
/system/host/xdc-server/
A Dusb-handler.h25 static constexpr const size_t BUFFER_SIZE = 16 * 1024;
28 static constexpr const size_t MAX_WRITE_DATA_SIZE = BUFFER_SIZE - HEADER_SIZE;
/system/uapp/xdc-test/
A Dxdc-test.cpp23 static constexpr uint32_t BUFFER_SIZE = 8 * 1024; variable
87 fbl::unique_ptr<unsigned char*[]> buf(new unsigned char*[BUFFER_SIZE]); in transfer()
91 ((res = read(src_fd.get(), buf.get(), BUFFER_SIZE)) != 0)) { in transfer()

Completed in 5 milliseconds