Searched refs:NewReader (Results 1 – 25 of 62) sorted by relevance
123
/external/brotli/go/cbrotli/ |
D | cbrotli_test.go | 74 in := bytes.NewReader([]byte(input)) 101 in := bytes.NewReader(halfInput) 126 in := bytes.NewReader(input) 148 in := bytes.NewReader(input) 160 reader := NewReader(bytes.NewReader(out.Bytes())) 203 reader := readerWithTimeout{NewReader(pr)} 260 r := NewReader(bytes.NewReader(encoded))
|
D | reader.go | 65 func NewReader(src io.Reader) *Reader { func 154 src: bytes.NewReader(nil),
|
/external/golang-protobuf/descriptor/ |
D | descriptor.go | 51 r, err := gzip.NewReader(bytes.NewReader(gz))
|
/external/syzkaller/pkg/vcs/ |
D | vcs.go | 98 cmd.Stdin = bytes.NewReader(patch) 107 cmd.Stdin = bytes.NewReader(patch) 119 cmd.Stdin = bytes.NewReader(patch)
|
/external/boringssl/src/util/ |
D | read_symbols.go | 174 f, err := elf.NewFile(bytes.NewReader(contents)) 194 f, err := macho.NewFile(bytes.NewReader(contents)) 228 f, err := pe.NewFile(bytes.NewReader(contents))
|
/external/syzkaller/pkg/csource/ |
D | build.go | 58 cmd.Stdin = bytes.NewReader(src) 76 cmd.Stdin = bytes.NewReader(src)
|
D | common.go | 33 cmd.Stdin = strings.NewReader(commonHeader)
|
/external/syzkaller/pkg/report/ |
D | akaros.go | 48 s := bufio.NewScanner(bytes.NewReader(rep.Report)) 95 for s := bufio.NewScanner(bytes.NewReader(report)); s.Scan(); {
|
/external/syzkaller/pkg/email/ |
D | reply.go | 13 s := bufio.NewScanner(strings.NewReader(email))
|
D | patch.go | 13 s := bufio.NewScanner(strings.NewReader(text))
|
D | parser.go | 263 r = quotedprintable.NewReader(r) 287 mr := multipart.NewReader(r, params["boundary"])
|
/external/syzkaller/pkg/hash/ |
D | hash.go | 38 if err := binary.Read(bytes.NewReader((*sig)[:]), binary.LittleEndian, &v); err != nil {
|
/external/protobuf/examples/ |
D | add_person_test.go | 25 got, err := promptForAddress(strings.NewReader(in))
|
D | add_person.go | 20 rd := bufio.NewReader(r)
|
/external/syzkaller/vendor/google.golang.org/grpc/ |
D | rpc_util.go | 130 newZ, err := gzip.NewReader(r) 594 d, err = dc.Do(bytes.NewReader(d)) 599 dcReader, err := compressor.Decompress(bytes.NewReader(d))
|
D | proxy.go | 89 r := bufio.NewReader(conn)
|
/external/golang-protobuf/jsonpb/ |
D | jsonpb_test.go | 610 err = Unmarshal(strings.NewReader(js), &msg) 853 err := tt.unmarshaler.Unmarshal(strings.NewReader(tt.json), p) 994 err = u.Unmarshal(bytes.NewReader([]byte(js)), roundTrip) 1011 if err := Unmarshal(strings.NewReader(rawJson), &msg); err != nil { 1022 if err := Unmarshal(strings.NewReader(rawJson), &ptrFieldMsg); err != nil { 1035 if err := Unmarshal(strings.NewReader(rawJson), &got); err != nil {
|
/external/syzkaller/pkg/db/ |
D | db.go | 47 db.Version, db.Records, db.uncompacted = deserializeDB(bufio.NewReader(f)) 258 fr := flate.NewReader(&io.LimitedReader{R: r, N: int64(valLen)})
|
/external/syzkaller/vendor/google.golang.org/api/gensupport/ |
D | buffer.go | 37 return bytes.NewReader(mb.chunk), mb.off, len(mb.chunk), mb.err
|
/external/syzkaller/vendor/golang.org/x/net/context/ctxhttp/ |
D | ctxhttp.go | 73 …return Post(ctx, client, url, "application/x-www-form-urlencoded", strings.NewReader(data.Encode()…
|
D | ctxhttp_pre17.go | 121 …return Post(ctx, client, url, "application/x-www-form-urlencoded", strings.NewReader(data.Encode()…
|
/external/tensorflow/tensorflow/go/ |
D | tensor.go | 175 if err := decodeTensor(bytes.NewReader(raw), t.Shape(), typ, val); err != nil { 180 …d := stringDecoder{offsets: bytes.NewReader(raw[0 : 8*nflattened]), data: raw[8*nflattened:], stat… 200 return io.Copy(w, bytes.NewReader(tensorData(t.c)))
|
/external/boringssl/src/util/fipstools/ |
D | break-hash.go | 37 object, err := elf.NewFile(bytes.NewReader(objectBytes))
|
/external/syzkaller/pkg/gcs/ |
D | gcs.go | 36 return file.handle.NewReader(file.ctx)
|
/external/syzkaller/pkg/ast/ |
D | test_util.go | 37 s := bufio.NewScanner(bytes.NewReader(data))
|
123