/prebuilts/go/linux-x86/src/math/big/ |
natconv_test.go | 78 x, b, _, err := nat(nil).scan(strings.NewReader(a.s), len(a.c), false) 148 r := strings.NewReader(a.s) 235 z, _, _, err := x.scan(strings.NewReader(pi), 10, false) 261 x.scan(strings.NewReader(pi), 10, false) 267 x, _, _, _ = x.scan(strings.NewReader(pi), 0, false) 315 z.scan(strings.NewReader(s), base, false)
|
/prebuilts/go/linux-x86/src/mime/quotedprintable/ |
reader_test.go | 68 _, err := io.Copy(&buf, NewReader(strings.NewReader(tt.in))) 119 _, err := io.Copy(&buf, NewReader(strings.NewReader(s))) 149 cmd.Stdin = strings.NewReader(s) 156 br := bufio.NewReader(stderr)
|
/prebuilts/go/darwin-x86/src/encoding/xml/ |
xml_test.go | 171 d := NewDecoder(strings.NewReader(testInput)) 226 d := NewDecoder(strings.NewReader(nonStrictInput)) 250 d := NewDecoder(strings.NewReader(testInputAltEncoding)) 261 d := NewDecoder(strings.NewReader(testInputAltEncoding)) 362 d := NewDecoder(strings.NewReader(nestedDirectivesInput)) 376 d := NewDecoder(strings.NewReader(testInput)) 392 d := NewDecoder(strings.NewReader(xmlInput[i])) 499 d := NewDecoder(strings.NewReader(data)) 525 d := NewDecoder(strings.NewReader(test[0])) 575 d := NewDecoder(strings.NewReader(testInput) [all...] |
/prebuilts/go/linux-x86/src/encoding/xml/ |
xml_test.go | 171 d := NewDecoder(strings.NewReader(testInput)) 226 d := NewDecoder(strings.NewReader(nonStrictInput)) 250 d := NewDecoder(strings.NewReader(testInputAltEncoding)) 261 d := NewDecoder(strings.NewReader(testInputAltEncoding)) 362 d := NewDecoder(strings.NewReader(nestedDirectivesInput)) 376 d := NewDecoder(strings.NewReader(testInput)) 392 d := NewDecoder(strings.NewReader(xmlInput[i])) 499 d := NewDecoder(strings.NewReader(data)) 525 d := NewDecoder(strings.NewReader(test[0])) 575 d := NewDecoder(strings.NewReader(testInput) [all...] |
/prebuilts/go/darwin-x86/src/archive/zip/ |
reader_test.go | 287 z, err = NewReader(rat, size) 418 _, err := NewReader(bytes.NewReader(b), size) 429 _, err = NewReader(bytes.NewReader(b), size) 441 return bytes.NewReader(data), int64(len(data)) 510 return bytes.NewReader(b), int64(len(b)) 528 err := readDirectoryHeader(&f, strings.NewReader(s)) 552 z, err := NewReader(bytes.NewReader(data), int64(len(data)) [all...] |
/prebuilts/go/linux-x86/src/archive/zip/ |
reader_test.go | 287 z, err = NewReader(rat, size) 418 _, err := NewReader(bytes.NewReader(b), size) 429 _, err = NewReader(bytes.NewReader(b), size) 441 return bytes.NewReader(data), int64(len(data)) 510 return bytes.NewReader(b), int64(len(b)) 528 err := readDirectoryHeader(&f, strings.NewReader(s)) 552 z, err := NewReader(bytes.NewReader(data), int64(len(data)) [all...] |
/prebuilts/go/darwin-x86/src/compress/gzip/ |
gunzip.go | 34 return bufio.NewReader(r) 80 // NewReader creates a new Reader reading the given reader. 84 func NewReader(r io.Reader) (*Reader, error) { 96 // result of its original state from NewReader, but reading from r instead. 235 z.decompressor = flate.NewReader(z.r)
|
/prebuilts/go/linux-x86/src/compress/gzip/ |
gunzip.go | 34 return bufio.NewReader(r) 80 // NewReader creates a new Reader reading the given reader. 84 func NewReader(r io.Reader) (*Reader, error) { 96 // result of its original state from NewReader, but reading from r instead. 235 z.decompressor = flate.NewReader(z.r)
|
/prebuilts/go/darwin-x86/src/compress/flate/ |
flate_test.go | 61 f.r = bytes.NewReader([]byte{0xff}) 244 data, err = ioutil.ReadAll(NewReader(bytes.NewReader(data)))
|
/prebuilts/go/darwin-x86/src/encoding/ascii85/ |
ascii85_test.go | 119 decoder := NewDecoder(strings.NewReader(p.encoded)) 134 decoder := NewDecoder(strings.NewReader(bigtest.encoded)) 203 decoded, err := ioutil.ReadAll(NewDecoder(strings.NewReader(s)))
|
/prebuilts/go/darwin-x86/src/encoding/json/ |
example_test.go | 68 dec := json.NewDecoder(strings.NewReader(jsonStream)) 91 dec := json.NewDecoder(strings.NewReader(jsonStream)) 137 dec := json.NewDecoder(strings.NewReader(jsonStream))
|
/prebuilts/go/linux-x86/src/compress/flate/ |
flate_test.go | 61 f.r = bytes.NewReader([]byte{0xff}) 244 data, err = ioutil.ReadAll(NewReader(bytes.NewReader(data)))
|
/prebuilts/go/linux-x86/src/encoding/ascii85/ |
ascii85_test.go | 119 decoder := NewDecoder(strings.NewReader(p.encoded)) 134 decoder := NewDecoder(strings.NewReader(bigtest.encoded)) 203 decoded, err := ioutil.ReadAll(NewDecoder(strings.NewReader(s)))
|
/prebuilts/go/linux-x86/src/encoding/json/ |
example_test.go | 68 dec := json.NewDecoder(strings.NewReader(jsonStream)) 91 dec := json.NewDecoder(strings.NewReader(jsonStream)) 137 dec := json.NewDecoder(strings.NewReader(jsonStream))
|
/prebuilts/go/darwin-x86/src/bytes/ |
reader.go | 149 // NewReader returns a new Reader reading from b. 150 func NewReader(b []byte) *Reader { return &Reader{b, 0, -1} }
|
/prebuilts/go/darwin-x86/src/cmd/yacc/testdata/expr/ |
expr.y | 187 in := bufio.NewReader(os.Stdin)
|
/prebuilts/go/darwin-x86/src/image/ |
decode_test.go | 50 return image.Decode(bufio.NewReader(f)) 59 return image.DecodeConfig(bufio.NewReader(f))
|
/prebuilts/go/darwin-x86/src/strings/ |
reader.go | 148 // NewReader returns a new Reader reading from s. 150 func NewReader(s string) *Reader { return &Reader{s, 0, -1} }
|
/prebuilts/go/darwin-x86/src/text/scanner/ |
scanner_test.go | 362 s := new(Scanner).Init(strings.NewReader(src)) 385 s := new(Scanner).Init(strings.NewReader(BOMs + "if a == bcd /* com" + BOMs + "ment */ {\n\ta += c\n}" + BOMs + "// line comment ending in eof")) 427 s := new(Scanner).Init(strings.NewReader(src)) 543 s := new(Scanner).Init(strings.NewReader("")) 549 s = new(Scanner).Init(strings.NewReader("\n")) 561 s = new(Scanner).Init(strings.NewReader("?")) 573 s = new(Scanner).Init(strings.NewReader(" foo?? \n\n??\n")) 598 s = new(Scanner).Init(strings.NewReader("abc\n??\n\nx"))
|
/prebuilts/go/linux-x86/src/bytes/ |
reader.go | 149 // NewReader returns a new Reader reading from b. 150 func NewReader(b []byte) *Reader { return &Reader{b, 0, -1} }
|
/prebuilts/go/linux-x86/src/cmd/yacc/testdata/expr/ |
expr.y | 187 in := bufio.NewReader(os.Stdin)
|
/prebuilts/go/linux-x86/src/image/ |
decode_test.go | 50 return image.Decode(bufio.NewReader(f)) 59 return image.DecodeConfig(bufio.NewReader(f))
|
/prebuilts/go/linux-x86/src/strings/ |
reader.go | 148 // NewReader returns a new Reader reading from s. 150 func NewReader(s string) *Reader { return &Reader{s, 0, -1} }
|
/prebuilts/go/linux-x86/src/text/scanner/ |
scanner_test.go | 362 s := new(Scanner).Init(strings.NewReader(src)) 385 s := new(Scanner).Init(strings.NewReader(BOMs + "if a == bcd /* com" + BOMs + "ment */ {\n\ta += c\n}" + BOMs + "// line comment ending in eof")) 427 s := new(Scanner).Init(strings.NewReader(src)) 543 s := new(Scanner).Init(strings.NewReader("")) 549 s = new(Scanner).Init(strings.NewReader("\n")) 561 s = new(Scanner).Init(strings.NewReader("?")) 573 s = new(Scanner).Init(strings.NewReader(" foo?? \n\n??\n")) 598 s = new(Scanner).Init(strings.NewReader("abc\n??\n\nx"))
|
/prebuilts/go/darwin-x86/doc/articles/wiki/ |
get.go | 45 b := strings.NewReader(*post)
|