Lines Matching refs:file
4 * you may not use this file except in compliance with the License.
377 HIVIEW_LOGI("DumpRequest: detail:%d, list:%d, file:%s, name:%s, time:%lld",
403 for (auto &file : fileList) {
404 std::string fileName = FileUtil::ExtractFileName(file);
408 if (FileUtil::LoadStringFromFile(file, content)) {
809 for (const auto& file : files) {
810 // if file type is not cppcrash, skip!
811 if (file.find("cppcrash") == std::string::npos) {
812 HIVIEW_LOGI("Skip this file(%{public}s) that the type is not cppcrash.", file.c_str());
815 time_t lastAccessTime = GetFileLastAccessTimeStamp(file);
817 HIVIEW_LOGI("Skip this file(%{public}s) that were created 48 hours ago.", file.c_str());
820 auto info = ParseFaultLogInfoFromFile(file, true);
822 HIVIEW_LOGI("Skip this file(%{public}s) which stack is empty.", file.c_str());
829 if (remove(file.c_str()) != 0) {
830 HIVIEW_LOGE("Failed to remove file(%{public}s) which stack is empty", file.c_str());