Home
last modified time | relevance | path

Searched refs:open (Results 351 - 375 of 1027) sorted by relevance

1...<<11121314151617181920>>...42

/foundation/filemanagement/app_file_service/tests/unittests/backup_tools/backup_tool/
H A Dtools_op_restore_async_test.cpp229 UniqueFd fd(open("text.txt", O_RDWR | O_CREAT, 0666)); in HWTEST_F()
259 UniqueFd fd(open("text.txt", O_RDWR | O_CREAT, 0666)); in HWTEST_F()
655 * @tc.desc: 测试当open方法返回错误时
771 int fd = open(pathCapFile.data(), O_RDWR | O_CREAT, S_IRWXU); in HWTEST_F()
/foundation/multimedia/av_codec/test/moduletest/demuxer/src/
H A Dreli_test.cpp191 g_fdList[i] = open(file, O_RDONLY); in HWTEST_F()
223 g_fdList[i] = open(file, O_RDONLY); in HWTEST_F()
275 g_fdList[i] = open(file, O_RDONLY); in HWTEST_F()
310 int fd = open(file, O_RDONLY); in HWTEST_F()
370 int fd = open(file, O_RDONLY); in HWTEST_F()
1393 g_fdList[i] = open(file, O_RDONLY); in HWTEST_F()
1553 int fd = open(file, O_RDONLY); in HWTEST_F()
1693 g_fdList[i] = open(file, O_RDONLY); in HWTEST_F()
1863 g_fdList[i] = open(file, O_RDONLY); in HWTEST_F()
2184 g_fdList[i] = open(fil in HWTEST_F()
[all...]
H A Dformat_test.cpp536 int fd = open(file, O_RDONLY); in HWTEST_F()
593 int fd = open(file, O_RDONLY); in HWTEST_F()
649 int fd = open(file, O_RDONLY); in HWTEST_F()
708 int fd = open(g_vvc8bitPath.c_str(), O_RDONLY); in HWTEST_F()
740 int fd = open(g_vvc10bitPath.c_str(), O_RDONLY); in HWTEST_F()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/
H A Dkapi_symc.c31 hi_u32 open : 1; /* open or close */ member
84 if (g_kapi_ctx[hi_handle_get_chnid(handle)].open == HI_FALSE) { in kapi_symc_chk_handle()
85 hi_log_error("chan %u is not open\n", hi_handle_get_chnid(handle)); in kapi_symc_chk_handle()
145 if (ctx->open == HI_TRUE) { in kapi_symc_release()
189 ctx->open = HI_TRUE; in kapi_symc_create()
233 ctx->open = HI_FALSE; in kapi_symc_destroy()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_util.cpp242 APP_LOGE("GetHapFilesFromBundlePath open bundle dir:%{public}s failed due to %{public}s, errno:%{public}d", in GetHapFilesFromBundlePath()
365 int32_t bundleIdFd = open(realBundleDir.c_str(), O_WRONLY | O_TRUNC); in MakeFsConfig()
454 if ((fd = open(bundlePath.c_str(), O_CREAT | O_RDWR, S_IRUSR | S_IWUSR)) < 0) { in CreateFileDescriptor()
455 APP_LOGE("open bundlePath %{public}s failed errno:%{public}d", bundlePath.c_str(), errno); in CreateFileDescriptor()
477 if ((fd = open(realPath.c_str(), O_RDONLY)) < 0) { in CreateFileDescriptorForReadOnly()
478 APP_LOGE("open bundlePath %{public}s failed errno:%{public}d", realPath.c_str(), errno); in CreateFileDescriptorForReadOnly()
653 APP_LOGE("Copy file failed due to open sourceFile failed errno:%{public}d", errno); in CopyFile()
659 APP_LOGE("Copy file failed due to open destinationFile failed errno:%{public}d", errno); in CopyFile()
678 int32_t sourceFd = open(sourcePath.c_str(), O_RDONLY); in CopyFileFast()
680 APP_LOGE("sourcePath open faile in CopyFileFast()
[all...]
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/plugin_test/
H A Dext_decoder_test.cpp325 const int fd = open("/data/local/tmp/image/test_hw1.jpg", O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); in HWTEST_F()
629 const int fd = open("/data/local/tmp/image/test_hw1.jpg", O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); in HWTEST_F()
828 const int fd = open("/data/local/tmp/image/test_hw1.jpg", O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); in HWTEST_F()
892 const int fd = open("/data/local/tmp/image/test_hw1.jpg", O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); in HWTEST_F()
926 const int fd = open("/data/local/tmp/image/test_hw1.jpg", O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); in HWTEST_F()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/image_source_test/
H A Dimage_source_heif_test.cpp230 fs->open(IMAGE_INPUT_HEIF_PATH, std::fstream::binary | std::fstream::in); in HWTEST_F()
424 fs->open(IMAGE_INPUT_HEIF_PATH, std::fstream::binary | std::fstream::in); in HWTEST_F()
680 fs->open(IMAGE_INPUT_HEIF_PATH, std::fstream::binary | std::fstream::in); in HWTEST_F()
807 fs->open(IMAGE_INPUT_HEIF_PATH, std::fstream::binary | std::fstream::in); in HWTEST_F()
888 const int fd = open(IMAGE_INPUT_HEIF_PATH.c_str(), O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); in HWTEST_F()
H A Dimage_source_bmp_test.cpp301 fs->open(IMAGE_INPUT_BMP_PATH, std::fstream::binary | std::fstream::in); in HWTEST_F()
412 fs->open(IMAGE_INPUT_BMP_PATH, std::fstream::binary | std::fstream::in); in HWTEST_F()
/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_framework_test/func_sample/sample/
H A Dvdec_sample.cpp179 outFile_->open(name.data(), std::ios::out | std::ios::binary); in TestConsumerListener()
473 inFile_->open(inPath_, std::ios::in | std::ios::binary); in FlushInner()
552 inFile_->open(inPath_, std::ios::in | std::ios::binary); in PrepareInner()
656 outFile_->open(outPath_, std::ios::out | std::ios::binary | std::ios::ate); in OutputLoopFunc()
727 outFile_->open(outPath_, std::ios::out | std::ios::binary | std::ios::ate); in OutputLoopFuncExt()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/vo/vo_dev/drm_hal/
H A Ddrm_hal_display.c538 g_disp_dev.open = drm_hal_disp_open; in drm_hal_disp_dev_register()
565 g_disp_dev.open = NULL; in drm_hal_disp_dev_unregister()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hifb/drm_hal/
H A Ddrm_hal_gfx.c503 gfx_dev.open = drm_hal_gfx_open; in drm_hal_gfx_dev_register()
526 gfx_dev.open = NULL; in drm_hal_gfx_dev_unregister()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/include/
H A Dhi_osal.h359 int (*open)(struct osal_proc_dir_entry *entry); member
407 int (*open)(void *private_data); member
/device/soc/hisilicon/hi3516dv300/sdk_linux/usr/sensor/galaxycore_gc2053/
H A Dgc2053_sensor_ctl.c50 g_fd[vi_pipe] = open("/dev/gpioi2c_ex", O_RDONLY, S_IRUSR); in gc2053_i2c_init()
65 g_fd[vi_pipe] = open(acDevFile, O_RDWR, S_IRUSR | S_IWUSR); in gc2053_i2c_init()
/device/soc/hisilicon/hi3516dv300/sdk_linux/usr/sensor/sony_imx327/
H A Dimx327_sensor_ctl.c46 g_fd[vi_pipe] = open("/dev/gpioi2c_ex", O_RDONLY, S_IRUSR); in imx327_i2c_init()
61 g_fd[vi_pipe] = open(acDevFile, O_RDWR, S_IRUSR | S_IWUSR); in imx327_i2c_init()
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/
H A Dhi_osal.h356 int (*open)(struct osal_proc_dir_entry *entry); member
404 int (*open)(void *private_data); member
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/include/
H A Dhi_osal.h335 int (*open)(void *private); member
390 int (*open)(void *private_data); member
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/rga3/
H A Drga_debugger.c83 pr_info("open rga reg!\n"); in rga_debug_write()
91 pr_info("open rga test MSG!\n"); in rga_debug_write()
99 pr_info("open rga test time!\n"); in rga_debug_write()
107 pr_info("open rga check flag!\n"); in rga_debug_write()
123 pr_info("open inturrupt MSG!\n"); in rga_debug_write()
279 .open = rga_debugfs_open,
409 .open = rga_procfs_open,
/foundation/ability/ability_runtime/frameworks/native/ability/native/recovery/
H A Dability_recovery.cpp154 int fd = open(file.c_str(), O_RDWR | O_CREAT, (mode_t)0600); in SerializeDataToFile()
156 TAG_LOGE(AAFwkTag::RECOVERY, "failed to open %{public}s", file.c_str()); in SerializeDataToFile()
198 int32_t fd = open(path, O_RDONLY); in ReadSerializeDataFromFile()
200 TAG_LOGE(AAFwkTag::RECOVERY, "fd open error"); in ReadSerializeDataFromFile()
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dams_configuration_parameter.cpp132 inFile.open(filePath, std::ios::in); in LoadUIExtensionPickerConfig()
192 inFile.open(filePath, std::ios::in); in LoadAmsConfiguration()
/foundation/arkui/ui_lite/frameworks/font/
H A Dui_font_bitmap.cpp89 int32_t fontFd = open(path, O_RDONLY | O_BINARY); in SetFontPath()
91 int32_t fontFd = open(path, O_RDONLY); in SetFontPath()
/foundation/arkui/ui_lite/frameworks/common/
H A Dimage.cpp62 int32_t fd = open(src, O_RDONLY | O_BINARY); in CheckImgType()
64 int32_t fd = open(src, O_RDONLY); in CheckImgType()
67 GRAPHIC_LOGE("can't open %s\n", src); in CheckImgType()
330 GRAPHIC_LOGE("can't open %s\n", src); in SetPNGSrc()
420 GRAPHIC_LOGE("can't open %s\n", src); in SetJPEGSrc()
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/benchmarks/benchmark_dcl/
H A Ddrawing_playback.cpp64 std::cout << "FileUtils: file open failed!" << std::endl; in CreateFile()
102 int fd = open(realPath, O_RDWR | O_CREAT, static_cast<mode_t>(0600)); in WriteStringToFile()
104 std::cout << "FileUtils: fd open failed!" << std::endl; in WriteStringToFile()
475 UniqueFd fd(open(realDclFilePathStr.c_str(), O_RDONLY)); in LoadDrawCmdList()
/foundation/filemanagement/storage_service/services/storage_daemon/ipc/test/
H A Dstorage_daemon_test.cpp518 incExcFile.open(incExFilePath.data(), std::ios::out | std::ios::trunc); in HWTEST_F()
534 statFile.open(statFilePath.data(), std::ios::out | std::ios::trunc); in HWTEST_F()
/foundation/multimedia/av_codec/test/nativedemo/audio_demo/
H A Davcodec_audio_avbuffer_flac_encoder_demo.cpp91 inputFile_.open(INPUT_FILE_PATH, std::ios::binary); in InitFile()
92 outputFile_.open(OUTPUT_FILE_PATH.data(), std::ios::out | std::ios::binary); in InitFile()
93 DEMO_CHECK_AND_RETURN_RET_LOG(inputFile_.is_open(), false, "Fatal: open input file failed"); in InitFile()
94 DEMO_CHECK_AND_RETURN_RET_LOG(outputFile_.is_open(), false, "Fatal: open output file failed"); in InitFile()
287 DEMO_CHECK_AND_RETURN_LOG(inputFile_.is_open(), "Fatal: open file fail"); in InputFunc()
334 DEMO_CHECK_AND_RETURN_LOG(outputFile_.is_open(), "Fatal: open output file fail"); in OutputFunc()
/foundation/multimedia/av_codec/test/unittest/audio_vivid_test/
H A Daudio_decoder_avbuffer_vivid_unit_test.cpp259 std::cout << "open " << OUTPUT_PCM_FILE_PATH << " failed!" << std::endl; in OutputFunc()
317 inputFile_.open(INPUT_SOURCE_PATH + inputTestFile, std::ios::binary); in InitFile()
318 pcmOutputFile_.open(OUTPUT_PCM_FILE_PATH.data(), std::ios::out | std::ios::binary); in InitFile()
320 cout << "Fatal: open input file failed" << endl; in InitFile()
324 cout << "Fatal: open output file failed" << endl; in InitFile()

Completed in 28 milliseconds

1...<<11121314151617181920>>...42