Lines Matching defs:file
4 * you may not use this file except in compliance with the License.
283 int DumpUtils::FdToRead(const std::string &file)
286 if (realpath(file.c_str(), path) == nullptr) {
287 DUMPER_HILOGE(MODULE_COMMON, "realpath, no such file. path=[%{public}s], file=[%{public}s]",
288 path, file.c_str());
292 if (file != std::string(path)) {
293 DUMPER_HILOGI(MODULE_COMMON, "fail to check consistency. path=[%{public}s], file=[%{public}s]",
294 path, file.c_str());
304 int DumpUtils::FdToWrite(const std::string &file)
307 auto pos = file.find_last_of(split);
309 DUMPER_HILOGE(MODULE_COMMON, "file path:[%{public}s] error", file.c_str());
312 std::string tempPath = file.substr(0, pos + 1);
313 std::string name = file.substr(pos + 1);
334 DUMPER_HILOGD(MODULE_COMMON, "realpath, no such file. path=[%{public}s], tempPath=[%{public}s]",