Home
last modified time | relevance | path

Searched full:write (Results 1 – 25 of 6419) sorted by relevance

12345678910>>...257

/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors_ioctl.inc18 // FIXME: support read+write arguments. Currently READWRITE and WRITE do the
20 // XXX: The declarations below may use WRITE instead of READWRITE, unless
25 WRITE,
53 _(FIOGETOWN, WRITE, sizeof(int));
57 _(SIOCATMARK, WRITE, sizeof(int));
59 _(SIOCGPGRP, WRITE, sizeof(int));
65 _(TIOCGETD, WRITE, sizeof(int));
66 _(TIOCGPGRP, WRITE, pid_t_sz);
67 _(TIOCGWINSZ, WRITE, struct_winsize_sz);
70 _(TIOCMGET, WRITE, sizeof(int));
[all …]
H A Dsanitizer_interceptors_ioctl_netbsd.inc18 // FIXME: support read+write arguments. Currently READWRITE and WRITE do the
20 // XXX: The declarations below may use WRITE instead of READWRITE, unless
22 enum { NONE, READ, WRITE, READWRITE, CUSTOM } type : 3;
128 _(CIOCASYMFEAT, WRITE, sizeof(u32));
131 _(OAPM_IOC_GETPOWER, WRITE, struct_apm_power_info_sz);
133 _(APM_IOC_NEXTEVENT, WRITE, struct_apm_event_info_sz);
148 _(DMX_GET_CAPS, WRITE, struct_dmx_caps_sz);
151 _(FE_READ_STATUS, WRITE, enum_fe_status_sz);
152 _(FE_READ_BER, WRITE, sizeof(u32));
153 _(FE_READ_SNR, WRITE, sizeof(u16));
[all …]
/openbsd-src/gnu/llvm/llvm/lib/BinaryFormat/
H A DMsgPackWriter.cpp25 void Writer::writeNil() { EW.write(FirstByte::Nil); } in writeNil()
27 void Writer::write(bool b) { EW.write(b ? FirstByte::True : FirstByte::False); } in write() function in Writer
29 void Writer::write(int64_t i) { in write() function in Writer
31 write(static_cast<uint64_t>(i)); in write()
36 EW.write(static_cast<int8_t>(i)); in write()
41 EW.write(FirstByte::Int8); in write()
42 EW.write(static_cast<int8_t>(i)); in write()
47 EW.write(FirstByte::Int16); in write()
48 EW.write(static_cast<int16_t>(i)); in write()
53 EW.write(FirstByte::Int32); in write()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/ObjectYAML/
H A DXCOFFEmitter.cpp90 W.write(NameRef); in writeName()
354 W.write<uint16_t>(Obj.Header.Magic ? Obj.Header.Magic : InitFileHdr.Magic); in writeFileHeader()
355 W.write<uint16_t>(Obj.Header.NumberOfSections ? Obj.Header.NumberOfSections in writeFileHeader()
357 W.write<int32_t>(Obj.Header.TimeStamp); in writeFileHeader()
359 W.write<uint64_t>(Obj.Header.SymbolTableOffset in writeFileHeader()
362 W.write<uint16_t>(InitFileHdr.AuxHeaderSize); in writeFileHeader()
363 W.write<uint16_t>(Obj.Header.Flags); in writeFileHeader()
364 W.write<int32_t>(Obj.Header.NumberOfSymTableEntries in writeFileHeader()
368 W.write<uint32_t>(Obj.Header.SymbolTableOffset in writeFileHeader()
371 W.write<int32_t>(Obj.Header.NumberOfSymTableEntries in writeFileHeader()
[all …]
/openbsd-src/gnu/llvm/llvm/utils/lit/tests/Inputs/shtest-shell/
H A Dredirects.txt3 # RUN: echo "not-present" > %t.stdout-write
4 # RUN: echo "is-present" > %t.stdout-write
5 # RUN: FileCheck --check-prefix=STDOUT-WRITE < %t.stdout-write %s
7 # STDOUT-WRITE-NOT: not-present
8 # STDOUT-WRITE: is-present
10 # RUN: echo "appended-line" >> %t.stdout-write
11 # RUN: FileCheck --check-prefix=STDOUT-APPEND < %t.stdout-write %s
19 # RUN: echo "not-present" > %t.stderr-write
20 # RUN: %{python} %S/write-to-stderr.py 2> %t.stderr-write
21 # RUN: FileCheck --check-prefix=STDERR-WRITE < %t.stderr-write %s
[all …]
H A Dvalid-shell.txt4 # RUN: rm -f %t.write
5 # RUN: %{python} %S/check_path.py file %t.write > %t.out
7 # RUN: echo "create a temp file" > %t.write
8 # RUN: %{python} %S/check_path.py file %t.write > %t.out
10 # RUN: rm -f %t.write
11 # RUN: %{python} %S/check_path.py file %t.write > %t.out
58 # RUN: echo "create a temp file" > %T/test/temp.write
59 # RUN: echo "create a temp1 file" > %T/test/test1/temp1.write
60 # RUN: echo "create a temp2 file" > %T/test/test2/temp2.write
61 …N: %{python} %S/check_path.py file %T/test/temp.write %T/test/test1/temp1.write %T/test/test2/temp…
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g77.f-torture/execute/
H A Du77-test.f67 WRITE (6,'(A/)') '1 GNU libU77 test at: ' // ctim(:lenstr (ctim))
68 write (6,'(A,I3,'', '',I3)')
80 write (6, *) '*** CALL CTIME disagrees with CTIME(): ',
87 write (6, *) '*** TIME/TIME8/TIME sequence failures: ',
105 write (6,'(1X,A)') line(:lenstr(line))
117 WRITE (6,'(A,I10)') ' Process id (GETPID): ', pid
118 WRITE (6,'(A,I10)') ' User id (GETUID): ', GETUID ()
119 WRITE (6,'(A,I10)') ' Group id (GETGID): ', GETGID ()
120 WRITE (6, *) 'If you have the `id'' program, the following call'
121 write (6, *) 'of SYSTEM should agree with the above:'
[all …]
/openbsd-src/lib/libc/sys/
H A Dwrite.21 .\" $OpenBSD: write.2,v 1.45 2023/02/05 12:33:17 jsg Exp $
2 .\" $NetBSD: write.2,v 1.6 1995/02/27 12:39:43 cgd Exp $
31 .\" @(#)write.2 8.5 (Berkeley) 4/2/94
37 .Nm write ,
41 .Nd write output
45 .Fn write "int d" "const void *buf" "size_t nbytes"
57 .Fn write
58 attempts to write
73 perform the same functions, but write to the specified position
98 will always write a complete area before proceeding to the next.
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/BinaryFormat/
H A DMsgPackWriter.h20 /// MPWriter.write(false);
21 /// MPWriter.write("string");
46 /// When in \p Compatible mode, the writer will write \c Str16 formats
47 /// instead of \c Str8 formats, and will refuse to write any \c Bin formats.
50 /// \param Compatible when set, write in "Compatibility Mode".
56 /// Write a \em Nil to the output stream.
61 /// Write a \em Boolean to the output stream.
64 void write(bool b);
66 /// Write a signed integer to the output stream.
71 void write(int64_t i);
[all …]
/openbsd-src/gnu/llvm/llvm/lib/MC/
H A DMachObjectWriter.cpp150 W.write<uint32_t>(is64Bit() ? MachO::MH_MAGIC_64 : MachO::MH_MAGIC); in writeHeader()
152 W.write<uint32_t>(TargetObjectWriter->getCPUType()); in writeHeader()
153 W.write<uint32_t>(TargetObjectWriter->getCPUSubtype()); in writeHeader()
155 W.write<uint32_t>(Type); in writeHeader()
156 W.write<uint32_t>(NumLoadCommands); in writeHeader()
157 W.write<uint32_t>(LoadCommandsSize); in writeHeader()
158 W.write<uint32_t>(Flags); in writeHeader()
160 W.write<uint32_t>(0); // reserved in writeHeader()
172 /// writeSegmentLoadCommand - Write a segment load command.
189 W.write<uint32_t>(is64Bit() ? MachO::LC_SEGMENT_64 : MachO::LC_SEGMENT); in writeSegmentLoadCommand()
[all …]
/openbsd-src/gnu/usr.bin/binutils/gdb/testsuite/gdb.base/
H A Dremote.exp14 # along with this program; if not, write to the Free Software
49 gdb_test "show download-write-size" \
50 "The write size used when downloading a program is 512." \
53 gdb_test "set download-write-size" "Argument required.*"
55 gdb_test "set download-write-size 0" ""
56 gdb_test "show download-write-size" \
57 "The write size used when downloading a program is unlimited." \
60 gdb_test "show remote memory-write-packet-size" \
61 "The memory-write-packet-size is 0. Packets are limited to \[0-9\]+ bytes." \
62 "write-packet default"
[all …]
/openbsd-src/gnu/llvm/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dsplit-lib.py10 self.shfile.write("echo \"\" > %s\n" % self.timeFile)
17 self.shfile.write("echo \"%s: Calls %s\" >> %s\n" % (callname, irname, self.timeFile))
18 self.shfile.write("echo \"\" >> %s\n" % self.timeFile)
19 self.shfile.write("echo \"With MCJIT\" >> %s\n" % self.timeFile)
20 …self.shfile.write("/usr/bin/time -f \"Command %C\\n\\tuser time: %U s\\n\\tsytem time: %S s\\n\\tm…
21 self.shfile.write(" -o %s -a " % self.timeFile)
22 …self.shfile.write("./toy-mcjit -use-object-cache -input-IR=%s < %s > %s-mcjit.out 2> %s-mcjit.err\…
23 self.shfile.write("echo \"\" >> %s\n" % self.timeFile)
24 self.shfile.write("echo \"With MCJIT again\" >> %s\n" % self.timeFile)
25 …self.shfile.write("/usr/bin/time -f \"Command %C\\n\\tuser time: %U s\\n\\tsytem time: %S s\\n\\tm…
[all …]
/openbsd-src/lib/libssl/man/
H A DSSL_write.360 .Nd write bytes to a TLS connection
71 write
88 .Dq write functions .
90 If necessary, a write function negotiates a TLS session,
97 write function operation.
98 The behaviour of the write functions depends on the underlying
108 before the first call to a write function.
114 the write function
115 will only return once the write operation has been finished or an error
129 the write function will also return when the underlying
[all …]
/openbsd-src/gnu/llvm/llvm/examples/Kaleidoscope/MCJIT/complete/
H A Dsplit-lib.py10 self.shfile.write("echo \"\" > %s\n" % self.timeFile)
17 self.shfile.write("echo \"%s: Calls %s\" >> %s\n" % (callname, irname, self.timeFile))
18 self.shfile.write("echo \"\" >> %s\n" % self.timeFile)
19 self.shfile.write("echo \"With MCJIT\" >> %s\n" % self.timeFile)
20 …self.shfile.write("/usr/bin/time -f \"Command %C\\n\\tuser time: %U s\\n\\tsytem time: %S s\\n\\tm…
21 self.shfile.write(" -o %s -a " % self.timeFile)
22 …self.shfile.write("./toy -suppress-prompts -use-mcjit=true -enable-lazy-compilation=true -use-obje…
23 self.shfile.write("echo \"\" >> %s\n" % self.timeFile)
24 self.shfile.write("echo \"With MCJIT again\" >> %s\n" % self.timeFile)
25 …self.shfile.write("/usr/bin/time -f \"Command %C\\n\\tuser time: %U s\\n\\tsytem time: %S s\\n\\tm…
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/IO-Compress/t/
H A D006zip.t84 is $zip->write($content[0]), length($content[0]), "write";
86 is $zip->write($content[1]), length($content[1]), "write";
88 is $zip->write($content[2]), length($content[2]), "write";
117 is $zip->write($content[0]), length($content[0]), "write";
119 is $zip->write($content[1]), length($content[1]), "write";
[all...]
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g77.dg/
H A Df77-edit-i-out.f9 write(*,'(I1)') 1 ! { dg-output "1(\n|\r\n|\r)" }
10 write(*,'(I1)') -1 ! { dg-output "\\*(\n|\r\n|\r)" }
11 write(*,'(I2)') 2 ! { dg-output " 2(\n|\r\n|\r)" }
12 write(*,'(I2)') -2 ! { dg-output "-2(\n|\r\n|\r)" }
13 write(*,'(I3)') 3 ! { dg-output " 3(\n|\r\n|\r)" }
14 write(*,'(I3)') -3 ! { dg-output " -3(\n|\r\n|\r)" }
16 write(*,'(I2.0)') 0 ! { dg-output " (\n|\r\n|\r)" }
17 write(*,'(I1.1)') 4 ! { dg-output "4(\n|\r\n|\r)" }
18 write(*,'(I1.1)') -4 ! { dg-output "\\*(\n|\r\n|\r)" }
19 write(*,'(I2.1)') 5 ! { dg-output " 5(\n|\r\n|\r)" }
[all …]
/openbsd-src/gnu/llvm/compiler-rt/lib/tsan/benchmarks/
H A Dmop.cpp1 // Synthetic benchmark for __tsan_read/write{1,2,4,8}.
15 template<typename T, bool write>
30 if (write) { in thread()
46 template<typename T, bool write>
49 pthread_create(&th, 0, thread<T, write>, (void*)1); in test()
50 thread<T, write>(0); in test()
54 template<bool write>
57 case 1: return test<char, write>(); in testw()
58 case 2: return test<short, write>(); in testw()
59 case 4: return test<int, write>(); in testw()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/XRay/
H A DFDRTraceWriter.cpp9 // Test a utility that can write out XRay FDR Mode formatted trace files.
26 static size_t write(support::endian::Writer &OS, Tuple &&T) { in write() function
27 OS.write(std::get<Index>(T)); in write()
28 return sizeof(std::get<Index>(T)) + IndexedWriter<Index + 1>::write(OS, T); in write()
36 static size_t write(support::endian::Writer &OS, Tuple &&) { in write() function
44 // we ensure this is the case when we write out the first byte of the record. in writeMetadata()
47 // Write in field order. in writeMetadata()
48 OS.write(FirstByte); in writeMetadata()
49 auto Bytes = IndexedWriter<0>::write(OS, T); in writeMetadata()
50 assert(Bytes <= 15 && "Must only ever write at most 16 byte metadata!"); in writeMetadata()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/GSYM/
H A DFileWriter.h36 /// Write a single uint8_t value into the stream at the current file
39 /// \param Value The value to write into the stream.
42 /// Write a single uint16_t value into the stream at the current file
46 /// \param Value The value to write into the stream.
49 /// Write a single uint32_t value into the stream at the current file
53 /// \param Value The value to write into the stream.
56 /// Write a single uint64_t value into the stream at the current file
60 /// \param Value The value to write into the stream.
63 /// Write the value into the stream encoded using signed LEB128 at the
66 /// \param Value The value to write into the stream.
[all …]
/openbsd-src/sys/dev/mii/
H A Dmii_bitbang.c48 #define WRITE(x) \ macro
75 WRITE(v); in mii_bitbang_sync()
77 WRITE(v | MDC); in mii_bitbang_sync()
78 WRITE(v); in mii_bitbang_sync()
95 WRITE(v); in mii_bitbang_sendbits()
102 WRITE(v); in mii_bitbang_sendbits()
103 WRITE(v | MDC); in mii_bitbang_sendbits()
104 WRITE(v); in mii_bitbang_sendbits()
127 WRITE(MDIRHOST); in mii_bitbang_readreg()
130 WRITE(MDIRHOST | MDC); in mii_bitbang_readreg()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DEndianStream.h28 inline void write(raw_ostream &os, value_type value, endianness endian) { in write() function
30 os.write((const char *)&value, sizeof(value_type)); in write()
34 inline void write<float>(raw_ostream &os, float value, endianness endian) {
35 write(os, FloatToBits(value), endian);
39 inline void write<double>(raw_ostream &os, double value,
41 write(os, DoubleToBits(value), endian);
45 inline void write(raw_ostream &os, ArrayRef<value_type> vals, in write() function
48 write(os, v, endian); in write()
51 /// Adapter to write values to a stream in a particular byte order.
56 template <typename value_type> void write(ArrayRef<value_type> Val) { in write() function
[all …]
/openbsd-src/regress/sys/fifofs/
H A Dfifotest.out13 select read write, timeout=0
17 select write, timeout=0
31 select read write, timeout=0
35 select write, timeout=0
52 select read write, timeout=-1
56 select write, timeout=-1
70 select read write, timeout=-1
74 select write, timeout=-1
91 select read write, timeout=0
95 select write, timeout=0
[all …]
/openbsd-src/sys/dev/pci/
H A Dvirtio_pcireg.h76 uint32_t device_feature_select; /* read-write */
78 uint32_t driver_feature_select; /* read-write */
79 uint32_t driver_feature; /* read-write */
80 uint16_t config_msix_vector; /* read-write */
82 uint8_t device_status; /* read-write */
86 uint16_t queue_select; /* read-write */
87 uint16_t queue_size; /* read-write, power of 2, or 0. */
88 uint16_t queue_msix_vector; /* read-write */
89 uint16_t queue_enable; /* read-write */
91 uint64_t queue_desc; /* read-write */
[all …]
/openbsd-src/lib/libssl/
H A Dssl_stat.c114 return "SSLv3 write client hello A"; in SSL_state_string_long()
116 return "SSLv3 write client hello B"; in SSL_state_string_long()
142 return "SSLv3 write client certificate A"; in SSL_state_string_long()
144 return "SSLv3 write client certificate B"; in SSL_state_string_long()
146 return "SSLv3 write client certificate C"; in SSL_state_string_long()
148 return "SSLv3 write client certificate D"; in SSL_state_string_long()
150 return "SSLv3 write client key exchange A"; in SSL_state_string_long()
152 return "SSLv3 write client key exchange B"; in SSL_state_string_long()
154 return "SSLv3 write certificate verify A"; in SSL_state_string_long()
156 return "SSLv3 write certificat in SSL_state_string_long()
[all...]
/openbsd-src/share/man/man4/
H A Dmidi.448 If it is opened read-only (write-only), only the input (output)
52 .Xr write 2
58 .Xr write 2
62 .Xr write 2
97 .Xr write 2
115 .Xr write 2
118 .Xr write 2
119 system call may write less bytes than requested, or may return
128 .Xr write 2
184 if (write(ofd, obuf, oused) == -1)
[all …]

12345678910>>...257