Lines Matching refs:cr
2721 RIL_CarrierRestrictions cr = {}; in setAllowedCarriers() local
2725 cr.len_allowed_carriers = carriers.allowedCarriers.size(); in setAllowedCarriers()
2726 allowedCarriers = (RIL_Carrier *)calloc(cr.len_allowed_carriers, sizeof(RIL_Carrier)); in setAllowedCarriers()
2733 cr.allowed_carriers = allowedCarriers; in setAllowedCarriers()
2735 cr.len_excluded_carriers = carriers.excludedCarriers.size(); in setAllowedCarriers()
2736 excludedCarriers = (RIL_Carrier *)calloc(cr.len_excluded_carriers, sizeof(RIL_Carrier)); in setAllowedCarriers()
2742 memset(allowedCarriers, 0, cr.len_allowed_carriers * sizeof(RIL_Carrier)); in setAllowedCarriers()
2747 cr.excluded_carriers = excludedCarriers; in setAllowedCarriers()
2749 for (int i = 0; i < cr.len_allowed_carriers; i++) { in setAllowedCarriers()
2756 for (int i = 0; i < cr.len_excluded_carriers; i++) { in setAllowedCarriers()
2764 CALL_ONREQUEST(pRI->pCI->requestNumber, &cr, sizeof(RIL_CarrierRestrictions), pRI, mSlotId); in setAllowedCarriers()
2767 memset(allowedCarriers, 0, cr.len_allowed_carriers * sizeof(RIL_Carrier)); in setAllowedCarriers()
2768 memset(excludedCarriers, 0, cr.len_excluded_carriers * sizeof(RIL_Carrier)); in setAllowedCarriers()