HomeSort by relevance Sort by last modified time
    Searched defs:Write (Results 176 - 200 of 714) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/pdfium/core/fxcrt/
cfx_fileaccess_posix.cpp 107 size_t CFX_FileAccess_Posix::Write(const void* pBuffer, size_t szBuffer) {
111 return write(m_nFD, pBuffer, szBuffer);
136 return Write(pBuffer, szBuffer);
cfx_fileaccess_windows.cpp 144 size_t CFX_FileAccess_Windows::Write(const void* pBuffer, size_t szBuffer) {
180 return Write(pBuffer, szBuffer);
  /external/puffin/src/
file_stream.cc 20 UniqueStreamPtr FileStream::Open(const string& path, bool read, bool write) {
21 TEST_AND_RETURN_VALUE(read || write, nullptr);
23 if (read && write) {
74 bool FileStream::Write(const void* buffer, size_t length) {
79 write(fd_, c_bytes + total_bytes_wrote, length - total_bytes_wrote);
  /external/tensorflow/tensorflow/core/lib/io/snappy/
snappy_outputbuffer.cc 33 Status SnappyOutputBuffer::Write(StringPiece data) {
163 // Write length of compressed block to output buffer.
172 // Write compressed output to buffer.
  /external/v8/src/
dateparser.cc 13 bool DateParser::DayComposer::Write(FixedArray* output) {
66 bool DateParser::TimeComposer::Write(FixedArray* output) {
99 bool DateParser::TimeZoneComposer::Write(FixedArray* output) {
  /prebuilts/go/darwin-x86/src/archive/tar/
tar_test.go 57 func (f *testFile) Write(b []byte) (int, error) {
62 return 0, errors.New("unexpected Write operation")
66 return 0, errors.New("unexpected Write operation")
70 return 0, testError{fmt.Errorf("got Write(%q), want Write(%q)", b, s)}
313 if _, err := tw.Write(data); err != nil {
314 t.Fatalf("tw.Write: %v", err)
813 if _, err := tw.Write(file.body); err != nil {
814 b.Errorf("unexpected Write error: %v", err)
830 // Write the archive to a byte buffer
    [all...]
writer_test.go 58 testWrite struct { // Write(str) == (wantCnt, wantErr)
488 got, err := tw.Write([]byte(tf.str))
490 t.Fatalf("test %d, Write() = (%d, %v), want (%d, %v)", i, got, err, tf.wantCnt, tf.wantErr)
546 if _, err = writer.Write([]byte(contents)); err != nil {
635 if _, err = writer.Write([]byte(contents)); err != nil {
683 if _, err = writer.Write([]byte(contents)); err != nil {
724 if _, err = writer.Write([]byte(contents)); err != nil {
795 t.Fatalf("Failed to write header: %s", err)
797 if _, err := tw.Write([]byte("fooo")); err != nil {
798 t.Fatalf("Failed to write the file's data: %s", err
    [all...]
  /prebuilts/go/darwin-x86/src/archive/zip/
register.go 42 mu sync.Mutex // guards Close and Write
46 func (w *pooledFlateWriter) Write(p []byte) (n int, err error) {
50 return 0, errors.New("Write after Close")
52 return w.fw.Write(p)
  /prebuilts/go/darwin-x86/src/encoding/pem/
pem.go 211 func (l *lineBreaker) Write(b []byte) (n int, err error) {
218 n, err = l.out.Write(l.line[0:l.used])
225 n, err = l.out.Write(b[0:excess])
230 n, err = l.out.Write(nl)
235 return l.Write(b[excess:])
240 _, err = l.out.Write(l.line[0:l.used])
244 _, err = l.out.Write(nl)
251 _, err := out.Write([]byte(k + ": " + v + "\n"))
265 // so it is now safe to write data.
267 if _, err := out.Write(pemStart[1:]); err != nil
    [all...]
  /prebuilts/go/darwin-x86/src/hash/adler32/
adler32.go 121 func (d *digest) Write(p []byte) (nn int, err error) {
  /prebuilts/go/darwin-x86/src/io/
pipe.go 28 // ErrClosedPipe is the error used for read or write operations on a closed pipe.
29 var ErrClosedPipe = errors.New("io: read/write on closed pipe")
33 wrMu sync.Mutex // Serializes Write operations
77 func (p *pipe) Write(b []byte) (n int, err error) {
123 // arrives or the write end is closed.
124 // If the write end is closed with an error, that error is
131 // write half of the pipe will return the error ErrClosedPipe.
137 // to the write half of the pipe will return the error err.
142 // A PipeWriter is the write half of a pipe.
147 // Write implements the standard Write interface
    [all...]
  /prebuilts/go/darwin-x86/src/mime/multipart/
writer.go 47 return errors.New("mime: SetBoundary called after write")
158 _, err = p.Write([]byte(value))
186 func (p *part) Write(d []byte) (n int, err error) {
188 return 0, errors.New("multipart: can't write to finished part")
190 n, err = p.mw.w.Write(d)
  /prebuilts/go/darwin-x86/src/net/
fd_plan9.go 93 func (fd *netFD) Write(b []byte) (n int, err error) {
97 return fd.pfd.Write(fd.data.Write, b)
fd_windows.go 99 // Wait for the goroutine converting context.Done into a write timeout
162 func (fd *netFD) Write(buf []byte) (int, error) {
163 n, err := fd.pfd.Write(buf)
  /prebuilts/go/darwin-x86/src/net/http/httputil/
reverseproxy.go 300 nw, werr := dst.Write(buf[:nr])
334 mu sync.Mutex // protects Write + Flush
338 func (m *maxLatencyWriter) Write(p []byte) (int, error) {
341 return m.dst.Write(p)
  /prebuilts/go/darwin-x86/src/net/http/internal/
chunked.go 191 // Write the contents of data as one chunk to Wire.
192 // NOTE: Note that the corresponding chunk-writing procedure in Conn.Write has
194 func (cw *chunkedWriter) Write(data []byte) (n int, err error) {
204 if n, err = cw.Wire.Write(data); err != nil {
  /prebuilts/go/darwin-x86/src/strings/
replace.go 274 // Write writes to the buffer to satisfy io.Writer.
275 func (w *appendSliceWriter) Write(p []byte) (int, error) {
295 return w.w.Write([]byte(s))
446 wn, err := w.Write(buf[:ncopy])
506 nw, err := w.Write(r[b])
  /prebuilts/go/darwin-x86/test/fixedbugs/
issue15528.go 20 func (x *RWS) Write(p []byte) (n int, err error) { return }
  /prebuilts/go/linux-x86/src/archive/tar/
tar_test.go 57 func (f *testFile) Write(b []byte) (int, error) {
62 return 0, errors.New("unexpected Write operation")
66 return 0, errors.New("unexpected Write operation")
70 return 0, testError{fmt.Errorf("got Write(%q), want Write(%q)", b, s)}
313 if _, err := tw.Write(data); err != nil {
314 t.Fatalf("tw.Write: %v", err)
813 if _, err := tw.Write(file.body); err != nil {
814 b.Errorf("unexpected Write error: %v", err)
830 // Write the archive to a byte buffer
    [all...]
writer_test.go 58 testWrite struct { // Write(str) == (wantCnt, wantErr)
488 got, err := tw.Write([]byte(tf.str))
490 t.Fatalf("test %d, Write() = (%d, %v), want (%d, %v)", i, got, err, tf.wantCnt, tf.wantErr)
546 if _, err = writer.Write([]byte(contents)); err != nil {
635 if _, err = writer.Write([]byte(contents)); err != nil {
683 if _, err = writer.Write([]byte(contents)); err != nil {
724 if _, err = writer.Write([]byte(contents)); err != nil {
795 t.Fatalf("Failed to write header: %s", err)
797 if _, err := tw.Write([]byte("fooo")); err != nil {
798 t.Fatalf("Failed to write the file's data: %s", err
    [all...]
  /prebuilts/go/linux-x86/src/archive/zip/
register.go 42 mu sync.Mutex // guards Close and Write
46 func (w *pooledFlateWriter) Write(p []byte) (n int, err error) {
50 return 0, errors.New("Write after Close")
52 return w.fw.Write(p)
  /prebuilts/go/linux-x86/src/encoding/pem/
pem.go 211 func (l *lineBreaker) Write(b []byte) (n int, err error) {
218 n, err = l.out.Write(l.line[0:l.used])
225 n, err = l.out.Write(b[0:excess])
230 n, err = l.out.Write(nl)
235 return l.Write(b[excess:])
240 _, err = l.out.Write(l.line[0:l.used])
244 _, err = l.out.Write(nl)
251 _, err := out.Write([]byte(k + ": " + v + "\n"))
265 // so it is now safe to write data.
267 if _, err := out.Write(pemStart[1:]); err != nil
    [all...]
  /prebuilts/go/linux-x86/src/hash/adler32/
adler32.go 121 func (d *digest) Write(p []byte) (nn int, err error) {
  /prebuilts/go/linux-x86/src/io/
pipe.go 28 // ErrClosedPipe is the error used for read or write operations on a closed pipe.
29 var ErrClosedPipe = errors.New("io: read/write on closed pipe")
33 wrMu sync.Mutex // Serializes Write operations
77 func (p *pipe) Write(b []byte) (n int, err error) {
123 // arrives or the write end is closed.
124 // If the write end is closed with an error, that error is
131 // write half of the pipe will return the error ErrClosedPipe.
137 // to the write half of the pipe will return the error err.
142 // A PipeWriter is the write half of a pipe.
147 // Write implements the standard Write interface
    [all...]
  /prebuilts/go/linux-x86/src/mime/multipart/
writer.go 47 return errors.New("mime: SetBoundary called after write")
158 _, err = p.Write([]byte(value))
186 func (p *part) Write(d []byte) (n int, err error) {
188 return 0, errors.New("multipart: can't write to finished part")
190 n, err = p.mw.w.Write(d)

Completed in 1738 milliseconds

1 2 3 4 5 6 78 91011>>