Searched refs:bytes_left (Results 1 – 5 of 5) sorted by relevance
59 Uuid* p_uuid_list, uint16_t& bytes_left) { in sdpu_build_uuid_seq() argument63 if (bytes_left < 2) { in sdpu_build_uuid_seq()76 bytes_left -= 2; in sdpu_build_uuid_seq()82 if (len + 1 > bytes_left) { in sdpu_build_uuid_seq()86 bytes_left -= (len + 1); in sdpu_build_uuid_seq()125 uint16_t bytes_left = SDP_DATA_BUF_SIZE; in sdp_snd_service_search_req() local147 if (base_bytes > bytes_left) { in sdp_snd_service_search_req()153 bytes_left -= base_bytes; in sdp_snd_service_search_req()157 p_ccb->p_db->uuid_filters, bytes_left); in sdp_snd_service_search_req()631 uint16_t bytes_left = SDP_DATA_BUF_SIZE; in process_service_search_attr_rsp() local[all …]
84 int* bytes_left) { in append_bytes_with_size() argument90 if (size < 0 || size > *bytes_left) { in append_bytes_with_size()96 *bytes_left -= size; in append_bytes_with_size()
1066 ssize_t bytes_left = sizeof(buf); in adb_root() local1067 while (bytes_left > 0) { in adb_root()1068 ssize_t bytes_read = adb_read(fd, cur, bytes_left); in adb_root()1076 bytes_left -= bytes_read; in adb_root()1079 if (bytes_left == 0) { in adb_root()1084 fwrite(buf, 1, sizeof(buf) - bytes_left, stdout); in adb_root()
836 const ssize_t bytes_left = amount - buf.size(); in ReadAcknowledgements() local837 ssize_t rc = adb_read(fd, buf.end(), bytes_left); in ReadAcknowledgements()
575 size_t bytes_left = incoming_header_->data_length - incoming_payload_.size(); in ProcessRead() local576 if (block->payload.size() > bytes_left) { in ProcessRead()