Home
last modified time | relevance | path

Searched refs:WriteToFile (Results 1 – 6 of 6) sorted by relevance

/base/update/updater/services/diffpatch/diff/
Dimage_diff.cpp30 static void WriteToFile(std::ofstream &patchFile, DataType data, size_t dataSize) in WriteToFile() function
131WriteToFile<int64_t>(patchFile, static_cast<int64_t>(block.oldInfo.start), sizeof(int64_t)); in WriteHeader()
132WriteToFile<int64_t>(patchFile, static_cast<int64_t>(block.oldInfo.length), sizeof(int64_t)); in WriteHeader()
133 WriteToFile<int64_t>(patchFile, static_cast<int64_t>(dataOffset), sizeof(int64_t)); in WriteHeader()
140WriteToFile<int32_t>(patchFile, static_cast<int32_t>(block.newInfo.length), sizeof(int32_t)); in WriteHeader()
386 WriteToFile<int64_t>(patchFile, static_cast<int64_t>(block.oldInfo.start), sizeof(int64_t)); in WriteHeader()
387WriteToFile<int64_t>(patchFile, static_cast<int64_t>(block.oldInfo.length), sizeof(int64_t)); in WriteHeader()
388 WriteToFile<int64_t>(patchFile, static_cast<int64_t>(dataOffset), sizeof(int64_t)); in WriteHeader()
389WriteToFile<int64_t>(patchFile, static_cast<int64_t>(block.srcOriginalLength), sizeof(int64_t)); in WriteHeader()
390WriteToFile<int64_t>(patchFile, static_cast<int64_t>(block.destOriginalLength), sizeof(int64_t)); in WriteHeader()
[all …]
/base/hiviewdfx/hiview_lite/
Dhiview_file.h132 int32 WriteToFile(HiviewFile *fp, const uint8 *data, uint32 len);
Dhiview_file.c153 int32 WriteToFile(HiviewFile *fp, const uint8 *data, uint32 len) in WriteToFile() function
/base/security/access_token/interfaces/innerkits/nativetoken/src/
Dnativetoken.c332 static void WriteToFile(const cJSON *root) in WriteToFile() function
392 WriteToFile(record); in SaveTokenIdToCfg()
621 WriteToFile(record); in UpdateInfoInCfgFile()
/base/hiviewdfx/hilog_lite/frameworks/mini/
Dhiview_output_log.c273 if (len > 0 && WriteToFile(&g_logFile, (uint8 *)tempOutStr, len) != len) { in OutputLog2TextFile()
334 if (len > 0 && WriteToFile(&g_logFile, tmpBuffer, len) != len) { in OutputLog2BinFile()
/base/hiviewdfx/hievent_lite/frameworks/
Dhiview_output_event.c366 if (len > 0 && WriteToFile(f, tmpBuffer, len) != len) { in Output2Flash()