/third_party/gn/src/base/files/ |
D | file_path.cc | 175 path_.assign(path); in FilePath() 176 StringType::size_type nul_pos = path_.find(kStringTerminator); in FilePath() 178 path_.erase(nul_pos, StringType::npos); in FilePath() 189 return EqualDriveLetterCaseInsensitive(this->path_, that.path_); in operator ==() 191 return path_ == that.path_; in operator ==() 197 return !EqualDriveLetterCaseInsensitive(this->path_, that.path_); in operator !=() 199 return path_ != that.path_; in operator !=() 300 FilePath new_path(path_); in DirName() 307 StringType::size_type letter = FindDriveLetter(new_path.path_); in DirName() 309 StringType::size_type last_separator = new_path.path_.find_last_of( in DirName() [all …]
|
D | scoped_temp_dir.cc | 22 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 …]
|
D | file_path.h | 194 bool operator<(const FilePath& that) const { return path_ < that.path_; } 196 const StringType& value() const { return path_; } in value() 198 bool empty() const { return path_.empty(); } in empty() 200 void clear() { path_.clear(); } in clear() 367 StringType path_; variable
|
D | scoped_temp_dir.h | 62 FilePath path_;
|
/third_party/skia/third_party/externals/tint/src/utils/io/ |
D | tmpfile_windows.cc | 44 TmpFile::TmpFile(std::string ext) : path_(TmpFilePath(ext)) {} in TmpFile() 47 if (!path_.empty()) { in ~TmpFile() 48 remove(path_.c_str()); in ~TmpFile() 54 if (fopen_s(&file, path_.c_str(), "ab") != 0) { in Append()
|
D | tmpfile_posix.cc | 52 : path_(TmpFilePath(std::move(extension))) {} in TmpFile() 55 if (!path_.empty()) { in ~TmpFile() 56 remove(path_.c_str()); in ~TmpFile() 61 if (auto* file = fopen(path_.c_str(), "ab")) { in Append()
|
D | tmpfile.h | 40 operator bool() { return !path_.empty(); } 43 std::string Path() const { return path_; } in Path() 70 std::string path_; variable
|
D | command_posix.cc | 131 Command::Command(const std::string& path) : path_(path) {} in Command() 138 return ExecutableExists(path_); in Found() 254 args.emplace_back(path_.c_str()); in Exec() 259 auto res = execv(path_.c_str(), const_cast<char* const*>(args.data())); in Exec()
|
D | command.h | 56 const std::string& Path() const { return path_; } in Path() 77 std::string const path_;
|
D | command_windows.cc | 139 Command::Command(const std::string& path) : path_(path) {} in Command() 146 return ExecutableExists(path_); in Found() 178 args << path_; in Exec()
|
/third_party/node/deps/v8/third_party/zlib/google/ |
D | redact.h | 19 explicit Redact(const base::FilePath& path) : path_(path) {} in Redact() 22 return LOG_IS_ON(INFO) ? out << "'" << r.path_ << "'" : out << "(redacted)"; 26 const base::FilePath& path_;
|
/third_party/node/deps/zlib/google/ |
D | redact.h | 19 explicit Redact(const base::FilePath& path) : path_(path) {} in Redact() 22 return LOG_IS_ON(INFO) ? out << "'" << r.path_ << "'" : out << "(redacted)"; 26 const base::FilePath& path_;
|
/third_party/skia/samplecode/ |
D | SamplePathTessellators.cpp | 300 SkPath path_; in update_weight() local 304 path_.moveTo(pts[0]); in update_weight() 307 path_.lineTo(pts[1]); in update_weight() 310 path_.quadTo(pts[1], pts[2]); in update_weight() 313 path_.cubicTo(pts[1], pts[2], pts[3]); in update_weight() 316 path_.conicTo(pts[1], pts[2], (w != 1) ? w : .99f); in update_weight() 322 return path_; in update_weight()
|
/third_party/ninja/src/ |
D | graph.h | 41 : path_(path), in Node() 86 const std::string& path() const { return path_; } in path() 89 return PathDecanonicalized(path_, slash_bits_); in PathDecanonicalized() 118 std::string path_;
|
/third_party/gn/src/gn/ |
D | ohos_components.h | 31 return path_; in path() 47 std::string path_; variable
|
D | xcode_object.cc | 510 : name_(name), path_(path), type_(type) {} in PBXFileReference() 523 return !name_.empty() ? name_ : path_; in Comment() 543 if (!name_.empty() && name_ != path_) in Print() 546 DCHECK(!path_.empty()); in Print() 547 PrintProperty(out, rules, "path", path_); in Print() 581 : name_(name), path_(path) {} in PBXGroup() 638 if (!path_.empty()) in Name() 639 return path_; in Name() 665 if (is_source_ && !path_.empty()) in Print() 666 PrintProperty(out, rules, "path", path_); in Print()
|
D | ninja_build_writer_unittest.cc | 23 : path_(path), in ScopedDotGNFile() 29 base::DeleteFile(path_, false); in ~ScopedDotGNFile() 33 base::FilePath path_; member in ScopedDotGNFile
|
D | xcode_object.h | 245 const std::string& path() const { return path_; } in path() 249 std::string path_; variable 281 const std::string& path() const { return path_; } in path() 311 std::string path_; variable
|
/third_party/python/Lib/test/test_importlib/ |
D | util.py | 434 def resource_path(self, path_): argument 435 self._path = path_ 441 def is_resource(self, path_): argument 442 self._path = path_ 447 if len(parts) == 1 and parts[0] == path_:
|
/third_party/node/deps/v8/src/compiler/ |
D | persistent-map.h | 251 while (current_->key_hash[level_] == kRight || path_[level_] == nullptr) { 258 const FocusedTree* first_right_alternative = path_[level_]; 260 current_ = FindLeftmost(first_right_alternative, &level_, &path_); 295 i.current_ = FindLeftmost(tree, &i.level_, &i.path_); 311 std::array<const FocusedTree*, kHashBits> path_;
|
/third_party/weex-loader/src/ |
D | util.js | 419 export function mkDir(path_) { argument 420 const parent = path.join(path_, '..'); 424 fs.mkdirSync(path_);
|
/third_party/protobuf/src/google/protobuf/util/internal/ |
D | default_value_objectwriter.h | 180 const std::vector<std::string>& path() const { return path_; } in path() 228 std::vector<std::string> path_; variable
|
D | default_value_objectwriter.cc | 212 path_(path), in Node() 327 if (!path_.empty()) { in PopulateChildren() 328 path.insert(path.begin(), path_.begin(), path_.end()); in PopulateChildren()
|
/third_party/vk-gl-cts/external/amber/src/samples/ |
D | amber.cc | 364 void SetScriptPath(std::string path) { path_ = path; } in SetScriptPath() 371 return png::LoadPNG(path_ + file_name, &buffer->width, &buffer->height, in LoadBufferData() 377 auto data = ReadFile(path_ + file_name); in LoadBufferData() 398 std::string path_ = ""; member in __anond62602b40111::SampleDelegate
|
/third_party/node/src/ |
D | inspector_socket.cc | 597 handler->path_.append(at, length); in OnPath() 608 handler->events_.emplace_back(handler->path_, in OnMessageComplete() 613 handler->path_ = ""; in OnMessageComplete() 647 std::string path_; member in node::inspector::__anon6cf459ce0111::HttpHandler
|