Home
last modified time | relevance | path

Searched refs:filename_ (Results 1 – 25 of 46) sorted by relevance

12

/third_party/mindspore/mindspore/ccsrc/utils/summary/
Devent_writer.cc27 EventWriter::EventWriter(const std::string &file_full_name) : filename_(file_full_name), events_wri… in EventWriter()
32 event_file_ = fs_->CreateWriteFile(filename_); in EventWriter()
44 MS_LOG(ERROR) << "Close file(" << filename_ << ") failed."; in ~EventWriter()
55 MS_LOG(ERROR) << "Open the file(" << filename_ << ") failed."; in Open()
60 MS_LOG(ERROR) << "Open the file(" << filename_ << ") failed."; in Open()
80 if (!fs_->FileExist(filename_)) { in Flush()
81 MS_LOG(ERROR) << "Failed to flush to file(" << filename_ << ") because the file not exist."; in Flush()
90 …MS_LOG(ERROR) << "Failed to sync to file(" << filename_ << "), the event count(" << events_write_c… in Flush()
93 MS_LOG(DEBUG) << "Flush " << events_write_count_ << " events to disk file(" << filename_ << ")."; in Flush()
107 MS_LOG(ERROR) << "Close the file(" << filename_ << ") failed."; in Close()
[all …]
Devent_writer.h47 std::string GetFileName() const { return filename_; } in GetFileName()
78 std::string filename_; variable
/third_party/mindspore/mindspore/ccsrc/debug/rdr/
Dbase_recorder.h31 BaseRecorder() : module_(""), name_(""), directory_(""), filename_(""), timestamp_("") {} in BaseRecorder()
32 …const std::string &module, const std::string &name) : module_(module), name_(name), filename_("") { in BaseRecorder()
42 if (!filename_.empty() && !Common::IsFilenameValid(filename_, MAX_FILENAME_LENGTH, err_msg)) { in BaseRecorder()
43 filename_ = ""; in BaseRecorder()
69 std::string filename_; variable
Dbase_recorder.cc27 if (filename_.empty()) { in GetFileRealPath()
34 filename = filename_; in GetFileRealPath()
36 filename = filename_ + delimiter_ + suffix; in GetFileRealPath()
/third_party/gn/src/base/files/
Dfile_enumerator_posix.cc45 return filename_; in GetName()
118 info.filename_ = FilePath(dent->d_name); in Next()
120 if (ShouldSkip(info.filename_)) in Next()
123 const bool is_pattern_matched = IsPatternMatched(info.filename_); in Next()
138 const FilePath full_path = root_path_.Append(info.filename_); in Next()
158 directory_entries_[current_directory_entry_].filename_); in Next()
/third_party/boost/doc/html/boost_asio/example/cpp03/windows/
Dtransmit_file.cpp82 file_.assign(::CreateFile(filename_.c_str(), GENERIC_READ, 0, 0, in start()
96 filename_(filename), in connection()
109 std::string filename_; member in connection
119 filename_(filename) in server()
128 connection::create(acceptor_.get_executor().context(), filename_); in start_accept()
147 std::string filename_; member in server
/third_party/boost/libs/asio/example/cpp03/windows/
Dtransmit_file.cpp82 file_.assign(::CreateFile(filename_.c_str(), GENERIC_READ, 0, 0, in start()
96 filename_(filename), in connection()
109 std::string filename_; member in connection
119 filename_(filename) in server()
128 connection::create(acceptor_.get_executor().context(), filename_); in start_accept()
147 std::string filename_; member in server
/third_party/node/src/
Ddiagnosticfilename-inl.h15 filename_(MakeFilename(env->thread_id(), prefix, ext)) { in DiagnosticFilename()
22 filename_(MakeFilename(thread_id, prefix, ext)) { in DiagnosticFilename()
26 return filename_.c_str();
/third_party/boost/boost/wave/
Dcpp_exceptions.hpp69 cpp_exception(std::size_t line_, std::size_t column_, char const *filename_) throw() in cpp_exception() argument
73 while (off < sizeof(filename)-1 && *filename_) in cpp_exception()
74 filename[off++] = *filename_++; in cpp_exception()
157 std::size_t column_, char const *filename_) throw() in preprocess_exception() argument
158 : cpp_exception(line_, column_, filename_), in preprocess_exception()
392 std::size_t column_, char const *filename_, char const *macroname) throw() in macro_handling_exception() argument
393 : preprocess_exception(what_, code, line_, column_, filename_) in macro_handling_exception()
Dcpp_context.hpp412 bool has_pragma_once(std::string const &filename_) in has_pragma_once() argument
413 { return includes.has_pragma_once(filename_); } in has_pragma_once()
414 bool add_pragma_once_header(std::string const &filename_, in add_pragma_once_header() argument
417 get_hooks().detected_include_guard(derived(), filename_, guard_name); in add_pragma_once_header()
418 return includes.add_pragma_once_header(filename_, guard_name); in add_pragma_once_header()
421 std::string const &filename_) in add_pragma_once_header() argument
423 get_hooks().detected_pragma_once(derived(), pragma_, filename_); in add_pragma_once_header()
424 return includes.add_pragma_once_header(filename_, in add_pragma_once_header()
/third_party/mindspore/tests/ut/cpp/dataset/common/
Dcvop_common.cc42 filename_ = GetFilename(); in SetUp()
43 GetInputImage(filename_); in SetUp()
93 std::string raw_filename = filename_; in CompareCVMat()
106 std::string dir_path = filename_.substr(0, filename_.length() - 9); in CheckImageShapeAndData()
Dcvop_common.h69 std::string filename_; variable
/third_party/boost/boost/wave/cpplexer/
Dcpplexer_exceptions.hpp135 cpplexer_exception(std::size_t line_, std::size_t column_, char const *filename_) throw() in cpplexer_exception() argument
139 while (off < sizeof(filename)-1 && *filename_) in cpplexer_exception()
140 filename[off++] = *filename_++; in cpplexer_exception()
178 std::size_t column_, char const *filename_) throw() in lexing_exception() argument
179 : cpplexer_exception(line_, column_, filename_), in lexing_exception()
/third_party/protobuf/src/google/protobuf/stubs/
Dcommon.h177 : filename_(filename), line_(line), message_(message) {} in FatalException()
182 const char* filename() const { return filename_; } in filename()
187 const char* filename_;
Dcommon.cc208 : level_(level), filename_(filename), line_(line) {} in LogMessage()
219 log_handler_(level_, filename_, line_, message_); in Finish()
224 throw FatalException(filename_, line_, message_); in Finish()
/third_party/mindspore/mindspore/ccsrc/debug/
Ddraw.h32 …:string &name, const std::string &filename) : name_(name), filename_(filename), fout_(filename_) {} in Graphviz()
48 std::string filename_; variable
/third_party/ninja/src/
Dlexer.in.cc35 snprintf(buf, sizeof(buf), "%s:%d: ", filename_.AsString().c_str(), line); in Error()
66 filename_ = filename; in Start()
Dlexer.h99 StringPiece filename_; member
/third_party/abseil-cpp/absl/flags/
Dflag.h104 filename_(filename),
120 name_, filename_,
162 const char* filename_;
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/
Dflag.h104 filename_(filename),
120 name_, filename_,
162 const char* filename_;
/third_party/mesa3d/src/gtest/src/
Dgtest-port.cc1090 filename_ = temp_file_path; in CapturedStream()
1118 filename_ = name_template; in CapturedStream()
1126 remove(filename_.c_str()); in ~CapturedStream()
1138 FILE* const file = posix::FOpen(filename_.c_str(), "r"); in GetCapturedString()
1140 GTEST_LOG_(FATAL) << "Failed to open tmp file " << filename_ in GetCapturedString()
1152 ::std::string filename_;
/third_party/googletest/googletest/src/
Dgtest-port.cc1095 filename_ = temp_file_path; in CapturedStream()
1152 filename_ = std::move(name_template); in CapturedStream()
1160 remove(filename_.c_str()); in ~CapturedStream()
1172 FILE* const file = posix::FOpen(filename_.c_str(), "r"); in GetCapturedString()
1174 GTEST_LOG_(FATAL) << "Failed to open tmp file " << filename_ in GetCapturedString()
1186 ::std::string filename_;
/third_party/protobuf/src/google/protobuf/compiler/
Dimporter.cc93 : filename_(filename), in SingleFileErrorCollector()
103 multi_file_error_collector_->AddError(filename_, line, column, message); in AddError()
109 std::string filename_; member in google::protobuf::compiler::SourceTreeDescriptorDatabase::SingleFileErrorCollector
/third_party/cef/libcef/browser/
Dzip_reader_impl.cc173 return filename_; in GetFileName()
258 filename_ = std::string(file_name); in GetFileInfo()
Dzip_reader_impl.h48 CefString filename_; variable

12