Home
last modified time | relevance | path

Searched refs:file_path_ (Results 1 – 25 of 32) sorted by relevance

12

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/source/
Dflickr_op.cc37 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()
Dcsv_op.cc68 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()
Dflickr_op.h99 std::string file_path_; variable
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/perf/
Dconnector_throughput.cc102 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()
Ddevice_queue_tracing.cc45 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()
Ddataset_iterator_tracing.cc45file_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()
Dconnector_size.cc68 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()
Dprofiling.cc41 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()
Dcpu_sampling.cc592 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()
681file_path_ = (Path(dir_path) / Path("minddata_cpu_utilization_" + device_id + ".json")).ToString(); in Init()
[all …]
/third_party/mindspore/mindspore/ccsrc/ps/core/
Dfile_configuration.cc23 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()
Dfile_configuration.h50 explicit FileConfiguration(const std::string &path) : file_path_(path), is_initialized_(false) {} in FileConfiguration()
69 std::string file_path_;
/third_party/gn/src/gn/
Dfile_writer.cc33 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()
Dfile_writer.h69 std::string file_path_; variable
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/text/kernels/
Dsentence_piece_tokenizer_op.cc45 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()
Dsentence_piece_tokenizer_op.h58 std::string file_path_; variable
/third_party/ninja/src/
Ddeps_log.cc53 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()
Ddeps_log.h119 std::string file_path_; member
/third_party/node/deps/zlib/google/
Dzip_reader.h84 const base::FilePath& file_path() const { return file_path_; } in file_path()
114 const base::FilePath file_path_;
Dzip_reader.cc91 : 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/
Dzip_reader.h84 const base::FilePath& file_path() const { return file_path_; } in file_path()
114 const base::FilePath file_path_;
Dzip_reader.cc90 : 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/
Dzip_reader.h84 const base::FilePath& file_path() const { return file_path_; } in file_path()
114 const base::FilePath file_path_;
Dzip_reader.cc91 : 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/
Dprofile.h151 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/
Dlexer.h91 std::string const file_path_; variable

12