Home
last modified time | relevance | path

Searched refs:outFile (Results 1 – 25 of 53) sorted by relevance

123

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/animation/
H A Drs_property_trace_test.cpp57 std::ofstream outFile; variable
59 outFile << configStr.c_str() << std::endl;
60 outFile.close();
80 std::ofstream outFile; variable
83 outFile.close();
103 std::ofstream outFile; variable
106 outFile.close();
121 std::ofstream outFile; variable
124 outFile.close();
139 std::ofstream outFile; variable
[all …]
/ohos5.0/docs/zh-cn/application-dev/security/
H A Dhapsigntool-guidelines.md79 ├── -outFile # 输出文件,可选项,如果不填,则直接输出到控制台
101 ├── -outFile # 输出文件,可选项,如果不填,则直接输出到控制台
123 ├── -outFile # 输出证书文件(证书或证书链),可选项,如果不填,则直接输出到控制台
175 ├── -outFile # 输出证书文件,可选项,如果不填,则直接输出到控制台
190 ├── -outFile # 输出签名后的profile文件,p7b格式,必填项
216 ├── -outFile # 输出签名后的包文件,必填项
307 ├── -outFile # 可选项,建议填写,不填则默认输出到控制台
339 ├── -outFile # 输出签名后的profile文件,p7b格式,该参数必填
380 ├── -outFile # 输出签名后的包文件,必填项
395 outFile参数中路径不正确 和 '-outFile'中的'-'非英文格式。
[all …]
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/common/
H A Dfile_utils.cpp41 std::ofstream outFile(m_filename); in WriteFile() local
42 if (!outFile.is_open()) { in WriteFile()
46 outFile.write(data.c_str(), data.length()); in WriteFile()
47 outFile.close(); in WriteFile()
/ohos5.0/foundation/communication/dhcp/services/dhcp_server/src/
H A Ddhcp_function.cpp325 std::ofstream outFile; in CreateFile() local
327 outFile.flush(); in CreateFile()
329 outFile.close(); in CreateFile()
363 std::ofstream outFile; in AddFileLineData() local
365 outFile.flush(); in AddFileLineData()
369 outFile.close(); in AddFileLineData()
394 std::ofstream outFile; in DelFileLineData() local
396 outFile.flush(); in DelFileLineData()
400 outFile.close(); in DelFileLineData()
430 outFile.flush(); in ModifyFileLineData()
[all …]
/ohos5.0/foundation/filemanagement/app_file_service/utils/src/b_json/
H A Db_json_service_disposal_config.cpp64 ofstream outFile(filePath); in BJsonDisposalConfig() local
65 if (!outFile.is_open()) { in BJsonDisposalConfig()
71 outFile << newStr; in BJsonDisposalConfig()
72 outFile.close(); in BJsonDisposalConfig()
116 ofstream outFile(filePath); in AppendIntoDisposalConfigFile() local
117 if (!outFile.is_open()) { in AppendIntoDisposalConfigFile()
123 outFile << newStr; in AppendIntoDisposalConfigFile()
124 outFile.close(); in AppendIntoDisposalConfigFile()
H A Db_json_clear_data_config.cpp67 ofstream outFile(filePath); in BJsonClearDataConfig() local
68 if (!outFile.is_open()) { in BJsonClearDataConfig()
74 outFile << newStr; in BJsonClearDataConfig()
75 outFile.close(); in BJsonClearDataConfig()
342 ofstream outFile(filePath); in WriteClearBundleRecord() local
343 if (!outFile.is_open()) { in WriteClearBundleRecord()
349 outFile << newStr; in WriteClearBundleRecord()
350 outFile.close(); in WriteClearBundleRecord()
/ohos5.0/base/location/services/location_locator/locator/source/
H A Dlocation_config_manager.cpp83 std::ofstream outFile; in CreateFile() local
84 outFile.open(filename.c_str()); in CreateFile()
85 if (!outFile) { in CreateFile()
89 outFile.flush(); in CreateFile()
90 outFile << filedata << std::endl; in CreateFile()
91 outFile.clear(); in CreateFile()
92 outFile.close(); in CreateFile()
/ohos5.0/base/hiviewdfx/hiview/framework/native/unified_collection/decorator/
H A Dhiebpf_decorator.cpp25 const std::string outFile) in StartHiebpf() argument
27 auto task = [this, &duration, &processName, &outFile] { in StartHiebpf()
28 return hiebpfCollector_->StartHiebpf(duration, processName, outFile); in StartHiebpf()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A Dperformance_analysis.cpp198 outFile.open(addrStatistics, std::ios_base::app); in OutStatistics()
199 if (!outFile.is_open()) { in OutStatistics()
203 outFile << "stepNum, maxTime(us), minTime(us), averageTime(us), count,\n"; in OutStatistics()
206 outFile << i << "," << stepTimeRecordInfo_[i].max<< "," << stepTimeRecordInfo_[i].min in OutStatistics()
211 outFile.close(); in OutStatistics()
/ohos5.0/base/hiviewdfx/hiview/base/utility/
H A Dhiview_zip_util.cpp192 FILE* outFile = fopen(path.c_str(), "wb"); in DoUnzipFile() local
193 if (outFile == nullptr) { in DoUnzipFile()
210 if (fwrite(readBuffer, readSize, BLOCK_COUNT, outFile) != BLOCK_COUNT) { in DoUnzipFile()
223 if (fclose(outFile) != 0) { in DoUnzipFile()
/ohos5.0/base/hiviewdfx/hiview/framework/native/unified_collection/collector/
H A Dhiebpf_collector_impl.cpp39 const std::string outFile) in StartHiebpf() argument
50 …rget_proc_name", processName.c_str(), "--start", "true", "--outprase_file", outFile.c_str(), NULL); in StartHiebpf()
/ohos5.0/docs/en/application-dev/security/
H A Dhapsigntool-guidelines.md81 …├── -outFile # CSR to generate. It is optional. If you do not specify this parameter, th…
103 …├── -outFile # File to generate. It is optional. The file is output to the…
125 …├── -outFile # Certificate file (certificate or certificate chain) to gene…
177 …├── -outFile # Certificate file to generate. It is optional. The file is …
192 … ├── -outFile # Signed profile to generate, in p7b format. This parameter is mandatory.
218 ├── -outFile # Signed app package to generate. It is mandatory.
309 …├── -outFile # File to generate. It is optional. The file is output to the console if this…
341 … ├── -outFile # Signed profile to generate, in p7b format. This parameter is mandatory.
382 ├── -outFile # Signed file to generate. It is mandatory.
397 …The path specified by **outFile** is incorrect, or the hyphen (-) in **-outFile** is not an Englis…
[all …]
/ohos5.0/base/startup/appspawn/service/hnp/base/
H A Dhnp_zip.c322 FILE *outFile = fopen(filePath, "wb"); in HnpUnZipForFile()
323 if (outFile == NULL) { in HnpUnZipForFile()
334 fclose(outFile); in HnpUnZipForFile()
339 fwrite(buffer, readSize, sizeof(char), outFile); in HnpUnZipForFile()
342 fclose(outFile); in HnpUnZipForFile()
/ohos5.0/base/tee/tee_client/services/tlogcat/src/
H A Dtarzip.c170 static int32_t OpenZipFile(const char *outputName, gzFile *outFile, gid_t pathGroup) in OpenZipFile() argument
174 *outFile = NULL; in OpenZipFile()
200 *outFile = out; in OpenZipFile()
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-beta2/
H A Djs-apidiff-bundle.md25outFile: string, options: Options, callback: AsyncCallback\<void>): void;<br>旧版本信息:401,900001,9000…
26 …ng, outFile: string, options: Options): Promise\<void>;<br>旧版本信息:401,900001,900002|类名:zlib;<br>方法o…
/ohos5.0/foundation/multimedia/av_codec/test/fuzztest/encoderconfigure_fuzzer/
H A Dvideoenc_sample.cpp479 FILE *outFile = fopen(outDir, "wb"); in OutputFunc() local
509 if (outFile == nullptr) { in OutputFunc()
512 fwrite(OH_AVMemory_GetAddr(buffer), 1, size, outFile); in OutputFunc()
524 if (outFile) { in OutputFunc()
525 (void)fclose(outFile); in OutputFunc()
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/vcodec/swdecoder/src/
H A Dvideodec_ndk_sample.cpp394 …le::WriteOutputFrame(uint32_t index, OH_AVMemory *buffer, OH_AVCodecBufferAttr attr, FILE *outFile) in WriteOutputFrame() argument
401 fwrite(tmpBuffer, 1, attr.size, outFile); in WriteOutputFrame()
419 FILE *outFile = fopen(OUT_DIR, "wb"); in OutputFunc() local
420 if (outFile == nullptr) { in OutputFunc()
458 WriteOutputFrame(index, buffer, attr, outFile); in OutputFunc()
463 (void)fclose(outFile); in OutputFunc()
H A Dvideodec_api11_sample.cpp694 FILE *outFile = nullptr; in OutputFuncTest() local
696 outFile = fopen(OUT_DIR, "wb"); in OutputFuncTest()
730 if (outFile != nullptr) { in OutputFuncTest()
731 fwrite(OH_AVBuffer_GetAddr(buffer), 1, attr.size, outFile); in OutputFuncTest()
738 if (outFile) { in OutputFuncTest()
739 (void)fclose(outFile); in OutputFuncTest()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/image/
H A Dimage_file_cache.cpp107 std::ofstream outFile(writeFilePath, std::ios::binary); in WriteFile() local
109 std::ofstream outFile(writeFilePath, std::fstream::out); in WriteFile() local
111 if (!outFile.is_open()) { in WriteFile()
115 outFile.write(reinterpret_cast<const char*>(data), size); in WriteFile()
/ohos5.0/base/hiviewdfx/hiview/framework/native/unified_collection/collector/inner_include/
H A Dhiebpf_collector_impl.h29 const std::string processName, const std::string outFile) override;
/ohos5.0/base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/utility/
H A Dhiebpf_collector.h29 const std::string processName, const std::string outFile) = 0;
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/benchmarks/benchmark_dcl/
H A Ddrawing_playback.cpp62 std::ofstream outFile(realPath); in CreateFile() local
63 if (!outFile.is_open()) { in CreateFile()
67 outFile.clear(); in CreateFile()
68 outFile.close(); in CreateFile()
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-Release/
H A Djs-apidiff-bundle.md22 | ohos.zlib | zlib | unzipFile(inFile:string, outFile:string, options: Options): Promise\<void>; | …
23 | ohos.zlib | zlib | zipFile(inFile:string, outFile:string, options: Options): Promise\<void>; | 新增…
/ohos5.0/base/hiviewdfx/hiview/framework/native/unified_collection/decorator/include/
H A Dhiebpf_decorator.h30 const std::string processName, const std::string outFile) override;
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dpixel_map_ohos.cpp308 std::ofstream outFile(path, std::fstream::out); in SavePixelMapToFile() local
309 if (!outFile.is_open()) { in SavePixelMapToFile()
312 outFile.write(reinterpret_cast<const char*>(pixmap_->GetPixels()), totalSize); in SavePixelMapToFile()

123