Home
last modified time | relevance | path

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

/device/generic/goldfish/radio/libril/
Dril_service.cpp590 char **pStrings; in dispatchStrings() local
591 pStrings = (char **)calloc(countStrings, sizeof(char *)); in dispatchStrings()
592 if (pStrings == NULL) { in dispatchStrings()
601 if (!copyHidlStringToRil(&pStrings[i], hidl_string(str), pRI, allowEmpty)) { in dispatchStrings()
604 memsetAndFreeStrings(1, pStrings[j]); in dispatchStrings()
606 free(pStrings); in dispatchStrings()
612 CALL_ONREQUEST(request, pStrings, countStrings * sizeof(char *), pRI, slotId); in dispatchStrings()
614 if (pStrings != NULL) { in dispatchStrings()
616 memsetAndFreeStrings(1, pStrings[i]); in dispatchStrings()
620 memset(pStrings, 0, countStrings * sizeof(char *)); in dispatchStrings()
[all …]
/device/google/cuttlefish/guest/hals/ril/libril/
Dril_service.cpp693 char **pStrings; in dispatchStrings() local
694 pStrings = (char **)calloc(countStrings, sizeof(char *)); in dispatchStrings()
695 if (pStrings == NULL) { in dispatchStrings()
704 if (!copyHidlStringToRil(&pStrings[i], hidl_string(str), pRI, allowEmpty)) { in dispatchStrings()
707 memsetAndFreeStrings(1, pStrings[j]); in dispatchStrings()
709 free(pStrings); in dispatchStrings()
715 CALL_ONREQUEST(request, pStrings, countStrings * sizeof(char *), pRI, slotId); in dispatchStrings()
717 if (pStrings != NULL) { in dispatchStrings()
719 memsetAndFreeStrings(1, pStrings[i]); in dispatchStrings()
723 memset(pStrings, 0, countStrings * sizeof(char *)); in dispatchStrings()
[all …]
/device/google/cuttlefish/guest/hals/ril/reference-libril/
Dril_service.cpp704 char **pStrings; in dispatchStrings() local
705 pStrings = (char **)calloc(countStrings, sizeof(char *)); in dispatchStrings()
706 if (pStrings == NULL) { in dispatchStrings()
715 if (!copyHidlStringToRil(&pStrings[i], hidl_string(str), pRI, allowEmpty)) { in dispatchStrings()
718 memsetAndFreeStrings(1, pStrings[j]); in dispatchStrings()
720 free(pStrings); in dispatchStrings()
726 CALL_ONREQUEST(request, pStrings, countStrings * sizeof(char *), pRI, slotId); in dispatchStrings()
728 if (pStrings != NULL) { in dispatchStrings()
730 memsetAndFreeStrings(1, pStrings[i]); in dispatchStrings()
734 memset(pStrings, 0, countStrings * sizeof(char *)); in dispatchStrings()
[all …]