Lines Matching refs:value

85   if (CallLstat(path.value().c_str(), &stat_info) != 0) {
86 DPLOG(ERROR) << "Failed to get information on path " << path.value();
91 DLOG(ERROR) << "Path " << path.value() << " is a symbolic link.";
96 DLOG(ERROR) << "Path " << path.value() << " is owned by the wrong user.";
102 DLOG(ERROR) << "Path " << path.value()
108 DLOG(ERROR) << "Path " << path.value() << " is writable by any user.";
164 if (realpath(input.value().c_str(), full_path) == nullptr)
174 const char* path_str = path.value().c_str();
187 directories.push(path.value());
194 directories.push(current.value());
196 success &= (unlink(current.value().c_str()) == 0);
202 success &= (rmdir(dir.value().c_str()) == 0);
210 if (rename(from_path.value().c_str(), to_path.value().c_str()) == 0)
263 return access(path.value().c_str(), F_OK) == 0;
267 return access(path.value().c_str(), W_OK) == 0;
272 if (CallStat(path.value().c_str(), &file_info) != 0)
280 const std::string& tmpdir_string = path->value();
292 return ::symlink(target_path.value().c_str(), symlink_path.value().c_str()) !=
300 ssize_t count = ::readlink(symlink_path.value().c_str(), buf, std::size(buf));
317 if (CallStat(path.value().c_str(), &file_info) != 0)
329 if (CallStat(path.value().c_str(), &stat_buf) != 0)
336 if (HANDLE_EINTR(chmod(path.value().c_str(), updated_mode_bits)) != 0)
401 std::string sub_dir_string = sub_dir.value();
451 for (FilePath path = full_path.DirName(); path.value() != last_path.value();
462 if (mkdir(i->value().c_str(), 0777) == 0)
498 if (CallLstat(file_path.value().c_str(), &st) != 0)
505 if (CallStat(file_path.value().c_str(), &file_info) != 0)
528 result = fopen(filename.value().c_str(), the_mode);
546 int fd = HANDLE_EINTR(open(filename.value().c_str(), O_RDONLY));
557 int fd = HANDLE_EINTR(creat(filename.value().c_str(), 0666));
583 int fd = HANDLE_EINTR(open(filename.value().c_str(), O_WRONLY | O_APPEND));
611 return chdir(path.value().c_str()) == 0;
620 << base.value() << "\", path = \"" << path.value() << "\"";
679 return pathconf(path.value().c_str(), _PC_NAME_MAX);