Home
last modified time | relevance | path

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

12345678910>>...92

/freebsd-12-stable/contrib/llvm-project/llvm/lib/BinaryFormat/
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 …]
/freebsd-12-stable/sys/contrib/libsodium/packaging/dotnet-core/
Dprepare.py68 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-12-stable/contrib/llvm-project/llvm/lib/MC/
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 …]
DXCOFFObjectWriter.cpp599 Strings.write(W.OS); in writeObject()
610 W.write<int32_t>(0); in writeSymbolName()
611 W.write<uint32_t>(Strings.getOffset(SymbolName)); in writeSymbolName()
616 W.write(NameRef); in writeSymbolName()
627 W.write<uint32_t>(CSectionRef.Address + SymbolOffset); in writeSymbolTableEntryForCsectMemberLabel()
628 W.write<int16_t>(SectionIndex); in writeSymbolTableEntryForCsectMemberLabel()
636 W.write<uint16_t>(0); in writeSymbolTableEntryForCsectMemberLabel()
637 W.write<uint8_t>(SymbolRef.getStorageClass()); in writeSymbolTableEntryForCsectMemberLabel()
639 W.write<uint8_t>(1); in writeSymbolTableEntryForCsectMemberLabel()
642 W.write<uint32_t>(CSectionRef.SymbolTableIndex); in writeSymbolTableEntryForCsectMemberLabel()
[all …]
DWinCOFFObjectWriter.cpp495 W.write<uint16_t>(COFF::IMAGE_FILE_MACHINE_UNKNOWN); in WriteFileHeader()
496 W.write<uint16_t>(0xFFFF); in WriteFileHeader()
497 W.write<uint16_t>(COFF::BigObjHeader::MinBigObjectVersion); in WriteFileHeader()
498 W.write<uint16_t>(Header.Machine); in WriteFileHeader()
499 W.write<uint32_t>(Header.TimeDateStamp); in WriteFileHeader()
500 W.OS.write(COFF::BigObjMagic, sizeof(COFF::BigObjMagic)); in WriteFileHeader()
501 W.write<uint32_t>(0); in WriteFileHeader()
502 W.write<uint32_t>(0); in WriteFileHeader()
503 W.write<uint32_t>(0); in WriteFileHeader()
504 W.write<uint32_t>(0); in WriteFileHeader()
[all …]
DELFObjectWriter.cpp91 template <typename T> void write(T Value);
161 W.write<uint64_t>(Word); in WriteWord()
163 W.write<uint32_t>(Word); in WriteWord()
166 template <typename T> void write(T Val) { in write() function
167 W.write(Val); in write()
348 template <typename T> void SymbolTableWriter::write(T Value) { in write() function in SymbolTableWriter
349 EWriter.write(Value); in write()
373 write(name); // st_name in writeSymbol()
374 write(info); // st_info in writeSymbol()
375 write(other); // st_other in writeSymbol()
[all …]
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/tsan/benchmarks/
Dmop.cpp15 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-12-stable/contrib/llvm-project/llvm/include/llvm/Support/
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()
56 template <typename value_type> void write(ArrayRef<value_type> Val) { in write() function
57 endian::write(OS, Val, Endian); in write()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/ObjectYAML/
DXCOFFEmitter.cpp74 W.write(NameRef); in writeName()
185 W.write<uint16_t>(Obj.Header.Magic ? Obj.Header.Magic : InitFileHdr.Magic); in writeFileHeader()
186 W.write<uint16_t>(Obj.Header.NumberOfSections ? Obj.Header.NumberOfSections in writeFileHeader()
188 W.write<int32_t>(Obj.Header.TimeStamp); in writeFileHeader()
189 W.write<uint32_t>(Obj.Header.SymbolTableOffset in writeFileHeader()
192 W.write<int32_t>(Obj.Header.NumberOfSymTableEntries in writeFileHeader()
195 W.write<uint16_t>(Obj.Header.AuxHeaderSize); in writeFileHeader()
196 W.write<uint16_t>(Obj.Header.Flags); in writeFileHeader()
207 W.write<uint32_t>(SectionAddress); // Physical address in writeSectionHeader()
208 W.write<uint32_t>(SectionAddress); // Virtual address in writeSectionHeader()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/XRay/
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 …]
/freebsd-12-stable/sbin/dhclient/
Derrwarn.c79 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()
230 write(2, mbuf, strlen(mbuf)); in parse_warn()
231 write(2, "\n", 1); in parse_warn()
[all …]
/freebsd-12-stable/crypto/heimdal/lib/wind/
Dgen-normalize.py68 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 …]
Dgen-bidi.py54 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))
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-xray/
Dxray-converter.cpp100 Writer.write(FH.Version); in exportAsRAWv1()
101 Writer.write(FH.Type); in exportAsRAWv1()
107 Writer.write(Bitfield); in exportAsRAWv1()
108 Writer.write(FH.CycleFrequency); in exportAsRAWv1()
112 Writer.write(Padding4B); in exportAsRAWv1()
113 Writer.write(Padding4B); in exportAsRAWv1()
114 Writer.write(Padding4B); in exportAsRAWv1()
115 Writer.write(Padding4B); in exportAsRAWv1()
123 Writer.write(R.RecordType); in exportAsRAWv1()
124 Writer.write(static_cast<uint8_t>(R.CPU)); in exportAsRAWv1()
[all …]
/freebsd-12-stable/contrib/subversion/
Dwin-tests.py253 sys.stderr.write('Running \'%s\' swig tests not supported (yet).\n'
565 fp.write('<IfModule mpm_winnt.c>\n')
566 fp.write('ThreadsPerChild 16\n')
567 fp.write('</IfModule>\n')
570 fp.write('ServerRoot ' + self._quote(self.root) + '\n')
571 fp.write('DocumentRoot ' + self._quote(self.root) + '\n')
572 fp.write('ServerName localhost\n')
573 fp.write('PidFile pid\n')
574 fp.write('ErrorLog log\n')
575 fp.write('Listen ' + str(self.httpd_port) + '\n')
[all …]
/freebsd-12-stable/usr.sbin/bsnmpd/bsnmpd/
Dsnmpd.config27 # string to enable write access.
28 write := "geheim"
82 # Set the read and write communities.
85 # different from the empty string). This disables both read and write access.
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)
[all …]
/freebsd-12-stable/crypto/openssl/doc/man3/
DSSL_write.pod5 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
25 If necessary, a write function will negotiate a TLS/SSL session, if not already
28 the write function operation. The behaviour of the write functions depends on the
34 before the first call to a write function.
36 If the underlying BIO is B<blocking>, the write functions will only return, once
37 the write operation has been finished or an error occurred.
39 If the underlying BIO is B<nonblocking> the write functions will also return
42 return value of the write function will yield B<SSL_ERROR_WANT_READ>
[all …]
/freebsd-12-stable/contrib/netbsd-tests/lib/libcurses/slave/
Dcommands.c123 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-stable/contrib/byacc/
Dvmsbuild.com36 $ 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-stable/contrib/libevent/
Devent_rpcgen.py96 filep.write("%s%s\n" % (ident, entry))
107 filep.write("/* Tag definition for %s */\n" % self._name)
108 filep.write("enum %s_ {\n" % self._name.lower())
110 filep.write(" %s=%d,\n" % (self.EntryTagName(entry), entry.Tag()))
111 filep.write(" %s_MAX_TAGS\n" % (self._name.upper()))
112 filep.write("};\n\n")
115 filep.write("struct %s;\n" % self._name)
118 filep.write("/* Structure declaration for %s */\n" % self._name)
119 filep.write("struct %s_access_ {\n" % self._name)
126 filep.write("};\n\n")
[all …]
/freebsd-12-stable/contrib/ntp/sntp/libevent/
Devent_rpcgen.py96 filep.write("%s%s\n" % (ident, entry))
107 filep.write("/* Tag definition for %s */\n" % self._name)
108 filep.write("enum %s_ {\n" % self._name.lower())
110 filep.write(" %s=%d,\n" % (self.EntryTagName(entry), entry.Tag()))
111 filep.write(" %s_MAX_TAGS\n" % (self._name.upper()))
112 filep.write("};\n\n")
115 filep.write("struct %s;\n" % self._name)
118 filep.write("/* Structure declaration for %s */\n" % self._name)
119 filep.write("struct %s_access_ {\n" % self._name)
126 filep.write("};\n\n")
[all …]
/freebsd-12-stable/contrib/netbsd-tests/lib/libc/string/
Dt_strlen.c28 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-stable/contrib/llvm-project/compiler-rt/lib/profile/
DInstrProfilingPlatformWindows.c29 #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)
/freebsd-12-stable/sys/contrib/vchiq/interface/vchiq_arm/
Dvchiq_util.c47 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-stable/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
DMsgPackWriter.h63 void write(bool b);
70 void write(int64_t i);
75 void write(uint64_t u);
80 void write(double d);
85 void write(StringRef s);
92 void write(MemoryBufferRef Buffer);

12345678910>>...92