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

<<11121314151617181920>>

  /prebuilts/go/darwin-x86/src/archive/zip/
zip_test.go 137 func (r *rleBuffer) Write(p []byte) (n int, err error) {
204 b.Write([]byte(w))
230 func (fakeHash32) Write(p []byte) (int, error) { return len(p), nil }
379 func (ss *suffixSaver) Write(p []byte) (n int, err error) {
511 // write size bytes plus "END\n" to a zip file
527 _, err := f.Write(chunk)
529 t.Fatal("write chunk:", err)
533 _, err := f.Write(chunk[:frag])
535 t.Fatal("write chunk:", err)
539 _, err = f.Write(end
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/internal/test2json/
test2json.go 113 part: c.output.write,
124 // Write writes the test input to the converter.
125 func (c *converter) Write(b []byte) (int, error) {
126 c.input.write(b)
154 // It must write the line to c.output but may choose to do so
160 c.output.write(line)
207 c.output.write(origLine)
236 c.output.write(origLine)
244 c.output.write(origLine)
253 // For a pause, we want to write the pause notification befor
341 func (l *lineBuffer) write(b []byte) { func
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/vendor/github.com/google/pprof/profile/
profile.go 315 // Write writes the profile as a gzip-compressed marshaled protobuf.
316 func (p *Profile) Write(w io.Writer) error {
319 _, err := zw.Write(serialize(p))
325 _, err := w.Write(serialize(p))
  /prebuilts/go/darwin-x86/src/compress/flate/
deflate_test.go 119 w.Write(h.in)
200 func (b *syncBuffer) Write(p []byte) (n int, err error) {
201 n, err = b.buf.Write(p)
237 // Write half the input and read back.
245 t.Logf("#%d: write %d-%d", i, lo, hi)
246 if _, err := w.Write(input[lo:hi]); err != nil {
247 t.Errorf("testSync: write: %v", err)
275 // not necessarily the case: the write Flush may emit
314 w.Write(input)
407 w.Write([]byte(dict)
    [all...]
  /prebuilts/go/darwin-x86/src/crypto/sha256/
sha256.go 195 func (d *digest) Write(p []byte) (nn int, err error) {
234 d.Write(tmp[0 : 56-len%64])
236 d.Write(tmp[0 : 64+56-len%64])
244 d.Write(tmp[0:8])
270 d.Write(data)
279 d.Write(data)
  /prebuilts/go/darwin-x86/src/crypto/tls/
prf.go 29 h.Write(seed)
35 h.Write(a)
36 h.Write(seed)
42 h.Write(a)
96 hashSHA1.Write(b[:i+1])
97 hashSHA1.Write(secret)
98 hashSHA1.Write(seed)
102 hashMD5.Write(secret)
103 hashMD5.Write(digest)
227 func (h *finishedHash) Write(msg []byte) (n int, err error)
    [all...]
tls_test.go 213 // This test is racy: it assumes that after a write to a
217 // increasing sleep in between our final write (via srv.Close
268 srv.Write([]byte("foobar"))
274 srv.Write([]byte("abcdef"))
452 _, err = tconn.Write([]byte("foo"))
454 t.Errorf("Write error = %v; want errConnClosed", err)
520 if _, err := conn.Write([]byte{0}); err != errShutdown {
729 // changeImplConn is a net.Conn which can change its Write and Close
737 func (w *changeImplConn) Write(p []byte) (n int, err error) {
741 return w.Conn.Write(p
    [all...]
  /prebuilts/go/darwin-x86/src/encoding/base32/
base32.go 193 func (e *encoder) Write(p []byte) (n int, err error) {
211 if _, e.err = e.w.Write(e.out[0:8]); e.err != nil {
225 if _, e.err = e.w.Write(e.out[0 : nn/5*8]); e.err != nil {
242 // It is an error to call Write after calling Close.
248 _, e.err = e.w.Write(e.out[0:8])
  /prebuilts/go/darwin-x86/src/encoding/base64/
base64.go 185 func (e *encoder) Write(p []byte) (n int, err error) {
203 if _, e.err = e.w.Write(e.out[:4]); e.err != nil {
217 if _, e.err = e.w.Write(e.out[0 : nn/3*4]); e.err != nil {
234 // It is an error to call Write after calling Close.
239 _, e.err = e.w.Write(e.out[:e.enc.EncodedLen(e.nbuf)])
  /prebuilts/go/darwin-x86/src/encoding/binary/
binary.go 252 // Write writes the binary representation of data into w.
260 func Write(w io.Writer, order ByteOrder, data interface{}) error {
354 _, err := w.Write(bs)
362 return errors.New("binary.Write: invalid type " + reflect.TypeOf(data).String())
367 _, err := w.Write(buf)
371 // Size returns how many bytes Write would generate to encode the value v, which
661 // It returns zero if the type cannot be implemented by the fast path in Read or Write.
  /prebuilts/go/darwin-x86/src/go/printer/
printer_test.go 614 func (l *limitWriter) Write(buf []byte) (n int, err error) {
  /prebuilts/go/darwin-x86/src/hash/crc32/
crc32.go 224 func (d *digest) Write(p []byte) (n int, err error) {
  /prebuilts/go/darwin-x86/src/io/
io_test.go 101 // It's preferable to choose WriterTo over ReaderFrom, since a WriterTo can issue one large write,
128 func (w errWriter) Write([]byte) (int, error) {
133 // the subsequent Write also results in an error, the error from Write
202 func (w *noReadFrom) Write(p []byte) (n int, err error) {
203 return w.w.Write(p)
282 rb.Write([]byte("0123"))
309 rb.Write([]byte("4"))
  /prebuilts/go/darwin-x86/src/os/exec/
exec.go 107 // be compared with ==, at most one goroutine at a time will call Write.
276 pr.Close() // in case io.Copy stopped due to write error
622 suffixOff int // offset to write into suffix
632 func (w *prefixSuffixSaver) Write(p []byte) (n int, err error) {
676 buf.Write(w.prefix)
680 buf.Write(w.suffix[w.suffixOff:])
681 buf.Write(w.suffix[:w.suffixOff])
exec_test.go 199 _, err = stdin.Write([]byte("O:I am output\n"))
200 check("first stdin Write", err)
205 _, err = stdin.Write([]byte("E:I am error\n"))
206 check("second stdin Write", err)
211 _, err = stdin.Write([]byte("O:I am output2\n"))
212 check("third stdin Write 3", err)
456 // the FD of the write end of the Stderr pipe (as obtained by
585 _, err = tf.Write([]byte(text))
587 t.Fatalf("Write: %v", err)
734 os.Stdout.Write(line
    [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/darwin-x86/src/runtime/pprof/internal/profile/
profile.go 217 // Write writes the profile as a gzip-compressed marshaled protobuf.
218 func (p *Profile) Write(w io.Writer) error {
223 _, err := zw.Write(b)
  /prebuilts/go/darwin-x86/src/strings/
replace_test.go 335 func (errWriter) Write(p []byte) (n int, err error) {
  /prebuilts/go/darwin-x86/src/syscall/
fd_nacl.go 36 write([]byte) (int, error)
43 // with active operations such as blocked read or write calls.
168 func Write(fd int, b []byte) (int, error) {
177 return f.impl.write(b)
211 func (*defaultFileImpl) write([]byte) (int, error) { return 0, ENOSYS } func
237 func (f *naclFile) write(b []byte) (int, error) { func
273 return f.prw(b, offset, f.write)
311 func (f *pipeFile) write(b []byte) (int, error) { func
315 n, err := f.wr.write(b, 0)
  /prebuilts/go/darwin-x86/src/text/tabwriter/
tabwriter.go 5 // Package tabwriter implements a write filter (tabwriter.Writer) that
90 // call Flush when done calling Write.
230 n, err := b.output.Write(buf)
313 // last buffered line - we don't have a newline, so just write
318 // not the last line - write newline
390 b.buf.Write(text)
462 // Flush should be called after the last call to Write to ensure
490 // Write writes buf to the writer b.
494 func (b *Writer) Write(buf []byte) (n int, err error) {
495 defer handlePanic(&err, "Write")
    [all...]
  /prebuilts/go/darwin-x86/src/vendor/golang_org/x/text/transform/
transform.go 233 // Write implements the io.Writer interface. If there are not enough
235 // for the next write. Call Close to convert the remaining bytes.
236 func (w *Writer) Write(data []byte) (n int, err error) {
247 if _, werr := w.w.Write(w.dst[:nDst]); werr != nil {
302 if _, werr := w.w.Write(w.dst[:nDst]); werr != nil {
346 // chain.link[i+1].b at write offset chain.link[i+1].n, for i in [0, N).
  /prebuilts/go/linux-x86/misc/ios/
go_darwin_arm_exec.go 232 os.Stdout.Write(b)
409 func (w *buf) Write(in []byte) (n int, err error) {
500 os.Stderr.Write(out)
  /prebuilts/go/linux-x86/src/archive/zip/
zip_test.go 137 func (r *rleBuffer) Write(p []byte) (n int, err error) {
204 b.Write([]byte(w))
230 func (fakeHash32) Write(p []byte) (int, error) { return len(p), nil }
379 func (ss *suffixSaver) Write(p []byte) (n int, err error) {
511 // write size bytes plus "END\n" to a zip file
527 _, err := f.Write(chunk)
529 t.Fatal("write chunk:", err)
533 _, err := f.Write(chunk[:frag])
535 t.Fatal("write chunk:", err)
539 _, err = f.Write(end
    [all...]
  /prebuilts/go/linux-x86/src/cmd/internal/test2json/
test2json.go 113 part: c.output.write,
124 // Write writes the test input to the converter.
125 func (c *converter) Write(b []byte) (int, error) {
126 c.input.write(b)
154 // It must write the line to c.output but may choose to do so
160 c.output.write(line)
207 c.output.write(origLine)
236 c.output.write(origLine)
244 c.output.write(origLine)
253 // For a pause, we want to write the pause notification befor
341 func (l *lineBuffer) write(b []byte) { func
    [all...]
  /prebuilts/go/linux-x86/src/cmd/vendor/github.com/google/pprof/profile/
profile.go 315 // Write writes the profile as a gzip-compressed marshaled protobuf.
316 func (p *Profile) Write(w io.Writer) error {
319 _, err := zw.Write(serialize(p))
325 _, err := w.Write(serialize(p))

Completed in 921 milliseconds

<<11121314151617181920>>