Home
last modified time | relevance | path

Searched refs:bytes_remaining (Results 1 – 2 of 2) sorted by relevance

/system/bt/hci/src/
Dhci_layer.c85 uint16_t bytes_remaining; member
559 incoming->bytes_remaining = preamble_sizes[PACKET_TYPE_TO_INDEX(type)]; in hal_says_data_ready()
567 incoming->bytes_remaining--; in hal_says_data_ready()
569 if (incoming->bytes_remaining == 0) { in hal_says_data_ready()
571 …incoming->bytes_remaining = (type == DATA_TYPE_ACL) ? RETRIEVE_ACL_LENGTH(incoming->preamble) : by… in hal_says_data_ready()
573 size_t buffer_size = BT_HDR_SIZE + incoming->index + incoming->bytes_remaining; in hal_says_data_ready()
579 incoming->state = incoming->bytes_remaining == 0 ? BRAND_NEW : IGNORE; in hal_says_data_ready()
589 incoming->state = incoming->bytes_remaining > 0 ? BODY : FINISHED; in hal_says_data_ready()
596 incoming->bytes_remaining--; in hal_says_data_ready()
598 …read = hal->read_data(type, (incoming->buffer->data + incoming->index), incoming->bytes_remaining); in hal_says_data_ready()
[all …]
/system/update_engine/common/
Dutils.cc455 const unsigned int bytes_remaining = length - i; in HexDumpArray() local
457 bytes_remaining); in HexDumpArray()