Home
last modified time | relevance | path

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

/packages/modules/adb/client/
Dincremental_utils.cpp83 int* bytes_left) { in append_bytes_with_size() argument
89 if (size < 0 || size > *bytes_left) { in append_bytes_with_size()
95 *bytes_left -= size; in append_bytes_with_size()
Dcommandline.cpp1116 ssize_t bytes_left = sizeof(buf); in adb_root() local
1117 while (bytes_left > 0) { in adb_root()
1118 ssize_t bytes_read = adb_read(fd, cur, bytes_left); in adb_root()
1126 bytes_left -= bytes_read; in adb_root()
1129 if (bytes_left == 0) { in adb_root()
1134 fwrite(buf, 1, sizeof(buf) - bytes_left, stdout); in adb_root()
/packages/modules/adb/daemon/
Dusb.cpp571 size_t bytes_left = incoming_header_->data_length - incoming_payload_.size(); in ProcessRead() local
572 if (block->payload.size() > bytes_left) { in ProcessRead()