Home | History | Annotate | Download | only in adb_winapi_test

Lines Matching refs:read_bytes

419 void HexDump(const void* data, const size_t read_bytes) {

422 for (size_t n = 0; n < read_bytes; n += line_length) {
424 const size_t max_line = min(line_length, read_bytes - n);
527 ULONG read_bytes = 0;
528 bool read_res = AdbReadEndpointSync(adb_read, &msg_rcv, sizeof(msg_rcv), &read_bytes, 512);
536 printf("\n Read handshake: %u bytes received", read_bytes);
551 read_res = AdbReadEndpointSync(adb_read, buf, msg_rcv.data_length, &read_bytes, 512);
560 HexDump(buf, read_bytes);
762 ULONG read_bytes = 0;
765 &read_bytes, 0 /* infinite timeout */)) {