Home
last modified time | relevance | path

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

/device/generic/goldfish/network/wifi_forwarder/
Dnetlink_message.h42 bool addAttribute(int attribute, T data, size_t numElements) { in addAttribute() argument
45 sizeof(*data) * numElements, in addAttribute()
/device/generic/goldfish/radio/ril/
Dreference-ril.c1632 int i = 0, j, numElements = 0; local
1645 numElements = REG_STATE_LEN;
1649 numElements = REG_DATA_STATE_LEN;
1663 responseStr = malloc(numElements * sizeof(char *));
1665 memset(responseStr, 0, numElements * sizeof(char *));
1711 for (j = startfrom; j < numElements; j++) {
1717 RIL_onRequestComplete(t, RIL_E_SUCCESS, responseStr, numElements*sizeof(responseStr));
1718 for (j = 0; j < numElements; j++ ) {
1729 for (j = 0; j < numElements; j++) {
/device/google/cuttlefish/guest/hals/ril/reference-ril/
Dreference-ril.c1749 int i = 0, j, numElements = 0; local
1757 numElements = REG_STATE_LEN;
1761 numElements = REG_DATA_STATE_LEN;
1779 responseStr = malloc(numElements * sizeof(char *));
1781 memset(responseStr, 0, numElements * sizeof(char *));
1828 for (j = startfrom; j < numElements; j++) {
1834 RIL_onRequestComplete(t, RIL_E_SUCCESS, responseStr, numElements*sizeof(responseStr));
1835 for (j = 0; j < numElements; j++ ) {
1846 for (j = 0; j < numElements; j++) {
/device/google/cuttlefish/guest/hals/ril/
Dcuttlefish_ril.cpp1073 int numElements = 0; in request_registration_state() local
1077 numElements = (request == RIL_REQUEST_VOICE_REGISTRATION_STATE) ? 15 : 6; in request_registration_state()
1078 responseStr = (char**)malloc(numElements * sizeof(char*)); in request_registration_state()
1110 numElements * sizeof(responseStr)); in request_registration_state()