/openbsd/gnu/llvm/llvm/lib/BinaryFormat/ |
H A D | MsgPackWriter.cpp | 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 41 EW.write(FirstByte::Int8); in write() 47 EW.write(FirstByte::Int16); in write() 58 EW.write(FirstByte::Int64); in write() 59 EW.write(i); in write() 87 EW.write(u); in write() 99 EW.write(d); in write() 156 EW.write(Size); in writeArraySize() 172 EW.write(Size); in writeMapSize() [all …]
|
/openbsd/gnu/llvm/llvm/lib/ObjectYAML/ |
H A D | XCOFFEmitter.cpp | 90 W.write(NameRef); in writeName() 411 W.write<uint8_t>( in writeAuxFileHeader() 426 W.write<uint8_t>( in writeAuxFileHeader() 432 W.write<uint16_t>( in writeAuxFileHeader() 535 W.write<uint8_t>(0); in writeAuxSymbol() 553 W.write<uint8_t>(0); in writeAuxSymbol() 562 W.write<uint8_t>(0); in writeAuxSymbol() 576 W.write<int32_t>(0); in writeAuxSymbol() 608 W.write<uint8_t>(0); in writeAuxSymbol() 662 W.write<int32_t>(0); in writeSymbols() [all …]
|
/openbsd/gnu/llvm/llvm/examples/Kaleidoscope/MCJIT/complete/ |
H A D | split-lib.py | 10 self.shfile.write("echo \"\" > %s\n" % self.timeFile) 18 self.shfile.write("echo \"\" >> %s\n" % self.timeFile) 21 self.shfile.write(" -o %s -a " % self.timeFile) 23 self.shfile.write("echo \"\" >> %s\n" % self.timeFile) 26 self.shfile.write(" -o %s -a " % self.timeFile) 28 self.shfile.write("echo \"\" >> %s\n" % self.timeFile) 31 self.shfile.write(" -o %s -a " % self.timeFile) 33 self.shfile.write("echo \"\" >> %s\n" % self.timeFile) 34 self.shfile.write("echo \"\" >> %s\n" % self.timeFile) 56 callfile.write(line) [all …]
|
H A D | genk-timing.py | 13 self.shfile.write("echo \"\" > %s\n" % self.timeFile) 21 self.shfile.write("echo \"\" >> %s\n" % self.timeFile) 24 self.shfile.write(" -o %s -a " % self.timeFile) 26 self.shfile.write("echo \"\" >> %s\n" % self.timeFile) 29 self.shfile.write(" -o %s -a " % self.timeFile) 31 self.shfile.write("echo \"\" >> %s\n" % self.timeFile) 32 self.shfile.write("echo \"With JIT\" >> %s\n" % self.timeFile) 34 self.shfile.write(" -o %s -a " % self.timeFile) 36 self.shfile.write("echo \"\" >> %s\n" % self.timeFile) 37 self.shfile.write("echo \"\" >> %s\n" % self.timeFile) [all …]
|
/openbsd/gnu/llvm/llvm/examples/Kaleidoscope/MCJIT/cached/ |
H A D | split-lib.py | 10 self.shfile.write("echo \"\" > %s\n" % self.timeFile) 18 self.shfile.write("echo \"\" >> %s\n" % self.timeFile) 21 self.shfile.write(" -o %s -a " % self.timeFile) 23 self.shfile.write("echo \"\" >> %s\n" % self.timeFile) 26 self.shfile.write(" -o %s -a " % self.timeFile) 28 self.shfile.write("echo \"\" >> %s\n" % self.timeFile) 31 self.shfile.write(" -o %s -a " % self.timeFile) 33 self.shfile.write("echo \"\" >> %s\n" % self.timeFile) 34 self.shfile.write("echo \"\" >> %s\n" % self.timeFile) 56 callfile.write(line) [all …]
|
H A D | genk-timing.py | 13 self.shfile.write("echo \"\" > %s\n" % self.timeFile) 21 self.shfile.write("echo \"\" >> %s\n" % self.timeFile) 22 self.shfile.write("echo \"With MCJIT\" >> %s\n" % self.timeFile) 24 self.shfile.write(" -o %s -a " % self.timeFile) 26 self.shfile.write("echo \"\" >> %s\n" % self.timeFile) 27 self.shfile.write("echo \"With JIT\" >> %s\n" % self.timeFile) 29 self.shfile.write(" -o %s -a " % self.timeFile) 30 … self.shfile.write("./toy-jit < %s > %s-jit.out 2> %s-jit.err\n" % (filename, rootname, rootname)) 31 self.shfile.write("echo \"\" >> %s\n" % self.timeFile) 32 self.shfile.write("echo \"\" >> %s\n" % self.timeFile) [all …]
|
/openbsd/gnu/llvm/compiler-rt/lib/tsan/benchmarks/ |
H A D | mop.cpp | 15 template<typename T, bool write> 30 if (write) { in thread() 46 template<typename T, bool write> 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() 66 bool write = true; in main() local 73 write = false; in main() [all …]
|
/openbsd/gnu/llvm/llvm/lib/MC/ |
H A D | MachObjectWriter.cpp | 155 W.write<uint32_t>(Type); in writeHeader() 158 W.write<uint32_t>(Flags); in writeHeader() 207 W.write<uint32_t>(MaxProt); in writeSegmentLoadCommand() 209 W.write<uint32_t>(InitProt); in writeSegmentLoadCommand() 250 W.write<uint32_t>(Flags); in writeSection() 301 W.write<uint32_t>(0); // ntoc in writeDysymtabLoadCommand() 414 W.write<uint32_t>(Type); in writeLinkeditLoadCommand() 417 W.write<uint32_t>(DataSize); in writeLinkeditLoadCommand() 439 W.write<uint32_t>(Size); in writeLinkerOptionsLoadCommand() 1041 W.write<uint32_t>(Start); in writeObject() [all …]
|
H A D | XCOFFObjectWriter.cpp | 381 is64Bit() ? W.write<uint64_t>(Word) : W.write<uint32_t>(Word); in writeWord() 740 Strings.write(W.OS); in writeObject() 752 W.write<int32_t>(0); in writeSymbolName() 758 W.write(NameRef); in writeSymbolName() 768 W.write<uint64_t>(Value); in writeSymbolEntry() 772 W.write<uint32_t>(Value); in writeSymbolEntry() 888 W.write<uint32_t>(EndIndex); in writeSymbolAuxFunctionEntry() 903 W.write<uint32_t>(EndIndex); in writeSymbolAuxExceptionEntry() 928 W.write<uint16_t>( in writeAuxFileHeader() 949 W.write(NameRef); in writeSectionHeader() [all …]
|
H A D | WinCOFFObjectWriter.cpp | 477 W.write<uint16_t>(0xFFFF); in WriteFileHeader() 479 W.write<uint16_t>(Header.Machine); in WriteFileHeader() 482 W.write<uint32_t>(0); in WriteFileHeader() 483 W.write<uint32_t>(0); in WriteFileHeader() 484 W.write<uint32_t>(0); in WriteFileHeader() 485 W.write<uint32_t>(0); in WriteFileHeader() 502 W.write<uint32_t>(S.Data.Value); in WriteSymbol() 507 W.write<uint16_t>(S.Data.Type); in WriteSymbol() 564 W.write<uint32_t>(S.VirtualSize); in writeSectionHeaders() 579 W.write<uint16_t>(R.Type); in WriteRelocation() [all …]
|
H A D | ELFObjectWriter.cpp | 159 W.write<uint64_t>(Word); in WriteWord() 165 W.write(Val); in write() 343 EWriter.write(Value); in write() 367 write(name); // st_name in writeSymbol() 368 write(info); // st_info in writeSymbol() 372 write(size); // st_size in writeSymbol() 447 W.write<uint16_t>(0); in writeHeader() 802 write(Index); in computeSymbolTable() 948 write(Entry.Offset); in writeRelocations() 968 write(ERE32.r_info); in writeRelocations() [all …]
|
/openbsd/gnu/llvm/llvm/include/llvm/Support/ |
H A D | EndianStream.h | 28 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() 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() 56 template <typename value_type> void write(ArrayRef<value_type> Val) { in write() function 57 endian::write(OS, Val, Endian); in write() 59 template <typename value_type> void write(value_type Val) { in write() function [all …]
|
/openbsd/gnu/usr.bin/perl/cpan/IO-Compress/t/ |
H A D | 006zip.t | 84 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"; 121 is $zip->write($content[2]), length($content[2]), "write"; 150 is $zip->write($content[0]), length($content[0]), "write"; 152 is $zip->write($content[1]), length($content[1]), "write"; 154 is $zip->write($content[2]), length($content[2]), "write"; 179 is $zip->write($content[0]), length($content[0]), "write"; [all …]
|
/openbsd/gnu/llvm/llvm/utils/lit/tests/Inputs/shtest-shell/ |
H A D | redirects.txt | 3 # 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 …]
|
H A D | valid-shell.txt | 4 # 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 10 # RUN: rm -f %t.write 61 …N: %{python} %S/check_path.py file %T/test/temp.write %T/test/test1/temp1.write %T/test/test2/temp… 93 # RUN: echo "abcdefgh" > %T/testCat/temp.write 94 # RUN: cat %T/testCat/temp.write > %T/testCat/tempcat.write 108 # RUN: cat %T/testCat/temp1.write %T/testCat/temp2.write %T/testCat/temp3.write > %T/testCat/tempmu… 123 # RUN: cat %T/testCat/temp1.write %T/testCat/temp2.write | FileCheck --check-prefix=PIPED-CAT-OUTPU… 131 # RUN: echo "cvbnm" > %T/testCat/temp1.write [all …]
|
/openbsd/gnu/llvm/llvm/lib/XRay/ |
H A D | FDRTraceWriter.cpp | 48 OS.write(FirstByte); 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() 71 OS.write(H.CycleFrequency); in FDRTraceWriter() 74 OS.write(FreeFormBytes); in FDRTraceWriter() 100 OS.write(Bytes); in visit() 109 OS.write(Bytes); in visit() 118 OS.write(Bytes); in visit() [all …]
|
/openbsd/gnu/usr.bin/perl/t/op/ |
H A D | write.t | 156 write(OUT); 192 write(OUT2); 232 write(OUT2); 297 write(OUT3); 1666 write; 1692 write; 1708 write; 1713 write; 2047 write; 2059 write; [all …]
|
/openbsd/games/backgammon/common_source/ |
H A D | save.c | 113 write(fdesc, board, sizeof(board)); in save() 114 write(fdesc, off, sizeof(off)); in save() 115 write(fdesc, in, sizeof(in)); in save() 116 write(fdesc, dice, sizeof(dice)); in save() 117 write(fdesc, &cturn, sizeof(cturn)); in save() 118 write(fdesc, &dflag, sizeof(dflag)); in save() 119 write(fdesc, &dlast, sizeof(dlast)); in save() 120 write(fdesc, &pnum, sizeof(pnum)); in save() 121 write(fdesc, &rscore, sizeof(rscore)); in save() 122 write(fdesc, &wscore, sizeof(wscore)); in save() [all …]
|
/openbsd/gnu/llvm/llvm/utils/lit/lit/builtin_commands/ |
H A D | cat.py | 15 newdata.write(chr(intval)) 19 newdata.write("M-") 21 newdata.write("^") 22 newdata.write(chr(intval+64)) 24 newdata.write("^?") 26 newdata.write(chr(intval)) 40 sys.stderr.write("Unsupported: 'cat': %s\n" % str(err)) 59 writer.write(contents) 63 sys.stderr.write(str(error))
|
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/scripts/ |
H A D | sancov.py | 17 sys.stderr.write( 75 sys.stderr.write( 83 sys.stderr.write( 107 stdout_buf.write(a) 112 sys.stderr.write("%s: unpacking %s\n" % (prog_name, path)) 128 f2.write(blob) 140 sys.stderr.write("%s: reading map %s\n" % (prog_name, map_path)) 154 sys.stderr.write("%s: unpacking %s\n" % (prog_name, path)) 182 f2.write(pc_buffer) 209 sys.stderr.write("%s: found %d instrumented PCs in %s\n" % (prog_name, [all …]
|
/openbsd/gnu/llvm/llvm/tools/llvm-xray/ |
H A D | xray-converter.cpp | 109 Writer.write(FH.Version); in exportAsRAWv1() 110 Writer.write(FH.Type); in exportAsRAWv1() 116 Writer.write(Bitfield); in exportAsRAWv1() 121 Writer.write(Padding4B); in exportAsRAWv1() 122 Writer.write(Padding4B); in exportAsRAWv1() 123 Writer.write(Padding4B); in exportAsRAWv1() 124 Writer.write(Padding4B); in exportAsRAWv1() 151 Writer.write(R.FuncId); in exportAsRAWv1() 152 Writer.write(R.TSC); in exportAsRAWv1() 153 Writer.write(R.TId); in exportAsRAWv1() [all …]
|
/openbsd/gnu/llvm/compiler-rt/lib/profile/ |
H A D | InstrProfilingPlatformWindows.c | 29 #pragma section(".lprfd$A", read, write) 30 #pragma section(".lprfd$Z", read, write) 31 #pragma section(".lprfc$A", read, write) 32 #pragma section(".lprfc$Z", read, write) 33 #pragma section(".lorderfile$A", read, write) 34 #pragma section(".lprfnd$A", read, write) 35 #pragma section(".lprfnd$Z", read, write)
|
/openbsd/gnu/llvm/lldb/examples/summaries/cocoa/ |
H A D | Logger.py | 11 def write(self, data): member in NopLogger 26 def write(self, data): member in StdoutLogger 49 def write(self, data): member in FileLogger 113 self.write('Logging from function ' + str(caller)) 115 self.write( 120 def write(self, data): member in Logger 121 self.impl.write(data) 126 self.write(data)
|
/openbsd/gnu/llvm/llvm/include/llvm/BinaryFormat/ |
H A D | MsgPackWriter.h | 64 void write(bool b); 71 void write(int64_t i); 76 void write(uint64_t u); 81 void write(double d); 86 void write(StringRef s); 93 void write(MemoryBufferRef Buffer);
|
/openbsd/gnu/llvm/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
H A D | genk-timing.py | 13 self.shfile.write("echo \"\" > %s\n" % self.timeFile) 21 self.shfile.write("echo \"\" >> %s\n" % self.timeFile) 22 self.shfile.write("echo \"With MCJIT\" >> %s\n" % self.timeFile) 24 self.shfile.write(" -o %s -a " % self.timeFile) 26 self.shfile.write("echo \"\" >> %s\n" % self.timeFile) 27 self.shfile.write("echo \"With JIT\" >> %s\n" % self.timeFile) 29 self.shfile.write(" -o %s -a " % self.timeFile) 30 … self.shfile.write("./toy-jit < %s > %s-jit.out 2> %s-jit.err\n" % (filename, rootname, rootname)) 31 self.shfile.write("echo \"\" >> %s\n" % self.timeFile) 32 self.shfile.write("echo \"\" >> %s\n" % self.timeFile) [all …]
|