Home
last modified time | relevance | path

Searched refs:flush (Results 1 - 25 of 36) sorted by relevance

12

/base/hiviewdfx/hidumper/frameworks/native/src/util/
H A Ddump_compressor.cpp56 int flush = 0; in Compress() local
71 if (FillBuffer(flush, srcBuffer, buffInV, toRead, srcPos, srcBufferOffset) == DumpStatus::DUMP_FAIL) { in Compress()
74 if (DeflateBuffer(flush, buffOutV, dstPos) == DumpStatus::DUMP_FAIL) { in Compress()
77 } while (flush != Z_FINISH); in Compress()
92 DumpStatus DumpCompressor::FillBuffer(int& flush, CompressBuffer*& srcBuffer, char*& buffIn, in FillBuffer() argument
114 flush = flag ? Z_FINISH : Z_NO_FLUSH; in FillBuffer() member
119 DumpStatus DumpCompressor::DeflateBuffer(int flush, char*& buffOut, size_t& dstPos) in DeflateBuffer() argument
125 if (deflate(&zStream_, flush) == Z_STREAM_ERROR) { in DeflateBuffer()
/base/hiviewdfx/hidumper/frameworks/native/include/util/
H A Ddump_compressor.h51 DumpStatus FillBuffer(int& flush, CompressBuffer*& srcBuffer, char*& buffIn,
53 DumpStatus DeflateBuffer(int flush, char*& buffOut, size_t& dst_pos);
/base/global/i18n_lite/tools/i18n-dat-tool/src/main/java/ohos/global/i18n/
H A DLocaleList.java75 dataOutputStream.flush(); in write()
91 dataOutputStream.flush(); in write()
94 dataOutputStream.flush(); in write()
H A DStringPool.java126 dataOutputStream.flush(); in write()
H A DDataFetcher.java273 osw.flush(); in writeLocales()
299 osw.flush(); in writeData()
351 osw.flush(); in writeMeasureData()
/base/sensors/sensor/services/src/
H A Dflush_info_record.cpp50 FlushInfo flush(channel, isFirstFlush); in SetFlushInfo()
53 so need to insert this flush command to the end of the vector */ in SetFlushInfo()
56 it->second.push_back(flush); in SetFlushInfo()
58 std::vector<FlushInfo> vec { flush }; in SetFlushInfo()
94 SEN_HILOGE("Set flush info failed"); in FlushProcess()
/base/sensors/medical_sensor/services/medical_sensor/src/
H A Dflush_info_record.cpp60 FlushInfo flush(channel, isFirstFlush); in SetFlushInfo()
63 so need to insert this flush command to the end of the vector */ in SetFlushInfo()
66 it->second.push_back(flush); in SetFlushInfo()
68 std::vector<struct FlushInfo> vec { flush }; in SetFlushInfo()
104 HiLog::Error(LABEL, "%{public}s flush command failed", __func__); in FlushProcess()
114 HiLog::Error(LABEL, "%{public}s set flush info failed", __func__); in FlushProcess()
/base/hiviewdfx/hilog/services/hilogd/
H A Dlog_compress.cpp70 int flush = 0; in Compress() local
88 flush = flag ? Z_FINISH : Z_NO_FLUSH; in Compress()
95 if (deflate(&cStream, flush) == Z_STREAM_ERROR) { in Compress()
107 } while (flush != Z_FINISH); in Compress()
H A Dlog_persister_rotator.cpp104 m_currentLogOutput.flush(); in Input()
193 m_infoFile.flush(); in WriteRecoveryInfo()
/base/update/updater/services/log/
H A Dlog.cpp63 oss_ << std::endl << std::flush; in ~UpdaterLogger() member in Updater::std
67 << logLevelMap_[level_] << " " << str << std::endl << std::flush; in ~UpdaterLogger() member in Updater::std
74 g_updaterStage << std::endl << std::flush; in ~StageLogger() member in Updater::std
76 std::cout << std::endl << std::flush; in ~StageLogger() member in Updater::std
/base/request/request/pre_download/native/src/cache/
H A Ddata.rs129 fn flush(&mut self) -> std::io::Result<()> { in flush() functions
131 CacheData::Ram(ref mut v) => v.flush(), in flush()
132 CacheData::File(ref mut f) => f.flush(), in flush()
/base/update/updater/services/package/pkg_algorithm/
H A Dpkg_algo_deflate.cpp27 int32_t PkgAlgoDeflate::DeflateData(const PkgStreamPtr outStream, z_stream &zstream, int32_t flush, in DeflateData() argument
33 ret = deflate(&zstream, flush); in DeflateData()
49 if (flush == Z_NO_FLUSH) { in DeflateData()
52 } while (ret == Z_OK && flush == Z_FINISH); in DeflateData()
H A Dpkg_algo_deflate.h61 z_stream &zstream, int32_t flush, PkgBuffer &outBuffer, size_t &destOffset) const;
/base/telephony/sms_mms/test/unittest/
H A Dcdma_sms_test.cpp92 cout << ss.str() << flush; in PrintAddr()
117 cout << s << "szData : " << ss.str() << endl << flush; in PrintSubAddr() local
133 cout << s << "szData : " << ss.str() << endl << flush; in PrintSmsTeleSvcAddr() local
184 cout << flush; in PrintHeader() local
192 cout << flush; in PrintTimeAbs() local
241 cout << flush; in PrintEncodeType() local
269 cout << flush; in PrintUserData() local
303 cout << flush; in PrintCmasData() local
312 cout << flush; in PrintSmsReplyOption() local
332 cout << flush; in PrintSmsValPeriod() local
341 cout << flush; PrintSmsEnhancedVmn() local
443 cout << s << "TeleserviceMsg <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<" << endl << flush; PrintTelesvc() local
482 cout << "TransportMsg <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<" << endl << flush; PrintMsg() local
[all...]
/base/startup/init/services/modules/trace/
H A Dinit_trace.c344 int flush = Z_NO_FLUSH; in DumpCompressedTrace() local
358 flush = zs.avail_in == 0 ? Z_FINISH : Z_NO_FLUSH; in DumpCompressedTrace()
363 ret = deflate(&zs, flush); in DumpCompressedTrace()
367 PLUGIN_CHECK(bytesWritten >= have, flush = Z_FINISH; break, in DumpCompressedTrace()
370 } while (flush != Z_FINISH); in DumpCompressedTrace()
/base/update/packaging_tools/
H A Dpatch_package_process.py541 self.new_dat_file_obj.flush()
542 self.patch_dat_file_obj.flush()
543 self.transfer_list_file_obj.flush()
548 self.new_dat_file_obj.flush()
549 self.patch_dat_file_obj.flush()
550 self.transfer_list_file_obj.flush()
/base/hiviewdfx/hitrace/cmd/src/
H A Dhitrace_cmd.cpp209 out.flush(); in WriteStrToFile()
497 int flush = Z_NO_FLUSH; in DumpCompressedTrace() local
519 if (zs.avail_in == 0 && flush == Z_NO_FLUSH) { in DumpCompressedTrace()
522 flush = Z_FINISH; in DumpCompressedTrace()
540 ret = deflate(&zs, flush); in DumpCompressedTrace()
541 if (flush == Z_FINISH && ret == Z_STREAM_END) { in DumpCompressedTrace()
/base/update/updater/services/ui/view/component/
H A Dbox_progress_adapter.cpp66 ON_SCOPE_EXIT(flush) { in SetValue()
/base/update/packaging_tools/zipalign/src/main/java/com/ohos/
H A DZipAlign.java90 out.flush(); in copyFiles()
/base/update/sys_installer/tools/zipalign/src/main/java/com/ohos/
H A DZipAlign.java90 out.flush(); in copyFiles()
/base/hiviewdfx/hiview/base/event_store/utility/writer/
H A Dsys_event_doc_writer.cpp195 // flush the file in WriteContent()
196 out_.flush(); in WriteContent()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/utility/
H A Dfile_util.cpp163 fout.flush(); in CreateFile()
/base/hiviewdfx/hiview/base/utility/
H A Dfile_util.cpp279 fout.flush(); in CreateFile()
302 fout.flush(); in CopyFile()
/base/location/services/location_locator/locator/source/
H A Dlocation_config_manager.cpp89 outFile.flush(); in CreateFile()
/base/update/updater/test/unittest/utils/json/
H A Dutils_json_test.cpp210 ofs.flush(); in HWTEST_F()

Completed in 13 milliseconds

12