Home
last modified time | relevance | path

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

/device/generic/goldfish/radio/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.c632 ATLine *p_cur; in requestOrSendDataCallList() local
652 for (p_cur = p_response->p_intermediates; p_cur != NULL; in requestOrSendDataCallList()
653 p_cur = p_cur->p_next) in requestOrSendDataCallList()
675 for (p_cur = p_response->p_intermediates; p_cur != NULL; in requestOrSendDataCallList()
676 p_cur = p_cur->p_next) { in requestOrSendDataCallList()
677 char *line = p_cur->line; in requestOrSendDataCallList()
706 for (p_cur = p_response->p_intermediates; p_cur != NULL; in requestOrSendDataCallList()
707 p_cur = p_cur->p_next) { in requestOrSendDataCallList()
708 char *line = p_cur->line; in requestOrSendDataCallList()
957 ATLine *p_cur; local
[all …]
Datchannel.c949 char *p_cur; in at_get_cme_error() local
961 p_cur = p_response->finalResponse; in at_get_cme_error()
962 err = at_tok_start(&p_cur); in at_get_cme_error()
968 err = at_tok_nextint(&p_cur, &ret); in at_get_cme_error()
/device/generic/goldfish/radio/libril/
Dril_service.cpp3043 RIL_CardStatus_v6 *p_cur = ((RIL_CardStatus_v6 *) response); in getIccCardStatusResponse() local
3045 || p_cur->gsm_umts_subscription_app_index >= p_cur->num_applications in getIccCardStatusResponse()
3046 || p_cur->cdma_subscription_app_index >= p_cur->num_applications in getIccCardStatusResponse()
3047 || p_cur->ims_subscription_app_index >= p_cur->num_applications) { in getIccCardStatusResponse()
3051 cardStatus.cardState = (CardState) p_cur->card_state; in getIccCardStatusResponse()
3052 cardStatus.universalPinState = (PinState) p_cur->universal_pin_state; in getIccCardStatusResponse()
3053 cardStatus.gsmUmtsSubscriptionAppIndex = p_cur->gsm_umts_subscription_app_index; in getIccCardStatusResponse()
3054 cardStatus.cdmaSubscriptionAppIndex = p_cur->cdma_subscription_app_index; in getIccCardStatusResponse()
3055 cardStatus.imsSubscriptionAppIndex = p_cur->ims_subscription_app_index; in getIccCardStatusResponse()
3057 RIL_AppStatus *rilAppStatus = p_cur->applications; in getIccCardStatusResponse()
[all …]
/device/google/cuttlefish/guest/hals/ril/libril/
Dril_service.cpp3969 RIL_CardStatus_v6 *p_cur = ((RIL_CardStatus_v6 *) response); in getIccCardStatusResponse() local
3971 || p_cur->gsm_umts_subscription_app_index >= p_cur->num_applications in getIccCardStatusResponse()
3972 || p_cur->cdma_subscription_app_index >= p_cur->num_applications in getIccCardStatusResponse()
3973 || p_cur->ims_subscription_app_index >= p_cur->num_applications) { in getIccCardStatusResponse()
3977 cardStatus.cardState = (CardState) p_cur->card_state; in getIccCardStatusResponse()
3978 cardStatus.universalPinState = (PinState) p_cur->universal_pin_state; in getIccCardStatusResponse()
3979 cardStatus.gsmUmtsSubscriptionAppIndex = p_cur->gsm_umts_subscription_app_index; in getIccCardStatusResponse()
3980 cardStatus.cdmaSubscriptionAppIndex = p_cur->cdma_subscription_app_index; in getIccCardStatusResponse()
3981 cardStatus.imsSubscriptionAppIndex = p_cur->ims_subscription_app_index; in getIccCardStatusResponse()
3983 RIL_AppStatus *rilAppStatus = p_cur->applications; in getIccCardStatusResponse()
[all …]