Home
last modified time | relevance | path

Searched refs:path_ (Results 1 – 25 of 86) sorted by relevance

1234

/external/autotest/client/deps/glbench/src/
Dfilepath.cc17 FilePath new_path(path_); in DirName()
20 new_path.path_.find_last_of(kSeparators, std::string::npos); in DirName()
25 new_path.path_.resize(letter + 1); in DirName()
28 new_path.path_.resize(letter + 2); in DirName()
30 IsSeparator(new_path.path_[letter + 1])) { in DirName()
33 new_path.path_.resize(letter + 3); in DirName()
36 new_path.path_.resize(last_separator); in DirName()
39 if (!new_path.path_.length()) in DirName()
40 new_path.path_ = kCurrentDirectory; in DirName()
46 return this->path_; in value()
[all …]
Dfilepath.h12 FilePath() { this->path_ = std::string(""); } in FilePath()
13 FilePath(const FilePath& that) { this->path_ = that.path_; } in FilePath()
14 FilePath(std::string path) { this->path_ = path; } in FilePath()
15 FilePath(const char* path) { this->path_ = path; } in FilePath()
25 std::string path_;
/external/libchrome/base/files/
Dscoped_temp_dir.cc22 if (!path_.empty() && !Delete()) in ~ScopedTempDir()
27 if (!path_.empty()) in CreateUniqueTempDir()
32 if (!base::CreateNewTempDirectory(kScopedDirPrefix, &path_)) in CreateUniqueTempDir()
39 if (!path_.empty()) in CreateUniqueTempDirUnderPath()
47 if (!base::CreateTemporaryDirInDir(base_path, kScopedDirPrefix, &path_)) in CreateUniqueTempDirUnderPath()
54 if (!path_.empty()) in Set()
60 path_ = path; in Set()
65 if (path_.empty()) in Delete()
68 bool ret = base::DeleteFile(path_, true); in Delete()
71 path_.clear(); in Delete()
[all …]
Dfile_path.cc178 path.CopyToString(&path_); in FilePath()
179 StringType::size_type nul_pos = path_.find(kStringTerminator); in FilePath()
181 path_.erase(nul_pos, StringType::npos); in FilePath()
192 return EqualDriveLetterCaseInsensitive(this->path_, that.path_); in operator ==()
194 return path_ == that.path_; in operator ==()
200 return !EqualDriveLetterCaseInsensitive(this->path_, that.path_); in operator !=()
202 return path_ != that.path_; in operator !=()
309 FilePath new_path(path_); in DirName()
316 StringType::size_type letter = FindDriveLetter(new_path.path_); in DirName()
319 new_path.path_.find_last_of(kSeparators, StringType::npos, in DirName()
[all …]
Dfile_path.h196 return path_ < that.path_;
199 const StringType& value() const { return path_; } in value()
201 bool empty() const { return path_.empty(); } in empty()
203 void clear() { path_.clear(); } in clear()
450 StringType path_; variable
/external/perfetto/src/base/
Dtemp_file.cc38 temp_file.path_.assign(tmpdir); in Create()
40 temp_file.path_.assign(kSysTmpPath); in Create()
42 temp_file.path_.append("/perfetto-XXXXXXXX"); in Create()
43 temp_file.fd_.reset(mkstemp(&temp_file.path_[0])); in Create()
67 if (path_.empty()) in Unlink()
69 PERFETTO_CHECK(unlink(path_.c_str()) == 0); in Unlink()
70 path_.clear(); in Unlink()
79 temp_dir.path_.assign(kSysTmpPath); in Create()
80 temp_dir.path_.append("/perfetto-XXXXXXXX"); in Create()
81 PERFETTO_CHECK(mkdtemp(&temp_dir.path_[0])); in Create()
[all …]
/external/google-breakpad/src/client/linux/handler/
Dminidump_descriptor.cc51 assert(descriptor.path_.empty()); in MinidumpDescriptor()
56 assert(descriptor.path_.empty()); in operator =()
61 path_.clear(); in operator =()
80 path_.clear(); in UpdatePath()
81 path_ = directory_ + "/" + guid_str + ".dmp"; in UpdatePath()
82 c_path_ = path_.c_str(); in UpdatePath()
/external/perf_data_converter/src/quipper/
Dscoped_temp_path.cc55 path_ = string(filename.data()); in ScopedTempFile()
63 path_ = string(dirname.data()) + "/"; in ScopedTempDir()
70 if (!path_.empty() && nftw(path_.c_str(), FileDeletionCallback, kNumOpenFds, in ~ScopedTempPath()
72 LOG(ERROR) << "Error while using ftw() to remove " << path_; in ~ScopedTempPath()
/external/webrtc/webrtc/base/
Dfileutils_mock.h71 path_ = path.pathname(); in Iterate()
74 if (path_.rfind(Pathname::DefaultFolderDelimiter()) != path_.size() - 1) in Iterate()
75 path_ += Pathname::DefaultFolderDelimiter(); in Iterate()
88 if (path_iterator_->first.find(path_) == 0 in Search()
101 sub_path.find(Pathname::DefaultFolderDelimiter(), path_.size()); in IsDirectory()
110 size_t start = path_.size(); in Name()
123 std::string path_; variable
Doptionsfile.cc21 OptionsFile::OptionsFile(const std::string &path) : path_(path) { in OptionsFile()
31 if (!stream.Open(path_, "r", &err)) { in Load()
49 LOG_F(LS_WARNING) << "Ignoring malformed line in " << path_; in Load()
68 if (!stream.Open(path_, "w", &err)) { in Save()
/external/flatbuffers/include/flatbuffers/
Dregistry.h34 schema.path_ = schema_path; in Register()
100 if (!LoadFile(schema.path_.c_str(), false, &schematext)) { in LoadSchema()
101 lasterror_ = "could not load schema: " + schema.path_; in LoadSchema()
107 schema.path_.c_str())) { in LoadSchema()
115 std::string path_; member
/external/boringssl/src/ssl/test/
Dsettings_writer.cc35 path_ = config->write_settings + buf; in Init()
66 if (path_.empty()) { in Commit()
79 ScopedFILE file(fopen(path_.c_str(), "w"), fclose); in Commit()
88 if (path_.empty()) { in WriteHandoff()
103 if (path_.empty()) { in WriteHandback()
/external/puffin/src/
Dunittest_common.h19 explicit ScopedPathUnlinker(const std::string& path) : path_(path) {} in ScopedPathUnlinker()
21 if (unlink(path_.c_str()) < 0) { in ~ScopedPathUnlinker()
22 LOG(ERROR) << "Failed to unlink: " << path_; in ~ScopedPathUnlinker()
27 const std::string path_;
/external/perfetto/include/perfetto/base/
Dtemp_file.h36 const std::string& path() const { return path_; } in path()
54 std::string path_; variable
65 const std::string& path() const { return path_; } in path()
72 std::string path_; variable
/external/google-breakpad/src/common/tests/
Dauto_tempdir.h57 path_.assign(temp_dir); in AutoTempDir()
61 DeleteRecursively(path_); in ~AutoTempDir()
65 return path_; in path()
95 string path_; variable
/external/google-breakpad/src/common/mac/
Dfile_id.cc48 strlcpy(path_, path, sizeof(path_)); in FileID()
52 int fd = open(path_, O_RDONLY); in FileIdentifier()
76 MachoID macho(path_); in MachoIdentifier()
Dmacho_id.cc64 strlcpy(path_, path, sizeof(path_)); in MachoID()
73 strlcpy(path_, path, sizeof(path_)); in MachoID()
194 for (int j = 0, i = (int)strlen(path_)-1; i>=0 && path_[i]!='/'; ++j, --i) { in IDCommand()
195 identifier[j%4] += path_[i]; in IDCommand()
247 MachoWalker walker(path_, callback, context); in WalkHeader()
/external/bcc/src/cc/
Dtable_storage.h43 path_.reserve(len); in Path()
45 path_ += DELIM + s; in Path()
47 const std::string &to_string() const { return path_; } in to_string()
50 std::string path_;
/external/bcc/src/cc/includes/
Dtable_storage.h43 path_.reserve(len); in Path()
45 path_ += DELIM + s; in Path()
47 const std::string &to_string() const { return path_; } in to_string()
50 std::string path_;
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DCppApkAssets.java56 public CppApkAssets(ZipArchiveHandle zip_handle_, String path_) { in CppApkAssets() argument
58 this.path_ = path_; in CppApkAssets()
61 public String GetPath() { return path_; } in GetPath()
84 private String path_; field in CppApkAssets
321 System.err.println("Failed to mmap file '" + path + "' in APK '" + path_ + "'"); in Open()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_symbolizer_win.cc181 SanitizerToolName, path_, GetLastError()); in StartSymbolizerSubprocess()
189 SanitizerToolName, path_, GetLastError()); in StartSymbolizerSubprocess()
195 GetArgV(path_, argv); in StartSymbolizerSubprocess()
220 if (!CreateProcessA(path_, // Executable in StartSymbolizerSubprocess()
230 SanitizerToolName, path_, GetLastError()); in StartSymbolizerSubprocess()
/external/libchrome/base/test/
Dtest_file_util_posix.cc99 : path_(path), info_(nullptr), length_(0) { in FilePermissionRestorer()
100 info_ = GetPermissionInfo(path_, &length_); in FilePermissionRestorer()
106 if (!RestorePermissionInfo(path_, info_, length_)) in ~FilePermissionRestorer()
/external/google-breakpad/src/tools/windows/converter/
Dms_symbol_server_converter.cc188 explicit AutoDeleter(const string &path) : path_(path) {} in AutoDeleter()
196 error, path_.c_str()); in ~AutoDeleter()
201 if (path_.empty()) in Delete()
204 int error = remove(path_.c_str()); in Delete()
210 path_.clear(); in Release()
214 string path_; member in google_breakpad::AutoDeleter
/external/perfetto/src/traced/probes/filesystem/
Dfile_scanner_unittest.cc71 path_(std::move(path)), in FileEntry()
76 inode_ == other.inode_ && path_ == other.path_ && in operator ==()
82 std::string path_; member
/external/tensorflow/tensorflow/compiler/xla/tools/
Ddumped_computation_to_operation_list.cc43 explicit OperationDumper(const string& path) : path_(path) {} in OperationDumper()
53 ShapeUtil::HumanString(hlo->shape()), path_); in DefaultAction()
58 string path_; member in xla::tools::OperationDumper

1234