/prebuilts/go/linux-x86/src/net/ |
dnsclient_unix_test.go | 811 func (f *fakeDNSConn) Write(b []byte) (int, error) { 845 s.Write([]byte("garbage DNS response packet")) 854 s.Write(b) 874 s.Write(b) 1147 wantStrictErr: makeTempError("write: socket on fire"), 1171 return nil, &OpError{Op: "write", Err: fmt.Errorf("socket on fire")}
|
net.go | 118 // Write writes data to the connection. 119 // Write can be made to time out and return an Error with Timeout() == true 121 Write(b []byte) (n int, err error) 124 // Any blocked Read or Write operations will be unblocked and return errors. 133 // SetDeadline sets the read and write deadlines associated 141 // Write. After a deadline has been exceeded, the connection 145 // the deadline after successful Read or Write calls. 155 // SetWriteDeadline sets the deadline for future Write calls 156 // and any currently-blocked Write call. 157 // Even if write times out, it may return n > 0, indicating tha [all...] |
/prebuilts/go/linux-x86/src/net/http/fcgi/ |
fcgi.go | 150 if err := binary.Write(&c.buf, binary.BigEndian, c.h); err != nil { 153 if _, err := c.buf.Write(b); err != nil { 156 if _, err := c.buf.Write(pad[:c.h.PaddingLength]); err != nil { 159 _, err := c.rwc.Write(c.buf.Bytes()) 176 if _, err := w.Write(b[:n]); err != nil { 252 func (w *streamWriter) Write(p []byte) (int, error) {
|
/prebuilts/go/linux-x86/src/net/http/ |
fs.go | 807 func (w *countingWriter) Write(p []byte) (n int, err error) {
|
/prebuilts/go/linux-x86/src/syscall/ |
syscall_plan9.go | 124 func Write(fd int, p []byte) (n int, err error) {
|
syscall_unix.go | 177 func Write(fd int, p []byte) (n int, err error) { 181 n, err = write(fd, p)
|
/prebuilts/go/linux-x86/src/testing/ |
benchmark.go | 663 func (discard) Write(b []byte) (n int, err error) { return len(b), nil }
|
/prebuilts/go/linux-x86/src/vendor/golang_org/x/net/http2/hpack/ |
hpack.go | 89 // process it under Write. 90 buf []byte // not owned; only valid during Write 92 // saveBuf is previous data passed to Write which we weren't able 99 // parsed, in the same goroutine as calls to Write, before Write returns. 111 // ErrStringLength is returned by Decoder.Write when the max string length 117 // decompression), Write will return ErrStringLength. 220 if _, err := d.Write(p); err != nil { 237 func (d *Decoder) Write(p []byte) (n int, err error) { 249 d.saveBuf.Write(p [all...] |
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/ |
map_type_handler.h | 165 static inline void Write(int field, const MapEntryAccessorType& value, 221 static inline void Write(int field, const MapEntryAccessorType& value, \ 357 inline void MapTypeHandler<WireFormatLite::TYPE_MESSAGE, Type>::Write( 372 inline void MapTypeHandler<WireFormatLite::TYPE_##FieldType, Type>::Write( \ 375 return WireFormatLite::Write##DeclaredType(field, value, output); \ 381 return WireFormatLite::Write##DeclaredType##ToArray(field, value, output); \ [all...] |
/system/core/fastboot/ |
udp.cpp | 110 ssize_t Write(const void* data, size_t length) override; 231 // Advance our read and write buffers for the next packet. Keep going even if we run out 346 ssize_t UdpTransport::Write(const void* data, size_t length) {
|
usb_linux.cpp | 100 ssize_t Write(const void* data, size_t len) override; 387 ssize_t LinuxUsbTransport::Write(const void* _data, size_t len)
|
usb_osx.cpp | 74 ssize_t Write(const void* data, size_t len) override; 508 ssize_t OsxUsbTransport::Write(const void* data, size_t len) { 534 * by trying to write too much data at once. The kernel IOCopyMapper
|
/system/extras/simpleperf/ |
record_file_writer.cpp | 84 // Write id section. 90 if (!Write(attr_id.ids.data(), attr_id.ids.size() * sizeof(uint64_t))) { 95 // Write attr section. 106 if (!Write(&file_attr, sizeof(file_attr))) { 164 if (!Write(buf, len)) { 171 bool RecordFileWriter::Write(const void* buf, size_t len) { 173 PLOG(ERROR) << "failed to write to record file '" << filename_ << "'"; 233 return Write(zero_data.data(), zero_data.size()); 241 if (!Write(record.Binary(), record.size())) { 250 if (!Write(&len, sizeof(len))) [all...] |
/system/tools/aidl/ |
ast_java.cpp | 33 to->Write("@Override "); 37 to->Write("public "); 39 to->Write("private "); 41 to->Write("protected "); 45 to->Write("static "); 49 to->Write("final "); 53 to->Write("abstract "); 60 arguments[i]->Write(to); 62 to->Write(", "); 69 void Field::Write(CodeWriter* to) const [all...] |
/system/tpm/trunks/ftdi/ |
mpsse.c | 169 /* Set the read and write timeout periods */ 266 /* Read and write commands need to include endianess */ 644 * Performs a bit-wise write of up to 8 bits at a time. 647 * @bits - A byte containing the desired bits to write. 648 * @size - The number of bits from the 'bits' byte to write. 675 retval = Write(mpsse, data, size); 691 int Write(struct mpsse_context* mpsse, const void* vdata, int size) { 858 * @data - Buffer containing bytes to write.
|
/device/google/cuttlefish_common/common/libs/fs/ |
shared_fd.h | 484 ssize_t Write(const void* buf, size_t count) { 486 ssize_t rval = TEMP_FAILURE_RETRY(write(fd_, buf, count));
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/ |
7zTypes.h | 136 void (*Write)(void *p, Byte b);
153 size_t (*Write)(void *p, const void *buf, size_t size);
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/AutoGen/ |
StrGather.py | 238 BinBuffer.write(pack("B", int(Item, 16)))
263 ArrayItem = Write(ArrayItem, Line.rstrip())
410 StrStringValue = Write(StrStringValue, CreateCFileStringValue(Value))
440 Str = Write(Str, StrStringValue)
452 UniBinBuffer.write (StringBuffer.getvalue())
453 UniBinBuffer.write (pack("B", int(EFI_HII_SIBT_END, 16)))
480 AllStr = Write(AllStr, Str)
491 Str = Write('', '};')
618 # Write an item
620 def Write(Target, Item): [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/PciRootBridgeIo/ |
PciRootBridgeIo.h | 119 EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_IO_MEM Write;
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/ |
7zTypes.h | 140 void (*Write)(void *p, Byte b);
157 size_t (*Write)(void *p, const void *buf, size_t size);
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/ |
7zTypes.h | 140 void (*Write)(void *p, Byte b);
157 size_t (*Write)(void *p, const void *buf, size_t size);
|
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/ |
PciRootBridgeIo.h | 64 /// A write operation from system memory by a bus master that is not capable of producing
69 /// Provides both read and write access to system memory by both the processor and a bus
79 /// A write operation to system memory by a bus master that is capable of producing PCI
84 /// Provides both read and write access to system memory by both the processor and a bus
162 @param Buffer For read operations, the destination buffer to store the results. For write
163 operations, the source buffer to write data from.
186 /// Write PCI controller registers in the PCI root bridge memory space.
188 EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_IO_MEM Write;
221 @param Operation Indicates if the bus master is going to read or write to system memory.
317 Flushes all PCI posted write transactions from a PCI host bridge to system memory. [all...] |
/external/boringssl/src/ssl/test/runner/ |
conn.go | 140 // SetDeadline sets the read and write deadlines associated with the connection. 141 // A zero value for t means Read and Write will not time out. 142 // After a Write has timed out, the TLS state is corrupt and all future writes will return the same error. 153 // SetWriteDeadline sets the write deadline on the underlying conneciton. 154 // A zero value for t means Write will not time out. 155 // After a Write has timed out, the TLS state is corrupt and all future writes will return the same error. 194 // tests since we don't concurrently read and write the same tls.Conn 1031 c.hand.Write(data) 1083 return c.conn.Write(record) 1133 c.pendingFlight.Write(data [all...] |
prf.go | 26 h.Write(seed) 32 h.Write(a) 33 h.Write(seed) 43 h.Write(a) 97 hashSHA1.Write(b[:i+1]) 98 hashSHA1.Write(secret) 99 hashSHA1.Write(seed) 103 hashMD5.Write(secret) 104 hashMD5.Write(digest) 253 h.Write(data.finish() [all...] |
/external/clang/include/clang/Index/ |
IndexSymbol.h | 79 Write = 1 << 4,
|