/foundation/filemanagement/app_file_service/tests/unittests/backup_utils/b_json/ |
H A D | b_json_cached_entity_test.cpp | 54 BJsonCachedEntity<BJsonEntityCaps> jce(UniqueFd(open(filePath.data(), O_RDWR | O_CREAT, 0600)));
in HWTEST_F() 79 BJsonCachedEntity<BJsonEntityCaps> jce(UniqueFd(open(filePath.data(), O_RDWR | O_CREAT, 0600)));
in HWTEST_F() 104 BJsonCachedEntity<BJsonEntityCaps> jce(UniqueFd(open(filePath.data(), O_RDWR | O_CREAT, NULL)));
in HWTEST_F() 129 BJsonCachedEntity<BJsonEntityCaps> jce(UniqueFd(open(filePath.data(), O_RDONLY, NULL)));
in HWTEST_F() 154 BJsonCachedEntity<BJsonEntityCaps> jce(UniqueFd(open(filePath.data(), O_RDWR | O_CREAT, NULL)));
in HWTEST_F() 179 BJsonCachedEntity<BJsonEntityCaps> jce(UniqueFd(open(filePath.data(), O_RDONLY, 0600)));
in HWTEST_F() 204 BJsonCachedEntity<BJsonEntityCaps> jce(UniqueFd(open(filePath.data(), O_RDONLY, NULL)));
in HWTEST_F() 229 BJsonCachedEntity<BJsonEntityCaps> jce(UniqueFd(open(filePath.data(), O_RDWR | O_CREAT, 0600)));
in HWTEST_F() 255 BJsonCachedEntity<BJsonEntityCaps> jce(UniqueFd(open(filePath.data(), O_RDWR | O_CREAT, 0600)));
in HWTEST_F() 281 BJsonCachedEntity<BJsonEntityCaps> jce(UniqueFd(open(filePat in HWTEST_F() [all...] |
/foundation/multimedia/media_foundation/test/scenetest/ |
H A D | test_single_audio_recorder_fast_prepare.h | 73 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 89 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 107 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 115 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 132 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 142 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 159 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 170 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 187 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 196 fd = open(filePat in FIXTURE() [all...] |
H A D | test_single_audio_recorder_fast_start_pause.h | 66 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 84 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 104 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 125 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 145 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 165 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 176 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 186 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 204 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 233 fd = open(filePat in FIXTURE() [all...] |
H A D | test_single_audio_recorder_fast_audio_function.h | 105 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 124 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 144 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 165 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 174 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 186 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 207 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 217 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 229 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 240 fd = open(filePat in FIXTURE() [all...] |
H A D | test_single_audio_recorder_fast_stop_reset.h | 113 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 131 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 150 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 170 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 191 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 211 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 220 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 237 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 259 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 289 fd = open(filePat in FIXTURE() [all...] |
H A D | test_single_audio_recorder_fast.h | 96 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 124 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 152 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 170 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 213 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 230 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 248 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 267 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 287 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 306 fd = open(filePat in FIXTURE() [all...] |
/foundation/multimedia/player_framework/frameworks/native/recorder/test/unittest/src/ |
H A D | recorder_unit_test.cpp | 127 g_videoRecorderConfig.outputFd = open((RECORDER_ROOT +
in HWTEST_F() 153 g_videoRecorderConfig.outputFd = open((RECORDER_ROOT + "recorder_video_SetLocation_001.mp4").c_str(), O_RDWR);
in HWTEST_F() 171 g_videoRecorderConfig.outputFd = open((RECORDER_ROOT + "recorder_video_Repeat_001.mp4").c_str(), O_RDWR);
in HWTEST_F() 206 g_videoRecorderConfig.outputFd = open((RECORDER_ROOT +
in HWTEST_F() 235 g_videoRecorderConfig.outputFd = open((RECORDER_ROOT +
in HWTEST_F() 254 g_videoRecorderConfig.outputFd = open((RECORDER_ROOT + "recorder_video_GetSurface_Error_001.mp4").c_str(), O_RDWR);
in HWTEST_F() 271 g_videoRecorderConfig.outputFd = open((RECORDER_ROOT +
in HWTEST_F() 292 g_videoRecorderConfig.outputFd = open((RECORDER_ROOT +
in HWTEST_F() 314 videoRecorderConfig.outputFd = open((RECORDER_ROOT + "recorder_video_DrainBufferTrue_001.mp4").c_str(), O_RDWR);
in HWTEST_F() 342 videoRecorderConfig.outputFd = open((RECORDER_ROO in HWTEST_F() [all...] |
/foundation/multimedia/player_framework/frameworks/native/transcoder/test/unittest/src/ |
H A D | transcoder_unit_test.cpp | 64 int32_t srcFd = open((TRANSCODER_ROOT_SRC + "AVC_Baseline@L1.2_81.0Kbps_320x240.mp4").c_str(), O_RDWR);
in HWTEST_F() 69 int32_t dstFd = open((TRANSCODER_ROOT_DST + "AVC_Baseline@L1.2_81.0Kbps_320x240_dst.mp4").c_str(), O_RDWR);
in HWTEST_F() 97 int32_t srcFd = open((TRANSCODER_ROOT_SRC + "AVC_Baseline@L1.2_81.0Kbps_320x240.mp4").c_str(), O_RDWR);
in HWTEST_F() 102 int32_t dstFd = open((TRANSCODER_ROOT_DST + "AVC_Baseline@L1.2_81.0Kbps_320x240_dst.mp4").c_str(), O_RDWR);
in HWTEST_F() 131 int32_t srcFd = open((TRANSCODER_ROOT_SRC + "AVC_Baseline@L1.2_81.0Kbps_320x240.mp4").c_str(), O_RDWR);
in HWTEST_F() 136 int32_t dstFd = open((TRANSCODER_ROOT_DST + "AVC_Baseline@L1.2_81.0Kbps_320x240_dst.mp4").c_str(), O_RDWR);
in HWTEST_F() 166 int32_t srcFd = open((TRANSCODER_ROOT_SRC + "AVC_Baseline@L1.2_81.0Kbps_320x240.mp4").c_str(), O_RDWR);
in HWTEST_F() 171 int32_t dstFd = open((TRANSCODER_ROOT_DST + "AVC_Baseline@L1.2_81.0Kbps_320x240_dst.mp4").c_str(), O_RDWR);
in HWTEST_F() 203 int32_t srcFd = open((TRANSCODER_ROOT_SRC + "01.mp3").c_str(), O_RDWR);
in HWTEST_F() 208 int32_t dstFd = open((TRANSCODER_ROOT_DS in HWTEST_F() [all...] |
/foundation/multimedia/av_codec/test/nativedemo/audio_demo/ |
H A D | avcodec_audio_decoder_demo.cpp | 104 inputFile_.open(INPUT_AAC_FILE_PATH, std::ios::binary); in InitFile() 105 pcmOutputFile_.open(OUTPUT_AAC_PCM_FILE_PATH.data(), std::ios::out | std::ios::binary); in InitFile() 107 inputFile_.open(INPUT_FLAC_FILE_PATH, std::ios::binary); in InitFile() 108 pcmOutputFile_.open(OUTPUT_FLAC_PCM_FILE_PATH.data(), std::ios::out | std::ios::binary); in InitFile() 110 inputFile_.open(INPUT_MP3_FILE_PATH, std::ios::binary); in InitFile() 111 pcmOutputFile_.open(OUTPUT_MP3_PCM_FILE_PATH.data(), std::ios::out | std::ios::binary); in InitFile() 113 inputFile_.open(INPUT_VORBIS_FILE_PATH, std::ios::binary); in InitFile() 114 pcmOutputFile_.open(OUTPUT_VORBIS_PCM_FILE_PATH.data(), std::ios::out | std::ios::binary); in InitFile() 116 inputFile_.open(INPUT_AMRNB_FILE_PATH, std::ios::binary); in InitFile() 117 pcmOutputFile_.open(OUTPUT_AMRNB_PCM_FILE_PAT in InitFile() [all...] |
H A D | avcodec_audio_avbuffer_decoder_demo.cpp | 103 inputFile_.open(INPUT_AAC_FILE_PATH, std::ios::binary); in InitFile() 104 pcmOutputFile_.open(OUTPUT_AAC_PCM_FILE_PATH.data(), std::ios::out | std::ios::binary); in InitFile() 106 inputFile_.open(INPUT_FLAC_FILE_PATH, std::ios::binary); in InitFile() 107 pcmOutputFile_.open(OUTPUT_FLAC_PCM_FILE_PATH.data(), std::ios::out | std::ios::binary); in InitFile() 109 inputFile_.open(INPUT_MP3_FILE_PATH, std::ios::binary); in InitFile() 110 pcmOutputFile_.open(OUTPUT_MP3_PCM_FILE_PATH.data(), std::ios::out | std::ios::binary); in InitFile() 112 inputFile_.open(INPUT_VORBIS_FILE_PATH, std::ios::binary); in InitFile() 113 pcmOutputFile_.open(OUTPUT_VORBIS_PCM_FILE_PATH.data(), std::ios::out | std::ios::binary); in InitFile() 115 inputFile_.open(INPUT_AMRNB_FILE_PATH, std::ios::binary); in InitFile() 116 pcmOutputFile_.open(OUTPUT_AMRNB_PCM_FILE_PAT in InitFile() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/ |
H A D | render_service_client_watermark_demo.cpp | 44 int open; in main() local 45 cin >> open; in main() local 47 if (open) { in main()
|
/foundation/filemanagement/app_file_service/tests/unittests/backup_utils/b_filesystem/ |
H A D | b_file_test.cpp | 70 unique_ptr<char[]> result = bf.ReadFile(UniqueFd(open(filePath.data(), O_RDWR)));
in HWTEST_F() 97 BFile::SendFile(UniqueFd(open(fileOutPath.data(), O_RDWR)),
in HWTEST_F() 98 UniqueFd(open(filePath.data(), O_RDWR | O_CREAT, S_IRWXU)));
in HWTEST_F() 99 string contentTmp = BFile::ReadFile(UniqueFd(open(fileOutPath.c_str(), O_RDONLY))).get();
in HWTEST_F() 183 BFile::Write(UniqueFd(open(filePath.data(), O_RDWR)), fileInPath);
in HWTEST_F() 184 string contentTmp = BFile::ReadFile(UniqueFd(open(fileInPath.c_str(), O_RDONLY))).get();
in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/animation/ |
H A D | rs_property_trace_test.cpp | 58 outFile.open("/etc/rosen/property.config"); in HWTEST_F() 81 outFile.open("/etc/rosen/property.config"); in HWTEST_F() 104 outFile.open("/etc/rosen/property.config"); in HWTEST_F() 122 outFile.open("/etc/rosen/property.config"); in HWTEST_F() 140 outFile.open("/etc/rosen/property.config"); in HWTEST_F()
|
/foundation/arkui/ui_lite/test/autotest/src/ |
H A D | compare_tools.cpp | 164 uint32_t fdBase = open(fileBasePath, O_RDONLY | O_BINARY); in CompareFile() 165 uint32_t fdRun = open(fileRunPath, O_RDONLY | O_BINARY); in CompareFile() 167 uint32_t fdBase = open(fileBasePath, O_RDONLY); in CompareFile() 168 uint32_t fdRun = open(fileRunPath, O_RDONLY); in CompareFile() 209 uint32_t fd = open(filePath, O_RDONLY | O_BINARY); in CompareFile() 211 uint32_t fd = open(filePath, O_RDONLY); in CompareFile() 284 uint32_t fd = open(filePath, O_WRONLY | O_CREAT | O_BINARY, DEFAULT_FILE_PERMISSION); in SaveFile() 286 uint32_t fd = open(filePath, O_WRONLY | O_CREAT, DEFAULT_FILE_PERMISSION); in SaveFile() 301 uint32_t fd = open(filePath, O_RDONLY); in CheckFileExist() 344 uint32_t logFd = open(useLogPat in SaveLog() [all...] |
/foundation/communication/dsoftbus/ |
H A D | config.py | 28 with open('.config', 'r') as config_file: 41 with open(file_name, 'r') as gni_file: 53 with os.fdopen(os.open(file_name, flags, modes), 'w')as gni_file
|
/foundation/multimedia/av_codec/test/moduletest/demuxer/src/ |
H A D | func_test.cpp | 201 int fd = open(file, O_RDONLY); in HWTEST_F() 220 int fd = open(file, O_RDONLY); in HWTEST_F() 240 int fd = open(file, O_RDONLY); in HWTEST_F() 291 int fd = open(file, O_RDONLY); in HWTEST_F() 350 int fd = open(file, O_RDONLY); in HWTEST_F() 408 int fd = open(file, O_RDONLY); in HWTEST_F() 466 int fd = open(file, O_RDONLY); in HWTEST_F() 517 int fd = open(file, O_RDONLY); in HWTEST_F() 566 int fd = open(file, O_RDONLY); in HWTEST_F() 615 int fd = open(fil in HWTEST_F() [all...] |
H A D | perf_test.cpp | 77 int fd = open(file, O_RDONLY); in HWTEST_F() 102 int fd = open(file, O_RDONLY); in HWTEST_F() 129 int fd = open(file, O_RDONLY); in HWTEST_F() 155 int fd = open(file, O_RDONLY); in HWTEST_F() 185 int fd = open(file, O_RDONLY); in HWTEST_F() 217 int fd = open(file, O_RDONLY); in HWTEST_F() 248 int fd = open(file, O_RDONLY); in HWTEST_F() 279 int fd = open(file, O_RDONLY); in HWTEST_F() 310 int fd = open(file, O_RDONLY); in HWTEST_F() 341 int fd = open(fil in HWTEST_F() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/include/relational/ |
H A D | relational_store_sqlite_ext.h | 29 int (*open)(const char *, sqlite3 **); member 39 #define sqlite3_open sqlite3_export_relational_symbols->open
|
/foundation/multimedia/av_codec/test/unittest/avmuxer_test/ |
H A D | avmuxer_unit_test.cpp | 165 fd_ = open(outputFile.c_str(), O_CREAT | O_RDWR, S_IRUSR | S_IWUSR); in HWTEST_F() 179 fd_ = open(outputFile.c_str(), O_CREAT | O_WRONLY, S_IRUSR | S_IWUSR); in HWTEST_F() 193 fd_ = open(outputFile.c_str(), O_CREAT | O_RDONLY, S_IRUSR | S_IWUSR); in HWTEST_F() 233 fd_ = open(outputFile.c_str(), O_CREAT | O_RDWR, S_IRUSR | S_IWUSR); in HWTEST_F() 274 fd_ = open(outputFile.c_str(), O_CREAT | O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR); in HWTEST_F() 316 fd_ = open(outputFile.c_str(), O_CREAT | O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR); in HWTEST_F() 359 fd_ = open(outputFile.c_str(), O_CREAT | O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR); in HWTEST_F() 406 fd_ = open(outputFile.c_str(), O_CREAT | O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR); in HWTEST_F() 449 fd_ = open(outputFile.c_str(), O_CREAT | O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR); in HWTEST_F() 472 fd_ = open(outputFil in HWTEST_F() [all...] |
/foundation/filemanagement/app_file_service/test/fuzztest/remotefileshare_fuzzer/ |
H A D | remotefileshare_fuzzer.cpp | 66 dirFd = open(path, O_RDONLY); in ShareFilePathIoctlFdAndCidFuzzTest() 109 dirFd = open(realLocation, O_RDONLY); in ShareFilePathIoctlCidFuzzTest() 115 srcFd = open(srcPath, O_RDONLY); in ShareFilePathIoctlCidFuzzTest() 161 dirFd = open(realPath, O_RDONLY); in ShareFilePathIoctlFdFuzzTest()
|
/foundation/communication/netstack/test/unittest/tls_test/core/ |
H A D | tls_certificate.test.cpp | 172 outfile.open("./test.pem"); in HWTEST_F() 182 outfile.open("./test.pem"); in HWTEST_F() 192 outfile.open("./test.pem"); in HWTEST_F() 202 outfile.open("./test.pem"); in HWTEST_F() 212 outfile.open("/system/lib/test.der"); in HWTEST_F() 222 outfile.open("/system/lib/test.der"); in HWTEST_F() 232 outfile.open("./test.pem"); in HWTEST_F() 252 outfile.open("./test.pem"); in HWTEST_F()
|
/foundation/communication/netstack/test/unittest/tlssocket/core/ |
H A D | tls_certificate.test.cpp | 172 outfile.open("./test.pem"); in HWTEST_F() 182 outfile.open("./test.pem"); in HWTEST_F() 192 outfile.open("./test.pem"); in HWTEST_F() 202 outfile.open("./test.pem"); in HWTEST_F() 212 outfile.open("/system/lib/test.der"); in HWTEST_F() 222 outfile.open("/system/lib/test.der"); in HWTEST_F() 232 outfile.open("./test.pem"); in HWTEST_F() 252 outfile.open("./test.pem"); in HWTEST_F()
|
/foundation/filemanagement/app_file_service/tests/mock/backup_kit_inner/ |
H A D | b_session_backup_mock.cpp | 59 UniqueFd fd(open(fileManagePath.data(), O_RDWR, S_IRWXU)); in Start() 64 UniqueFd fdTar(open(filePath.data(), O_RDONLY | O_CREAT, S_IRWXU)); in Start() 77 UniqueFd fdFile(open(filePathTwo.data(), O_RDONLY | O_CREAT, S_IRWXU)); in Start()
|
/foundation/arkui/ace_engine/build/tools/ |
H A D | gen_uicontext_ohos.py | 21 with open(output_path, "w", encoding="utf-8") as ohos: 23 with open(input_path, "r", encoding="utf-8") as f:
|
/foundation/filemanagement/dfs_service/test/unittests/cloud_disk/mock/ |
H A D | system_function_mock.cpp | 30 int open(const char *file, int oflag) in open() function 32 return Assistant::ins->open(file, oflag); in open()
|