Home
last modified time | relevance | path

Searched refs:open (Results 2651 - 2675 of 8039) sorted by relevance

1...<<101102103104105106107108109110>>...322

/third_party/python/Lib/test/
H A Dtest_zipimport.py104 with open(path, 'wb') as fp:
125 with open(zipName, "rb") as f:
127 with open(zipName, "wb") as f:
814 fd = os.open(TESTMOD, os.O_CREAT, 000)
828 fp = open(TESTMOD, 'w+')
836 fp = open(TESTMOD, 'w+')
H A Dtest_hashlib.py394 with open(os_helper.TESTFN, "wb") as f:
404 with open(os_helper.TESTFN, "rb") as f:
1161 with open(os_helper.TESTFN, "wb") as f:
1166 with open(os_helper.TESTFN, "rb") as f:
1177 with open(os_helper.TESTFN, "r") as f:
1181 with open(os_helper.TESTFN, "wb") as f:
H A Dtest_urllib.py44 """urlopen(url [, data]) -> open file-like object"""
54 return opener.open(url)
56 return opener.open(url, data)
155 f = open(os_helper.TESTFN, 'wb')
165 """Shut down the open object"""
698 # does nothing about trying to close files that may still be open. It
707 FILE = open(os_helper.TESTFN, 'wb')
765 FILE = open(second_temp, 'rb')
1573 """Testcase to test the open method of URLopener class."""
1582 self.assertEqual(DummyURLopener().open(
[all...]
/kernel/linux/linux-5.10/drivers/usb/serial/
H A Dmos7720.c60 char open; member
442 * not called the release function yet because someone has a serial port open.
974 if (mos7720_port->open) in mos7720_bulk_out_data_callback()
1095 /* send a open port command */ in mos7720_open()
1096 mos7720_port->open = 1; in mos7720_open()
1161 mos7720_port->open = 0; in mos7720_close()
1298 if (!mos7720_port->open) { in mos7720_throttle()
1328 if (!mos7720_port->open) { in mos7720_unthrottle()
1549 if (!mos7720_port->open) { in change_port_settings()
1696 if (!mos7720_port->open) { in mos7720_set_termios()
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Dsymbol-elf.c602 fd = open(filename, O_RDONLY); in filename__read_build_id()
630 fd = open(filename, O_RDONLY); in sysfs__read_build_id()
724 fd = open(filename, O_RDONLY); in filename__read_debuglink()
836 fd = open(name, O_RDONLY); in symsrc__init()
1449 kcore->fd = open(filename, O_RDONLY); in kcore__open()
1482 kcore->fd = open(filename, O_WRONLY | O_CREAT | O_EXCL, 0400); in kcore__init()
1958 from = open(from_filename, O_RDONLY); in kcore_copy__compare_files()
1962 to = open(to_filename, O_RDONLY); in kcore_copy__compare_files()
2380 fd = open(target, O_RDONLY); in get_sdt_note_list()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
H A Dintel_display_debugfs.c1016 .open = i915_ipc_status_open,
1341 .open = i915_displayport_test_active_open,
1642 .open = pri_wm_latency_open,
1651 .open = spr_wm_latency_open,
1660 .open = cur_wm_latency_open,
1743 .open = i915_hpd_storm_ctl_open,
1816 .open = i915_hpd_short_storm_ctl_open,
1951 .open = simple_open,
2193 .open = i915_dsc_fec_support_open,
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
H A Dgen_builtin_symbols.py1335 with open(functions_txt_filename) as f:
2065 with open('builtin_functions_ESSL.json' if essl_only else 'builtin_functions.json',
2078 with open(variables_json_filename) as f:
2207 with open(immutablestring_cpp_filename, 'wt') as outfile_cpp:
2211 with open(immutablestringtest_cpp_filename, 'wt') as outfile_cpp:
2215 with open(builtin_header_filename, 'wt') as outfile_header:
2219 with open(symboltable_cpp_filename, 'wt') as outfile_cpp:
2224 with open(operator_header_filename, 'wt') as outfile_header:
2228 with open(symboltable_header_filename, 'wt') as outfile_h:
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_debugfs.c231 .open = cim_la_open,
274 .open = cim_pif_la_open,
320 .open = cim_ma_la_open,
413 .open = cim_ibq_open,
442 .open = cim_obq_open,
688 .open = tp_la_open,
724 .open = ulprx_la_open,
814 .open = pm_stats_open,
1138 .open = devlog_open,
1236 .open
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_debugfs.c231 .open = cim_la_open,
274 .open = cim_pif_la_open,
320 .open = cim_ma_la_open,
413 .open = cim_ibq_open,
442 .open = cim_obq_open,
688 .open = tp_la_open,
724 .open = ulprx_la_open,
814 .open = pm_stats_open,
1138 .open = devlog_open,
1236 .open
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/landlock/
H A Dfs_test.c392 * Mixing error codes from close(2) and open(2) should not lead to any in test_open_rel()
442 open(dir_s1d2, O_PATH | O_DIRECTORY | O_CLOEXEC); in TEST_F_FORK()
445 ruleset_fd = open(dir_s1d1, O_PATH | O_DIRECTORY | O_CLOEXEC); in TEST_F_FORK()
453 ruleset_fd = open(dir_s1d1, O_DIRECTORY | O_CLOEXEC); in TEST_F_FORK()
470 path_beneath.parent_fd = open(dir_s1d2, O_DIRECTORY | O_CLOEXEC); in TEST_F_FORK()
484 open(dir_s1d2, O_PATH | O_DIRECTORY | O_CLOEXEC); in TEST_F_FORK()
565 path_beneath_file.parent_fd = open(file1_s1d2, O_PATH | O_CLOEXEC); in TEST_F_FORK()
570 open(dir_s1d2, O_PATH | O_DIRECTORY | O_CLOEXEC); in TEST_F_FORK()
618 path_beneath.parent_fd = open(path, O_PATH | O_CLOEXEC); in add_path_beneath()
621 TH_LOG("Failed to open director in add_path_beneath()
[all...]
/kernel/linux/linux-5.10/sound/pci/ice1712/
H A Dice1724.c357 .open = vt1724_midi_output_open,
392 .open = vt1724_midi_input_open,
1100 .open = snd_vt1724_playback_pro_open,
1110 .open = snd_vt1724_capture_pro_open,
1220 if (ice->spdif.ops.open) in snd_vt1724_playback_spdif_open()
1221 ice->spdif.ops.open(ice, substream); in snd_vt1724_playback_spdif_open()
1257 if (ice->spdif.ops.open) in snd_vt1724_capture_spdif_open()
1258 ice->spdif.ops.open(ice, substream); in snd_vt1724_capture_spdif_open()
1276 .open = snd_vt1724_playback_spdif_open,
1286 .open
[all...]
/kernel/linux/linux-5.10/kernel/trace/
H A Dtrace_events.c1521 /* Don't open systems with no events */ in subsystem_open()
1839 .open = ftrace_event_avail_open,
1846 .open = ftrace_event_set_open,
1854 .open = ftrace_event_set_pid_open,
1862 .open = ftrace_event_set_npid_open,
1870 .open = tracing_open_file_tr,
1878 .open = trace_format_open,
1890 .open = tracing_open_file_tr,
1898 .open = subsystem_open,
1906 .open
[all...]
/kernel/linux/linux-6.6/sound/pci/ice1712/
H A Dice1724.c338 .open = vt1724_midi_output_open,
373 .open = vt1724_midi_input_open,
1081 .open = snd_vt1724_playback_pro_open,
1091 .open = snd_vt1724_capture_pro_open,
1201 if (ice->spdif.ops.open) in snd_vt1724_playback_spdif_open()
1202 ice->spdif.ops.open(ice, substream); in snd_vt1724_playback_spdif_open()
1238 if (ice->spdif.ops.open) in snd_vt1724_capture_spdif_open()
1239 ice->spdif.ops.open(ice, substream); in snd_vt1724_capture_spdif_open()
1257 .open = snd_vt1724_playback_spdif_open,
1267 .open
[all...]
/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/peripheral/camera/test/ut/v4l2/
H A Dtest_camera_base.cpp68 imgFD = open(path, O_RDWR | O_CREAT, 00766); // 00766:file operate permission in StoreImage()
70 CAMERA_LOGE("demo test:open image file error %{public}s.....", strerror(errno)); in StoreImage()
109 videoFd_ = open(path, O_RDWR | O_CREAT, 00766); // 00766:file operate permission in OpenVideoFile()
111 CAMERA_LOGE("demo test: StartVideo open %s %{public}s failed", path, strerror(errno)); in OpenVideoFile()
185 int imgFd = open(path, O_RDWR | O_CREAT, 00766); // 00766: file permissions in SaveYUV()
187 CAMERA_LOGI("%s, open file failed, errno = %s.", __FUNCTION__, strerror(errno)); in SaveYUV()
259 fbFd_ = open("/dev/fb0", O_RDWR); in FBInit()
261 CAMERA_LOGE("main test:cannot open framebuffer %s file node", "/dev/fb0"); in FBInit()
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/main_test/
H A Dv4l2_main.cpp94 imgFD = open(path, O_RDWR | O_CREAT, 00766); // 00766:file operate permission in StoreImage()
96 CAMERA_LOGE("open image file error %s.....\n", strerror(errno)); in StoreImage()
189 g_fbFd = open("/dev/fb0", O_RDWR); in FBInit()
191 CAMERA_LOGE("main test:cannot open framebuffer %s file node\n", "/dev/fb0"); in FBInit()
804 g_videoFd = open("video.h264", O_RDWR | O_CREAT, 00766); // 00766:file operate permission in StartVideo()
812 g_videoFdUvc = open("uvc.h264", O_RDWR | O_CREAT, 00766); // 00766:file operate permission in StartVideo()
/kernel/linux/linux-5.10/drivers/net/ethernet/3com/
H A D3c589_cs.c352 if (link->open) in tc589_suspend()
362 if (link->open) { in tc589_resume()
523 link->open++; in el3_open()
947 link->open--; in el3_close()
/kernel/linux/linux-5.10/drivers/net/wan/
H A Dwanxl.c399 if (get_status(port)->open) { in wanxl_open()
400 netdev_err(dev, "port already open\n"); in wanxl_open()
414 if (get_status(port)->open) { in wanxl_open()
420 netdev_err(dev, "unable to open port\n"); in wanxl_open()
441 if (!get_status(port)->open) in wanxl_close()
445 if (get_status(port)->open) in wanxl_close()
/kernel/linux/linux-5.10/drivers/usb/dwc3/
H A Ddebugfs.c388 .open = dwc3_lsp_open,
463 .open = dwc3_mode_open,
560 .open = dwc3_testmode_open,
669 .open = dwc3_link_state_open,
/kernel/linux/linux-5.10/sound/aoa/soundbus/i2sbus/
H A Dpcm.c202 if (cii->codec->open) { in i2sbus_pcm_open()
203 err = cii->codec->open(cii, pi->substream); in i2sbus_pcm_open()
773 .open = i2sbus_playback_open,
841 .open = i2sbus_record_open,
/kernel/linux/linux-5.10/scripts/kconfig/
H A Dconfdata.c48 fd1 = open(file1, O_RDONLY); in is_same()
52 fd2 = open(file2, O_RDONLY); in is_same()
147 fd = open(depfile_path, O_WRONLY | O_CREAT | O_TRUNC, 0644); in conf_touch_dep()
157 fd = open(depfile_path, O_WRONLY | O_CREAT | O_TRUNC, 0644); in conf_touch_dep()
/kernel/linux/linux-5.10/sound/soc/
H A Dsoc-compress.c34 !component->driver->compress_ops->open) in soc_compr_components_open()
37 ret = component->driver->compress_ops->open(component, cstream); in soc_compr_components_open()
40 "Compress ASoC: can't open platform %s: %d\n", in soc_compr_components_open()
714 .open = soc_compr_open,
729 .open = soc_compr_open_fe,
/kernel/linux/linux-5.10/fs/ocfs2/dlm/
H A Ddlmdebug.c398 .open = debug_purgelist_open,
455 .open = debug_mle_open,
654 .open = debug_lockres_open,
846 .open = debug_state_open,
/kernel/linux/linux-5.10/drivers/ps3/
H A Dps3-lpm.c93 * @open: An atomic variable indicating the lpm driver has been opened.
118 atomic_t open; member
1087 if (!atomic_add_unless(&lpm_priv->open, 1, 1)) { in ps3_lpm_open()
1149 atomic_dec(&lpm_priv->open); in ps3_lpm_open()
1169 atomic_dec(&lpm_priv->open); in ps3_lpm_close()

Completed in 52 milliseconds

1...<<101102103104105106107108109110>>...322