Home
last modified time | relevance | path

Searched refs:open (Results 7876 - 7900 of 10037) sorted by relevance

1...<<311312313314315316317318319320>>...402

/third_party/FreeBSD/sys/dev/usb/controller/
H A Dehci.c2217 .open = ehci_device_bulk_open,
2258 .open = ehci_device_ctrl_open,
2339 .open = ehci_device_intr_open,
2635 .open = ehci_device_isoc_fs_open,
2925 .open = ehci_device_isoc_hs_open,
/third_party/libfuse/lib/
H A Dfuse_lowlevel.c637 maxfd = open("/proc/sys/fs/pipe-max-size", O_RDONLY);
1352 if (req->se->op.open)
1353 req->se->op.open(req, nodeid, &fi);
3149 * Make sure file descriptors 0, 1 and 2 are open, otherwise chaos
3153 fd = open("/dev/null", O_RDWR);
3159 * To allow FUSE daemons to run without privileges, the caller may open
3228 fd = open(path, O_RDONLY);
/third_party/rust/crates/libc/src/unix/bsd/netbsdlike/netbsd/
H A Dmod.rs827 pub open: __c_anonymous_posix_spawn_fae_open,
1271 self.open == other.open in eq()
1282 .field("open", &self.open) in fmt()
1293 self.open.hash(state); in hash()
/third_party/skia/third_party/externals/freetype/src/base/
H A Dftobjs.c2598 /* here. That stream will still be open and the face will */ in ft_open_face_internal()
2758 FT_Open_Args open; in FT_EXPORT_DEF() local
2766 open.stream = NULL; in FT_EXPORT_DEF()
2767 open.flags = FT_OPEN_PATHNAME; in FT_EXPORT_DEF()
2768 open.pathname = (char*)filepathname; in FT_EXPORT_DEF()
2770 return FT_Attach_Stream( face, &open ); in FT_EXPORT_DEF()
/third_party/python/Lib/test/
H A Dtest_ssl.py167 with open("/etc/os-release", encoding="utf-8") as f:
508 with open(CAFILE_CACERT, 'r') as f:
1477 with open(CAFILE_CACERT) as f:
1480 with open(CAFILE_NEURONIO) as f:
1648 with open(CAFILE_CACERT) as f:
1715 with open(SIGNING_CA) as f:
2139 with open(SIGNING_CA) as f:
2169 # The fd is still open
3561 with open(CERTFILE, 'rb') as f:
4350 with open(os_helpe
[all...]
H A Dtest_argparse.py96 with open(file_path, 'w', encoding="utf-8") as file:
1546 with open(path, 'w', encoding="utf-8") as file:
1576 with open(path, 'w', encoding="utf-8") as file:
1682 with open(os.path.join(self.temp_dir, file_name),
1704 file = open(os.path.join(self.temp_dir, 'good'), 'w', encoding="utf-8")
1723 with open(os.path.join(self.temp_dir, file_name),
1832 """Test that open (the builtin) is correctly called"""
1843 with mock.patch('builtins.open') as m:
5069 with open(path, 'r', encoding='utf-8') as f:
/drivers/hdf_core/framework/tools/hc-gen/src/
H A Dtext_gen.cpp195 ofs_.open(outputFileName_, std::ostream::out | std::ostream::binary); in InitOutput()
197 Logger().Error() << "failed to open output file: " << outputFileName_; in InitOutput()
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/
H A Dhdf_linux_scann.py318 with open(include_file, "r") as f:
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/src/
H A Dv4l2_buffer.cpp453 int heapfd = open(DMA_BUF_FILE_NAME.c_str(), O_RDONLY | O_CLOEXEC); in SetDmabufOn()
455 CAMERA_LOGE("heapfd open err.\n"); in SetDmabufOn()
/drivers/peripheral/camera/test/common/v1_0/src/
H A Dhdi_common.cpp54 int imgFd = open(path, O_RDWR | O_CREAT, 00766); in DumpImageFile()
56 CAMERA_LOGE("open file failed, errno: %{public}s", strerror(errno)); in DumpImageFile()
/foundation/ability/ability_runtime/frameworks/native/runtime/
H A Djs_worker.cpp281 int fd = open(resolvedPath.c_str(), O_RDONLY); in GetSafeData()
342 TAG_LOGE(AAFwkTag::JSRUNTIME, "Failed to open file %{private}s", ami.c_str()); in ReadAmiData()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/
H A Dbundle_mgr_client_impl.cpp401 in.open(resPath, std::ios_base::in | std::ios_base::binary); in TransformFileToJsonString()
404 APP_LOGE("file open fail due to %{public}s errno:%{public}d", errBuf, errno); in TransformFileToJsonString()
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_image_view.cpp497 int32_t fd = open(src, O_RDONLY); in SetSrc()
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/
H A Drs_profiler_utils.cpp455 auto file = open(realPath.data(), O_CREAT | O_EXCL | O_RDWR, S_IRUSR | S_IWUSR); in FileOpen()
464 HRPE("FileOpen: Cannot open '%s' with options '%s'!", realPath.data(), options.data()); // NOLINT in FileOpen()
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/memory/
H A Drs_memory_manager.cpp524 configFile.open(KERNEL_CONFIG_PATH); in InitMemoryLimit()
/foundation/filemanagement/storage_service/services/storage_daemon/utils/
H A Dfile_utils.cpp188 LOGE("failed to open dir %{public}s, errno %{public}d", path.c_str(), errno); in RmDirRecurse()
286 LOGE("failed to open dir %{public}s, errno %{public}d", path.c_str(), errno); in GetSubDirs()
313 LOGE("failed to open dir %{public}s, errno %{public}d", path.c_str(), errno); in ReadDigitDir()
350 LOGI("failed to open dir %{public}s, errno %{public}d", path.c_str(), errno); in OpenSubFile()
383 infile.open(rpath.c_str()); in ReadFile()
385 LOGE("Cannot open file"); in ReadFile()
646 LOGE("unable to open /proc/mounts, errno is %{public}d", errno); in IsPathMounted()
/foundation/multimedia/av_codec/test/moduletest/vcodec/hwdecoder/src/InnerAPI/
H A Dvideodec_ndk_inner_sample.cpp251 inFile_->open(INP_DIR, ios::in | ios::binary); in StartVideoDecoder()
468 cout << "file open fail" << endl; in OpenFileFail()
/foundation/multimedia/media_foundation/test/scenetest/
H A Dtest_single_video_player_fast_1.h46 int32_t fd = open(url.c_str(), O_RDONLY|O_BINARY); in FIXTURE()
54 return fabs(expectValue - currentValue) < 100; // if open debug log, should use value >= 1000 in FIXTURE()
H A Dtest_single_video_player_fast_3.h46 int32_t fd = open(url.c_str(), O_RDONLY|O_BINARY); in FIXTURE()
54 return fabs(expectValue - currentValue) < 100; // if open debug log, should use value >= 1000 in FIXTURE()
/foundation/multimedia/av_codec/test/nativedemo/avmuxer/
H A Davmuxer_demo_base.cpp50 file->open(filePath, std::ios::in | std::ios::binary); in OpenFile()
208 std::cout<<"open audio file failed! file name:"<<audioParams_->fileName<<std::endl; in SelectModeAndOpenFile()
211 std::cout<<"open audio file success! file name:"<<audioParams_->fileName<<std::endl; in SelectModeAndOpenFile()
217 std::cout<<"open video file failed! file name:"<<videoParams_->fileName<<std::endl; in SelectModeAndOpenFile()
227 std::cout<<"open cover file failed! file name:"<<coverParams_->fileName<<std::endl; in SelectModeAndOpenFile()
/foundation/multimedia/av_codec/test/fuzztest/encoderconfigure_fuzzer/
H A Dvideoenc_sample.cpp202 inFile_->open(inpDir, ios::in | ios::binary); in OpenFile()
204 cout << "file open fail" << endl; in OpenFile()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmoving_photo_processor.cpp495 UniqueFd extraDataFd(open(absExtraDataPath.c_str(), O_RDONLY)); in ProcessLocalLivePhoto()
/foundation/multimedia/media_library/frameworks/services/media_thumbnail/src/
H A Dthumbnail_source_loading.cpp132 MEDIA_ERR_LOG("SourceLoader open local file fail: errno: %{public}d, %{public}s", in IsLocalSourceAvailable()
152 int fd = open(absFilePath.c_str(), O_RDONLY); in IsCloudSourceAvailable()
154 MEDIA_ERR_LOG("open cloud file fail: errno: %{public}d, %{public}s", in IsCloudSourceAvailable()
/foundation/communication/ipc/ipc/native/c/ipc/src/liteos_a/
H A Dipc_invoker.c66 connector->fd = open(LITEIPC_DRIVER, O_RDWR); in OpenDriver()
68 RPC_LOG_ERROR("liteipc open failed error : %d.", errno); in OpenDriver()
/foundation/communication/ipc/ipc/native/c/ipc/src/linux/
H A Dipc_invoker.c66 RPC_LOG_ERROR("ipc open driver malloc failed."); in OpenDriver()
69 connector->fd = open(BINDER_DRIVER, O_RDWR); in OpenDriver()

Completed in 60 milliseconds

1...<<311312313314315316317318319320>>...402