Home
last modified time | relevance | path

Searched refs:ios (Results 1 - 25 of 110) sorted by relevance

12345

/base/security/appverify/interfaces/innerkits/appverify/test/unittest/src/
H A Dhap_verify_test.cpp88 appFile.open(errorFile.c_str(), std::ios::binary | std::ios::out | std::ios::trunc); in HWTEST_F()
99 hapFile.open(rightFile.c_str(), std::ios::binary | std::ios::out | std::ios::trunc); in HWTEST_F()
112 hapFile1.open(rightFile1.c_str(), std::ios::binary | std::ios::out | std::ios::trunc); in HWTEST_F()
126 hapFile2.open(invalidFile.c_str(), std::ios in HWTEST_F()
[all...]
H A Dhap_crl_manager_test.cpp44 source.open(sourceFilePath.c_str(), std::ios::in); in CopyFile()
48 dest.open(destFilePath.c_str(), std::ios::binary | std::ios::out | std::ios::trunc); in CopyFile()
62 fileStream.open(filePath.c_str(), std::ios::binary | std::ios::out | std::ios::trunc); in ClearFile()
H A Dhap_signing_block_utils_test.cpp49 std::ofstream hapFile(pathFile.c_str(), std::ios::binary | std::ios::out | std::ios::trunc); in CreatTestZipFile()
164 hapFile.open(pathFile.c_str(), std::ios::binary | std::ios::out); in HWTEST_F()
176 hapFile2.open(pathFile.c_str(), std::ios::binary | std::ios::out); in HWTEST_F()
221 hapFile.open(pathFile.c_str(), std::ios::binary | std::ios::out | std::ios in HWTEST_F()
[all...]
/base/security/security_guard/services/config_manager/src/
H A Dbase_config.cpp34 stream_.seekg(0, std::ios::end); in Check()
35 std::ios::pos_type len = stream_.tellg(); in Check()
41 stream_.seekg(0, std::ios::beg); in Check()
/base/update/updater/test/fuzztest/applypatch_fuzzer/
H A Dapplypatch_fuzzer.cpp35 ofs.open(filePath, std::ios::app | std::ios::binary); in WriteDataToFile()
37 ofs.open(filePath, std::ios::ate | std::ios::binary); in WriteDataToFile()
/base/hiviewdfx/faultloggerd/common/dfxutil/
H A Dfile_util.h36 file.seekg(0, std::ios::end); in LoadStringFromFile()
43 file.seekg(0, std::ios::beg); in LoadStringFromFile()
/base/hiviewdfx/hiview/base/event_store/sequence/
H A Dsys_event_sequence_mgr.cpp34 file.open(filePath.c_str(), std::ios::in | std::ios::out); in SaveStringToFile()
36 file.open(filePath.c_str(), std::ios::out); in SaveStringToFile()
/base/update/updater/services/log/
H A Dlog.cpp46 g_updaterLog.open(logFile.c_str(), std::ios::app | std::ios::out); in InitUpdaterLogger()
47 g_updaterStage.open(stageFile.c_str(), std::ios::app | std::ios::out); in InitUpdaterLogger()
48 g_errorCode.open(errorCodeFile.c_str(), std::ios::app | std::ios::out); in InitUpdaterLogger()
/base/security/crypto_framework/test/unittest/src/aes_cipher/
H A Daes_common.cpp100 ofstream outfile(fileName, ios::out|ios::binary|ios::app); in GeneratorFile()
120 infile1.open("/data/test_aes.txt", ios::in|ios::binary); in CompareFileContent()
125 infile2.open("/data/test_aes_new.txt", ios::in|ios::binary); in CompareFileContent()
153 infile.open("/data/test_aes.txt", ios::in|ios::binary); in AesMultiBlockEncrypt()
158 outfile.open("/data/test_aes_enc.txt", ios in AesMultiBlockEncrypt()
[all...]
/base/hiviewdfx/hiview/plugins/reliability/bbox_detectors/
H A Dpanic_error_info_handle.cpp140 fout.open(HISTORY_LOG_PATH, ios::out | ios::app); in SaveHistoryLog()
174 fout.open(targetPath, ios::in | ios::out | ios::trunc); in CopyPstoreFileToHistoryLog()
/base/hiviewdfx/hilog/services/hilogd/
H A Dlog_persister_rotator.cpp88 m_infoFile.open(m_infoFilePath, std::ios::binary | std::ios::out | std::ios::trunc); in OpenInfoFile()
154 m_currentLogOutput.open(newFile.str(), std::ios::out | std::ios::trunc); in CreateLogFile()
/base/security/security_guard/frameworks/common/utils/src/
H A Dsecurity_guard_utils.cpp120 std::ifstream src(srcPath, std::ios::binary); in CopyFile()
130 src.seekg(0, std::ios::beg); in CopyFile()
131 std::ofstream dst(dstPath, std::ios::binary); in CopyFile()
/base/hiviewdfx/hiview/base/event_store/utility/reader/
H A Dsys_event_doc_reader.cpp40 in.seekg(GetNegativeNum(sizeof(T)), std::ios::cur); in ReadValueAndReset()
58 in_.open(path, std::ios::binary); in Init()
66 in_.seekg(0, std::ios::end); in Init()
68 in_.seekg(curPos, std::ios::beg); in Init()
275 in_.seekg(seekSize, std::ios::beg); in SeekgPage()
278 in_.setstate(std::ios::eofbit); in SeekgPage()
/base/sensors/sensor/vibration_convert/core/native/src/
H A Dgenerate_vibration_json_file.cpp62 std::ofstream ofs("demo.json", std::ios::out); in GenerateJsonFile()
87 std::ofstream ofs(pathName, std::ios::out); in DebugJsonFile()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/utility/
H A Dfile_util.cpp179 os.open(file.c_str(), std::ios::out | std::ios::trunc); in SaveStringToFile()
181 os.open(file.c_str(), std::ios::out | std::ios::app); in SaveStringToFile()
/base/powermgr/power_manager/services/native/src/suspend/
H A Dsuspend_source_parser.cpp62 std::ifstream inputStream(targetPath.c_str(), std::ios::in | std::ios::binary); in ParseSources()
99 std::ifstream inputStream(targetPath.c_str(), std::ios::in | std::ios::binary);
/base/security/security_guard/services/security_collector/src/
H A Ddata_collection.cpp181 std::ifstream stream(SA_CONFIG_PATH, std::ios::in); in GetCollectorPath()
228 std::ifstream stream(SA_CONFIG_PATH, std::ios::in); in GetCollectorType()
281 stream.seekg(0, std::ios::end); in CheckFileStream()
282 std::ios::pos_type len = stream.tellg(); in CheckFileStream()
287 stream.seekg(0, std::ios::beg); in CheckFileStream()
/base/security/code_signature/test/unittest/utils/include/
H A Dxpm_common.h40 std::fstream fout(filePath, std::ios::out); in SaveStringToFile()
/base/hiviewdfx/hiview/framework/native/unified_collection/collector/
H A Dprocess_collector_impl.cpp119 file.open(filePath.c_str(), std::ios::out | std::ios::trunc); in ExportMemCgProcesses()
/base/hiviewdfx/hidumper/frameworks/native/src/util/
H A Dstring_utils.cpp115 s << setw(width) << setfill(fileStr) << setiosflags(ios::left) << str; in SetWidth()
117 s << setw(width) << setfill(fileStr) << setiosflags(ios::right) << str; in SetWidth()
/base/powermgr/power_manager/services/native/src/wakeup_action/
H A Dwakeup_action_source_parser.cpp46 std::ifstream inputStream(targetPath.c_str(), std::ios::in | std::ios::binary); in ParseSources()
/base/powermgr/power_manager/utils/vibrator/src/
H A Dvibrator_source_parser.cpp39 std::ifstream inputStream(targetPath.c_str(), std::ios::in | std::ios::binary); in ParseSources()
/base/update/updater/services/diffpatch/
H A Ddiffpatch.cpp32 std::ofstream patchFile(fileName, std::ios::out | std::ios::binary); in WriteDataToFile()
/base/hiviewdfx/hiview/base/event_store/utility/writer/
H A Dsys_event_doc_writer.cpp32 out_.open(path, std::ios::binary | std::ios::app); in SysEventDocWriter()
173 out_.seekp(0, std::ios::end); in WriteContent()
/base/hiviewdfx/hiview/plugins/reliability/leak_detectors/test/
H A Dtest_util.cpp259 ifstream src(srcFile, std::ios::binary); in CopyFile()
260 ofstream dst(dstFile, std::ios::binary); in CopyFile()
266 std::ofstream fs(file, std::ios::out); in WriteFile()

Completed in 10 milliseconds

12345