Home
last modified time | relevance | path

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

/hardware/ril/reference-ril/
Datchannel.c39 #define NUM_ELEMS(x) (sizeof(x)/sizeof(x[0])) macro
149 for (i = 0 ; i < NUM_ELEMS(s_finalResponsesError) ; i++) { in isFinalResponseError()
171 for (i = 0 ; i < NUM_ELEMS(s_finalResponsesSuccess) ; i++) { in isFinalResponseSuccess()
204 for (i = 0 ; i < NUM_ELEMS(s_smsUnsoliciteds) ; i++) { in isSMSUnsolicited()
/hardware/ril/libril/
Dril.cpp83 #define NUM_ELEMS(a) (sizeof (a) / sizeof (a)[0]) macro
543 if (request < 1 || request >= (int32_t)NUM_ELEMS(s_commands)) { in processCommandBuffer()
4660 for (int i = 0; i < (int)NUM_ELEMS(s_commands); i++) { in RIL_register()
4664 for (int i = 0; i < (int)NUM_ELEMS(s_unsolResponses); i++) { in RIL_register()
5170 || (unsolResponseIndex >= (int32_t)NUM_ELEMS(s_unsolResponses))) { in RIL_onUnsolicitedResponse()