Home
last modified time | relevance | path

Searched refs:write (Results 1976 - 2000 of 3634) sorted by relevance

1...<<71727374757677787980>>...146

/third_party/rust/crates/rustix/tests/fs/
H A Dinvalid_offset.rs147 use rustix::io::write; in invalid_offset_copy_file_range()
164 write(&foo, b"a").unwrap(); in invalid_offset_copy_file_range()
/third_party/rust/crates/rustix/src/backend/linux_raw/thread/
H A Dsyscalls.rs89 // TODO: With Rust 1.55, we can use MaybeUninit::write here. in clock_nanosleep_relative_old()
90 ptr::write( in clock_nanosleep_relative_old()
197 // TODO: With Rust 1.55, we can use MaybeUninit::write here. in nanosleep_old()
198 ptr::write( in nanosleep_old()
/third_party/selinux/libselinux/src/
H A Dbooleans.c288 ret = write(fd, buf, 2); in security_set_boolean()
316 ret = write(fd, buf, 2); in security_commit_booleans()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
H A Dwps-ap-nfc.py32 f.write(txt + "\n")
38 f.write(txt + "\n")
195 success_report("Tag write succeeded")
284 parser.add_argument('command', choices=['write-config',
285 'write-password'],
310 if args.command == "write-config":
314 if args.command == "write-password":
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/
H A Dwps-ap-nfc.py32 f.write(txt + "\n")
38 f.write(txt + "\n")
195 success_report("Tag write succeeded")
284 parser.add_argument('command', choices=['write-config',
285 'write-password'],
310 if args.command == "write-config":
314 if args.command == "write-password":
/third_party/ffmpeg/libavformat/
H A Dlibsrt.c15 * License along with FFmpeg; if not, write to the Free Software
179 static int libsrt_epoll_create(URLContext *h, int fd, int write) in libsrt_epoll_create() argument
181 int modes = SRT_EPOLL_ERR | (write ? SRT_EPOLL_OUT : SRT_EPOLL_IN); in libsrt_epoll_create()
192 static int libsrt_network_wait_fd(URLContext *h, int eid, int write) in libsrt_network_wait_fd() argument
198 if (write) { in libsrt_network_wait_fd()
216 static int libsrt_network_wait_fd_timeout(URLContext *h, int eid, int write, int64_t timeout, AVIOInterruptCB *int_cb) in libsrt_network_wait_fd_timeout() argument
224 ret = libsrt_network_wait_fd(h, eid, write); in libsrt_network_wait_fd_timeout()
/third_party/mksh/
H A Dshf.c100 /* use fcntl() to figure out correct read/write flags */ in shf_open_hlp()
105 /* will get an error on first read/write */ in shf_open_hlp()
124 internal_errorf(Tf_sD_s, where, "missing read/write"); in shf_open_hlp()
200 /* can't have a read+write string */ in shf_sopen()
288 * Un-read what has been read but not examined, or write what has been
289 * buffered. Returns 0 for success, -1 for (write) error.
323 * buffer. Returns 0 for success, -1 for (write) error.
370 n = write(shf->fd, buf, ntowrite); in shf_emptybuf()
623 while ((n = write(shf->fd, &cc, 1)) != 1) in shf_putchar()
686 /* then write everythin in shf_write()
[all...]
H A Dmain.c1069 /* Clear any write errors */ in quitenv()
1663 coproc.read = coproc.readw = coproc.write = -1; in coproc_init()
1693 * Called by c_print when a write to a fd fails with EPIPE and by iosetup
1699 if (coproc.write >= 0 && fd == coproc.write) { in coproc_write_close()
1700 close(coproc.write); in coproc_write_close()
1701 coproc.write = -1; in coproc_write_close()
1712 int fd = (mode & R_OK) ? coproc.read : coproc.write; in coproc_getfd()
1739 if (coproc.write >= 0) { in coproc_cleanup()
1740 close(coproc.write); in coproc_cleanup()
[all...]
/third_party/python/Lib/
H A Dshutil.py82 """Raised as a signal to fallback on using raw read()/write()
177 fdst_write = fdst.write
185 fdst.write(smv)
195 fdst_write = fdst.write
839 "'%s': Lacking write permission to '%s'."
999 zf.write(base_dir, arcname)
1010 zf.write(path, arcname)
1018 zf.write(path, arcname)
/third_party/python/Lib/test/
H A Dtest_zipimport.py105 fp.write(data)
128 f.write(stuff)
129 f.write(data)
829 fp.write('a' * 22)
837 fp.write(struct.pack('=I', 0x06054B50))
838 fp.write('a' * 18)
H A Dtest_posix.py176 fp.write('test')
185 fp.write('test')
245 os.register_at_fork(before=lambda: os.write(w, b'A'))
246 os.register_at_fork(after_in_parent=lambda: os.write(w, b'C'))
247 os.register_at_fork(after_in_child=lambda: os.write(w, b'E'))
248 os.register_at_fork(before=lambda: os.write(w, b'B'),
249 after_in_parent=lambda: os.write(w, b'D'),
250 after_in_child=lambda: os.write(w, b'F'))
272 os.write(fin_w, b'!')
280 os.write(f
[all...]
/third_party/backends/backend/genesys/
H A Dgl124.cpp370 // write values to analog frontend in gl124_set_ti_fe()
1024 /* write actual red data */ in send_shading_data()
1099 // write registers and scan data in move_to_calibration_area()
1308 s->buttons[BUTTON_SCAN_SW].write((val & 0x01) == 0); in update_hardware_sensors()
1309 s->buttons[BUTTON_FILE_SW].write((val & 0x08) == 0); in update_hardware_sensors()
1310 s->buttons[BUTTON_EMAIL_SW].write((val & 0x04) == 0); in update_hardware_sensors()
1311 s->buttons[BUTTON_COPY_SW].write((val & 0x02) == 0); in update_hardware_sensors()
1315 s->buttons[BUTTON_EXTRA_SW].write((val & 0x01) == 0); in update_hardware_sensors()
1316 s->buttons[BUTTON_SCAN_SW].write((val & 0x02) == 0); in update_hardware_sensors()
1317 s->buttons[BUTTON_COPY_SW].write((va in update_hardware_sensors()
[all...]
/third_party/node/tools/
H A Dtest.py303 sys.stdout.write('\n')
306 sys.stdout.write('C')
309 sys.stdout.write('T')
312 sys.stdout.write('F')
315 sys.stdout.write('.')
738 sys.stderr.write(str)
739 sys.stderr.write('\n')
1349 help='write test output to file. NOTE: this only applies the tap progress indicator')
1780 sys.stderr.write("--- Total time: %s ---\n" % FormatTime(duration))
1785 sys.stderr.write("
[all...]
/third_party/node/
H A Dconfigure.py951 proc.stdin.write(b'__clang__ __GNUC__ __GNUC_MINOR__ __GNUC_PATCHLEVEL__ '
1102 p.stdin.write(b'\n')
1659 def write(filename, data): function
1662 f.write(data)
1691 error('''Cannot write to desired download path.
1724 # write an empty file to start with
1725 write(icu_config_name, do_not_edit +
1978 # write updated icu_config.gypi with a bunch of paths
1979 write(icu_config_name, do_not_edit +
2119 write('confi
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/
H A DvktRasterizationOrderAttachmentAccessTests.cpp1217 VkWriteDescriptorSet write = {}; in writeDescriptorSets() local
1218 write.sType = VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET; in writeDescriptorSets()
1219 write.dstSet = *m_descSet; in writeDescriptorSets()
1220 write.dstBinding = i; in writeDescriptorSets()
1221 write.dstArrayElement = 0; in writeDescriptorSets()
1222 write.descriptorCount = 1; in writeDescriptorSets()
1223 write.descriptorType = VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT; in writeDescriptorSets()
1224 write.pImageInfo = &img_info; in writeDescriptorSets()
1226 m_vk.updateDescriptorSets(m_context.getDevice(), 1u, &write, 0u, DE_NULL); in writeDescriptorSets()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/rasterization/
H A DvktRasterizationOrderAttachmentAccessTests.cpp1217 VkWriteDescriptorSet write = {}; in writeDescriptorSets() local
1218 write.sType = VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET; in writeDescriptorSets()
1219 write.dstSet = *m_descSet; in writeDescriptorSets()
1220 write.dstBinding = i; in writeDescriptorSets()
1221 write.dstArrayElement = 0; in writeDescriptorSets()
1222 write.descriptorCount = 1; in writeDescriptorSets()
1223 write.descriptorType = VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT; in writeDescriptorSets()
1224 write.pImageInfo = &img_info; in writeDescriptorSets()
1226 m_vk.updateDescriptorSets(m_context.getDevice(), 1u, &write, 0u, DE_NULL); in writeDescriptorSets()
/third_party/exfatprogs/exfat2img/
H A Dexfat2img.c195 exfat_err("failed to write %llu bytes at %llu\n", in dump_range()
581 ret = write(ei->out_fd, ei->dump_bdesc[0].buffer, len); in dump_bytes_to_stdout()
583 exfat_err("failed to write %llu bytes at %llu\n", in dump_bytes_to_stdout()
589 ret = write(ei->out_fd, exfat->zero_cluster, len); in dump_bytes_to_stdout()
591 exfat_err("failed to write %llu bytes at %llu\n", in dump_bytes_to_stdout()
636 if (write(ei->out_fd, buf, cc_len) != (ssize_t)cc_len) { in dump_clusters_to_stdout()
637 exfat_err("failed to write cc %d : %u\n for %u ~ %u clusters\n", in dump_clusters_to_stdout()
676 /* read and write clusters for allocated ones */ in dump_to_stdout()
704 /* write zeroes for free clusters */ in dump_to_stdout()
736 if (write(e in dump_header()
[all...]
/third_party/backends/backend/
H A Das6e.c36 If you write modifications of your own for SANE, it is your choice
312 numbytes = write (s->as6e_params.ctloutpipe, &repeat, sizeof (repeat)); in sane_start()
335 write (s->as6e_params.ctloutpipe, scan_params, sizeof (scan_params)); in sane_start()
518 write (s->as6e_params.ctloutpipe, &repeat, sizeof (repeat)); in sane_close()
580 write (ctlinpipe[WRITEPIPE], &exec_result, sizeof (exec_result)); in as6e_open()
/third_party/alsa-lib/src/pcm/
H A Dpcm_shm.c24 * License along with this library; if not, write to the Free Software
68 err = write(shm->socket, buf, 1); in snd_pcm_shm_action_fd0()
122 err = write(shm->socket, buf, 1); in snd_pcm_shm_action()
157 err = write(shm->socket, buf, 1); in snd_pcm_shm_action_fd()
703 err = write(sock, req, reqlen); in snd_pcm_shm_open()
705 SYSERR("write error"); in snd_pcm_shm_open()
710 SNDERR("write size error"); in snd_pcm_shm_open()
/third_party/FreeBSD/sbin/fsck_msdosfs/
H A Ddir.c335 if (write(fd, delbuf, clsz) != clsz) { in delete()
336 perr("Unable to write directory"); in delete()
995 * Don't bother to write back right now because in readDosDirSection()
1002 || write(fd, buffer, iosize) != iosize) { in readDosDirSection()
1003 perr("Unable to write directory"); in readDosDirSection()
1022 || write(fd, buffer, iosize) != iosize) { in readDosDirSection()
1023 perr("Unable to write directory"); in readDosDirSection()
1153 || (size_t)write(dosfs, lfbuf, boot->ClusterSize) != boot->ClusterSize) { in reconnect()
1154 perr("could not write LOST.DIR"); in reconnect()
/third_party/node/lib/
H A D_http_outgoing.js388 // The socket was destroyed. If we're still trying to write to it,
403 // Directly write to socket.
404 return conn.write(data, encoding, callback);
828 OutgoingMessage.prototype.write = function write(chunk, encoding, callback) {
883 err = new ERR_STREAM_DESTROYED('write');
923 'Ignoring write() calls.');
945 debug('write ret = ' + ret);
1103 // req2.write('hello world\n');
1115 // There might be remaining data in this.output; write i
[all...]
H A Dzlib.js373 // Set up a list of 'special' buffers that can be written using .write()
375 // write sequence.
398 this.write(kFlushBuffers[kind], '', callback);
533 handle.write(flushFlag,
594 this.write(handle.flushFlag,
605 this.write(handle.flushFlag,
722 // `params()` function should not happen while a write is currently in progress
/third_party/node/test/parallel/
H A Dtest-crypto-sign-verify.js128 verStream.write('Tes');
129 verStream.write('t12');
146 verStream.write('Tes');
147 verStream.write('t12');
H A Dtest-fs-error-messages.js791 // write buffer
794 assert.strictEqual(err.message, 'EBADF: bad file descriptor, write');
797 assert.strictEqual(err.syscall, 'write');
803 fs.write(fd, buf, 0, 1, 1, common.mustCall(validateError));
812 // write string
815 assert.strictEqual(err.message, 'EBADF: bad file descriptor, write');
818 assert.strictEqual(err.syscall, 'write');
823 fs.write(fd, 'test', 1, common.mustCall(validateError));
/third_party/mesa3d/src/intel/perf/
H A Dgen_perf.py41 c_file.write(text.rstrip() + "\n")
45 c_file.write(''.rjust(_c_indent) + code)
47 c_file.write(code)
63 header_file.write(text.rstrip() + "\n")
748 parser.add_argument("--header", help="Header file to write", required=True)
749 parser.add_argument("--code", help="C file to write", required=True)

Completed in 35 milliseconds

1...<<71727374757677787980>>...146