/prebuilts/go/linux-x86/src/crypto/sha512/ |
sha512.go | 262 func (d *digest) Write(p []byte) (nn int, err error) { 308 d.Write(tmp[0 : 112-len%128]) 310 d.Write(tmp[0 : 128+112-len%128]) 318 d.Write(tmp[0:16]) 348 d.Write(data) 356 d.Write(data) 366 d.Write(data) 376 d.Write(data)
|
/prebuilts/go/linux-x86/src/go/token/ |
serialize.go | 49 // Write calls encode to serialize the file set s. 50 func (s *FileSet) Write(encode func(interface{}) error) error {
|
/prebuilts/go/linux-x86/src/os/ |
pipe_test.go | 36 // Every time we write to the pipe we should get an EPIPE. 38 _, err = w.Write([]byte("hi")) 40 t.Fatal("unexpected success of Write to broken pipe") 63 // Invoke the test program to run the test and write to a closed pipe. 81 t.Errorf("unexpected success of write to closed pipe %d sig %t in child", dest, sig) 105 os.Stdout.Write([]byte("stdout")) 107 os.Stderr.Write([]byte("stderr")) 109 if _, err := os.NewFile(3, "3").Write([]byte("3")); err == nil { 130 // Get the amount we have to write to overload a pipe 138 t.Logf("using pipe write limit of %d", limit [all...] |
/prebuilts/go/linux-x86/src/syscall/ |
net.go | 25 // Write is like Read but for writing. 26 Write(f func(fd uintptr) (done bool)) error
|
/prebuilts/go/linux-x86/test/bench/go1/ |
revcomp_test.go | 42 out.Write(line) 76 out.Write(buf[0:i])
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
issue13160.go | 29 // Arena where we read and write pointers like crazy. 34 // Start writers. They alternately write a pointer 40 // Write a pointer using memmove. 42 // Write nil using memclr.
|
/system/core/libappfuse/include/libappfuse/ |
FuseBuffer.h | 27 // Maximum number of bytes to write/read in one request/one reply. 45 bool Write(int fd) const;
|
/system/tools/aidl/ |
generate_java.cpp | 69 document->Write(code_writer.get());
|
/system/tpm/attestation/server/ |
mock_key_store.h | 38 MOCK_METHOD3(Write,
|
/system/update_engine/payload_consumer/ |
cached_file_descriptor.h | 48 ssize_t Write(const void* buf, size_t count) override;
|
extent_writer.cc | 32 bool DirectExtentWriter::Write(const void* bytes, size_t count) {
|
fake_file_descriptor.h | 53 ssize_t Write(const void* buf, size_t count) override {
|
mtd_file_descriptor.cc | 105 // This File Descriptor does not support read and write. 108 // during write, we need to read back to verify the write actually sticks or 143 ssize_t MtdFileDescriptor::Write(const void* buf, size_t count) { 156 // Ignore seek in write mode. 183 // This File Descriptor does not support read and write. 222 ssize_t UbiFileDescriptor::Write(const void* buf, size_t count) { 224 ssize_t nr_chunk = EintrSafeFileDescriptor::Write(buf, count); 233 // Ignore seek in write mode. 252 ssize_t nr_chunk = EintrSafeFileDescriptor::Write(buf, to_write) [all...] |
/external/brotli/go/cbrotli/ |
writer.go | 114 _, err = w.dst.Write(output) 125 // Flush outputs encoded data for all input provided to Write. The resulting 144 // Write implements io.Writer. Flush or Close must be called to ensure that the 146 func (w *Writer) Write(p []byte) (n int, err error) { 154 _, err := writer.Write(content)
|
/prebuilts/go/darwin-x86/src/cmd/compile/internal/syntax/ |
dumper.go | 47 last byte // last byte processed by Write 53 func (p *dumper) Write(data []byte) (n int, err error) { 58 m, err = p.output.Write(data[n : i+1]) 70 _, err = p.output.Write(indentBytes) 79 m, err = p.output.Write(data[n:])
|
/prebuilts/go/darwin-x86/src/net/http/httptest/ |
server_test.go | 57 w.Write([]byte("hello")) 77 w.Write([]byte("hello")) 103 w.Write([]byte("hello")) 120 cidle.Write([]byte("HEAD / HTTP/1.1\r\nHost: foo\r\n\r\n")) 147 w.Write([]byte("hello"))
|
/prebuilts/go/linux-x86/src/cmd/compile/internal/syntax/ |
dumper.go | 47 last byte // last byte processed by Write 53 func (p *dumper) Write(data []byte) (n int, err error) { 58 m, err = p.output.Write(data[n : i+1]) 70 _, err = p.output.Write(indentBytes) 79 m, err = p.output.Write(data[n:])
|
/prebuilts/go/linux-x86/src/net/http/httptest/ |
server_test.go | 57 w.Write([]byte("hello")) 77 w.Write([]byte("hello")) 103 w.Write([]byte("hello")) 120 cidle.Write([]byte("HEAD / HTTP/1.1\r\nHost: foo\r\n\r\n")) 147 w.Write([]byte("hello"))
|
/device/linaro/bootloader/edk2/DuetPkg/FSVariable/ |
FileStorage.c | 230 Status = File->Write (File, &NumBytes, VAR_DATA_PTR (Dev));
260 Dev->VarStore.Write = FileWriteStore;
312 Status = File->Write (File, &NumBytes, VAR_DATA_PTR (Dev));
350 Status = File->Write (File, &BufferSize, Buffer);
370 EfiConvertPointer (0, (VOID **) &Dev->VarStore.Write);
|
/device/linaro/bootloader/edk2/DuetPkg/PciBusNoEnumerationDxe/ |
PciOptionRomSupport.c | 89 Status = PciRootBridgeIo->Pci.Write (
342 PciRootBridgeIo->Pci.Write(
353 PciRootBridgeIo->Pci.Write(
372 PciRootBridgeIo->Pci.Write(
384 PciRootBridgeIo->Pci.Write(
|
/build/soong/third_party/zip/ |
writer.go | 68 // write central directory 111 if _, err := w.cw.Write(buf[:]); err != nil { 117 if _, err := w.cw.Write(h.Extra); err != nil { 152 if _, err := w.cw.Write(buf[:]); err != nil { 163 // write end record 173 if _, err := w.cw.Write(buf[:]); err != nil { 225 // fh.Flags |= 0x8 // we will write a data descriptor 298 if _, err := w.Write(buf[:]); err != nil { 304 _, err := w.Write(h.Extra) 336 func (w *fileWriter) Write(p []byte) (int, error) [all...] |
/external/boringssl/src/ssl/test/runner/ |
cipher_suites.go | 342 s.h.Write(s.key) 343 s.h.Write(ssl30Pad1[:padLength]) 344 s.h.Write(seq) 345 s.h.Write(header[:1]) 346 s.h.Write(length) 347 s.h.Write(data) 351 s.h.Write(s.key) 352 s.h.Write(ssl30Pad2[:padLength]) 353 s.h.Write(digestBuf) 368 s.h.Write(seq [all...] |
/prebuilts/go/darwin-x86/src/bytes/ |
buffer_test.go | 17 var testString string // test data for write tests 78 m, err := buf.Write(fub) 133 n, err := buf.Write(testBytes[0:1]) 145 n, err = buf.Write(testBytes[2:26]) 248 buf.Write([]byte("test")) 304 // Built a test slice while we write the data 351 buf.Write(b) 479 // Check no allocation occurs in write, as long as we're single-threaded. 482 buf.Write(yBytes) 485 t.Errorf("allocation occurred during write") [all...] |
/prebuilts/go/darwin-x86/src/os/ |
file.go | 28 // Write take their byte counts from the length of the argument slice. 68 O_WRONLY int = syscall.O_WRONLY // open the file write-only. 69 O_RDWR int = syscall.O_RDWR // open the file read-write. 137 // Write writes len(b) bytes to the File. 139 // Write returns a non-nil error when n != len(b). 140 func (f *File) Write(b []byte) (n int, err error) { 141 if err := f.checkValid("write"); err != nil { 144 n, e := f.write(b) 155 err = f.wrapErr("write", e) 165 if err := f.checkValid("write"); err != nil [all...] |
/prebuilts/go/linux-x86/src/bytes/ |
buffer_test.go | 17 var testString string // test data for write tests 78 m, err := buf.Write(fub) 133 n, err := buf.Write(testBytes[0:1]) 145 n, err = buf.Write(testBytes[2:26]) 248 buf.Write([]byte("test")) 304 // Built a test slice while we write the data 351 buf.Write(b) 479 // Check no allocation occurs in write, as long as we're single-threaded. 482 buf.Write(yBytes) 485 t.Errorf("allocation occurred during write") [all...] |