Searched refs:path_ (Results 1 - 25 of 65) sorted by relevance

123

/external/libchrome/base/files/
H A Dscoped_temp_dir.cc16 if (!path_.empty() && !Delete())
21 if (!path_.empty())
26 if (!base::CreateNewTempDirectory(FILE_PATH_LITERAL("scoped_dir"), &path_))
33 if (!path_.empty())
43 &path_))
50 if (!path_.empty())
56 path_ = path;
61 if (path_.empty())
64 bool ret = base::DeleteFile(path_, true);
67 path_
[all...]
H A Dscoped_temp_dir.h54 // Returns true if path_ is non-empty and exists.
58 FilePath path_; member in class:base::ScopedTempDir
H A Dfile_path.h198 return path_ < that.path_;
201 const StringType& value() const { return path_; }
203 bool empty() const { return path_.empty(); }
205 void clear() { path_.clear(); }
452 StringType path_; member in class:base::FilePath
H A Dimportant_file_writer.h75 const FilePath& path() const { return path_; }
118 const FilePath path_; member in class:base::ImportantFileWriter
H A Dfile_path.cc175 FilePath::FilePath(const FilePath& that) : path_(that.path_) {
180 path.CopyToString(&path_);
181 StringType::size_type nul_pos = path_.find(kStringTerminator);
183 path_.erase(nul_pos, StringType::npos);
190 path_ = that.path_;
198 return EqualDriveLetterCaseInsensitive(this->path_, that.path_);
200 return path_
[all...]
/external/perfetto/src/base/
H A Dtemp_file.cc35 temp_file.path_.assign(kSysTmpPath);
36 temp_file.path_.append("/perfetto-XXXXXXXX");
37 temp_file.fd_.reset(mkstemp(&temp_file.path_[0]));
61 if (path_.empty())
63 PERFETTO_CHECK(unlink(path_.c_str()) == 0);
64 path_.clear();
73 temp_dir.path_.assign(kSysTmpPath);
74 temp_dir.path_.append("/perfetto-XXXXXXXX");
75 PERFETTO_CHECK(mkdtemp(&temp_dir.path_[0]));
82 PERFETTO_CHECK(rmdir(path_
[all...]
/external/google-breakpad/src/client/linux/handler/
H A Dminidump_descriptor.cc49 // with a valid path_, as getting its c_path_ would require the heap which
51 assert(descriptor.path_.empty());
56 assert(descriptor.path_.empty());
61 path_.clear();
80 path_.clear();
81 path_ = directory_ + "/" + guid_str + ".dmp";
82 c_path_ = path_.c_str();
/external/perfetto/include/perfetto/base/
H A Dtemp_file.h36 const std::string& path() const { return path_; }
54 std::string path_; member in class:perfetto::base::TempFile
65 const std::string& path() const { return path_; }
72 std::string path_; member in class:perfetto::base::TempDir
/external/perf_data_converter/src/quipper/
H A Dscoped_temp_path.h22 const string& path() const { return path_; }
25 string path_; member in class:quipper::ScopedTempPath
34 // |path_|. If not, |path_| will be an empty string.
44 // |path_|. If not, |path_| will be an empty string.
H A Dscoped_temp_path.cc55 path_ = string(filename.data());
63 path_ = string(dirname.data()) + "/";
70 if (!path_.empty() && nftw(path_.c_str(), FileDeletionCallback, kNumOpenFds,
72 LOG(ERROR) << "Error while using ftw() to remove " << path_;
/external/ImageMagick/Magick++/lib/Magick++/
H A DFunctions.h29 MagickPPExport void InitializeMagick(const char *path_);
/external/google-breakpad/src/common/mac/
H A Dfile_id.cc48 strlcpy(path_, path, sizeof(path_));
52 int fd = open(path_, O_RDONLY);
76 MachoID macho(path_);
H A Dfile_id.h76 char path_[PATH_MAX]; member in class:google_breakpad::FileID
/external/google-breakpad/src/common/solaris/
H A Dfile_id.h61 char path_[PATH_MAX]; member in class:google_breakpad::FileID
/external/google-breakpad/src/common/tests/
H A Dauto_tempdir.h57 path_.assign(temp_dir);
61 DeleteRecursively(path_);
65 return path_;
95 string path_; member in class:google_breakpad::AutoTempDir
/external/flatbuffers/include/flatbuffers/
H A Dregistry.h34 schema.path_ = schema_path;
104 if (!LoadFile(schema.path_.c_str(), false, &schematext)) {
105 lasterror_ = "could not load schema: " + schema.path_;
111 schema.path_.c_str())) {
119 std::string path_; member in struct:flatbuffers::Registry::Schema
/external/ImageMagick/Magick++/lib/
H A DFunctions.cpp43 MagickPPExport void Magick::InitializeMagick(const char *path_) argument
45 MagickCore::MagickCoreGenesis(path_,MagickFalse);
/external/google-breakpad/src/common/linux/
H A Dfile_id.h73 std::string path_; member in class:google_breakpad::FileID
/external/libchrome/base/test/
H A Dtest_file_util_posix.cc99 : path_(path), info_(NULL), length_(0) {
100 info_ = GetPermissionInfo(path_, &length_);
106 if (!RestorePermissionInfo(path_, info_, length_))
H A Dtest_file_util.h67 const FilePath path_; member in class:base::FilePermissionRestorer
/external/squashfs-tools/squashfs-tools/
H A Dunsquashfs_xattr.c31 #define lsetxattr(path_, name_, val_, sz_, flags_) \
32 setxattr(path_, name_, val_, sz_, 0, flags_ | XATTR_NOFOLLOW)
/external/webrtc/webrtc/base/
H A Dfileutils_mock.h71 path_ = path.pathname();
74 if (path_.rfind(Pathname::DefaultFolderDelimiter()) != path_.size() - 1)
75 path_ += Pathname::DefaultFolderDelimiter();
88 if (path_iterator_->first.find(path_) == 0
101 sub_path.find(Pathname::DefaultFolderDelimiter(), path_.size());
110 size_t start = path_.size();
123 std::string path_; member in class:rtc::FakeDirectoryIterator
H A Doptionsfile.cc21 OptionsFile::OptionsFile(const std::string &path) : path_(path) {
31 if (!stream.Open(path_, "r", &err)) {
49 LOG_F(LS_WARNING) << "Ignoring malformed line in " << path_;
68 if (!stream.Open(path_, "w", &err)) {
/external/tensorflow/tensorflow/compiler/xla/tools/
H A Ddumped_computation_to_operation_list.cc44 explicit OperationDumper(const string& path) : path_(path) {}
56 path_.c_str());
61 string path_; member in class:xla::tools::OperationDumper
/external/perfetto/src/traced/probes/filesystem/
H A Dfile_scanner_unittest.cc71 path_(std::move(path)),
76 inode_ == other.inode_ && path_ == other.path_ &&
82 std::string path_; member in struct:perfetto::__anon18679::FileEntry

Completed in 4944 milliseconds

123