/system/bt/stack/avrc/ |
D | avrc_pars_tg.cc | 98 uint16_t buf_len) { in avrc_pars_vendor_cmd() argument 189 ((xx < p_result->set_app_val.num_val) && (buf_len > size_needed)); in avrc_pars_vendor_cmd() 407 uint16_t buf_len) { in avrc_pars_browsing_cmd() argument 441 if (buf_len < (count << 2)) in avrc_pars_browsing_cmd() 442 p_result->get_items.attr_count = count = (buf_len >> 2); in avrc_pars_browsing_cmd() 472 if (buf_len < (count << 2)) in avrc_pars_browsing_cmd() 473 p_result->get_attrs.attr_count = count = (buf_len >> 2); in avrc_pars_browsing_cmd() 502 if (p_result->search.string.str_len > buf_len) { in avrc_pars_browsing_cmd() 503 p_result->search.string.str_len = buf_len; in avrc_pars_browsing_cmd() 533 uint8_t* p_buf, uint16_t buf_len) { in AVRC_ParsCommand() argument [all …]
|
D | avrc_pars_ct.cc | 500 uint8_t* p_buf, uint16_t* buf_len) { in avrc_ctrl_pars_vendor_rsp() argument 844 uint8_t* p_buf, uint16_t* buf_len) { in AVRC_Ctrl_ParsResponse() argument 850 avrc_ctrl_pars_vendor_rsp(&p_msg->vendor, p_result, p_buf, buf_len); in AVRC_Ctrl_ParsResponse() 881 UNUSED_ATTR uint16_t buf_len) { in AVRC_ParsResponse() argument
|
D | avrc_api.cc | 528 uint16_t buf_len = BT_DEFAULT_BUFFER_SIZE - sizeof(BT_HDR); in avrc_proc_far_msg() local 533 if ((p_rcb->p_rmsg->offset + p_pkt->len) > buf_len) { in avrc_proc_far_msg() 536 p_pkt->len = buf_len - p_rcb->p_rmsg->offset; in avrc_proc_far_msg()
|
/system/connectivity/wifilogd/ |
D | command_processor.cpp | 86 std::string MakeSanitizedString(const uint8_t* buf, size_t buf_len); 112 std::string MakeSanitizedString(const uint8_t* buf, size_t buf_len) { in MakeSanitizedString() argument 113 std::string out(buf_len, '\0'); in MakeSanitizedString() 114 std::replace_copy_if(buf, buf + buf_len, &out.front(), in MakeSanitizedString()
|
D | local_utils.h | 76 T CopyFromBufferOrDie(NONNULL const void* buf, size_t buf_len) { in CopyFromBufferOrDie() argument 80 CHECK(buf_len >= sizeof(out)); in CopyFromBufferOrDie()
|
/system/core/adb/daemon/ |
D | usb_legacy.cpp | 190 int buf_len = std::min(len, static_cast<int>(h->io_size)); in usb_ffs_do_aio() local 191 io_prep(&aiob->iocb[i], aiob->fd, cur_data, buf_len, 0, read); in usb_ffs_do_aio() 193 len -= buf_len; in usb_ffs_do_aio() 194 cur_data += buf_len; in usb_ffs_do_aio() 196 if (len == 0 && buf_len % packet_size == 0 && read) { in usb_ffs_do_aio()
|
/system/bt/stack/include/ |
D | avrc_api.h | 630 uint8_t* p_buf, uint16_t buf_len); 644 uint8_t* p_buf, uint16_t buf_len); 659 uint8_t* p_buf, uint16_t* buf_len);
|
/system/bt/bta/hf_client/ |
D | bta_hf_client_at.h | 36 uint16_t buf_len; member
|
D | bta_hf_client_at.cc | 121 uint16_t buf_len) { in bta_hf_client_queue_at() argument 128 new_cmd->buf_len = buf_len; in bta_hf_client_queue_at() 130 memcpy(new_cmd->buf, buf, buf_len); in bta_hf_client_queue_at() 170 uint16_t buf_len) { in bta_hf_client_send_at() argument 178 APPL_TRACE_DEBUG("%s: %.*s", __func__, buf_len - 1, buf); in bta_hf_client_send_at() 192 PORT_WriteData(client_cb->conn_handle, buf, buf_len, &len); in bta_hf_client_send_at() 199 bta_hf_client_queue_at(client_cb, cmd, buf, buf_len); in bta_hf_client_send_at() 210 bta_hf_client_send_at(client_cb, cur->cmd, cur->buf, cur->buf_len); in bta_hf_client_send_queued_at()
|
/system/nfc/src/nfc/include/ |
D | rw_api.h | 421 extern tNFC_STATUS RW_T1tReadNDef(uint8_t* p_buffer, uint16_t buf_len); 570 extern tNFC_STATUS RW_T2tReadNDef(uint8_t* p_buffer, uint16_t buf_len); 1379 extern tNFC_STATUS RW_MfcReadNDef(uint8_t* p_buffer, uint16_t buf_len); 1410 extern tNFC_STATUS RW_MfcWriteNDef(uint16_t buf_len, uint8_t* p_buffer);
|
/system/bt/stack/gatt/ |
D | gatt_sr.cc | 685 uint16_t buf_len = in gatts_process_find_info() local 688 BT_HDR* p_msg = (BT_HDR*)osi_calloc(buf_len); in gatts_process_find_info() 695 buf_len = tcb.payload_size - 2; in gatts_process_find_info() 699 reason = gatt_build_find_info_rsp(el, p_msg, buf_len, s_hdl, e_hdl); in gatts_process_find_info() 822 uint16_t buf_len = tcb.payload_size - 2; in gatts_process_read_by_type_req() local 831 tcb, el.p_db, op_code, p_msg, s_hdl, e_hdl, uuid, &buf_len, sec_flag, in gatts_process_read_by_type_req() 955 size_t buf_len = sizeof(BT_HDR) + tcb.payload_size + L2CAP_MIN_OFFSET; in gatts_process_read_req() local 967 BT_HDR* p_msg = (BT_HDR*)osi_calloc(buf_len); in gatts_process_read_req() 974 buf_len = tcb.payload_size - 1; in gatts_process_read_req() 981 tcb, el.p_db, op_code, handle, offset, p, &value_len, (uint16_t)buf_len, in gatts_process_read_req()
|
/system/bt/bta/av/ |
D | bta_av_api.cc | 436 uint8_t buf_len) { in BTA_AvRemoteVendorUniqueCmd() argument 438 sizeof(tBTA_AV_API_REMOTE_CMD) + buf_len); in BTA_AvRemoteVendorUniqueCmd() 445 p_buf->msg.pass_len = buf_len; in BTA_AvRemoteVendorUniqueCmd() 450 memcpy(p_buf->msg.p_pass_data, p_msg, buf_len); in BTA_AvRemoteVendorUniqueCmd()
|
/system/sepolicy/tools/fc_sort/ |
D | fc_sort.c | 332 size_t line_len, buf_len, i; in main() local 370 while ( getline(&line_buf, &buf_len, in_file) != -1 ){ in main()
|
/system/nfc/src/nfc/tags/ |
D | rw_mfc.cc | 321 tNFC_STATUS RW_MfcWriteNDef(uint16_t buf_len, uint8_t* p_buffer) { in RW_MfcWriteNDef() argument 335 p_mfc->ndef_length = buf_len; in RW_MfcWriteNDef() 1186 tNFC_STATUS RW_MfcReadNDef(uint8_t* p_buffer, uint16_t buf_len) { in RW_MfcReadNDef() argument 1202 if (buf_len < p_mfc->ndef_length) { in RW_MfcReadNDef() 1203 LOG(ERROR) << __func__ << " buffer size=" << buf_len in RW_MfcReadNDef()
|
D | rw_t1t_ndef.cc | 2323 tNFC_STATUS RW_T1tReadNDef(uint8_t* p_buffer, uint16_t buf_len) { in RW_T1tReadNDef() argument 2361 if (buf_len < p_t1t->ndef_msg_len) { in RW_T1tReadNDef() 2364 buf_len, p_t1t->ndef_msg_len); in RW_T1tReadNDef()
|
D | rw_t2t_ndef.cc | 2904 tNFC_STATUS RW_T2tReadNDef(uint8_t* p_buffer, uint16_t buf_len) { in RW_T2tReadNDef() argument 2921 if (buf_len < p_t2t->ndef_msg_len) { in RW_T2tReadNDef() 2924 buf_len, p_t2t->ndef_msg_len); in RW_T2tReadNDef()
|
/system/bt/stack/smp/ |
D | smp_utils.cc | 308 const uint8_t* p_buf, size_t buf_len) { in smp_log_metrics() argument 309 if (buf_len < 1) { in smp_log_metrics() 310 LOG(WARNING) << __func__ << ": buffer is too small, size is " << buf_len; in smp_log_metrics() 315 buf_len--; in smp_log_metrics() 317 if (cmd == SMP_OPCODE_PAIRING_FAILED && buf_len >= 1) { in smp_log_metrics()
|
D | smp_int.h | 444 const uint8_t* p_buf, size_t buf_len);
|
/system/bt/stack/avct/ |
D | avct_lcb_act.cc | 128 uint16_t buf_len = BT_DEFAULT_BUFFER_SIZE - sizeof(BT_HDR); in avct_lcb_msg_asmbl() local 135 if ((p_lcb->p_rx_msg->offset + p_buf->len) > buf_len) { in avct_lcb_msg_asmbl()
|
/system/bt/bta/include/ |
D | bta_av_api.h | 587 uint8_t buf_len);
|
/system/bt/stack/avdt/ |
D | avdt_msg.cc | 1274 uint16_t buf_len = BT_DEFAULT_BUFFER_SIZE - sizeof(BT_HDR); in avdt_msg_asmbl() local 1281 if ((p_ccb->p_rx_msg->offset + p_buf->len) > buf_len) { in avdt_msg_asmbl()
|
/system/chre/external/flatbuffers/include/flatbuffers/ |
D | flatbuffers.h | 1457 Verifier(const uint8_t *buf, size_t buf_len, size_t _max_depth = 64, 1459 : buf_(buf), end_(buf + buf_len), depth_(0), max_depth_(_max_depth),
|
/system/bt/btif/src/ |
D | btif_rc.cc | 4202 uint16_t buf_len; in handle_avk_rc_metamsg_rsp() local 4209 &buf_len); in handle_avk_rc_metamsg_rsp()
|