Home
last modified time | relevance | path

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

/device/google/cuttlefish/guest/hals/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 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);
30 void skipNextComma(char **p_cur);
Dreference-ril.c724 ATLine *p_cur = NULL; in requestOrSendDataCallList() local
742 for (p_cur = p_response->p_intermediates; p_cur != NULL; in requestOrSendDataCallList()
743 p_cur = p_cur->p_next) in requestOrSendDataCallList()
765 for (p_cur = p_response->p_intermediates; p_cur != NULL; in requestOrSendDataCallList()
766 p_cur = p_cur->p_next) { in requestOrSendDataCallList()
767 char *line = p_cur->line; in requestOrSendDataCallList()
796 for (p_cur = p_response->p_intermediates; p_cur != NULL; in requestOrSendDataCallList()
797 p_cur = p_cur->p_next) { in requestOrSendDataCallList()
798 char *line = p_cur->line; in requestOrSendDataCallList()
1004 ATLine *p_cur; local
[all …]
Datchannel.c945 char *p_cur; in at_get_cme_error() local
957 p_cur = p_response->finalResponse; in at_get_cme_error()
958 err = at_tok_start(&p_cur); in at_get_cme_error()
964 err = at_tok_nextint(&p_cur, &ret); in at_get_cme_error()
/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.cpp3981 RIL_CardStatus_v6 *p_cur = ((RIL_CardStatus_v6 *) response); in getIccCardStatusResponse() local
3983 || p_cur->gsm_umts_subscription_app_index >= p_cur->num_applications in getIccCardStatusResponse()
3984 || p_cur->cdma_subscription_app_index >= p_cur->num_applications in getIccCardStatusResponse()
3985 || p_cur->ims_subscription_app_index >= p_cur->num_applications) { in getIccCardStatusResponse()
3989 cardStatus.cardState = (CardState) p_cur->card_state; in getIccCardStatusResponse()
3990 cardStatus.universalPinState = (PinState) p_cur->universal_pin_state; in getIccCardStatusResponse()
3991 cardStatus.gsmUmtsSubscriptionAppIndex = p_cur->gsm_umts_subscription_app_index; in getIccCardStatusResponse()
3992 cardStatus.cdmaSubscriptionAppIndex = p_cur->cdma_subscription_app_index; in getIccCardStatusResponse()
3993 cardStatus.imsSubscriptionAppIndex = p_cur->ims_subscription_app_index; in getIccCardStatusResponse()
3995 RIL_AppStatus *rilAppStatus = p_cur->applications; in getIccCardStatusResponse()
[all …]
/device/google/cuttlefish/guest/hals/ril/reference-libril/
Dril_service.cpp4152 RIL_CardStatus_v1_4 *p_cur = ((RIL_CardStatus_v1_4 *) response); in getIccCardStatusResponse() local
4154 … || p_cur->base.base.gsm_umts_subscription_app_index >= p_cur->base.base.num_applications in getIccCardStatusResponse()
4155 || p_cur->base.base.cdma_subscription_app_index >= p_cur->base.base.num_applications in getIccCardStatusResponse()
4156 … || p_cur->base.base.ims_subscription_app_index >= p_cur->base.base.num_applications) { in getIccCardStatusResponse()
4160 cardStatus.cardState = (CardState) p_cur->base.base.card_state; in getIccCardStatusResponse()
4161 cardStatus.universalPinState = (PinState) p_cur->base.base.universal_pin_state; in getIccCardStatusResponse()
4162 … cardStatus.gsmUmtsSubscriptionAppIndex = p_cur->base.base.gsm_umts_subscription_app_index; in getIccCardStatusResponse()
4163 cardStatus.cdmaSubscriptionAppIndex = p_cur->base.base.cdma_subscription_app_index; in getIccCardStatusResponse()
4164 cardStatus.imsSubscriptionAppIndex = p_cur->base.base.ims_subscription_app_index; in getIccCardStatusResponse()
4166 RIL_AppStatus *rilAppStatus = p_cur->base.base.applications; in getIccCardStatusResponse()
[all …]