Home
last modified time | relevance | path

Searched refs:NewReader (Results 1 – 25 of 25) sorted by relevance

/build/soong/third_party/zip/
Dandroid_test.go105 fromZipReader, err := NewReader(bytes.NewReader(fromZipBytes.Bytes()), int64(fromZipBytes.Len()))
126 toZipReader, err := NewReader(bytes.NewReader(toZipBytes.Bytes()), int64(toZipBytes.Len()))
201 r := bytes.NewReader(buf)
Dreader_test.go312 z, err = NewReader(rat, size)
457 _, err := NewReader(bytes.NewReader(b), size)
468 _, err = NewReader(bytes.NewReader(b), size)
480 return bytes.NewReader(data), int64(len(data))
549 return bytes.NewReader(b), int64(len(b))
712 r, err := NewReader(bytes.NewReader(b), int64(len(b)))
725 return bytes.NewReader(b), int64(len(b))
743 err := readDirectoryHeader(&f, strings.NewReader(s))
767 z, err := NewReader(bytes.NewReader(data), int64(len(data)))
794 _, err := NewReader(bytes.NewReader(data), int64(len(data)))
[all …]
Dwriter_test.go81 r, err := NewReader(bytes.NewReader(buf.Bytes()), int64(buf.Len()))
116 r, err := NewReader(bytes.NewReader(buf.Bytes()), int64(buf.Len()))
Dregister.go74 fr = flate.NewReader(r)
Dreader.go70 func NewReader(r io.ReaderAt, size int64) (*Reader, error) { func
93 buf := bufio.NewReader(rs)
/build/soong/cmd/zip2zip/
Dzip2zip_test.go434 inputReader, err := zip.NewReader(bytes.NewReader(inputBytes), int64(len(inputBytes)))
448 outputReader, err := zip.NewReader(bytes.NewReader(outputBytes), int64(len(outputBytes)))
/build/blueprint/bootstrap/bpdoc/
Dreader_test.go136 r := NewReader(pkgFiles)
155 r := NewReader(pkgFiles)
175 r := NewReader(pkgFiles)
Dreader.go41 func NewReader(pkgFiles map[string][]string) *Reader { func
Dbpdoc.go68 r := NewReader(pkgFiles)
/build/soong/cmd/diff_target_files/
Dallow_list_test.go38 r, err := zip.NewReader(bytes.NewReader(buf.Bytes()), int64(buf.Len()))
Dallow_list.go216 r: bufio.NewReader(r),
/build/soong/symbol_inject/
Dsymbol_inject_test.go49 in := bytes.NewReader([]byte(s))
/build/soong/cmd/merge_zips/
Dmerge_zips_test.go311 r := bytes.NewReader(b)
313 zr, err := zip.NewReader(r, int64(len(b)))
322 r := bytes.NewReader(buf)
323 zr, err := zip.NewReader(r, int64(len(buf)))
/build/blueprint/parser/
Dmodify_test.go59 patchlist.Apply(bytes.NewReader(in), buf)
/build/soong/ui/build/
Denvironment_test.go77 err := initial.appendFromKati(strings.NewReader(testKatiEnvFileContents))
/build/soong/zip/
Dzip_test.go470 br := bytes.NewReader(buf.Bytes())
471 zr, err := zip.NewReader(br, int64(br.Len()))
569 br := bytes.NewReader(buf.Bytes())
570 zr, err := zip.NewReader(br, int64(br.Len()))
Dzip.go707 reader := &byteReaderCloser{bytes.NewReader(buf), ioutil.NopCloser(nil)}
903 futureReader <- bytes.NewReader(buf)
912 futureReader <- bytes.NewReader(buf)
/build/blueprint/gotestrunner/
Dgotestrunner.go39 reader := bufio.NewReader(stdout)
/build/blueprint/bpmodify/
Dbpmodify_test.go305 inAst, errs := parser.ParseAndEval("", strings.NewReader(testCase.input), parser.NewScope(nil))
/build/soong/cmd/javac_wrapper/
Djavac_wrapper_test.go100 err := proc.process(bytes.NewReader([]byte(test.in)), buf)
/build/soong/ui/status/
Dninja.go106 r := bufio.NewReader(f)
/build/blueprint/pathtools/
Dfs.go281 bytes.NewReader(f),
/build/soong/finder/fs/
Dfs.go373 bytes.NewReader(file.bytes),
/build/blueprint/
Dmodule_ctx.go1390 file, errs := parser.Parse(filename, strings.NewReader(contents), scope)
/build/soong/finder/
Dfinder.go850 bufferedReader := bufio.NewReader(reader)