Searched refs:read_bytes (Results 1 – 1 of 1) sorted by relevance
/development/host/windows/usb/adb_winapi_test/ |
D | adb_winapi_test.cpp | 419 void HexDump(const void* data, const size_t read_bytes) { in HexDump() argument 422 for (size_t n = 0; n < read_bytes; n += line_length) { in HexDump() 424 const size_t max_line = min(line_length, read_bytes - n); in HexDump() 527 ULONG read_bytes = 0; in DeviceHandShake() local 528 bool read_res = AdbReadEndpointSync(adb_read, &msg_rcv, sizeof(msg_rcv), &read_bytes, 512); in DeviceHandShake() 536 printf("\n Read handshake: %u bytes received", read_bytes); in DeviceHandShake() 551 read_res = AdbReadEndpointSync(adb_read, buf, msg_rcv.data_length, &read_bytes, 512); in DeviceHandShake() 560 HexDump(buf, read_bytes); in DeviceHandShake() 762 ULONG read_bytes = 0; in TestCloseRaceCondition() local 765 &read_bytes, 0 /* infinite timeout */)) { in TestCloseRaceCondition()
|