Home
last modified time | relevance | path

Searched refs:available_bytes (Results 1 – 4 of 4) sorted by relevance

/system/nfc/src/nfc/llcp/
Dllcp_sdp.cc131 uint16_t available_bytes; in llcp_sdp_send_sdreq() local
148 available_bytes = GKI_get_buf_size(llcp_cb.sdp_cb.p_snl) - NFC_HDR_SIZE - in llcp_sdp_send_sdreq()
154 if ((available_bytes >= LLCP_SDREQ_MIN_LEN + name_len) && in llcp_sdp_send_sdreq()
226 uint16_t available_bytes; in llcp_sdp_send_sdres() local
243 available_bytes = GKI_get_buf_size(llcp_cb.sdp_cb.p_snl) - NFC_HDR_SIZE - in llcp_sdp_send_sdres()
247 if ((available_bytes >= 2 + LLCP_SDRES_LEN) && in llcp_sdp_send_sdres()
Dllcp_dlc.cc857 uint16_t info_len, available_bytes; in llcp_dlc_proc_i_pdu() local
950 available_bytes = GKI_get_buf_size(p_last_buf) - NFC_HDR_SIZE - in llcp_dlc_proc_i_pdu()
954 if (available_bytes >= LLCP_PDU_AGF_LEN_SIZE + info_len) { in llcp_dlc_proc_i_pdu()
Dllcp_link.cc959 uint16_t available_bytes; in llcp_link_proc_ui_pdu() local
996 available_bytes = GKI_get_buf_size(p_last_buf) - NFC_HDR_SIZE - in llcp_link_proc_ui_pdu()
1000 if (available_bytes >= LLCP_PDU_AGF_LEN_SIZE + ui_pdu_length) { in llcp_link_proc_ui_pdu()
/system/core/llkd/
Dlibllkd.cpp129 size_t available_bytes; member in __anonc18104f70111::dir
137 if (available_bytes != 0) return true; in fill()
142 available_bytes = rc; in fill()
148 dir() : fd(-1), available_bytes(0), next(nullptr) {} in dir()
154 available_bytes(0), in dir()
159 available_bytes(0), in dir()
164 available_bytes(0), in dir()
184 available_bytes = 0; in reset()
200 available_bytes = 0; in rewind()
208 available_bytes -= next->d_reclen; in read()