Searched refs:numElements (Results 1 – 4 of 4) sorted by relevance
/device/generic/goldfish/network/wifi_forwarder/ |
D | netlink_message.h | 42 bool addAttribute(int attribute, T data, size_t numElements) { in addAttribute() argument 45 sizeof(*data) * numElements, in addAttribute()
|
/device/generic/goldfish/radio/ril/ |
D | reference-ril.c | 1632 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/ |
D | reference-ril.c | 1749 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/ |
D | cuttlefish_ril.cpp | 1073 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()
|