| /freebsd-12.1/contrib/llvm/lib/BinaryFormat/ |
| H A D | MsgPackWriter.cpp | 26 void Writer::write(bool b) { EW.write(b ? FirstByte::True : FirstByte::False); } in write() function in Writer 28 void Writer::write(int64_t i) { in write() function in Writer 40 EW.write(FirstByte::Int8); in write() 46 EW.write(FirstByte::Int16); in write() 57 EW.write(FirstByte::Int64); in write() 58 EW.write(i); in write() 86 EW.write(u); in write() 98 EW.write(d); in write() 155 EW.write(Size); in writeArraySize() 171 EW.write(Size); in writeMapSize() [all …]
|
| /freebsd-12.1/sys/contrib/libsodium/packaging/dotnet-core/ |
| H A D | prepare.py | 68 f.write('\n') 72 f.write('\n') 92 f.write('\n') 96 f.write('\n') 128 f.write('\n') 132 f.write('\n') 152 f.write('\n') 156 f.write('\n') 203 f.write('\n') 208 f.write('\n') [all …]
|
| /freebsd-12.1/contrib/llvm/lib/MC/ |
| H A D | MachObjectWriter.cpp | 152 W.write<uint32_t>(Type); in writeHeader() 155 W.write<uint32_t>(Flags); in writeHeader() 204 W.write<uint32_t>(MaxProt); in writeSegmentLoadCommand() 206 W.write<uint32_t>(InitProt); in writeSegmentLoadCommand() 248 W.write<uint32_t>(Flags); in writeSection() 299 W.write<uint32_t>(0); // ntoc in writeDysymtabLoadCommand() 412 W.write<uint32_t>(Type); in writeLinkeditLoadCommand() 415 W.write<uint32_t>(DataSize); in writeLinkeditLoadCommand() 437 W.write<uint32_t>(Size); in writeLinkerOptionsLoadCommand() 974 W.write<uint32_t>(Start); in writeObject() [all …]
|
| H A D | ELFObjectWriter.cpp | 173 W.write<uint64_t>(Word); in WriteWord() 179 W.write(Val); in write() 358 EWriter.write(Value); in write() 382 write(name); // st_name in writeSymbol() 383 write(info); // st_info in writeSymbol() 387 write(size); // st_size in writeSymbol() 457 W.write<uint16_t>(0); in writeHeader() 771 write(Index); in computeSymbolTable() 928 write(Entry.Offset); in writeRelocations() 948 write(ERE32.r_info); in writeRelocations() [all …]
|
| H A D | WinCOFFObjectWriter.cpp | 486 W.write<uint16_t>(0xFFFF); in WriteFileHeader() 488 W.write<uint16_t>(Header.Machine); in WriteFileHeader() 491 W.write<uint32_t>(0); in WriteFileHeader() 492 W.write<uint32_t>(0); in WriteFileHeader() 493 W.write<uint32_t>(0); in WriteFileHeader() 494 W.write<uint32_t>(0); in WriteFileHeader() 511 W.write<uint32_t>(S.Data.Value); in WriteSymbol() 516 W.write<uint16_t>(S.Data.Type); in WriteSymbol() 573 W.write<uint32_t>(S.VirtualSize); in writeSectionHeaders() 588 W.write<uint16_t>(R.Type); in WriteRelocation() [all …]
|
| /freebsd-12.1/contrib/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 …]
|
| /freebsd-12.1/contrib/llvm/lib/XRay/ |
| H A D | FDRTraceWriter.cpp | 51 OS.write(FirstByte); in writeMetadata() 56 OS.write('\0'); in writeMetadata() 71 OS.write(H.Version); in FDRTraceWriter() 72 OS.write(H.Type); in FDRTraceWriter() 73 OS.write(BitField); in FDRTraceWriter() 74 OS.write(H.CycleFrequency); in FDRTraceWriter() 77 OS.write(FreeFormBytes); in FDRTraceWriter() 103 OS.write(Bytes); in visit() 112 OS.write(Bytes); in visit() 121 OS.write(Bytes); in visit() [all …]
|
| /freebsd-12.1/sbin/dhclient/ |
| H A D | errwarn.c | 79 write(2, mbuf, strlen(mbuf)); in error() 80 write(2, "\n", 1); in error() 112 write(2, mbuf, strlen(mbuf)); in warning() 113 write(2, "\n", 1); in warning() 138 write(2, mbuf, strlen(mbuf)); in note() 139 write(2, "\n", 1); in note() 164 write(2, mbuf, strlen(mbuf)); in debug() 165 write(2, "\n", 1); in debug() 231 write(2, "\n", 1); in parse_warn() 233 write(2, "\n", 1); in parse_warn() [all …]
|
| /freebsd-12.1/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( 130 normalize_c.file.write(" 0x%x,\n" % v) 132 normalize_c.file.write("};\n\n"); 198 normalize_c.file.write(" {0x%x, %u, %u, %u},\n" % 201 normalize_c.file.write("};\n\n") 206 normalize_c.file.write(" %u,\n" % k) [all …]
|
| H A D | gen-bidi.py | 54 bidi_h.file.write( 71 bidi_c.file.write( 80 file.write("const struct range_entry %s[] = {\n" % variable) 87 file.write(" {0x%x, 0x%x},\n" % (start, end - start + 1)) 93 file.write(" {0x%x, 1},\n" % v) 95 file.write("};\n\n") 96 file.write("const size_t %s_size = %u;\n\n" % (variable, count))
|
| H A D | gen-map.py | 63 map_h.file.write( 82 map_c.file.write( 136 map_c.file.write(" {0x%x, %u, %u, %s}, /* %s: %s */\n" 139 map_c.file.write( 145 map_c.file.write( 148 map_c.file.write( 152 map_c.file.write(" 0x%s,\n" % x) 154 map_c.file.write(
|
| /freebsd-12.1/contrib/subversion/ |
| H A D | win-tests.py | 567 fp.write('</IfModule>\n') 573 fp.write('PidFile pid\n') 574 fp.write('ErrorLog log\n') 616 fp.write('SSLEngine on\n') 625 fp.write('H2Direct on\n') 631 fp.write('<Directory />\n') 632 fp.write('AllowOverride None\n') 633 fp.write('Options None\n') 634 fp.write('</Directory>\n\n') 680 fp.write('random: jrandom\n') [all …]
|
| /freebsd-12.1/usr.sbin/bsnmpd/bsnmpd/ |
| H A D | snmpd.config | 27 # string to enable write access. 28 write := "geheim" 82 # Set the read and write communities. 87 # the write community string enables both read and write access with that 94 # begemotSnmpdCommunityString.0.2 = $(write) 233 # vacmSecurityToGroupStatus.$(securityModelSNMPv2c).$(write) = 4 234 # vacmGroupName.$(securityModelSNMPv2c).$(write) = $(write) 238 # vacmGroupName.$(securityModelUSM).$(user1) = $(write) 240 # vacmGroupName.$(securityModelUSM).$(read) = $(write) 265 # Read-write access for SNMPv2 users [all …]
|
| /freebsd-12.1/crypto/openssl/doc/man3/ |
| H A D | SSL_write.pod | 5 SSL_write_ex, SSL_write - write bytes to a TLS/SSL connection 16 SSL_write_ex() and SSL_write() write B<num> bytes from the buffer B<buf> into 22 In the paragraphs below a "write function" is defined as one of either 28 the write function operation. The behaviour of the write functions depends on the 34 before the first call to a write function. 37 the write operation has been finished or an error occurred. 42 return value of the write function will yield B<SSL_ERROR_WANT_READ> 54 this flag is set the write functions will also return with success when a 55 partial write has been successfully completed. In this case the write function 58 write is performed with the size of a message block, which is 16kB. [all …]
|
| /freebsd-12.1/contrib/llvm/tools/llvm-xray/ |
| H A D | xray-converter.cpp | 106 Writer.write(FH.Version); in exportAsRAWv1() 107 Writer.write(FH.Type); in exportAsRAWv1() 113 Writer.write(Bitfield); in exportAsRAWv1() 118 Writer.write(Padding4B); in exportAsRAWv1() 119 Writer.write(Padding4B); in exportAsRAWv1() 120 Writer.write(Padding4B); in exportAsRAWv1() 121 Writer.write(Padding4B); in exportAsRAWv1() 148 Writer.write(R.FuncId); in exportAsRAWv1() 149 Writer.write(R.TSC); in exportAsRAWv1() 150 Writer.write(R.TId); in exportAsRAWv1() [all …]
|
| /freebsd-12.1/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-12.1/contrib/ntp/ntpd/ |
| H A D | refclock_arbiter.c | 22 #undef write 203 write(pp->io.fd, COMMAND_HALT_BCAST, 2); in arb_start() 288 write(pp->io.fd, "SR", 2); in arb_receive() 295 write(pp->io.fd, "LA", 2); in arb_receive() 302 write(pp->io.fd, "LO", 2); in arb_receive() 308 write(pp->io.fd, "LH", 2); in arb_receive() 314 write(pp->io.fd, "DB", 2); in arb_receive() 354 write(pp->io.fd, COMMAND_HALT_BCAST, 2); in arb_receive() 404 write(pp->io.fd, COMMAND_HALT_BCAST, 2); in arb_receive() 428 write(pp->io.fd, COMMAND_HALT_BCAST, 2); in arb_receive() [all …]
|
| /freebsd-12.1/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 …]
|
| /freebsd-12.1/contrib/netbsd-tests/lib/libc/string/ |
| H A D | t_strlen.c | 28 write(2, buf + i, sizeof buf - i); in write_num() 32 write(2, "overflow", 8); in write_num() 124 write(2, "alignment ", 10); in ATF_TC_BODY() 126 write(2, ", test ", 7); in ATF_TC_BODY() 128 write(2, ", got len ", 10); in ATF_TC_BODY() 130 write(2, ", not ", 6); in ATF_TC_BODY() 132 write(2, ", for '", 7); in ATF_TC_BODY() 133 write(2, tab[t].val, tab[t].len); in ATF_TC_BODY() 134 write(2, "'\n", 2); in ATF_TC_BODY()
|
| /freebsd-12.1/sys/contrib/vchiq/interface/vchiq_arm/ |
| H A D | vchiq_util.c | 47 queue->write = 0; in vchiu_queue_init() 69 return queue->read == queue->write; in vchiu_queue_is_empty() 74 return queue->write == queue->read + queue->size; in vchiu_queue_is_full() 82 while (queue->write == queue->read + queue->size) { in vchiu_queue_push() 94 queue->storage[queue->write & (queue->size - 1)] = header; in vchiu_queue_push() 102 queue->write++; in vchiu_queue_push() 109 while (queue->write == queue->read) { in vchiu_queue_peek() 130 while (queue->write == queue->read) { in vchiu_queue_pop()
|
| /freebsd-12.1/contrib/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);
|
| /freebsd-12.1/bin/echo/ |
| H A D | echo.c | 66 write(STDERR_FILENO, prog, strlen(prog)); in errexit() 67 write(STDERR_FILENO, ": ", 2); in errexit() 68 write(STDERR_FILENO, reason, strlen(reason)); in errexit() 69 write(STDERR_FILENO, ": ", 2); in errexit() 70 write(STDERR_FILENO, errstr, strlen(errstr)); in errexit() 71 write(STDERR_FILENO, "\n", 1); in errexit()
|
| /freebsd-12.1/contrib/netbsd-tests/lib/libc/sys/ |
| H A D | t_write.c | 70 ATF_REQUIRE_ERRNO(EBADF, write(-1, wbuf, sizeof(wbuf)) == -1); in ATF_TC_BODY() 77 ATF_REQUIRE_ERRNO(0, write(fd, wbuf, 3) == 3); in ATF_TC_BODY() 80 ATF_REQUIRE_ERRNO(EINVAL, write(fd, wbuf, SIZE_MAX) == -1); in ATF_TC_BODY() 83 ATF_REQUIRE_ERRNO(EFAULT, write(fd, (void *)-1, 1) == -1); in ATF_TC_BODY() 116 ATF_REQUIRE(write(fds[1], "x", 1) != -1); in ATF_TC_BODY() 122 if (write(fds[1], "x", 1) != -1 || errno != EPIPE) in ATF_TC_BODY() 148 ATF_REQUIRE(write(fd, "x", 1) == 1); in ATF_TC_BODY() 180 j += write(fd, buf, sizeof(buf)); in ATF_TC_BODY()
|
| /freebsd-12.1/usr.bin/tip/libacu/ |
| H A D | hayes.c | 112 write(FD, "ATv0\r", 5); /* tell modem to use short status codes */ in hay_dialer() 115 write(FD, "ATTD", 4); /* send dial command */ in hay_dialer() 119 write(FD, num, strlen(num)); in hay_dialer() 121 write(FD, "\r", 1); in hay_dialer() 164 write(FD, "\r", 1); /* send anything to abort the call */ in hay_abort() 265 write(FD, "ATH0\r", 5); /* insurance */ in goodbye() 281 write(FD, "ATv1\r", 5); in goodbye() 304 write(FD, "AT\r", 3); in hay_sync()
|
| /freebsd-12.1/contrib/llvm/lib/Target/BPF/MCTargetDesc/ |
| H A D | BPFMCCodeEmitter.cpp | 135 OSE.write<uint16_t>(0); in encodeInstruction() 136 OSE.write<uint32_t>(Value & 0xffffFFFF); in encodeInstruction() 140 OSE.write<uint8_t>(0); in encodeInstruction() 141 OSE.write<uint8_t>(0); in encodeInstruction() 142 OSE.write<uint16_t>(0); in encodeInstruction() 143 OSE.write<uint32_t>(Imm >> 32); in encodeInstruction() 152 OSE.write<uint16_t>((Value >> 32) & 0xffff); in encodeInstruction() 153 OSE.write<uint32_t>(Value & 0xffffFFFF); in encodeInstruction()
|