Searched refs:bytes_left (Results 1 – 3 of 3) sorted by relevance
83 int* bytes_left) { in append_bytes_with_size() argument89 if (size < 0 || size > *bytes_left) { in append_bytes_with_size()95 *bytes_left -= size; in append_bytes_with_size()
1116 ssize_t bytes_left = sizeof(buf); in adb_root() local1117 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()
571 size_t bytes_left = incoming_header_->data_length - incoming_payload_.size(); in ProcessRead() local572 if (block->payload.size() > bytes_left) { in ProcessRead()