Home
last modified time | relevance | path

Searched refs:ofs_ (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/drivers/hdf_core/framework/tools/hc-gen/src/
H A Dtext_gen.cpp36 if (!ret && (ofs_.is_open() && !ofs_.good())) { in Output()
80 return ofs_.good(); in HeaderOutput()
102 return ofs_.good(); in HeaderOutputTraversal()
129 return ofs_.good(); in ImplOutput()
187 ofs_.close(); in InitOutput()
241 ofs_ << "};\n\n"; in GenNodeDefinition()
278 return ofs_.good(); in GenObjectDefinitionGen()
312 return ofs_.good(); in GenTermDefinition()
450 ofs_ << '0'; in TemplateObjectImplGen()
452 ofs_ << ",\n"; in TemplateObjectImplGen()
[all …]
H A Dmacro_gen.cpp36 ofs_ << FILE_HEAD_COMMENT; in HeaderTopOutput()
49 ofs_.close(); in HeaderBottomOutput()
87 if (!ofs_.is_open()) { in Initialize()
129 ofs_ << " \\\n" << TAB; in GenArray()
135 ofs_ << node->IntegerValue(); in GenArray()
142 ofs_ << " \\\n}\n"; in GenArray()
145 ofs_ << ","; in GenArray()
147 ofs_ << ", "; in GenArray()
187 ofs_ << std::endl; in GenNodeForeach()
198 ofs_ << std::endl; in GenNodeForeach()
[all …]
H A Dstartup_cfg_gen.cpp52 ofs_ << BOOT_CONFIG_TOP; in HeaderTopOutput()
58 ofs_.close(); in HeaderBottomOutput()
91 if (!ofs_.is_open()) { in Initialize()
105 ofs_ << DYNAMIC_INFO; in EmitDynamicLoad()
117 ofs_ << "\"],\n"; in EmitPathInfo()
163 ofs_ << ","; in EmitSeconInfo()
165 ofs_ << "\n"; in EmitSeconInfo()
177 ofs_ << "\n"; in EmitInitConfigInfo()
204 ofs_ << TAB TAB << "}"; in HostInfoOutput()
206 ofs_<< ","; in HostInfoOutput()
[all …]
H A Dbytecode_gen.cpp62 ofs_.open(outFileName, std::ofstream::out | std::ofstream::binary); in Initialize()
63 if (!ofs_.is_open()) { in Initialize()
247 ofs_.write(data, size); in FsWrite()
252 if (ofs_.bad()) { in WriteBad()
261 ofs_.close(); in HexdumpInitialize()
H A Dbytecode_gen.h70 std::ofstream ofs_; variable
H A Dmacro_gen.h53 std::ofstream ofs_; variable
H A Dstartup_cfg_gen.h100 std::ofstream ofs_; variable
H A Dtext_gen.h89 std::ofstream ofs_; variable
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/frame_analyzer/src/
H A Dframe_saver.cpp63 ofs_.open(tmpPath, ofs_.out | ofs_.app); in FrameSaver()
68 ofs_.close(); in ~FrameSaver()
73 if (!ofs_.is_open()) { in SaveFrameEvent()
78 ofs_ << GetNameByFrameEventType(type) << " " << timeNs << std::endl; in SaveFrameEvent()
H A Dframe_saver.h34 std::ofstream ofs_;
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/frame_analyzer/unittest/
H A Dframe_saver_test.cpp50 ASSERT_FALSE(frameSaver->ofs_.is_open());
64 ASSERT_FALSE(frameSaver->ofs_.is_open());
76 frameSaver->ofs_.open("/data/frame_render/8888.log");
77 ASSERT_TRUE(frameSaver->ofs_.is_open());
80 ASSERT_FALSE(frameSaver->ofs_.is_open());