Home
last modified time | relevance | path

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

/system/bt/bta/ag/
Dbta_ag_at.c46 p_cb->p_cmd_buf = NULL; in bta_ag_at_init()
64 osi_free_and_reset((void **)&p_cb->p_cmd_buf); in bta_ag_at_reinit()
89 if (!utl_strucmp(p_cb->p_at_tbl[idx].p_cmd, p_cb->p_cmd_buf)) in bta_ag_process_at()
99 p_arg = p_cb->p_cmd_buf + strlen(p_cb->p_at_tbl[idx].p_cmd); in bta_ag_process_at()
169 (*p_cb->p_err_cback)(p_cb->p_user, TRUE, p_cb->p_cmd_buf); in bta_ag_process_at()
190 if (p_cb->p_cmd_buf == NULL) { in bta_ag_at_parse()
191 p_cb->p_cmd_buf = (char *)osi_malloc(p_cb->cmd_max_len); in bta_ag_at_parse()
206 p_cb->p_cmd_buf[p_cb->cmd_pos] = p_buf[i++]; in bta_ag_at_parse()
207 if ( p_cb->p_cmd_buf[p_cb->cmd_pos] == '\r' || p_cb->p_cmd_buf[p_cb->cmd_pos] == '\n') in bta_ag_at_parse()
209 p_cb->p_cmd_buf[p_cb->cmd_pos] = 0; in bta_ag_at_parse()
[all …]
Dbta_ag_at.h70 char *p_cmd_buf; /* temp parsing buffer */ member