Searched defs:write (Results 1 - 25 of 190) sorted by relevance

12345678

/freebsd-head/lib/libc/sys/
H A Dwrite.c43 #pragma weak write macro
45 write(int fd, const void *buf, size_t nbytes) function
/freebsd-head/stand/libsa/
H A Dwrite.c1 /* $NetBSD: write.c,v 1.7 1996/06/21 20:29:30 pk Exp $ */
34 * @(#)write.c 8.1 (Berkeley) 6/11/93
70 write(int fd, const void *dest, size_t bcount) function
/freebsd-head/contrib/gdb/gdb/
H A Dproc-utils.h17 along with this program; if not, write to the Free Software Foundation,
78 #define write(X,Y,Z) write_with_trace (X, Y, Z, __FILE__, __LINE__) macro
90 word used to write to the /proc/PID/ctl file. */
/freebsd-head/sys/contrib/vchiq/interface/vchiq_arm/
H A Dvchiq_util.h46 int write; member in struct:__anon106
/freebsd-head/usr.bin/mkimg/
H A Dformat.h37 int (*write)(int); member in struct:mkimg_format
/freebsd-head/contrib/llvm-project/lldb/source/Host/common/
H A DFileAction.cpp34 bool write) {
35 if ((read || write) && fd >= 0 && file_spec) {
38 if (read && write)
33 Open(int fd, const FileSpec &file_spec, bool read, bool write) argument
/freebsd-head/contrib/llvm-project/llvm/include/llvm/Support/
H A DEndianStream.h27 inline void write(raw_ostream &os, value_type value, endianness endian) { function in namespace:llvm::support::endian
29 os.write((const char *)&value, sizeof(value_type));
33 inline void write<float>(raw_ostream &os, float value, endianness endian) { function in namespace:llvm::support::endian
34 write(os, FloatToBits(value), endian);
38 inline void write<double>(raw_ostream &os, double value, function in namespace:llvm::support::endian
40 write(os, DoubleToBits(value), endian);
44 inline void write(raw_ostream &os, ArrayRef<value_type> vals, function in namespace:llvm::support::endian
47 write(os, v, endian);
50 /// Adapter to write values to a stream in a particular byte order.
55 template <typename value_type> void write(ArrayRe function in struct:llvm::support::endian::Writer
58 template <typename value_type> void write(value_type Val) { function in struct:llvm::support::endian::Writer
[all...]
H A DEndian.h9 // This file declares generic functions to read and write endian specific data.
99 inline void write(void *memory, value_type value, endianness endian) { function in namespace:llvm::support::endian
109 inline void write(void *memory, value_type value) { function in namespace:llvm::support::endian
110 write<value_type, alignment>(memory, value, endian);
157 write<value_type, endian, alignment>(memory, value);
223 endian::write<value_type, endian, alignment>(
261 endian::write<value_type, endian, alignment>(Ptr, NewValue);
389 template <typename T> inline void write(void *P, T V, endianness E) {
390 write<T, unaligned>(P, V, E);
393 template <typename T, endianness E> inline void write(voi
[all...]
/freebsd-head/contrib/libpcap/testprogs/
H A Dunix.h54 #define write _write macro
/freebsd-head/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_mutexset.cpp24 void MutexSet::Add(u64 id, bool write, u64 epoch) { argument
48 descs_[size_].write = write;
54 void MutexSet::Del(u64 id, bool write) { argument
H A Dtsan_mutexset.h29 bool write; member in struct:__tsan::MutexSet::Desc
34 void Add(u64 id, bool write, u64 epoch);
35 void Del(u64 id, bool write);
59 void MutexSet::Add(u64 id, bool write, u64 epoch) {} argument
60 void MutexSet::Del(u64 id, bool write) {} argument
/freebsd-head/contrib/ntp/libntp/
H A Dicom.c21 #undef write /* ports/winnt/include/config.h: #define write _write */ macro
23 #define write(fd, data, octets) async_write(fd, data, octets) macro
69 * 1 (short write to device)
89 rc = write(fd, cmd, temp + 7);
91 msyslog(LOG_ERR, "icom_freq: write() failed: %m");
/freebsd-head/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_iovar.h72 bhnd_nvram_iop_write *write; /**< write() implementation */ member in struct:bhnd_nvram_iops
99 .write = bhnd_nvram_ ## _n ## _write, \
/freebsd-head/sys/dev/sfxge/
H A Dsfxge_nvram.c57 boolean_t write)
67 if (write)
83 if (write) {
56 sfxge_nvram_rw(struct sfxge_softc *sc, sfxge_ioc_t *ip, efx_nvram_type_t type, boolean_t write) argument
/freebsd-head/libexec/rtld-elf/rtld-libc/
H A Drtld_libc.h87 #define write(fd, buf, nbytes) __sys_write(fd, buf, nbytes) macro
/freebsd-head/contrib/llvm-project/llvm/lib/BinaryFormat/
H A DMsgPackWriter.cpp23 void Writer::writeNil() { EW.write(FirstByte::Nil); }
25 void Writer::write(bool b) { EW.write(b ? FirstByte::True : FirstByte::False); } function in class:Writer
27 void Writer::write(int64_t i) { function in class:Writer
29 write(static_cast<uint64_t>(i));
34 EW.write(static_cast<int8_t>(i));
39 EW.write(FirstByte::Int8);
40 EW.write(static_cast<int8_t>(i));
45 EW.write(FirstByte::Int16);
46 EW.write(static_cas
60 void Writer::write(uint64_t u) { function in class:Writer
88 void Writer::write(double d) { function in class:Writer
101 void Writer::write(StringRef s) { function in class:Writer
121 void Writer::write(MemoryBufferRef Buffer) { function in class:Writer
[all...]
/freebsd-head/contrib/llvm-project/llvm/lib/XRay/
H A DFDRTraceWriter.cpp9 // Test a utility that can write out XRay FDR Mode formatted trace files.
27 static size_t write(support::endian::Writer &OS, Tuple &&T) {
28 OS.write(std::get<Index>(T));
29 return sizeof(std::get<Index>(T)) + IndexedWriter<Index + 1>::write(OS, T);
38 static size_t write(support::endian::Writer &OS, Tuple &&) { function in struct:llvm::xray::__anon3278::IndexedWriter
46 // we ensure this is the case when we write out the first byte of the record.
50 OS.write(FirstByte);
51 auto Bytes = IndexedWriter<0>::write(OS, T);
52 assert(Bytes <= 15 && "Must only ever write at most 16 byte metadata!");
55 OS.write('\
[all...]
/freebsd-head/contrib/llvm-project/compiler-rt/lib/tsan/benchmarks/
H A Dmop.cpp1 // Synthetic benchmark for __tsan_read/write{1,2,4,8}.
15 template<typename T, bool write>
30 if (write) {
46 template<typename T, bool write>
49 pthread_create(&th, 0, thread<T, write>, (void*)1);
50 thread<T, write>(0);
54 template<bool write>
57 case 1: return test<char, write>();
58 case 2: return test<short, write>();
59 case 4: return test<int, write>();
66 bool write = true; local
[all...]
/freebsd-head/sys/powerpc/powermac/
H A Data_dbdma.c61 int write; member in struct:ata_dbdma_dmaload_args
87 if (arg->write) {
214 args.write = !(request->flags & ATA_R_READ);
/freebsd-head/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris_zone.c151 * The 'write' parameter is set to 1 if the dataset is also writable.
154 zone_dataset_visible(const char *dataset, int *write) argument
165 if (write != NULL)
166 *write = 1;
186 if (write)
187 *write = 1;
207 if (write)
208 *write = 0;
/freebsd-head/usr.bin/dtc/
H A Ddtb.cc47 void write(dtc::byte_buffer &buffer, int fd) function in namespace:__anon5
53 ssize_t r = ::write(fd, data, size);
118 write(buffer, fd);
249 write(buffer, fd);
259 header::write(output_writer &out) function in class:dtc::dtb::header
329 string_table::write(dtb::output_writer &writer) function in class:dtc::dtb::string_table
/freebsd-head/contrib/llvm-project/llvm/lib/MC/
H A DStringTableBuilder.cpp43 // Make room to write the table size later.
54 void StringTableBuilder::write(raw_ostream &OS) const { function in class:StringTableBuilder
58 write((uint8_t *)Data.data());
64 void StringTableBuilder::write(uint8_t *Buf) const { function in class:StringTableBuilder
/freebsd-head/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingWriter.cpp37 void CoverageFilenamesSectionWriter::write(raw_ostream &OS) { function in class:CoverageFilenamesSectionWriter
127 void CoverageMappingWriter::write(raw_ostream &OS) { function in class:CoverageMappingWriter
/freebsd-head/sbin/nvmecontrol/
H A Dnvmecontrol.c145 open_dev(const char *str, int *fd, int write, int exit_on_error) argument
150 *fd = open(full_path, write ? O_RDWR : O_RDONLY);
154 write ? " for write" : "");
/freebsd-head/contrib/unbound/services/
H A Dview.c224 views_find_view(struct views* vs, const char* name, int write) argument
235 if(write) {

Completed in 116 milliseconds

12345678