Home
last modified time | relevance | path

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

/device/generic/goldfish/radio/ril/
Datchannel.c40 #define NUM_ELEMS(x) (sizeof(x)/sizeof((x)[0])) macro
155 for (i = 0 ; i < NUM_ELEMS(s_finalResponsesError) ; i++) { in isFinalResponseError()
177 for (i = 0 ; i < NUM_ELEMS(s_finalResponsesSuccess) ; i++) { in isFinalResponseSuccess()
210 for (i = 0 ; i < NUM_ELEMS(s_smsUnsoliciteds) ; i++) { in isSMSUnsolicited()
/device/generic/goldfish/radio/libril/
Dril.cpp75 #define NUM_ELEMS(a) (sizeof (a) / sizeof (a)[0]) macro
450 for (int i = 0; i < (int)NUM_ELEMS(s_commands); i++) { in RIL_register()
454 for (int i = 0; i < (int)NUM_ELEMS(s_unsolResponses); i++) { in RIL_register()
749 || (unsolResponseIndex >= (int32_t)NUM_ELEMS(s_unsolResponses))) { in RIL_onUnsolicitedResponse()
/device/google/cuttlefish/guest/hals/ril/libril/
Dril.cpp75 #define NUM_ELEMS(a) (sizeof (a) / sizeof (a)[0]) macro
450 for (int i = 0; i < (int)NUM_ELEMS(s_commands); i++) { in RIL_register()
454 for (int i = 0; i < (int)NUM_ELEMS(s_unsolResponses); i++) { in RIL_register()
750 || (unsolResponseIndex >= (int32_t)NUM_ELEMS(s_unsolResponses))) { in RIL_onUnsolicitedResponse()