Home
last modified time | relevance | path

Searched refs:write (Results 1 – 25 of 3663) sorted by relevance

12345678910>>...147

/netbsd-src/external/apache2/llvm/dist/llvm/lib/BinaryFormat/
H A DMsgPackWriter.cpp23 void Writer::writeNil() { EW.write(FirstByte::Nil); } in writeNil()
25 void Writer::write(bool b) { EW.write(b ? FirstByte::True : FirstByte::False); } in write() function in Writer
27 void Writer::write(int64_t i) { in write() function in Writer
29 write(static_cast<uint64_t>(i)); in write()
34 EW.write(static_cast<int8_t>(i)); in write()
39 EW.write(FirstByte::Int8); in write()
40 EW.write(static_cast<int8_t>(i)); in write()
45 EW.write(FirstByte::Int16); in write()
46 EW.write(static_cast<int16_t>(i)); in write()
51 EW.write(FirstByte::Int32); in write()
[all …]
/netbsd-src/external/apache2/llvm/dist/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 …]
/netbsd-src/external/apache2/llvm/dist/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 …]
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Doutbuffer.d75 alias put = write;
81 void write(const(ubyte)[] bytes) in write() function
88 void write(in wchar[] chars) @trusted in write() function
90 write(cast(ubyte[]) chars); in write()
93 void write(const(dchar)[] chars) @trusted in write() function
95 write(cast(ubyte[]) chars); in write()
98 void write(ubyte b) /// ditto in write() function
105 void write(byte b) { write(cast(ubyte) b); } /// ditto in write() function
106 void write(char c) { write(cast(ubyte) c); } /// ditto in write() function
107 void write(dchar c) { write(cast(uint) c); } /// ditto in write() function
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/
H A Doutbuffer.d76 alias put = write;
82 void write(scope const(ubyte)[] bytes) in write() function
89 void write(scope const(wchar)[] chars) @trusted in write() function
91 write(cast(ubyte[]) chars); in write()
94 void write(scope const(dchar)[] chars) @trusted in write() function
96 write(cast(ubyte[]) chars); in write()
99 void write(ubyte b) /// ditto in write() function
106 void write(byte b) { write(cast(ubyte) b); } /// ditto in write() function
107 void write(char c) { write(cast(ubyte) c); } /// ditto in write() function
108 void write(dchar c) { write(cast(uint) c); } /// ditto in write() function
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/
H A DMachObjectWriter.cpp148 W.write<uint32_t>(is64Bit() ? MachO::MH_MAGIC_64 : MachO::MH_MAGIC); in writeHeader()
150 W.write<uint32_t>(TargetObjectWriter->getCPUType()); in writeHeader()
151 W.write<uint32_t>(TargetObjectWriter->getCPUSubtype()); in writeHeader()
153 W.write<uint32_t>(Type); in writeHeader()
154 W.write<uint32_t>(NumLoadCommands); in writeHeader()
155 W.write<uint32_t>(LoadCommandsSize); in writeHeader()
156 W.write<uint32_t>(Flags); in writeHeader()
158 W.write<uint32_t>(0); // reserved in writeHeader()
187 W.write<uint32_t>(is64Bit() ? MachO::LC_SEGMENT_64 : MachO::LC_SEGMENT); in writeSegmentLoadCommand()
188 W.write<uint32_t>(SegmentLoadCommandSize + in writeSegmentLoadCommand()
[all …]
H A DXCOFFObjectWriter.cpp575 Strings.write(W.OS); in writeObject()
586 W.write<int32_t>(0); in writeSymbolName()
587 W.write<uint32_t>(Strings.getOffset(SymbolName)); in writeSymbolName()
592 W.write(NameRef); in writeSymbolName()
603 W.write<uint32_t>(CSectionRef.Address + SymbolOffset); in writeSymbolTableEntryForCsectMemberLabel()
604 W.write<int16_t>(SectionIndex); in writeSymbolTableEntryForCsectMemberLabel()
612 W.write<uint16_t>(0); in writeSymbolTableEntryForCsectMemberLabel()
613 W.write<uint8_t>(SymbolRef.getStorageClass()); in writeSymbolTableEntryForCsectMemberLabel()
615 W.write<uint8_t>(1); in writeSymbolTableEntryForCsectMemberLabel()
618 W.write<uint32_t>(CSectionRef.SymbolTableIndex); in writeSymbolTableEntryForCsectMemberLabel()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libcody/
H A Dclient.cc40 : write (std::move (src.write)), in Client()
61 write = std::move (src.write); in operator =()
79 write.PrepareToWrite (); in CommunicateWithServer()
82 server->DirectProcess (write, read); in CommunicateWithServer()
86 while (int e = write.Write (fd.to)) in CommunicateWithServer()
201 write.BeginLine (); in Connect()
202 write.AppendWord (u8"HELLO"); in Connect()
203 write.AppendInteger (Version); in Connect()
204 write.AppendWord (agent, true, alen); in Connect()
205 write.AppendWord (ident, true, ilen); in Connect()
[all …]
H A Dserver.cc55 : write (std::move (src.write)), in Server()
71 write = std::move (src.write); in operator =()
89 write.PrepareToWrite (); in DirectProcess()
90 std::swap (to, write); in DirectProcess()
267 write.BeginLine (); in ErrorResponse()
268 write.AppendWord (u8"ERROR"); in ErrorResponse()
269 write.AppendWord (error, true, elen); in ErrorResponse()
270 write.EndLine (); in ErrorResponse()
275 write.BeginLine (); in OKResponse()
276 write.AppendWord (u8"OK"); in OKResponse()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/contrib/unicode/from_glibc/
H A Dutf8_gen.py75 outfile.write('{:<11s} {:<12s} {:s}\n'.format(
92 outfile.write('{:s}..{:s} {:<12s} {:s}\n'.format(
98 outfile.write('{:s}..{:s} {:<12s} {:s}\n'.format(
164 outfile.write('%')
165 outfile.write('{:<11s} {:<12s} {:s}\n'.format(
192 outfile.write("<code_set_name> UTF-8\n")
193 outfile.write("<comment_char> %\n")
194 outfile.write("<escape_char> /\n")
195 outfile.write("<mb_cur_min> 1\n")
196 outfile.write("<mb_cur_max> 6\n\n")
[all …]
/netbsd-src/external/gpl3/gcc/dist/contrib/unicode/from_glibc/
H A Dutf8_gen.py75 outfile.write('{:<11s} {:<12s} {:s}\n'.format(
92 outfile.write('{:s}..{:s} {:<12s} {:s}\n'.format(
98 outfile.write('{:s}..{:s} {:<12s} {:s}\n'.format(
164 outfile.write('%')
165 outfile.write('{:<11s} {:<12s} {:s}\n'.format(
192 outfile.write("<code_set_name> UTF-8\n")
193 outfile.write("<comment_char> %\n")
194 outfile.write("<escape_char> /\n")
195 outfile.write("<mb_cur_min> 1\n")
196 outfile.write("<mb_cur_max> 6\n\n")
[all …]
H A Dunicode_utils.py124 sys.stderr.write(
140 sys.stderr.write(
432 sys.stderr.write(
442 sys.stderr.write(
452 sys.stderr.write('%(sym)s is upper|lower but not alpha\n' %{
457 sys.stderr.write('%(sym)s is alpha and cntrl\n' %{
460 sys.stderr.write('%(sym)s is alpha and digit\n' %{
463 sys.stderr.write('%(sym)s is alpha and punct\n' %{
466 sys.stderr.write('%(sym)s is alpha and space\n' %{
472 sys.stderr.write('%(sym)s is space and digit\n' %{
[all …]
/netbsd-src/external/gpl3/binutils/dist/gas/
H A Dconfigure.com41 $ write sys$output "Generate targ-cpu.[ch]"
44 $ open/write outfile targ-cpu.h
45 $ write outfile "#include ""tc-''arch'.h"""
48 $ open/write outfile targ-cpu.c
49 $ write outfile "#include ""tc-''arch'.c"""
52 $ write sys$output "Generate targ-env.h"
54 $ open/write outfile targ-env.h
55 $ write outfile "#include ""te-''env'.h"""
58 $ write sys$output "Generate obj-format.[ch]"
61 $ open/write outfile obj-format.h
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/gas/
H A Dconfigure.com41 $ write sys$output "Generate targ-cpu.[ch]"
44 $ open/write outfile targ-cpu.h
45 $ write outfile "#include ""tc-''arch'.h"""
48 $ open/write outfile targ-cpu.c
49 $ write outfile "#include ""tc-''arch'.c"""
52 $ write sys$output "Generate targ-env.h"
54 $ open/write outfile targ-env.h
55 $ write outfile "#include ""te-''env'.h"""
58 $ write sys$output "Generate obj-format.[ch]"
61 $ open/write outfile obj-format.h
[all …]
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/src/gnu/gettext/
H A DDumpResource.java35 out.write('"'); in dumpString()
39 out.write('\\'); out.write('b'); in dumpString()
41 out.write('\\'); out.write('f'); in dumpString()
43 out.write('\\'); out.write('n'); in dumpString()
45 out.write('\\'); out.write('r'); in dumpString()
47 out.write('\\'); out.write('t'); in dumpString()
49 out.write('\\'); out.write(c); in dumpString()
51 out.write(c); in dumpString()
53 out.write('"'); in dumpString()
56 out.write("msgid "); dumpString(msgid); out.write('\n'); in dumpMessage()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DEndianStream.h27 inline void write(raw_ostream &os, value_type value, endianness endian) { in write() function
29 os.write((const char *)&value, sizeof(value_type)); in write()
33 inline void write<float>(raw_ostream &os, float value, endianness endian) {
34 write(os, FloatToBits(value), endian);
38 inline void write<double>(raw_ostream &os, double value,
40 write(os, DoubleToBits(value), endian);
44 inline void write(raw_ostream &os, ArrayRef<value_type> vals, in write() function
47 write(os, v, endian); in write()
55 template <typename value_type> void write(ArrayRef<value_type> Val) { in write() function
56 endian::write(OS, Val, Endian); in write()
[all …]
/netbsd-src/common/dist/zlib/
H A Dmake_vms.com82 $ open/write topt tmp.opt
83 $ open/write optf 'optfile'
123 $ open/write conf_hin config.hin
124 $ write conf_hin "#undef _LARGEFILE64_SOURCE"
138 $ open/write aconf zconf.h
146 $ write aconf line
154 $ write aconf ""
155 $ write aconf "/* VMS specifics added by make_vms.com: */"
156 $ write aconf "#define VMS 1"
157 $ write aconf "#include <unistd.h>"
[all …]
/netbsd-src/external/gpl3/binutils/dist/zlib/
H A Dmake_vms.com82 $ open/write topt tmp.opt
83 $ open/write optf 'optfile'
123 $ open/write conf_hin config.hin
124 $ write conf_hin "#undef _LARGEFILE64_SOURCE"
138 $ open/write aconf zconf.h
146 $ write aconf line
154 $ write aconf ""
155 $ write aconf "/* VMS specifics added by make_vms.com: */"
156 $ write aconf "#define VMS 1"
157 $ write aconf "#include <unistd.h>"
[all …]
/netbsd-src/external/gpl3/gdb.old/dist/zlib/
H A Dmake_vms.com82 $ open/write topt tmp.opt
83 $ open/write optf 'optfile'
123 $ open/write conf_hin config.hin
124 $ write conf_hin "#undef _LARGEFILE64_SOURCE"
138 $ open/write aconf zconf.h
146 $ write aconf line
154 $ write aconf ""
155 $ write aconf "/* VMS specifics added by make_vms.com: */"
156 $ write aconf "#define VMS 1"
157 $ write aconf "#include <unistd.h>"
[all …]
/netbsd-src/external/gpl3/gdb/dist/zlib/
H A Dmake_vms.com82 $ open/write topt tmp.opt
83 $ open/write optf 'optfile'
123 $ open/write conf_hin config.hin
124 $ write conf_hin "#undef _LARGEFILE64_SOURCE"
138 $ open/write aconf zconf.h
146 $ write aconf line
154 $ write aconf ""
155 $ write aconf "/* VMS specifics added by make_vms.com: */"
156 $ write aconf "#define VMS 1"
157 $ write aconf "#include <unistd.h>"
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/zlib/
H A Dmake_vms.com82 $ open/write topt tmp.opt
83 $ open/write optf 'optfile'
123 $ open/write conf_hin config.hin
124 $ write conf_hin "#undef _LARGEFILE64_SOURCE"
138 $ open/write aconf zconf.h
146 $ write aconf line
154 $ write aconf ""
155 $ write aconf "/* VMS specifics added by make_vms.com: */"
156 $ write aconf "#define VMS 1"
157 $ write aconf "#include <unistd.h>"
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/XRay/
H A DFDRTraceWriter.cpp26 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
48 OS.write(FirstByte); in writeMetadata()
49 auto Bytes = IndexedWriter<0>::write(OS, T); in writeMetadata()
53 OS.write('\0'); in writeMetadata()
68 OS.write(H.Version); in FDRTraceWriter()
69 OS.write(H.Type); in FDRTraceWriter()
70 OS.write(BitField); in FDRTraceWriter()
[all …]
/netbsd-src/external/apache2/llvm/dist/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
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
26 # RUN: %{python} %S/write-to-stderr.py 2>> %t.stderr-write
27 # RUN: FileCheck --check-prefix=STDERR-APPEND < %t.stderr-write %s
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/contrib/header-tools/
H A Dreduce-headers284 verbose.write (message + "\n")
285 verbose.write (res[1]+ "\n")
320 verbose.write (message + "\n")
323 out.write (line)
358 verbose.write (message + "\n");
359 verbose.write (res[1])
360 verbose.write ("\n");
363 ilog.write (message + " for " + src_file + ":\n\n");
364 ilog.write ("============================================\n");
365 ilog.write (res[1])
[all …]
/netbsd-src/external/gpl3/gcc/dist/contrib/header-tools/
H A Dreduce-headers284 verbose.write (message + "\n")
285 verbose.write (res[1]+ "\n")
320 verbose.write (message + "\n")
323 out.write (line)
358 verbose.write (message + "\n");
359 verbose.write (res[1])
360 verbose.write ("\n");
363 ilog.write (message + " for " + src_file + ":\n\n");
364 ilog.write ("============================================\n");
365 ilog.write (res[1])
[all …]

12345678910>>...147