Home
last modified time | relevance | path

Searched refs:open (Results 2876 - 2900 of 8772) sorted by relevance

1...<<111112113114115116117118119120>>...351

/third_party/python/Lib/
H A Dtarfile.py39 from builtins import open as bltn_open
73 "DEFAULT_FORMAT", "open"]
321 self.fd = os.open(name, mode, 0o666)
1767 # TarFile class. The open() method is the only one that is needed for
1777 def open(cls, name=None, mode="r", fileobj=None, bufsize=RECORDSIZE, **kwargs): member in TarFile
1782 'r' or 'r:*' open for reading with transparent compression
1783 'r:' open for reading exclusively uncompressed
1784 'r:gz' open for reading with gzip compression
1785 'r:bz2' open for reading with bzip2 compression
1786 'r:xz' open fo
2819 open = TarFile.open global() variable
[all...]
/third_party/python/Lib/test/test_zoneinfo/
H A Dtest_zoneinfo.py162 with open(file_path, "rb") as f:
179 with open(file_path, "rb") as f:
185 with open(file_path, "rb") as f:
195 with open(self.zoneinfo_data.path_from_key(key), "rb") as f:
1453 with open(self.zoneinfo_data.path_from_key(key), "rb") as f:
1484 with open(self.zoneinfo_data.path_from_key(key), "rb") as f:
1513 with open(self.zoneinfo_data.path_from_key("UTC"), "rb") as f:
1661 with open(zone_file, "rb") as f:
1677 with open(zonefile_path, "wb") as f:
1861 with open(source_jso
[all...]
/drivers/hdf_core/adapter/khdf/linux/platform/pwm/
H A Dpwm_adapter.c85 .open = HdfPwmOpen,
/drivers/hdf_core/adapter/khdf/liteos/osal/src/
H A Dosal_file.c57 fd = open(pathName, flags, rights); in OsalFileOpen()
59 HDF_LOGE("%s open file fail %d %u %d", __func__, flags, rights, errno); in OsalFileOpen()
/drivers/hdf_core/adapter/khdf/linux/model/camera/src/
H A Dcamera_buffer_manager_adapter.c83 .open = CommonVmOpen,
/drivers/hdf_core/adapter/khdf/liteos/platform/src/
H A Dgpio_dev.c145 .open = GpioOpen,
/drivers/hdf_core/framework/support/platform/include/can/
H A Dcan_core.h35 int32_t (*open)(struct CanCntlr *cntlr); member
/drivers/hdf_core/framework/test/unittest/platform/virtual/
H A Dpwm_virtual.c70 .open = VirtualPwmDeviceGet,
/drivers/peripheral/audio/test/sample/tools/gen_cr_by_pr/
H A Dgen_cr_by_pr.py118 files = open(f'{repo_name}{mix}files.json', 'r', encoding='utf-8')
/drivers/peripheral/audio/hal/hdi_binder/server/src/
H A Dhdf_audio_input_event.c125 g_fdSets[j].fd = open(devices[i], O_RDONLY); in AudioPnpInputOpen()
127 AUDIO_FUNC_LOGW("[open] %{public}s failed!", devices[i]); in AudioPnpInputOpen()
130 AUDIO_FUNC_LOGI("[open] %{public}s success!", devices[i]); in AudioPnpInputOpen()
/drivers/peripheral/display/hal/default_standard/src/utils/
H A Ddisplay_adapter.cpp74 DISPLAY_LOGD("use the adapter open function"); in OpenDevice()
77 return open(pathName.c_str(), flags, mode); in OpenDevice()
/drivers/peripheral/display/hal/default_standard/src/display_gralloc/
H A Ddrm_allocator.cpp32 drmFd_ = open(FILE_PATH, O_RDWR); in Init()
34 DISPLAY_LOGE("can not open drm file : %{public}s errno: %{public}d ", FILE_PATH, errno)); in Init()
/foundation/ai/ai_engine/test/performance/delay/sync_process/
H A Dsync_process_delay_test.cpp83 int fd = open("/dev/random", O_RDONLY); in Random()
/foundation/ai/intelligent_voice_framework/tests/unittest/intell_voice_test/src/
H A Dengine_event_callback.cpp74 infile.open(path, ios::in | ios::binary); in ReadFile()
77 INTELL_VOICE_LOG_INFO("open file failed"); in ReadFile()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbase_extractor.cpp43 APP_LOGE("open zip file failed, errno:%{public}d", errno); in Init()
92 fileStream.open(targetPath, std::ios_base::out | std::ios_base::binary); in ExtractFile()
94 APP_LOGE("fail to open %{private}s file to write, errno:%{public}d", targetPath.c_str(), errno); in ExtractFile()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/bundlemgr_extension/src/
H A Dbms_extension_profile.cpp57 in.open(filePath, std::ios_base::in); in ReadFileIntoJson()
60 APP_LOGE("file open failed due to %{public}s, errno:%{public}d", errBuf, errno); in ReadFileIntoJson()
/foundation/arkui/ui_lite/frameworks/dfx/
H A Dui_screenshot.cpp54 int32_t fd = open(filePath_, O_RDWR | O_CREAT, DEFAULT_FILE_PERMISSION);
58 GRAPHIC_LOGE("UIScreenshotListener::OnScreenshotEnd open file failed Err!\n");
/foundation/graphic/graphic_surface/utils/hebc_white_list/
H A Dhebc_white_list.cpp105 ifs.open(file, std::ifstream::binary);
112 BLOGE("open file failed");
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/pipeline/
H A Drs_uni_render_judgement_test.cpp115 configFile.open("test_file.txt"); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing/test_case/
H A Dtest_common.cpp46 int32_t fileDes = open(path.c_str(), O_CREAT | O_RDWR); in PackingPixmap()
48 Log("failed to open"); in PackingPixmap()
/foundation/multimedia/media_foundation/test/scenetest/
H A Dtest_single_audio_recorder_slow.h87 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/fuzztest/imagegifencoder_fuzzer/src/
H A Dimage_gif_encoder_fuzzer.cpp81 int fd = open(pathName.c_str(), O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); in GifEncoderPackingByPathNameFuzz()
/foundation/multimedia/av_codec/test/nativedemo/avmuxer/
H A Davmuxer_ffmpeg_demo.cpp42 outFd_ = open(outFileName.c_str(), O_CREAT | O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR); in DoRunMuxer()
47 std::cout<<"==== open success! =====\noutputFileName: "<<outFileName<<"\n============"<<std::endl; in DoRunMuxer()
/foundation/multimedia/player_framework/frameworks/native/system_sound_manager/system_sound_vibrator/
H A Dsystem_sound_vibrator.cpp80 MEDIA_LOGI("hapticUri is not fd. Try to open it"); in StartVibratorForSystemTone()
85 fd = open(realPathStr.c_str(), O_RDONLY); in StartVibratorForSystemTone()
87 MEDIA_LOGE("Failed to open hapticUri!"); in StartVibratorForSystemTone()
94 MEDIA_LOGE("Failed to open fd and get size."); in StartVibratorForSystemTone()
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencaptureaudiocodecformatfile_fuzzer/
H A Dscreencaptureaudiocodecformatfile_fuzzer.cpp113 int32_t outputFd = open((screenCaptureRoot + "screen_capture_fuzz_audiocodecformat_file_01.mp4").c_str(), in FuzzScreenCaptureAudioCodecFormatFile()

Completed in 15 milliseconds

1...<<111112113114115116117118119120>>...351