/system/bt/bta/ag/ |
D | bta_ag_at.cc | 80 void bta_ag_process_at(tBTA_AG_AT_CB* p_cb, char* p_end) { in bta_ag_process_at() argument 96 if (p_arg > p_end) { in bta_ag_process_at() 142 p_end, int_arg); in bta_ag_process_at() 147 p_end, int_arg); in bta_ag_process_at() 198 char* p_end = p_cb->p_cmd_buf + p_cb->cmd_pos; in bta_ag_at_parse() local 200 bta_ag_process_at(p_cb, p_end); in bta_ag_at_parse()
|
D | bta_ag_at.h | 59 uint8_t arg_type, char* p_arg, char* p_end,
|
D | bta_ag_cmd.cc | 373 static bool bta_ag_parse_cmer(char* p_s, char* p_end, bool* p_enabled) { in bta_ag_parse_cmer() argument 380 for (p = p_s; p < p_end && *p != ',' && *p != 0; p++) in bta_ag_parse_cmer() 384 if (p > p_end) { in bta_ag_parse_cmer() 447 char* p_end) { in bta_ag_parse_bac() argument 454 for (p = p_s; p < p_end && *p != ',' && *p != 0; p++) in bta_ag_parse_bac() 458 if (p > p_end) { in bta_ag_parse_bac() 586 uint8_t arg_type, char* p_arg, char* p_end, in bta_ag_at_hsp_cback() argument 598 if ((p_end - p_arg + 1) >= (long)sizeof(val.str)) { in bta_ag_at_hsp_cback() 836 char* p_arg, char* p_end, int16_t int_arg) { in bta_ag_at_hfp_cback() argument 856 if ((p_end - p_arg + 1) >= (long)sizeof(val.str)) { in bta_ag_at_hfp_cback() [all …]
|
D | bta_ag_int.h | 347 uint8_t arg_type, char* p_arg, char* p_end, 350 uint8_t arg_type, char* p_arg, char* p_end,
|
D | bta_ag_act.cc | 61 uint8_t arg_type, char* p_arg, char* p_end,
|
/system/bt/stack/sdp/ |
D | sdp_discovery.cc | 54 static uint8_t* add_attr(uint8_t* p, uint8_t* p_end, tSDP_DISCOVERY_DB* p_db, 218 uint8_t* p_end = p + p_msg->len; in sdp_disc_server_rsp() local 233 process_service_search_rsp(p_ccb, p, p_end); in sdp_disc_server_rsp() 240 process_service_attr_rsp(p_ccb, p, p_end); in sdp_disc_server_rsp() 247 process_service_search_attr_rsp(p_ccb, p, p_end); in sdp_disc_server_rsp() 347 uint8_t* p_end; in sdp_copy_raw_data() local 354 p_end = &p_ccb->rsp_list[0] + list_len; in sdp_copy_raw_data() 360 p = sdpu_get_len_from_type(p, p_end, type, &list_len); in sdp_copy_raw_data() 361 if (p == NULL || (p + list_len) > p_end) { in sdp_copy_raw_data() 526 uint8_t *p, *p_start, *p_end, *p_param_len; in process_service_search_attr_rsp() local [all …]
|
D | sdp_db.cc | 56 tSDP_RECORD* p_end = &sdp_cb.server_db.record[sdp_cb.server_db.num_records]; in sdp_db_service_search() local 67 for (; p_rec < p_end; p_rec++) { in sdp_db_service_search() 106 uint8_t* p_end = p + seq_len; in find_uuid_in_seq() local 113 while (p < p_end) { in find_uuid_in_seq() 115 p = sdpu_get_len_from_type(p, p_end, type, &len); in find_uuid_in_seq() 116 if (p == NULL || (p + len) > p_end) { in find_uuid_in_seq() 146 tSDP_RECORD* p_end = &sdp_cb.server_db.record[sdp_cb.server_db.num_records]; in sdp_db_find_record() local 149 for (p_rec = &sdp_cb.server_db.record[0]; p_rec < p_end; p_rec++) { in sdp_db_find_record()
|
D | sdp_utils.cc | 792 uint8_t* sdpu_get_len_from_type(uint8_t* p, uint8_t* p_end, uint8_t type, in sdpu_get_len_from_type() argument 815 if (p + 1 > p_end) { in sdpu_get_len_from_type() 823 if (p + 2 > p_end) { in sdpu_get_len_from_type() 831 if (p + 4 > p_end) { in sdpu_get_len_from_type()
|
D | sdpint.h | 221 extern uint8_t* sdpu_get_len_from_type(uint8_t* p, uint8_t* p_end, uint8_t type,
|
/system/core/libcutils/ |
D | record_stream.cpp | 75 unsigned char *p_end) in getEndOfRecord() argument 80 if (p_end < p_begin + HEADER_SIZE) { in getEndOfRecord() 89 if (p_end < p_ret) { in getEndOfRecord()
|
/system/nfc/src/nfc/ndef/ |
D | ndef_utils.cc | 77 uint8_t* p_end = p_msg + msg_len; in NDEF_MsgValidate() local 93 for (count = 0; p_rec < p_end; count++) { in NDEF_MsgValidate() 95 if (p_rec + 3 > p_end) return (NDEF_MSG_TOO_SHORT); in NDEF_MsgValidate() 121 if (p_rec + 4 > p_end) return (NDEF_MSG_TOO_SHORT); in NDEF_MsgValidate() 129 if (p_rec + 1 > p_end) return (NDEF_MSG_TOO_SHORT); in NDEF_MsgValidate() 191 if ((p_rec_type + type_len) > p_end) return (NDEF_MSG_TOO_SHORT); in NDEF_MsgValidate() 206 if (p_rec > p_new || p_end < p_new) { in NDEF_MsgValidate() 223 if (p_rec != p_end) return (NDEF_MSG_LENGTH_MISMATCH); in NDEF_MsgValidate()
|
/system/bt/stack/avdt/ |
D | avdt_msg.cc | 524 uint8_t* p_end; in avdt_msg_prs_cfg() local 541 p_end = p + len; in avdt_msg_prs_cfg() 542 while ((p < p_end) && (err == 0)) { in avdt_msg_prs_cfg() 544 if ((p_end - p) < AVDT_LEN_CFG_MIN) { in avdt_msg_prs_cfg() 589 if ((p_end - p) < 3) { in avdt_msg_prs_cfg() 608 if (p + elem_len > p_end) { in avdt_msg_prs_cfg() 624 if ((p_end - p) < 1) { in avdt_msg_prs_cfg() 637 if (p + tmp > p_end) { in avdt_msg_prs_cfg()
|
D | avdt_api.cc | 1114 uint8_t *p, *plen, *pm1, *p_end; in AVDT_SendReport() local 1176 p_end = p; in AVDT_SendReport() 1181 p_pkt->len = p_end - p; in AVDT_SendReport()
|