Home | History | Annotate | Download | only in libril

Lines Matching full:sizeof

74 #define NUM_ELEMS(a)     (sizeof (a) / sizeof (a)[0])
298 pRI = (RequestInfo *)calloc(1, sizeof(RequestInfo));
347 pRI = (RequestInfo *)calloc(1, sizeof(RequestInfo));
398 sizeof(char *), pRI);
428 pStrings = (char **)alloca(sizeof(char *));
434 datalen = sizeof(char *) * countStrings;
482 datalen = sizeof(int) * count;
527 memset (&args, 0, sizeof(args));
546 s_callbacks.onRequest(pRI->pCI->requestNumber, &args, sizeof(args), pRI);
555 memset(&args, 0, sizeof(args));
579 memset (&dial, 0, sizeof(dial));
592 sizeOfDial = sizeof(dial) - sizeof(RIL_UUS_Info *);
605 sizeof(RIL_UUS_Info));
629 sizeOfDial = sizeof(dial);
651 memset(&uusInfo, 0, sizeof(RIL_UUS_Info));
652 memset(&dial, 0, sizeof(dial));
677 memset (&simIO, 0, sizeof(simIO));
713 s_callbacks.onRequest(pRI->pCI->requestNumber, &simIO, sizeof(simIO), pRI);
726 memset(&simIO, 0, sizeof(simIO));
751 memset (&cff, 0, sizeof(cff));
789 s_callbacks.onRequest(pRI->pCI->requestNumber, &cff, sizeof(cff), pRI);
798 memset(&cff, 0, sizeof(cff));
850 memset(&rcsm, 0, sizeof(rcsm));
855 status = p.read(&ut,sizeof(ut));
873 status = p.read(&ut,sizeof(ut));
878 status = p.read(&ut,sizeof(ut));
885 status = p.read(&ut,sizeof(ut));
888 status = p.read(&ut,sizeof(ut));
893 status = p.read(&ut,sizeof(ut));
902 status = p.read(&ut, sizeof(ut));
919 s_callbacks.onRequest(pRI->pCI->requestNumber, &rcsm, sizeof(rcsm),pRI);
922 memset(&rcsm, 0, sizeof(rcsm));
939 memset(&rcsa, 0, sizeof(rcsa));
958 s_callbacks.onRequest(pRI->pCI->requestNumber, &rcsa, sizeof(rcsa),pRI);
961 memset(&rcsa, 0, sizeof(rcsa));
1018 num * sizeof(RIL_GSM_BroadcastSmsConfigInfo *),
1022 memset(gsmBci, 0, num * sizeof(RIL_GSM_BroadcastSmsConfigInfo));
1023 memset(gsmBciPtrs, 0, num * sizeof(RIL_GSM_BroadcastSmsConfigInfo *));
1072 num * sizeof(RIL_CDMA_BroadcastSmsConfigInfo *),
1076 memset(cdmaBci, 0, num * sizeof(RIL_CDMA_BroadcastSmsConfigInfo));
1077 memset(cdmaBciPtrs, 0, num * sizeof(RIL_CDMA_BroadcastSmsConfigInfo *));
1095 memset(&rcsw, 0, sizeof(rcsw));
1103 status = p.read(&uct,sizeof(uct));
1121 status = p.read(&uct,sizeof(uct));
1125 status = p.read(&uct,sizeof(uct));
1132 status = p.read(&uct,sizeof(uct));
1135 status = p.read(&uct,sizeof(uct));
1139 status = p.read(&uct,sizeof(uct));
1147 status = p.read(&uct, sizeof(uct));
1168 s_callbacks.onRequest(pRI->pCI->requestNumber, &rcsw, sizeof(rcsw),pRI);
1171 memset(&rcsw, 0, sizeof(rcsw));
1229 ret = blockingWrite(fd, (void *)&header, sizeof(header));
1264 if (responselen % sizeof(int) != 0) {
1266 (int)responselen, (int)sizeof(int));
1272 numInts = responselen / sizeof(int *);
1295 if (responselen % sizeof(char *) != 0) {
1297 (int)responselen, (int)sizeof(char *));
1306 numStrings = responselen / sizeof(char *);
1351 if (responselen % sizeof (RIL_Call *) != 0) {
1353 (int)responselen, (int)sizeof (RIL_Call *));
1359 num = responselen / sizeof(RIL_Call *);
1419 if (responselen != sizeof (RIL_SMS_Response) ) {
1421 (int)responselen, (int)sizeof (RIL_SMS_Response));
1446 if (responselen % sizeof(RIL_Data_Call_Response) != 0) {
1448 (int)responselen, (int)sizeof(RIL_Data_Call_Response));
1452 int num = responselen / sizeof(RIL_Data_Call_Response);
1501 if (responselen != sizeof (RIL_SIM_IO_Response) ) {
1503 (int)responselen, (int)sizeof (RIL_SIM_IO_Response));
1529 if (responselen % sizeof(RIL_CallForwardInfo *) != 0) {
1531 (int)responselen, (int)sizeof(RIL_CallForwardInfo *));
1536 num = responselen / sizeof(RIL_CallForwardInfo *);
1567 if (responselen != sizeof(RIL_SuppSvcNotification)) {
1569 (int)responselen, (int)sizeof (RIL_SuppSvcNotification));
1598 if (responselen % sizeof (RIL_NeighboringCell *) != 0) {
1600 (int)responselen, (int)sizeof (RIL_NeighboringCell *));
1606 num = responselen / sizeof(RIL_NeighboringCell *);
1647 if (responselen != sizeof (RIL_CDMA_InformationRecords)) {
1649 (int)responselen, (int)sizeof (RIL_CDMA_InformationRecords *));
1675 * sizeof(char) );
1695 * sizeof(char) );
1732 .len + 1) * sizeof(char) );
1799 if (responselen == sizeof (RIL_SignalStrength)) {
1827 } else if (responselen % sizeof (int) == 0) {
1834 size_t num = responselen / sizeof (int); // Number of integers from ril
1873 if (responselen != sizeof (RIL_CDMA_SignalInfoRecord)) {
1874 LOGE("invalid response length %d expected sizeof (RIL_CDMA_SignalInfoRecord) of %d\n",
1875 (int)responselen, (int)sizeof (RIL_CDMA_SignalInfoRecord));
1903 if (responselen != sizeof(RIL_CDMA_CallWaiting)) {
1905 (int)responselen, (int)sizeof(RIL_CDMA_CallWaiting));
1958 if (responselen % sizeof (RIL_CardStatus *) != 0) {
1960 (int)responselen, (int)sizeof (RIL_CardStatus *));
2001 int num = responselen / sizeof(RIL_GSM_BroadcastSmsConfigInfo *);
2029 int num = responselen / sizeof (RIL_CDMA_BroadcastSmsConfigInfo *);
2062 if (responselen != sizeof(RIL_CDMA_SMS_Message)) {
2064 (int)responselen, (int)sizeof(RIL_CDMA_SMS_Message));
2070 p.write(&(p_cur->bIsServicePresent),sizeof(uct));
2076 p.write(&(p_cur->sAddress.number_of_digits), sizeof(uct));
2079 p.write(&(p_cur->sAddress.digits[digitCount]),sizeof(uct));
2083 p.write(&(p_cur->sSubAddress.odd),sizeof(uct));
2084 p.write(&(p_cur->sSubAddress.number_of_digits),sizeof(uct));
2087 p.write(&(p_cur->sSubAddress.digits[digitCount]),sizeof(uct));
2093 p.write(&(p_cur->aBearerData[digitCount]), sizeof(uct));
2119 ret = read(s_fdWakeupRead, &buff, sizeof(buff));
2226 socklen_t socklen = sizeof (peeraddr);
2229 socklen_t szCreds = sizeof(creds);
2313 socklen_t socklen = sizeof (peeraddr);
2330 if (recv(acceptFD, &number, sizeof(int), 0) != sizeof(int)) {
2334 args = (char **) malloc(sizeof(char*) * number);
2338 if (recv(acceptFD, &len, sizeof(int), 0) != sizeof(int)) {
2344 args[i] = (char *) malloc((sizeof(char) * len) + 1);
2345 if (recv(acceptFD, args[i], sizeof(char) * len, 0)
2346 != (int)sizeof(char) * len) {
2363 issueLocalRequest(RIL_REQUEST_RADIO_POWER, &data, sizeof(int));
2382 6 * sizeof(int));
2393 6 * sizeof(int));
2398 issueLocalRequest(RIL_REQUEST_RADIO_POWER, &data, sizeof(int));
2407 sizeof(actData));
2412 sizeof(deactData));
2418 issueLocalRequest(RIL_REQUEST_DIAL, &dialData, sizeof(dialData));
2427 sizeof(hangupData));
2520 memcpy(&s_callbacks, callbacks, sizeof (RIL_RadioFunctions));
2545 memcpy(&s_callbacks, callbacks, sizeof (RIL_RadioFunctions));
2870 p_info = (UserCallbackInfo *) malloc (sizeof(UserCallbackInfo));
2877 memset (&myRelativeTime, 0, sizeof(myRelativeTime));
2880 memcpy (&myRelativeTime, relativeTime, sizeof(myRelativeTime));