Home
last modified time | relevance | path

Searched refs:open (Results 651 - 675 of 7928) sorted by relevance

1...<<21222324252627282930>>...318

/third_party/alsa-lib/src/ucm/
H A Dmain.c174 fd = open(filepath, O_RDONLY); in read_tlv_file()
234 fd = open(filepath, O_RDONLY); in binary_file_parse()
564 fd = open(path, O_WRONLY|O_CLOEXEC); in execute_sysw()
569 uc_error("unable to open '%s' for write", path); in execute_sysw()
619 uc_error("unable to open file '%s': %s", file, snd_strerror(err)); in execute_cfgsave()
821 uc_error("unable to open ctl device '%s'", cdev); in execute_sequence()
1458 * \brief Parse open arguments
1460 * \param name name of card to open
1461 * \return the rest of the card name to open
1483 uc_error("error: open argument in parse_open_variables()
[all...]
/third_party/mbedtls/scripts/
H A Dassemble_changelog.py263 with open(filename, 'w', encoding='utf-8') as out:
406 with open(generated_output_file, 'r', encoding='utf-8') as fd:
408 for line in open(main_input_file, 'r', encoding='utf-8'):
412 for line in open(merged_file, 'r', encoding='utf-8'):
469 with open(options.input, 'r', encoding='utf-8') as input_file:
476 with open(filename, 'r', encoding='utf-8') as input_file:
/third_party/ltp/lib/
H A Dtst_device.c88 ctl_fd = open(LOOP_CONTROL_FILE, O_RDWR); in tst_find_free_loopdev()
109 "Not allowed to open " LOOP_CONTROL_FILE ". " in tst_find_free_loopdev()
113 tst_resm(TBROK | TERRNO, "Failed to open " LOOP_CONTROL_FILE); in tst_find_free_loopdev()
125 dev_fd = open(buf, O_RDONLY); in tst_find_free_loopdev()
157 dev_fd = open(dev, O_RDWR); in tst_attach_device()
159 tst_resm(TWARN | TERRNO, "open('%s', O_RDWR) failed", dev); in tst_attach_device()
163 file_fd = open(file, O_RDWR); in tst_attach_device()
165 tst_resm(TWARN | TERRNO, "open('%s', O_RDWR) failed", file); in tst_attach_device()
217 fd = open(dev_path, O_RDONLY); in tst_get_device_size()
220 "open( in tst_get_device_size()
[all...]
/third_party/ltp/testcases/kernel/fs/scsi/ltpfs/
H A Dmain.c80 ltp_block_dev_handle = open(LTP_FS_DEVICE_NAME, O_RDWR); in main()
97 printf("ERROR: Create/open block device failed\n"); in main()
101 open("/tmp/testfile", O_CREAT | O_RDWR | O_SYNC | FASYNC, in main()
106 tmpHandle = open("/usr/include/ctype.h", O_RDONLY); in main()
134 printf("ERROR: Create/open file failed\n"); in main()
514 if ((nullFileHandle = open("/dev/null", O_WRONLY)) < 0) { in do_random_access_test()
542 if ((fileHandle = open(fname, O_RDONLY | O_SYNC | O_ASYNC)) < 0) { in open_read_close()
548 if ((fileHandle2 = open(fname, O_RDONLY | O_SYNC | O_ASYNC)) < 0) { in open_read_close()
/third_party/lz4/tests/
H A Dtest-lz4-list.py243 with open(file_name, "wb") as f:
262 with open(lz4file, 'wb') as f:
271 with open(f"{TEMP}/test_list_{sum(SIZES)}M-lz4f-2f--content-size.lz4", 'ab') as outfile:
273 with open(fname, 'rb') as infile:
278 with open(f"{TEMP}/test_list_concat-all.lz4", 'ab') as outfile:
280 with open(fname, 'rb') as infile:
/third_party/musl/libc-test/src/functionalext/supplement/ldso/ldso_gtest/
H A Dldso_dlopen_ext_test.cpp301 int fd = open(relroFile, O_RDWR | O_TRUNC | O_CLOEXEC); in HWTEST_F()
306 fd = open(relroFile, O_RDONLY | O_CLOEXEC); in HWTEST_F()
337 int fd = open(relroFile, O_RDWR | O_TRUNC | O_CLOEXEC); in HWTEST_F()
342 fd = open(relroFile, O_RDONLY | O_CLOEXEC); in HWTEST_F()
372 int fd = open(relroFile, O_RDWR | O_TRUNC | O_CLOEXEC); in HWTEST_F()
377 fd = open(relroFile, O_RDONLY | O_CLOEXEC); in HWTEST_F()
/third_party/node/deps/undici/src/lib/websocket/
H A Dwebsocket.js30 open: null,
403 return this.#events.open
409 if (this.#events.open) {
410 this.removeEventListener('open', this.#events.open)
414 this.#events.open = fn
415 this.addEventListener('open', fn)
417 this.#events.open = null
505 // once this happens, the connection is open
537 // 4. Fire an event named open a
[all...]
/third_party/python/Tools/scripts/
H A Dpindent.py391 with open(filename, 'r') as f:
398 with open(filename, 'w') as f:
405 with open(filename, 'r') as f:
412 with open(filename, 'w') as f:
419 with open(filename, 'r') as f:
426 with open(filename, 'w') as f:
/third_party/python/Lib/test/
H A Daudit-tests.py119 with open("test-marshal.bin", "wb") as f:
121 with open("test-marshal.bin", "rb") as f:
190 # SSLContext.load_dh_params uses _Py_fopen_obj rather than normal open()
198 # Try a range of "open" functions.
200 with TestHook(raise_on_events={"open"}) as hook:
202 (open, sys.argv[2], "r"),
203 (open, sys.executable, "rb"),
204 (open, 3, "wb"),
205 (open, sys.argv[2], "w", -1, None, None, None, False, lambda *a: 1),
213 actual_mode = [(a[0], a[1]) for e, a in hook.seen if e == "open" an
[all...]
H A Dtest_py_compile.py68 with open(self.source_path, 'w') as file:
145 with open(self.pyc_path, 'rb') as fp:
169 with open(weird_path, 'w') as file:
184 with open(self.cache_path, 'rb') as fp:
192 with open(self.cache_path, 'rb') as fp:
227 with open(self.source_path, 'w') as file:
H A Dtest_filecmp.py18 with open(name, 'w', encoding="utf-8") as output:
21 with open(self.name_diff, 'a+', encoding="utf-8") as output:
75 with open(os.path.join(dir, fn), 'w', encoding="utf-8") as output:
78 with open(os.path.join(self.dir_diff, 'file2'), 'w', encoding="utf-8") as output:
106 with open(os.path.join(self.dir, 'file2'), 'w', encoding="utf-8") as output:
191 with open(os.path.join(self.dir_diff, 'file2'), 'w', encoding="utf-8") as output:
H A Dtest_source_encoding.py108 with open(filename, "rb") as fp:
122 f = open(filename, "w", encoding="cp1252")
153 with open(TESTFN, "wb") as fd:
166 with open(TESTFN, "w") as fd:
272 with open(fn, 'wb') as fp:
333 with open(fn, 'wb') as fp:
/third_party/skia/experimental/tools/
H A Dpdf-comparison.py54 with open(os.devnull, 'w') as o:
86 with open(os.devnull, 'w') as o:
97 with open(path1, 'rb') as f1:
98 with open(path2, 'rb') as f2:
124 with open(os.devnull, 'w') as o:
130 spawn(["open", arg])
135 spawn(["xdg-open", arg])
328 with open(report, 'w') as o:
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath11k/
H A Ddebugfs.c309 .open = ath11k_open_pdev_stats,
380 .open = ath11k_open_vdev_stats,
464 .open = ath11k_open_bcn_stats,
554 .open = simple_open,
610 .open = simple_open
708 .open = simple_open,
849 .open = simple_open,
912 .open = simple_open,
967 .open = ath11k_open_sram_dump,
1219 .open
[all...]
/kernel/linux/linux-6.6/fs/smb/client/
H A Dmisc.c661 cifs_del_pending_open(struct cifs_pending_open *open) in cifs_del_pending_open() argument
663 spin_lock(&tlink_tcon(open->tlink)->open_file_lock); in cifs_del_pending_open()
664 list_del(&open->olist); in cifs_del_pending_open()
665 spin_unlock(&tlink_tcon(open->tlink)->open_file_lock); in cifs_del_pending_open()
670 struct cifs_pending_open *open) in cifs_add_pending_open_locked()
672 memcpy(open->lease_key, fid->lease_key, SMB2_LEASE_KEY_SIZE); in cifs_add_pending_open_locked()
673 open->oplock = CIFS_OPLOCK_NO_CHANGE; in cifs_add_pending_open_locked()
674 open->tlink = tlink; in cifs_add_pending_open_locked()
675 fid->pending_open = open; in cifs_add_pending_open_locked()
676 list_add_tail(&open in cifs_add_pending_open_locked()
669 cifs_add_pending_open_locked(struct cifs_fid *fid, struct tcon_link *tlink, struct cifs_pending_open *open) cifs_add_pending_open_locked() argument
680 cifs_add_pending_open(struct cifs_fid *fid, struct tcon_link *tlink, struct cifs_pending_open *open) cifs_add_pending_open() argument
[all...]
/third_party/alsa-lib/aserver/
H A Daserver.c157 int (*open)(client_t *client, int *cookie); member
201 int open; member
343 client->open = 0; in pcm_shm_close()
526 .open = pcm_shm_open,
606 client->open = 0; in ctl_shm_close()
720 .open = ctl_shm_open,
786 err = client->ops->open(client, &ans.cookie); in snd_client_open()
790 client->open = 1; in snd_client_open()
806 if (client->open) in client_poll_handler()
821 if (client->open) in client_ctrl_handler()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_debugfs.c76 .open = kfd_debugfs_open,
84 .open = kfd_debugfs_open,
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/dscr/
H A Ddscr.h79 fd = open(DSCR_DEFAULT, O_RDONLY); in get_default_dscr()
81 perror("open() failed"); in get_default_dscr()
103 fd = open(DSCR_DEFAULT, O_RDWR); in set_default_dscr()
105 perror("open() failed"); in set_default_dscr()
/kernel/linux/linux-5.10/tools/testing/selftests/timens/
H A Dprocfs.c44 parent_ns = open(path, O_RDONLY); in init_namespaces()
46 return pr_perror("Unable to open %s", path); in init_namespaces()
54 child_ns = open(path, O_RDONLY); in init_namespaces()
56 return pr_perror("Unable to open %s", path); in init_namespaces()
77 pr_perror("Unable to open /proc/uptime"); in read_proc_uptime()
/kernel/linux/linux-5.10/include/linux/mtd/
H A Dblktrans.h28 int open; member
61 int (*open)(struct mtd_blktrans_dev *dev); member
/kernel/linux/linux-5.10/tools/power/cpupower/utils/helpers/
H A Dmsr.c33 fd = open(msr_file_name, O_RDONLY); in read_msr()
62 fd = open(msr_file_name, O_WRONLY); in write_msr()
/kernel/linux/linux-5.10/tools/perf/util/
H A Dzlib.c32 input_fd = open(input, O_RDONLY); in gzip_decompress_to_file()
85 int fd = open(input, O_RDONLY); in gzip_is_compressed()
/kernel/linux/linux-5.10/tools/testing/kunit/
H A Dkunit_config.py56 with open(path, 'w') as f:
88 with open(path, 'r') as f:
/kernel/linux/linux-5.10/drivers/xen/xenfs/
H A Dxenstored.c50 .open = xsd_kva_open,
66 .open = xsd_port_open,
/kernel/linux/linux-5.10/drivers/gpu/drm/via/
H A Dvia_drv.c65 .open = drm_open,
79 .open = via_driver_open,

Completed in 22 milliseconds

1...<<21222324252627282930>>...318