Home
last modified time | relevance | path

Searched refs:p_cur (Results 1 – 5 of 5) sorted by relevance

/hardware/ril/reference-ril/
Dat_tok.c28 int at_tok_start(char **p_cur) in at_tok_start() argument
30 if (*p_cur == NULL) { in at_tok_start()
37 *p_cur = strchr(*p_cur, ':'); in at_tok_start()
39 if (*p_cur == NULL) { in at_tok_start()
43 (*p_cur)++; in at_tok_start()
48 static void skipWhiteSpace(char **p_cur) in skipWhiteSpace() argument
50 if (*p_cur == NULL) return; in skipWhiteSpace()
52 while (**p_cur != '\0' && isspace(**p_cur)) { in skipWhiteSpace()
53 (*p_cur)++; in skipWhiteSpace()
57 static void skipNextComma(char **p_cur) in skipNextComma() argument
[all …]
Dat_tok.h21 int at_tok_start(char **p_cur);
22 int at_tok_nextint(char **p_cur, int *p_out);
23 int at_tok_nexthexint(char **p_cur, int *p_out);
25 int at_tok_nextbool(char **p_cur, char *p_out);
26 int at_tok_nextstr(char **p_cur, char **out);
28 int at_tok_hasmore(char **p_cur);
Dreference-ril.c582 ATLine *p_cur; in requestOrSendDataCallList() local
600 for (p_cur = p_response->p_intermediates; p_cur != NULL; in requestOrSendDataCallList()
601 p_cur = p_cur->p_next) in requestOrSendDataCallList()
623 for (p_cur = p_response->p_intermediates; p_cur != NULL; in requestOrSendDataCallList()
624 p_cur = p_cur->p_next) { in requestOrSendDataCallList()
625 char *line = p_cur->line; in requestOrSendDataCallList()
654 for (p_cur = p_response->p_intermediates; p_cur != NULL; in requestOrSendDataCallList()
655 p_cur = p_cur->p_next) { in requestOrSendDataCallList()
656 char *line = p_cur->line; in requestOrSendDataCallList()
831 ATLine *p_cur; local
[all …]
Datchannel.c948 char *p_cur; in at_get_cme_error() local
960 p_cur = p_response->finalResponse; in at_get_cme_error()
961 err = at_tok_start(&p_cur); in at_get_cme_error()
967 err = at_tok_nextint(&p_cur, &ret); in at_get_cme_error()
/hardware/ril/libril/
Dril_service.cpp3016 RIL_CardStatus_v6 *p_cur = ((RIL_CardStatus_v6 *) response); in getIccCardStatusResponse() local
3018 || p_cur->gsm_umts_subscription_app_index >= p_cur->num_applications in getIccCardStatusResponse()
3019 || p_cur->cdma_subscription_app_index >= p_cur->num_applications in getIccCardStatusResponse()
3020 || p_cur->ims_subscription_app_index >= p_cur->num_applications) { in getIccCardStatusResponse()
3024 cardStatus.cardState = (CardState) p_cur->card_state; in getIccCardStatusResponse()
3025 cardStatus.universalPinState = (PinState) p_cur->universal_pin_state; in getIccCardStatusResponse()
3026 cardStatus.gsmUmtsSubscriptionAppIndex = p_cur->gsm_umts_subscription_app_index; in getIccCardStatusResponse()
3027 cardStatus.cdmaSubscriptionAppIndex = p_cur->cdma_subscription_app_index; in getIccCardStatusResponse()
3028 cardStatus.imsSubscriptionAppIndex = p_cur->ims_subscription_app_index; in getIccCardStatusResponse()
3030 RIL_AppStatus *rilAppStatus = p_cur->applications; in getIccCardStatusResponse()
[all …]