/third_party/FreeBSD/sys/dev/usb/controller/ |
H A D | ehci.c | 2217 .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 D | fuse_lowlevel.c | 637 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 D | mod.rs | 827 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 D | ftobjs.c | 2598 /* 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 D | test_ssl.py | 167 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 D | test_argparse.py | 96 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 D | text_gen.cpp | 195 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 D | hdf_linux_scann.py | 318 with open(include_file, "r") as f:
|
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/src/ |
H A D | v4l2_buffer.cpp | 453 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 D | hdi_common.cpp | 54 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 D | js_worker.cpp | 281 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 D | bundle_mgr_client_impl.cpp | 401 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 D | ui_image_view.cpp | 497 int32_t fd = open(src, O_RDONLY); in SetSrc()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/ |
H A D | rs_profiler_utils.cpp | 455 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 D | rs_memory_manager.cpp | 524 configFile.open(KERNEL_CONFIG_PATH); in InitMemoryLimit()
|
/foundation/filemanagement/storage_service/services/storage_daemon/utils/ |
H A D | file_utils.cpp | 188 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 D | videodec_ndk_inner_sample.cpp | 251 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 D | test_single_video_player_fast_1.h | 46 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 D | test_single_video_player_fast_3.h | 46 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 D | avmuxer_demo_base.cpp | 50 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 D | videoenc_sample.cpp | 202 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 D | moving_photo_processor.cpp | 495 UniqueFd extraDataFd(open(absExtraDataPath.c_str(), O_RDONLY)); in ProcessLocalLivePhoto()
|
/foundation/multimedia/media_library/frameworks/services/media_thumbnail/src/ |
H A D | thumbnail_source_loading.cpp | 132 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 D | ipc_invoker.c | 66 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 D | ipc_invoker.c | 66 RPC_LOG_ERROR("ipc open driver malloc failed."); in OpenDriver() 69 connector->fd = open(BINDER_DRIVER, O_RDWR); in OpenDriver()
|