Home
last modified time | relevance | path

Searched refs:cmd_pos (Results 1 – 3 of 3) sorted by relevance

/system/bt/bta/ag/
Dbta_ag_at.cc52 p_cb->cmd_pos = 0; in bta_ag_at_init()
69 p_cb->cmd_pos = 0; in bta_ag_at_reinit()
185 p_cb->cmd_pos = 0; in bta_ag_at_parse()
189 while (p_cb->cmd_pos < p_cb->cmd_max_len - 1 && i < len) { in bta_ag_at_parse()
191 if ((p_cb->cmd_pos == 0) && (p_buf[i] == 0)) { in bta_ag_at_parse()
196 p_cb->p_cmd_buf[p_cb->cmd_pos] = p_buf[i++]; in bta_ag_at_parse()
197 if (p_cb->p_cmd_buf[p_cb->cmd_pos] == '\r' || in bta_ag_at_parse()
198 p_cb->p_cmd_buf[p_cb->cmd_pos] == '\n') { in bta_ag_at_parse()
199 p_cb->p_cmd_buf[p_cb->cmd_pos] = 0; in bta_ag_at_parse()
200 if ((p_cb->cmd_pos > 2) && in bta_ag_at_parse()
[all …]
Dbta_ag_at.h77 uint16_t cmd_pos; /* position in temp buffer */ member
/system/extras/boottime_tools/io_analysis/
Dcheck_io_trace.py110 cmd_pos = get_string_pos(words, "block_rq_complete:")
111 if cmd_pos == -1:
112 cmd_pos = get_string_pos(words, "block_bio_complete:")
117 operation = words[cmd_pos + 2]
120 end_time = int(float(words[cmd_pos - 1][:-1])*1000000) #us