/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/source/ |
D | flickr_op.cc | 37 file_path_(file_path), in FlickrOp() 77 trow->setPath({data.first, file_path_}); in LoadTensorRow() 92 << "\nAnnotationFile: " << file_path_ << "\nDecode: " << (decode_ ? "yes" : "no") << "\n\n"; in Print() 97 auto real_file_path = FileUtils::GetRealPath(file_path_.data()); in ParseFlickrData() 99 MS_LOG(ERROR) << "Invalid file, get real path failed, path=" << file_path_; in ParseFlickrData() 100 RETURN_STATUS_UNEXPECTED("Invalid file, get real path failed, path=" + file_path_); in ParseFlickrData() 105 RETURN_STATUS_UNEXPECTED("Invalid file, failed to open Flickr annotation file: " + file_path_); in ParseFlickrData() 125 …TATUS_UNEXPECTED("Invalid data, image_name is not found in Flickr annotation file: " + file_path_ + in ParseFlickrData() 133 …TATUS_UNEXPECTED("Invalid data, annotation is not found in Flickr annotation file: " + file_path_ + in ParseFlickrData() 150 … RETURN_STATUS_UNEXPECTED("Invalid file, failed to open Flickr annotation file: " + file_path_); in ParseFlickrData()
|
D | csv_op.cc | 68 file_path_(std::move(file_path)) {} in CsvParser() 307 std::vector<std::string> file_path(column_default_.size(), file_path_); in InitCsvParser() 318 std::vector<std::string> file_path(column_default_.size(), file_path_); in InitCsvParser() 327 std::vector<std::string> file_path(column_default_.size(), file_path_); in InitCsvParser() 413 std::vector<std::string> file_path(column_default_.size(), file_path_); in InitCsvParser() 426 std::vector<std::string> file_path(column_default_.size(), file_path_); in InitCsvParser() 437 std::vector<std::string> file_path(column_default_.size(), file_path_); in InitCsvParser()
|
D | flickr_op.h | 99 std::string file_path_; variable
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/perf/ |
D | connector_throughput.cc | 102 Path path = Path(file_path_); in SaveToFile() 126 std::ofstream os(file_path_, std::ios::trunc); in SaveToFile() 133 file_path_ = (Path(dir_path) / Path("pipeline_profiling_" + device_id + ".json")).ToString(); in Init() 134 Path path = Path(file_path_); in Init() 141 if (file_path_.empty()) { in ChangeFileMode() 145 if (chmod(common::SafeCStr(file_path_), S_IRUSR | S_IWUSR) == -1) { in ChangeFileMode() 146 std::string err_str = "Change file mode failed," + file_path_; in ChangeFileMode()
|
D | device_queue_tracing.cc | 45 file_path_ = (Path(dir_path) / Path("device_queue_profiling_" + device_id + ".txt")).ToString(); in Init() 54 if (chmod(common::SafeCStr(file_path_), S_IRUSR | S_IWUSR) == -1) { in ChangeFileMode() 55 std::string err_str = "Change file mode failed," + file_path_; in ChangeFileMode()
|
D | dataset_iterator_tracing.cc | 45 …file_path_ = (Path(dir_path) / Path("dataset_iterator_profiling_" + device_id + ".txt")).ToString(… in Init() 54 if (chmod(common::SafeCStr(file_path_), S_IRUSR | S_IWUSR) == -1) { in ChangeFileMode() 55 std::string err_str = "Change file mode failed," + file_path_; in ChangeFileMode()
|
D | connector_size.cc | 68 Path path = Path(file_path_); in SaveToFile() 90 std::ofstream os(file_path_, std::ios::trunc); in SaveToFile() 97 file_path_ = (Path(dir_path) / Path("pipeline_profiling_" + device_id + ".json")).ToString(); in Init() 98 Path path = Path(file_path_); in Init()
|
D | profiling.cc | 41 std::ofstream handle(file_path_, std::ios::trunc); in SaveToFile() 55 Path path = Path(file_path_); in ReadJson() 57 MS_LOG(DEBUG) << file_path_ << " exists"; in ReadJson() 59 std::ifstream file(file_path_); in ReadJson() 62 RETURN_STATUS_UNEXPECTED("Invalid file, failed to open json file: " + file_path_ + in ReadJson()
|
D | cpu_sampling.cc | 592 Path path = Path(file_path_); in SaveTimeStampToFile() 596 std::ifstream file(file_path_); in SaveTimeStampToFile() 599 RETURN_STATUS_UNEXPECTED("Invalid file, failed to open json file: " + file_path_ + in SaveTimeStampToFile() 604 std::ofstream os(file_path_, std::ios::trunc); in SaveTimeStampToFile() 613 Path path = Path(file_path_); in SaveSamplingItervalToFile() 617 std::ifstream file(file_path_); in SaveSamplingItervalToFile() 620 RETURN_STATUS_UNEXPECTED("Invalid file, failed to open json file: " + file_path_ + in SaveSamplingItervalToFile() 625 std::ofstream os(file_path_, std::ios::trunc); in SaveSamplingItervalToFile() 674 RETURN_IF_NOT_OK(cpu->SaveToFile(file_path_)); in SaveToFile() 681 …file_path_ = (Path(dir_path) / Path("minddata_cpu_utilization_" + device_id + ".json")).ToString(); in Init() [all …]
|
/third_party/mindspore/mindspore/ccsrc/ps/core/ |
D | file_configuration.cc | 23 if (!CommUtil::IsFileExists(file_path_)) { in Initialize() 24 MS_LOG(INFO) << "The file path:" << file_path_ << " is not exist."; in Initialize() 28 std::ifstream json_file(file_path_); in Initialize() 36 …MS_LOG(ERROR) << "Parse json file:" << file_path_ << " failed, the exception:" << illegal_exceptio… in Initialize() 72 std::ofstream output_file(file_path_); in Put()
|
D | file_configuration.h | 50 explicit FileConfiguration(const std::string &path) : file_path_(path), is_initialized_(false) {} in FileConfiguration() 69 std::string file_path_;
|
/third_party/gn/src/gn/ |
D | file_writer.cc | 33 file_path_ = base::UTF16ToUTF8(file_path.value()); in Create() 40 PLOG(ERROR) << "CreateFile failed for path " << file_path_; in Create() 53 PLOG(ERROR) << "writing file " << file_path_ << " failed"; in Write() 59 << file_path_ << " expected " << str.size(); in Write()
|
D | file_writer.h | 69 std::string file_path_; variable
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/text/kernels/ |
D | sentence_piece_tokenizer_op.cc | 45 auto status = processor_.Load(file_path_); in SentencePieceTokenizerOp() 48 err_msg += "load vocab model file: " + file_path_ + " failed."; in SentencePieceTokenizerOp() 90 if (file_path_.size() >= PATH_MAX) { in GetModelRealPath() 108 file_path_ = (Path(abs_path) / Path(filename)).ToString(); in GetModelRealPath()
|
D | sentence_piece_tokenizer_op.h | 58 std::string file_path_; variable
|
/third_party/ninja/src/ |
D | deps_log.cc | 53 file_path_ = path; // we don't actually open the file right now, but will do in OpenForWrite() 405 if (file_path_.empty()) { in OpenForWriteIfNeeded() 408 file_ = fopen(file_path_.c_str(), "ab"); in OpenForWriteIfNeeded() 432 file_path_.clear(); in OpenForWriteIfNeeded()
|
D | deps_log.h | 119 std::string file_path_; member
|
/third_party/node/deps/zlib/google/ |
D | zip_reader.h | 84 const base::FilePath& file_path() const { return file_path_; } in file_path() 114 const base::FilePath file_path_;
|
D | zip_reader.cc | 91 : file_path_(base::FilePath::FromUTF8Unsafe(file_name_in_zip)), in EntryInfo() 102 is_unsafe_ = file_path_.ReferencesParent(); in EntryInfo() 113 if (file_path_.IsAbsolute() || in EntryInfo()
|
/third_party/skia/third_party/externals/zlib/google/ |
D | zip_reader.h | 84 const base::FilePath& file_path() const { return file_path_; } in file_path() 114 const base::FilePath file_path_;
|
D | zip_reader.cc | 90 : file_path_(base::FilePath::FromUTF8Unsafe(file_name_in_zip)), in EntryInfo() 101 is_unsafe_ = file_path_.ReferencesParent(); in EntryInfo() 112 if (file_path_.IsAbsolute() || in EntryInfo()
|
/third_party/flutter/skia/third_party/externals/zlib/google/ |
D | zip_reader.h | 84 const base::FilePath& file_path() const { return file_path_; } in file_path() 114 const base::FilePath file_path_;
|
D | zip_reader.cc | 91 : file_path_(base::FilePath::FromUTF8Unsafe(file_name_in_zip)), in EntryInfo() 102 is_unsafe_ = file_path_.ReferencesParent(); in EntryInfo() 113 if (file_path_.IsAbsolute() || in EntryInfo()
|
/third_party/mindspore/mindspore/core/utils/ |
D | profile.h | 151 void set_file_path(const std::string &save_path) { file_path_ = save_path; } in set_file_path() 159 std::string file_path_ = "./timeline.json"; variable
|
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
D | lexer.h | 91 std::string const file_path_; variable
|