Lines Matching defs:curPtr

420         HRilCallInfo *curPtr = ((HRilCallInfo *)response + i);
421 if (curPtr != nullptr) {
422 callInfo.index = curPtr->index;
423 callInfo.dir = curPtr->dir;
424 callInfo.state = curPtr->state;
425 callInfo.mode = curPtr->mode;
426 callInfo.mpty = curPtr->mpty;
427 callInfo.voiceDomain = curPtr->voiceDomain;
428 callInfo.callType = curPtr->callType;
429 callInfo.number = (curPtr->number == nullptr) ? "" : curPtr->number;
430 callInfo.type = curPtr->type;
431 callInfo.alpha = (curPtr->alpha == nullptr) ? "" : curPtr->alpha;
434 TELEPHONY_LOGE("BuildCallList: Invalid curPtr");
581 HRilCFQueryInfo *curPtr = ((HRilCFQueryInfo *)response + i);
582 if (curPtr != nullptr) {
585 cFQueryResult.status = curPtr->status;
586 cFQueryResult.classx = curPtr->classx;
587 cFQueryResult.type = curPtr->type;
588 cFQueryResult.number = ((curPtr->number == nullptr) ? "" : curPtr->number);
589 cFQueryResult.reason = curPtr->reason;
590 cFQueryResult.time = curPtr->time;
593 TELEPHONY_LOGE("BuildICallForwardQueryInfoList: Invalid curPtr");
756 HRilEmergencyInfo *curPtr = ((HRilEmergencyInfo *)response + i);
757 if (curPtr != nullptr) {
758 callInfo.index = curPtr->index;
759 callInfo.total = curPtr->total;
760 callInfo.eccNum = (curPtr->eccNum == nullptr) ? "" : curPtr->eccNum;
761 callInfo.eccType = static_cast<OHOS::HDI::Ril::V1_1::EccType>(curPtr->category);
762 callInfo.simpresent = static_cast<OHOS::HDI::Ril::V1_1::SimpresentType>(curPtr->simpresent);
763 callInfo.mcc = (curPtr->mcc == nullptr) ? "" : curPtr->mcc;
764 callInfo.abnormalService = static_cast<OHOS::HDI::Ril::V1_1::AbnormalServiceType>(curPtr->abnormalService);
767 TELEPHONY_LOGE("BuildIEmergencyCallList: Invalid curPtr");