/third_party/cef/libcef_dll/wrapper/ |
D | cef_scoped_temp_dir.cc | 13 if (!path_.empty() && !Delete()) in ~CefScopedTempDir() 18 if (!path_.empty()) in CreateUniqueTempDir() 23 if (!CefCreateNewTempDirectory("scoped_dir", path_)) in CreateUniqueTempDir() 31 if (!path_.empty()) in CreateUniqueTempDirUnderPath() 39 if (!CefCreateTempDirectoryInDirectory(base_path, "scoped_dir_", path_)) in CreateUniqueTempDirUnderPath() 46 if (!path_.empty()) in Set() 52 path_ = path; in Set() 57 if (path_.empty()) in Delete() 60 bool ret = CefDeleteFile(path_, true); in Delete() 63 path_.clear(); in Delete() [all …]
|
/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
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/util/ |
D | path.cc | 36 Path::Path(const std::string &s) : path_(s) {} in Path() 38 Path::Path(const char *p) : path_(p) {} in Path() 40 Path::Path(const Path &p) : path_(p.path_) {} in Path() 44 this->path_ = p.path_; in operator =() 51 this->path_ = std::move(p.path_); in operator =() 56 Path::Path(Path &&p) noexcept { this->path_ = std::move(p.path_); } in Path() 59 std::string q = path_ + p.ToString(); in operator +() 64 std::string q = path_ + p; in operator +() 69 std::string q = path_ + p; in operator +() 74 path_ += rhs.ToString(); in operator +=() [all …]
|
D | path.h | 61 std::string ToString() const { return path_; } in ToString() 81 bool operator==(const Path &rhs) const { return (path_ == rhs.path_); } 83 bool operator!=(const Path &rhs) const { return (path_ != rhs.path_); } 85 bool operator<(const Path &rhs) const { return (path_ < rhs.path_); } 87 bool operator>(const Path &rhs) const { return (path_ > rhs.path_); } 89 bool operator<=(const Path &rhs) const { return (path_ <= rhs.path_); } 91 bool operator>=(const Path &rhs) const { return (path_ >= rhs.path_); } 125 std::string path_; variable
|
/third_party/flutter/engine/flutter/lib/ui/painting/ |
D | path.cc | 66 return path_.getFillType(); in getFillType() 70 path_.setFillType(static_cast<SkPath::FillType>(fill_type)); in setFillType() 74 path_.moveTo(x, y); in moveTo() 78 path_.rMoveTo(x, y); in relativeMoveTo() 82 path_.lineTo(x, y); in lineTo() 86 path_.rLineTo(x, y); in relativeLineTo() 90 path_.quadTo(x1, y1, x2, y2); in quadraticBezierTo() 97 path_.rQuadTo(x1, y1, x2, y2); in relativeQuadraticBezierTo() 106 path_.cubicTo(x1, y1, x2, y2, x3, y3); in cubicTo() 115 path_.rCubicTo(x1, y1, x2, y2, x3, y3); in relativeCubicTo() [all …]
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/core/ |
D | tensor_row.cc | 24 TensorRow::TensorRow() noexcept : id_(kDefaultRowId), path_({}), tensor_row_flag_(kFlagNone) {} in TensorRow() 27 : id_(kDefaultRowId), path_({}), row_(n, t), tensor_row_flag_(kFlagNone) {} in TensorRow() 30 : id_(kDefaultRowId), path_({}), row_(v), tensor_row_flag_(kFlagNone) {} in TensorRow() 33 : id_(id), path_({}), row_(lst), tensor_row_flag_(kFlagNone) {} in TensorRow() 36 : id_(tr.id_), path_(tr.path_), row_(tr.row_), tensor_row_flag_(tr.tensor_row_flag_) {} in TensorRow() 38 TensorRow::TensorRow(TensorRow::TensorRowFlags flag) : id_(kDefaultRowId), path_({}), tensor_row_fl… in TensorRow() 46 path_ = tr.path_; in operator =() 58 : id_(kDefaultRowId), path_({}), row_(std::move(v)), tensor_row_flag_(kFlagNone) {} in TensorRow() 61 : id_(id), path_({}), row_(std::move(lst)), tensor_row_flag_(kFlagNone) {} in TensorRow() 65 path_ = std::move(tr.path_); in TensorRow() [all …]
|
/third_party/boost/boost/iostreams/detail/ |
D | path.hpp | 172 path(const std::string& p) : path_(p) { } 173 path(const char* p) : path_(p) { } 175 path(const Path& p) : path_(p.external_file_string()) { } 176 path(const path& p) : path_(p.path_) { } 179 path_ = other.path_; 184 path_ = p; 189 path_ = p; 195 path_ = p.external_file_string(); 199 const char* c_str() const { return path_.c_str(); } 202 std::string path_;
|
/third_party/grpc/src/core/ext/filters/client_channel/lb_policy/ |
D | address_filtering.cc | 37 : path_(std::move(path)) {} in HierarchicalPathAttribute() 40 return absl::make_unique<HierarchicalPathAttribute>(path_); in Copy() 45 static_cast<const HierarchicalPathAttribute*>(other)->path_; in Cmp() 46 for (size_t i = 0; i < path_.size(); ++i) { in Cmp() 48 int r = path_[i].compare(other_path[i]); in Cmp() 51 if (other_path.size() > path_.size()) return -1; in Cmp() 56 return absl::StrCat("[", absl::StrJoin(path_, ", "), "]"); in ToString() 59 const std::vector<std::string>& path() const { return path_; } in path() 62 std::vector<std::string> path_; member in grpc_core::__anon06b4b4a50111::HierarchicalPathAttribute
|
/third_party/flutter/engine/flutter/fml/ |
D | file.cc | 47 path_ = CreateTemporaryDirectory(); in ScopedTemporaryDirectory() 48 if (path_ != "") { in ScopedTemporaryDirectory() 49 dir_fd_ = OpenDirectory(path_.c_str(), false, FilePermission::kRead); in ScopedTemporaryDirectory() 54 if (path_ != "") { in ~ScopedTemporaryDirectory() 55 if (!UnlinkDirectory(path_.c_str())) { in ~ScopedTemporaryDirectory() 56 FML_LOG(ERROR) << "Could not remove directory: " << path_; in ~ScopedTemporaryDirectory()
|
/third_party/flutter/engine/flutter/runtime/ |
D | embedder_resources.cc | 21 for (int i = 0; resources_table_[i].path_ != nullptr; i++) { in ResourceLookup() 23 if (strcmp(path, entry.path_) == 0) { in ResourceLookup() 38 FML_DCHECK(entry->path_ != nullptr); in Path() 39 return entry->path_; in Path() 44 for (int i = 0; resources_table_[i].path_ != nullptr; i++) { in At()
|
/third_party/flutter/engine/flutter/flow/ |
D | embedded_views.h | 42 path_ = new SkPath(*other.path_); in Mutator() 58 : type_(clip_path), path_(new SkPath(path)) {} in Mutator() 66 const SkPath& GetPath() const { return *path_; } in GetPath() 81 return *path_ == *other.path_; 99 delete path_; in ~Mutator() local 110 SkPath* path_; member
|
/third_party/flutter/engine/flutter/flow/layers/ |
D | physical_shape_layer.cc | 27 path_(path), in PhysicalShapeLayer() 62 set_paint_bounds(path_.getBounds()); in Preroll() 101 SkRect bounds(path_.getBounds()); in Preroll() 150 DrawShadow(context.leaf_nodes_canvas, path_, shadow_color_, elevation_, in Paint() 159 context.leaf_nodes_canvas->drawPath(path_, paint); in Paint() 165 context.internal_nodes_canvas->clipPath(path_, false); in Paint() 168 context.internal_nodes_canvas->clipPath(path_, true); in Paint() 171 context.internal_nodes_canvas->clipPath(path_, true); in Paint()
|
/third_party/flatbuffers/include/flatbuffers/ |
D | registry.h | 34 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
|
/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
|
/third_party/boost/tools/quickbook/src/ |
D | path.cpp | 320 : type_(x.type_), path_(x.path_), url_(x.url_) in path_or_url() 347 path_ = command_line_to_path(x); in path_or_url() 360 path_ = x.path_; in operator =() 375 std::swap(path_, x.path_); in swap() 391 r.path_ = x; in path() 407 return path_; in get_path() 426 r.path_ = path_ / x.to_s(); in operator /()
|
/third_party/cef/libcef/browser/ |
D | extension_impl.cc | 17 path_(extension->path().value()), in CefExtensionImpl() 30 return path_; in GetPath() 46 return id_ == that_impl->id_ && path_ == that_impl->path_ && in IsSame()
|
/third_party/boost/boost/wave/util/ |
D | cpp_include_paths.hpp | 157 bool add_include_path(char const *path_, bool is_system = false) in add_include_path() argument 159 return add_include_path(path_, (is_system || was_sys_include_path) ? in add_include_path() 165 void set_current_directory(char const *path_); 172 bool add_include_path(char const *path_, include_list_type &pathes_); 272 char const *path_, include_list_type &pathes_) in add_include_path() argument 275 if (path_) { in add_include_path() 276 fs::path newpath = util::complete_path(create_path(path_), current_dir); in add_include_path() 284 pathes_.push_back (include_value_type(newpath, path_)); in add_include_path() 439 void include_paths::set_current_directory(char const *path_) in set_current_directory() argument 443 fs::path filepath (create_path(path_)); in set_current_directory()
|
/third_party/boost/libs/beast/test/beast/http/ |
D | file_body.cpp | 48 : path_(boost::filesystem::unique_path()) in temp_file() 54 if (!path_.empty()) in ~temp_file() 57 boost::filesystem::remove(path_, ec); in ~temp_file() 60 log_ << "warning: failed to remove temporary file: " << path_ << "\n"; in ~temp_file() 73 return path_; in path() 78 boost::filesystem::path path_; member
|
/third_party/grpc/src/core/lib/uri/ |
D | uri_parser.cc | 158 path_(std::move(path)), in URI() 169 path_(other.path_), in URI() 183 path_ = other.path_; in operator =()
|
/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/boost/libs/beast/test/beast/core/ |
D | file_test.hpp | 48 fs::path path_; in test_file() member in boost::beast::test_file::temp_path 53 : path_(fs::unique_path()) in test_file() 56 path_ += unicode_suffix; in test_file() 61 cp, flags, path_.c_str(), -1, nullptr, 0, in test_file() 66 cp, flags, path_.c_str(), -1, in test_file() 75 return path_; in test_file() 83 return path_.c_str(); in test_file()
|