Home
last modified time | relevance | path

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

/device/generic/goldfish/ril/
Dreference-ril.c1590 int i = 0, j, numElements = 0; local
1598 numElements = REG_STATE_LEN;
1602 numElements = REG_DATA_STATE_LEN;
1616 responseStr = malloc(numElements * sizeof(char *));
1618 memset(responseStr, 0, numElements * sizeof(char *));
1664 for (j = startfrom; j < numElements; j++) {
1670 RIL_onRequestComplete(t, RIL_E_SUCCESS, responseStr, numElements*sizeof(responseStr));
1671 for (j = 0; j < numElements; j++ ) {
1682 for (j = 0; j < numElements; j++) {
/device/google/cuttlefish_common/guest/hals/ril/
Dcuttlefish_ril.cpp1147 int numElements = 0; in request_registration_state() local
1151 numElements = (request == RIL_REQUEST_VOICE_REGISTRATION_STATE) ? 15 : 6; in request_registration_state()
1152 responseStr = (char**)malloc(numElements * sizeof(char*)); in request_registration_state()
1184 numElements * sizeof(responseStr)); in request_registration_state()