/freebsd/contrib/llvm-project/llvm/lib/BinaryFormat/ |
H A D | MsgPackWriter.cpp | 25 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 …]
|
/freebsd/sys/contrib/libsodium/packaging/dotnet-core/ |
H A D | prepare.py | 68 f.write('\n') 69 f.write('{0}: {1}\n'.format(self.packfile, self.tempfile)) 70 f.write('\t@mkdir -p $(dir $@)\n') 71 f.write('\tcp -f $< $@\n') 72 f.write('\n') 73 f.write('{0}: {1}\n'.format(self.tempfile, self.cachefile)) 74 f.write('\t@mkdir -p $(dir $@)\n') 75 f.write('\tcd {0} && unzip -q -DD -o {1} \'{2}\'\n'.format( 92 f.write('\n') 93 f.write('{0}: {1}\n'.format(self.packfile, self.tempfile)) [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
H A D | XCOFFEmitter.cpp | 93 W.write(NameRef); in writeName() 440 W.write<uint16_t>(Obj.Header.Magic ? Obj.Header.Magic : InitFileHdr.Magic); in writeFileHeader() 441 W.write<uint16_t>(Obj.Header.NumberOfSections ? Obj.Header.NumberOfSections in writeFileHeader() 443 W.write<int32_t>(Obj.Header.TimeStamp); in writeFileHeader() 445 W.write<uint64_t>(InitFileHdr.SymbolTableOffset); in writeFileHeader() 446 W.write<uint16_t>(InitFileHdr.AuxHeaderSize); in writeFileHeader() 447 W.write<uint16_t>(Obj.Header.Flags); in writeFileHeader() 448 W.write<int32_t>(Obj.Header.NumberOfSymTableEntries in writeFileHeader() 452 W.write<uint32_t>(InitFileHdr.SymbolTableOffset); in writeFileHeader() 453 W.write<int32_t>(Obj.Header.NumberOfSymTableEntries in writeFileHeader() [all …]
|
/freebsd/sys/contrib/openzfs/cmd/ |
H A D | dbufstat.in | 136 sys.stderr.write("\t") 138 sys.stderr.write(",\n\t") 141 sys.stderr.write(", ") 143 sys.stderr.write("%s" % key) 146 sys.stderr.write("\n\n") 150 sys.stderr.write("%s\n" % cmd) 152 sys.stderr.write("Field definitions incompatible with '-b' option:\n") 155 sys.stderr.write("Field definitions incompatible with '-d' option:\n") 158 sys.stderr.write("Field definitions incompatible with '-t' option:\n") 161 sys.stderr.write("Field definitions are as follows:\n") [all …]
|
H A D | arcstat.in | 327 sys.stderr.write("%s\n" % cmd) 328 sys.stderr.write("Field definitions are as follows:\n") 330 sys.stderr.write("%11s : %s\n" % (key, cols[key][2])) 331 sys.stderr.write("\n") 337 sys.stderr.write("%s\n" % cmd) 338 sys.stderr.write("\t -h : Print this help message\n") 339 sys.stderr.write("\t -a : Print all possible stats\n") 340 sys.stderr.write("\t -v : List all possible field headers and definitions" 342 sys.stderr.write("\t -x : Print extended stats\n") 343 sys.stderr.write("\t -z : Print zfetch stats\n") [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | MachObjectWriter.cpp | 191 W.write<uint32_t>(is64Bit() ? MachO::MH_MAGIC_64 : MachO::MH_MAGIC); in writeHeader() 193 W.write<uint32_t>(TargetObjectWriter->getCPUType()); in writeHeader() 194 W.write<uint32_t>(TargetObjectWriter->getCPUSubtype()); in writeHeader() 196 W.write<uint32_t>(Type); in writeHeader() 197 W.write<uint32_t>(NumLoadCommands); in writeHeader() 198 W.write<uint32_t>(LoadCommandsSize); in writeHeader() 199 W.write<uint32_t>(Flags); in writeHeader() 201 W.write<uint32_t>(0); // reserved in writeHeader() 230 W.write<uint32_t>(is64Bit() ? MachO::LC_SEGMENT_64 : MachO::LC_SEGMENT); in writeSegmentLoadCommand() 231 W.write<uint32_t>(SegmentLoadCommandSize + in writeSegmentLoadCommand() [all …]
|
H A D | ELFObjectWriter.cpp | 88 template <typename T> void write(T Value); 158 W.write<uint64_t>(Word); in WriteWord() 160 W.write<uint32_t>(Word); in WriteWord() 163 template <typename T> void write(T Val) { in write() function 164 W.write(Val); in write() 223 template <typename T> void SymbolTableWriter::write(T Value) { in write() function in SymbolTableWriter 224 EWriter.write(Value); in write() 248 write(name); // st_name in writeSymbol() 249 write(info); // st_info in writeSymbol() 250 write(other); // st_other in writeSymbol() [all …]
|
H A D | XCOFFObjectWriter.cpp | 440 is64Bit() ? W.write<uint64_t>(Word) : W.write<uint32_t>(Word); in writeWord() 841 Strings.write(W.OS); in writeObject() 853 W.write<int32_t>(0); in writeSymbolName() 854 W.write<uint32_t>(Strings.getOffset(SymbolName)); in writeSymbolName() 859 W.write(NameRef); in writeSymbolName() 869 W.write<uint64_t>(Value); in writeSymbolEntry() 870 W.write<uint32_t>(Strings.getOffset(SymbolName)); in writeSymbolEntry() 873 W.write<uint32_t>(Value); in writeSymbolEntry() 875 W.write<int16_t>(SectionNumber); in writeSymbolEntry() 876 W.write<uint16_t>(SymbolType); in writeSymbolEntry() [all …]
|
/freebsd/contrib/llvm-project/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> 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() 60 case 8: return test<long long, write>(); in testw() [all …]
|
/freebsd/sys/tools/syscalls/scripts/ |
H A D | init_sysent.lua | 36 gen:write(tbl.includes) 39 gen:write( 44 gen:write(string.format([[ 55 gen:write("\n") 58 gen:write(string.format([[ 69 gen:write(v.prolog); 73 gen:write(string.format( 78 gen:write(string.format("nosys, " .. 85 gen:write(string.format("lkmressys, " .. 97 gen:write(string.format("%s, " .. [all …]
|
H A D | systrace_args.lua | 44 gen:write(string.format([[ 71 gen:write(v.prolog); 77 gen:write(string.format([[ 100 gen:write(string.format([[ 152 gen:write(string.format([[ 158 gen:write(string.format([[ 164 gen:write(string.format([[ 173 gen:write([[ 178 gen:write(string.format([[ 187 gen:write("#endif\n") [all …]
|
H A D | libsys_h.lua | 45 gen:write(string.format([[ 61 gen:write(string.format("struct %s;\n", name)) 63 gen:write("union semun;\n") 65 gen:write("\n__BEGIN_DECLS\n") 69 gen:write(string.format( 75 gen:write("\n") 79 gen:write(string.format("%s __sys_%s(%s);\n", 84 gen:write("__END_DECLS\n") 86 gen:write("\n#endif /* __LIBSYS_H_ */\n")
|
H A D | syscalls.lua | 36 gen:write(string.format("const char *%s[] = {\n", config.namesname)) 42 gen:write(v.prolog); 45 gen:write(string.format([[ 61 gen:write(string.format([[ 67 gen:write(string.format([[ 73 gen:write(string.format([[ 79 gen:write(string.format([[ 86 gen:write(tbl.epilog) 88 gen:write("};\n")
|
/freebsd/libexec/nuageinit/ |
H A D | nuageinit | 106 network:write("ifconfig_" .. interface .. '="DHCP"\n') 109 network:write( 113 routing:write('defaultrouter="' .. v["gateway"] .. '"\n') 122 routing:write('defaultrouter="' .. r["gateway"] .. '"\n') 125 routing:write("route_" .. rname .. '="-net ' .. r["network"] .. " ") 126 routing:write(r["gateway"] .. " " .. r["netmask"] .. '"\n') 135 network:write("ifconfig_" .. interface .. '_ipv6="inet6 ' .. v["ip_address"] .. '"\n') 137 routing:write('ipv6_defaultrouter="' .. v["gateway"] .. '"\n') 138 routing:write("ipv6_route_" .. interface .. '="' .. v["gateway"]) 139 routing:write(" -prefixlen 128 -interface " .. interface .. '"\n') [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | EndianStream.h | 32 os.write((const char *)&value, sizeof(value_type)); in write() 37 inline void write(raw_ostream &os, value_type value, endianness endian) { 39 os.write((const char *)&value, sizeof(value_type)); 43 inline void write<float>(raw_ostream &os, float value, endianness endian) { 44 write(os, llvm::bit_cast<uint32_t>(value), endian); 48 inline void write<double>(raw_ostream &os, double value, in write() 50 write(os, llvm::bit_cast<uint64_t>(value), endian); in write() 54 inline void write(raw_ostream &os, ArrayRef<value_type> vals, in write() 57 write(os, v, endian); 61 inline void write(SmallVectorImp 29 inline void write(raw_ostream &os, value_type value, endianness endian) { write() function 46 inline void write(raw_ostream &os, ArrayRef<value_type> vals, write() function 53 inline void write(SmallVectorImpl<char> &Out, value_type V, endianness E) { write() function 63 template <typename value_type> void write(ArrayRef<value_type> Val) { write() function 66 template <typename value_type> void write(value_type Val) { write() function [all...] |
/freebsd/contrib/llvm-project/llvm/lib/XRay/ |
H A D | FDRTraceWriter.cpp | 9 // 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() 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() 53 OS.write('\ in writeMetadata() [all...] |
/freebsd/sbin/dhclient/ |
H A D | errwarn.c | 77 write(2, mbuf, strlen(mbuf)); in error() 78 write(2, "\n", 1); in error() 110 write(2, mbuf, strlen(mbuf)); in warning() 111 write(2, "\n", 1); in warning() 136 write(2, mbuf, strlen(mbuf)); in note() 137 write(2, "\n", 1); in note() 162 write(2, mbuf, strlen(mbuf)); in debug() 163 write(2, "\n", 1); in debug() 228 write(2, mbuf, strlen(mbuf)); in parse_warn() 229 write(2, "\n", 1); in parse_warn() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/APINotes/ |
H A D | APINotesWriter.cpp | 201 OS.write(Buffer.data(), Buffer.size()); in writeToStream() 308 writer.write<uint16_t>(KeyLength); in EmitKeyDataLength() 309 writer.write<uint16_t>(DataLength); in EmitKeyDataLength() 317 writer.write<uint32_t>(Data); in EmitData() 338 llvm::support::endian::write<uint32_t>(BlobStream, 0, in writeIdentifierBlock() 368 writer.write<uint16_t>(KeyLength); in EmitKeyDataLength() 369 writer.write<uint16_t>(DataLength); in EmitKeyDataLength() 375 writer.write<uint32_t>(Key.parentContextID); in EmitKey() 376 writer.write<uint8_t>(Key.contextKind); in EmitKey() 377 writer.write<uint32_t>(Key.contextID); in EmitKey() [all …]
|
/freebsd/crypto/heimdal/lib/wind/ |
H A D | gen-normalize.py | 68 normalize_h.file.write( 98 normalize_c.file.write( 116 normalize_c.file.write(" {0x%x, %u, %u}, /* %s */\n" 119 normalize_c.file.write( 124 normalize_c.file.write( 127 normalize_c.file.write("const uint32_t _wind_normalize_val_table[] = {\n") 130 normalize_c.file.write(" 0x%x,\n" % v) 132 normalize_c.file.write("};\n\n"); 194 normalize_c.file.write("const struct canon_node _wind_canon_table[] = {\n") 198 normalize_c.file.write(" {0x%x, %u, %u, %u},\n" % [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/profile/ |
H A D | InstrProfilingPlatformWindows.c | 33 #pragma section(".lprfd$A", read, write) 34 #pragma section(".lprfd$Z", read, write) 35 #pragma section(".lprfc$A", read, write) 36 #pragma section(".lprfc$Z", read, write) 37 #pragma section(".lprfb$A", read, write) 38 #pragma section(".lprfb$Z", read, write) 39 #pragma section(".lorderfile$A", read, write) 40 #pragma section(".lprfnd$A", read, write) 41 #pragma section(".lprfnd$Z", read, write)
|
/freebsd/usr.sbin/bsnmpd/bsnmpd/ |
H A D | snmpd.config | 26 # string to enable write access. 27 write := "geheim" 81 # Set the read and write communities. 84 # different from the empty string). This disables both read and write access. 86 # the write community string enables both read and write access with that 93 # begemotSnmpdCommunityString.0.2 = $(write) 232 # vacmSecurityToGroupStatus.$(securityModelSNMPv2c).$(write) = 4 233 # vacmGroupName.$(securityModelSNMPv2c).$(write) = $(write) 237 # vacmGroupName.$(securityModelUSM).$(user1) = $(write) 239 # vacmGroupName.$(securityModelUSM).$(read) = $(write) [all …]
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-xray/ |
H A D | xray-converter.cpp | 105 // First write out the file header, in the correct endian-appropriate format in exportAsRAWv1() 109 Writer.write(FH.Version); in exportAsRAWv1() 110 Writer.write(FH.Type); in exportAsRAWv1() 116 Writer.write(Bitfield); in exportAsRAWv1() 117 Writer.write(FH.CycleFrequency); 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() 126 // Then write ou in exportAsRAWv1() [all...] |
/freebsd/crypto/openssl/doc/man3/ |
H A D | SSL_write.pod | 5 SSL_write_ex, SSL_write, SSL_sendfile - write bytes to a TLS/SSL connection 17 SSL_write_ex() and SSL_write() write B<num> bytes from the buffer B<buf> into 31 In the paragraphs below a "write function" is defined as one of either 34 If necessary, a write function will negotiate a TLS/SSL session, if not already 37 the write function operation. The behaviour of the write functions depends on the 43 before the first call to a write function. 45 If the underlying BIO is B<blocking>, the write functions will only return, once 46 the write operation has been finished or an error occurred. 48 If the underlying BIO is B<nonblocking> the write functions will also return 51 return value of the write function will yield B<SSL_ERROR_WANT_READ> [all …]
|
/freebsd/contrib/netbsd-tests/lib/libcurses/slave/ |
H A D | commands.c | 123 if (write(slvpipe[WRITE_PIPE], &type, sizeof(int)) < 0) in report_type() 137 if (write(slvpipe[WRITE_PIPE], &type, sizeof(int)) < 0) in report_count() 140 if (write(slvpipe[WRITE_PIPE], &count, sizeof(int)) < 0) in report_count() 173 if (write(slvpipe[WRITE_PIPE], &type, sizeof(int)) < 0) in report_message() 176 if (write(slvpipe[WRITE_PIPE], &len, sizeof(int)) < 0) in report_message() 179 if (write(slvpipe[WRITE_PIPE], status, len) < 0) in report_message() 216 if (write(slvpipe[WRITE_PIPE], &type, sizeof(int)) < 0) in report_nstr() 220 if (write(slvpipe[WRITE_PIPE], &len, sizeof(int)) < 0) in report_nstr() 224 if (write(slvpipe[WRITE_PIPE], string, len) < 0) in report_nstr()
|
/freebsd/contrib/byacc/ |
H A D | vmsbuild.com | 36 $ write sys$output "usage: " 37 $ write sys$output " $ @vmsbuild [BYACC [{decc | vaxc} [<bldtarget>]]]" 185 $ write test_script "$ temp = f$environment(""procedure"")" 186 $ write test_script "$ temp = temp -" 187 $ write test_script " - f$parse(temp,,,""version"",""syntax_only"") -" 188 $ write test_script " - f$parse(temp,,,""type"",""syntax_only"")" 189 $ write test_script "$ BYACC :== $ 'temp'.exe" 190 $ write test_script "$ define/user_mode sys$input sys$command" 191 $ write test_script "$ define/user_mode sys$output sys$command" 192 $ write test_script "$ BYACC 'p1 'p2 'p3 'p4 'p5 'p6 'p7 'p8" [all …]
|