• Home
  • Raw
  • Download

Lines Matching refs:mPersistedFile

387          mPersistedFile(),  in ReportWriter()
395 mPersistedFile = file; in setPersistedFile()
499 if (mPersistedFile != nullptr) { in writeSection()
501 mPersistedFile->getDataFileFd(), mPersistedFile)); in writeSection()
548 mPersistedFile = mWorkDirectory->createReportFile(); in runReport()
550 mPersistedFile->getEnvelopeFileName().c_str(), in runReport()
551 mPersistedFile->getDataFileName().c_str()); in runReport()
556 if (mPersistedFile != nullptr) { in runReport()
559 mPersistedFile->addReport(request->args); in runReport()
564 mPersistedFile->setMaxPersistedPrivacyPolicy(persistedPrivacyPolicy); in runReport()
565 err = mPersistedFile->saveEnvelope(); in runReport()
567 mWorkDirectory->remove(mPersistedFile); in runReport()
568 mPersistedFile = nullptr; in runReport()
573 if (mPersistedFile != nullptr) { in runReport()
574 err = mPersistedFile->startWritingDataFile(); in runReport()
576 mWorkDirectory->remove(mPersistedFile); in runReport()
577 mPersistedFile = nullptr; in runReport()
581 if (mPersistedFile != nullptr) { in runReport()
582 mWriter.setPersistedFile(mPersistedFile); in runReport()
604 if (mPersistedFile != nullptr) { in runReport()
605 reportId = mPersistedFile->getTimestampNs(); in runReport()
652 if (mPersistedFile != nullptr) { in runReport()
653 mPersistedFile->closeDataFile(); in runReport()
659 make_metadata(&persistedMetadata, metadata, mPersistedFile->getTimestampNs(), in runReport()
661 mPersistedFile->setMetadata(persistedMetadata); in runReport()
663 mPersistedFile->markCompleted(); in runReport()
664 err = mPersistedFile->saveEnvelope(); in runReport()
669 mWorkDirectory->remove(mPersistedFile); in runReport()
756 if (mPersistedFile != nullptr) { in cancel_and_remove_failed_requests()
757 if (mPersistedFile->getWriteError() != NO_ERROR) { in cancel_and_remove_failed_requests()
759 strerror(-mPersistedFile->getWriteError())); in cancel_and_remove_failed_requests()
768 mPersistedFile->closeDataFile(); in cancel_and_remove_failed_requests()
769 mWorkDirectory->remove(mPersistedFile); in cancel_and_remove_failed_requests()
770 mPersistedFile = nullptr; in cancel_and_remove_failed_requests()