Home
last modified time | relevance | path

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

/foundation/resourceschedule/memmgr/test/unittest/phone/
Dkernel_interface_test.cpp157 ret = KernelInterface::GetInstance().WriteToFile(path, line1); // curr content: "line1"
162 …ret = KernelInterface::GetInstance().WriteToFile(path, line1, false); // curr content: "line1line1"
167 ret = KernelInterface::GetInstance().WriteToFile(path, "", false); // curr content: "line1line1"
172 ret = KernelInterface::GetInstance().WriteToFile(path, "", true); // curr content: ""
193 ret = KernelInterface::GetInstance().WriteToFile(path, line1); // curr content: "line1"
194 …ret = ret && KernelInterface::GetInstance().WriteToFile(path, "\n", false); // curr content: "line…
195 …ret = ret && KernelInterface::GetInstance().WriteToFile(path, line2, false); // curr content: "lin…
200 …ret = KernelInterface::GetInstance().WriteToFile(path, lines); // curr content: "line1\nline2\nlin…
241 bool ret = KernelInterface::GetInstance().WriteToFile(path, line1, false);
242 ret = ret || KernelInterface::GetInstance().WriteToFile(path, line1);
[all …]
Dmemcg_mgr_test.cpp108 KernelInterface::GetInstance().WriteToFile("/dev/memcg/cgroup.procs", "1", false);
/foundation/arkui/ace_engine/frameworks/core/image/test/unittest/
Dimage_compressor_test.cpp95 instance->WriteToFile(key, compressData, {width, height});
118 instance->WriteToFile(key, compressData, {width, height});
141 instance->WriteToFile(key, compressData, {width, height});
163 instance->WriteToFile(key, compressData, {width, height});
/foundation/communication/netmanager_base/services/netmanagernative/src/manager/
Dsharing_manager.cpp96 bool WriteToFile(const char *fileName, const char *value) in WriteToFile() function
223 bool ipv4Success = WriteToFile(IPV4_FORWARDING_PROC_FILE, value); in SetIpFwdEnable()
224 bool ipv6Success = WriteToFile(IPV6_FORWARDING_PROC_FILE, value); in SetIpFwdEnable()
/foundation/arkui/ace_engine/frameworks/core/image/
Dimage_compressor.h53 void WriteToFile(std::string key, sk_sp<SkData> compressdImage, Size size);
Dimage_compressor.cpp254 void ImageCompressor::WriteToFile(std::string srcKey, sk_sp<SkData> compressedData, Size imgSize) in WriteToFile() function in OHOS::Ace::ImageCompressor
Dimage_provider.cpp423 ImageCompressor::GetInstance()->WriteToFile(src, compressData, { width, height }); in UploadImageToGPUForRender()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/render_context/
Dcache_data.h42 void WriteToFile();
Dshader_cache.cpp126 cacheData_->WriteToFile(); in WriteToDisk()
Dcache_data.cpp80 void CacheData::WriteToFile() in WriteToFile() function in OHOS::Rosen::CacheData
/foundation/resourceschedule/memmgr/common/include/
Dkernel_interface.h54 bool WriteToFile(const std::string& path, const std::string& content, bool truncated = true);
/foundation/resourceschedule/memmgr/services/memmgrservice/src/reclaim_strategy_manager/
Davail_buffer_manager.cpp110 return KernelInterface::GetInstance().WriteToFile(fullPath, NumsToString()); in WriteAvailBufferToKernel()
Dmemcg.cpp293 if (!KernelInterface::GetInstance().WriteToFile(path, content, truncated)) { in WriteToFile_()
/foundation/resourceschedule/memmgr/common/src/
Dmemmgr_config_manager.cpp172 return KernelInterface::GetInstance().WriteToFile(path, content); in WriteReclaimRatiosConfigToKernel()
Dkernel_interface.cpp107 bool KernelInterface::WriteToFile(const std::string& path, const std::string& content, bool truncat… in WriteToFile() function in OHOS::Memory::KernelInterface
/foundation/arkui/ace_engine/frameworks/core/components_ng/image_provider/adapter/
Dflutter_image_provider.cpp290 ImageCompressor::GetInstance()->WriteToFile(src, compressData, { width, height }); in UploadImageToGPUForRender()
/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/
Dnstackx_file_manager.c509 static int32_t WriteToFile(FileInfo *fileInfo, uint32_t blockSequence, uint16_t length, uint8_t *pa… in WriteToFile() function
650 ret = WriteToFile(fileInfo, blockSequence, payloadLength, payLoad, fileList); in WriteSingleBlockFrame()
738 ret = WriteToFile(fileInfo, 0, 0, NULL, fileList); in GenerateAllEmptyFiles()