HomeSort by relevance Sort by last modified time
    Searched refs:NewReader (Results 1 - 25 of 432) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /prebuilts/go/darwin-x86/src/compress/zlib/
example_test.go 28 b := bytes.NewReader(buff)
30 r, err := zlib.NewReader(b)
reader.go 20 r, err := zlib.NewReader(&b)
54 // Resetter resets a ReadCloser returned by NewReader or NewReaderDict to
63 // NewReader creates a new ReadCloser.
68 // The ReadCloser returned by NewReader also implements Resetter.
69 func NewReader(r io.Reader) (io.ReadCloser, error) {
73 // NewReaderDict is like NewReader but uses a preset dictionary.
116 // Calling Close does not close the wrapped io.Reader originally passed to NewReader.
129 z.r = bufio.NewReader(r)
154 z.decompressor = flate.NewReader(z.r)
  /prebuilts/go/linux-x86/src/compress/zlib/
example_test.go 28 b := bytes.NewReader(buff)
30 r, err := zlib.NewReader(b)
reader.go 20 r, err := zlib.NewReader(&b)
54 // Resetter resets a ReadCloser returned by NewReader or NewReaderDict to
63 // NewReader creates a new ReadCloser.
68 // The ReadCloser returned by NewReader also implements Resetter.
69 func NewReader(r io.Reader) (io.ReadCloser, error) {
73 // NewReaderDict is like NewReader but uses a preset dictionary.
116 // Calling Close does not close the wrapped io.Reader originally passed to NewReader.
129 z.r = bufio.NewReader(r)
154 z.decompressor = flate.NewReader(z.r)
  /prebuilts/go/darwin-x86/src/net/http/
transfer_test.go 16 src: strings.NewReader("foobar"),
18 r: bufio.NewReader(strings.NewReader("")),
41 res, err := ReadResponse(bufio.NewReader(strings.NewReader(
responsewrite_test.go 29 Body: ioutil.NopCloser(strings.NewReader("abcdef")),
45 Body: ioutil.NopCloser(strings.NewReader("abcdef")),
60 Body: ioutil.NopCloser(strings.NewReader("abcdef")),
77 Body: ioutil.NopCloser(strings.NewReader("abcdef")),
95 Body: ioutil.NopCloser(strings.NewReader("abcdef")),
128 Body: ioutil.NopCloser(strings.NewReader("")),
144 Body: ioutil.NopCloser(strings.NewReader("foo")),
160 Body: ioutil.NopCloser(strings.NewReader("abcdef")),
221 Body: ioutil.NopCloser(strings.NewReader("abcdef")),
  /prebuilts/go/linux-x86/src/net/http/
transfer_test.go 16 src: strings.NewReader("foobar"),
18 r: bufio.NewReader(strings.NewReader("")),
41 res, err := ReadResponse(bufio.NewReader(strings.NewReader(
responsewrite_test.go 29 Body: ioutil.NopCloser(strings.NewReader("abcdef")),
45 Body: ioutil.NopCloser(strings.NewReader("abcdef")),
60 Body: ioutil.NopCloser(strings.NewReader("abcdef")),
77 Body: ioutil.NopCloser(strings.NewReader("abcdef")),
95 Body: ioutil.NopCloser(strings.NewReader("abcdef")),
128 Body: ioutil.NopCloser(strings.NewReader("")),
144 Body: ioutil.NopCloser(strings.NewReader("foo")),
160 Body: ioutil.NopCloser(strings.NewReader("abcdef")),
221 Body: ioutil.NopCloser(strings.NewReader("abcdef")),
  /prebuilts/go/darwin-x86/src/encoding/csv/
example_test.go 22 r := csv.NewReader(strings.NewReader(in))
51 r := csv.NewReader(strings.NewReader(in))
71 r := csv.NewReader(strings.NewReader(in))
  /prebuilts/go/linux-x86/src/encoding/csv/
example_test.go 22 r := csv.NewReader(strings.NewReader(in))
51 r := csv.NewReader(strings.NewReader(in))
71 r := csv.NewReader(strings.NewReader(in))
  /external/opencv/otherlibs/highgui/
grfmt_bmp.h 102 GrFmtReader* NewReader( const char* filename );
grfmt_imageio.h 54 GrFmtReader* NewReader( const char* filename );
grfmt_png.h 96 GrFmtReader* NewReader( const char* filename );
grfmt_pxm.h 97 GrFmtReader* NewReader( const char* filename );
grfmt_sunras.h 109 GrFmtReader* NewReader( const char* filename );
  /prebuilts/go/darwin-x86/test/bench/go1/
parser_test.go 26 r = strings.NewReader(parserbz2_base64)
28 r = bzip2.NewReader(r)
  /prebuilts/go/linux-x86/test/bench/go1/
parser_test.go 26 r = strings.NewReader(parserbz2_base64)
28 r = bzip2.NewReader(r)
  /prebuilts/go/darwin-x86/src/io/
multi_test.go 22 r1 := strings.NewReader("foo ")
23 r2 := strings.NewReader("")
24 r3 := strings.NewReader("bar")
70 source := strings.NewReader(sourceString)
93 slice := []Reader{strings.NewReader("hello world")}
  /prebuilts/go/linux-x86/src/io/
multi_test.go 22 r1 := strings.NewReader("foo ")
23 r2 := strings.NewReader("")
24 r3 := strings.NewReader("bar")
70 source := strings.NewReader(sourceString)
93 slice := []Reader{strings.NewReader("hello world")}
  /prebuilts/go/darwin-x86/src/compress/gzip/
gzip_test.go 23 r, err := NewReader(buf)
25 t.Fatalf("NewReader: %v", err)
56 r, err := NewReader(buf)
58 t.Fatalf("NewReader: %v", err)
88 z := Reader{r: bufio.NewReader(bytes.NewReader(latin1))}
140 r, err := NewReader(buf)
142 t.Errorf("NewReader: %v", err)
211 r, err := NewReader(&buf)
  /prebuilts/go/linux-x86/src/compress/gzip/
gzip_test.go 23 r, err := NewReader(buf)
25 t.Fatalf("NewReader: %v", err)
56 r, err := NewReader(buf)
58 t.Fatalf("NewReader: %v", err)
88 z := Reader{r: bufio.NewReader(bytes.NewReader(latin1))}
140 r, err := NewReader(buf)
142 t.Errorf("NewReader: %v", err)
211 r, err := NewReader(&buf)
  /prebuilts/go/darwin-x86/src/mime/multipart/
example_test.go 23 Body: strings.NewReader(
33 mr := multipart.NewReader(msg.Body, params["boundary"])
  /prebuilts/go/linux-x86/src/mime/multipart/
example_test.go 23 Body: strings.NewReader(
33 mr := multipart.NewReader(msg.Body, params["boundary"])
  /prebuilts/go/darwin-x86/src/encoding/binary/
varint_test.go 38 y, err := ReadVarint(bytes.NewReader(buf))
58 y, err := ReadUvarint(bytes.NewReader(buf))
117 x, err := ReadUvarint(bytes.NewReader(buf))
130 x, err := ReadUvarint(bytes.NewReader(buf))
  /prebuilts/go/darwin-x86/test/fixedbugs/
bug303.go 35 br := strings.NewReader("abcd")

Completed in 2819 milliseconds

1 2 3 4 5 6 7 8 91011>>