Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/stack/sdp/
Dsdp_discovery.cc59 Uuid* p_uuid_list, uint16_t& bytes_left) { in sdpu_build_uuid_seq() argument
63 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() local
147 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 …]
/packages/modules/adb/client/
Dincremental_utils.cpp84 int* bytes_left) { in append_bytes_with_size() argument
90 if (size < 0 || size > *bytes_left) { in append_bytes_with_size()
96 *bytes_left -= size; in append_bytes_with_size()
Dcommandline.cpp1066 ssize_t bytes_left = sizeof(buf); in adb_root() local
1067 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()
Dfile_sync_client.cpp836 const ssize_t bytes_left = amount - buf.size(); in ReadAcknowledgements() local
837 ssize_t rc = adb_read(fd, buf.end(), bytes_left); in ReadAcknowledgements()
/packages/modules/adb/daemon/
Dusb.cpp575 size_t bytes_left = incoming_header_->data_length - incoming_payload_.size(); in ProcessRead() local
576 if (block->payload.size() > bytes_left) { in ProcessRead()