Home
last modified time | relevance | path

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

12

/build/soong/cmd/extract_jar_packages/
Dextract_jar_packages.go61 reader, err := zip.OpenReader(*inputFile)
65 defer reader.Close()
67 for _, f := range reader.File {
/build/make/tools/
Dmk2bp_partition.py71 reader = csv.reader(csvfile, delimiter=",", quotechar='"')
73 next(reader, None)
74 for row in reader:
Dsoong_to_convert.py73 def process(reader): argument
81 for (module, module_type, problem, dependencies, makefiles, installed) in reader:
117 results = process(csv.reader(csvfile))
Dmk2bp_catalog.py200 def __init__(self, reader): argument
213 for (module, module_type, problem, dependencies, makefiles, installed) in reader:
360 soong = SoongData(csv.reader(csvfile))
/build/soong/scripts/hiddenapi/
Dverify_overlaps.py38 reader = dict_reader(stream)
39 for row in reader:
89 reader = dict_reader(stream)
90 for row in reader:
Dmerge_csv.py80 for reader in csv_readers:
81 for fieldname in reader.fieldnames:
/build/blueprint/gotestrunner/
Dgotestrunner.go39 reader := bufio.NewReader(stdout)
42 buf, _ := reader.Peek(6)
47 io.Copy(os.Stdout, reader)
/build/make/tools/product_config/src/com/android/build/config/
DKatiCommandImpl.java45 final InputStreamReader reader = new InputStreamReader(mStream, StandardCharsets.UTF_8); in run() local
48 while ((amt = reader.read(buf, 0, buf.length)) >= 0) { in run()
55 reader.close(); in run()
DKatiImpl.java90 try (FileReader reader = new FileReader(csvPath)) { in loadProductConfig() argument
91 Map<String, MakeConfig> makeConfigs = DumpConfigParser.parse(mErrors, csvPath, reader); in loadProductConfig()
DDumpConfigParser.java60 private DumpConfigParser(Errors errors, String filename, Reader reader) { in DumpConfigParser() argument
63 mReader = reader; in DumpConfigParser()
69 public static Map<String,MakeConfig> parse(Errors errors, String filename, Reader reader) in parse() argument
71 DumpConfigParser parser = new DumpConfigParser(errors, filename, reader); in parse()
DCsvParser.java110 public static List<Line> parse(Reader reader) in parse() argument
122 int c = reader.read(); in parse()
/build/soong/cmd/zip2zip/
Dzip2zip.go80 reader, err := zip.OpenReader(*input)
84 defer reader.Close()
100 if err := zip2zip(&reader.Reader, writer, *sortGlobs, *sortJava, *setTime,
113 func zip2zip(reader *zip.Reader, writer *zip.Writer, sortOutput, sortJava, setTime bool,
141 for _, file := range reader.File {
173 for _, file := range reader.File {
/build/soong/cmd/merge_zips/
Dmerge_zips_test.go57 reader *zip.Reader member
65 if tiz.reader == nil {
66 tiz.reader = testZipEntriesToZipReader(tiz.entries)
72 tiz.reader = nil
77 if tiz.reader == nil {
80 return tiz.reader.File
84 return tiz.reader != nil
Dmerge_zips.go640 reader *zip.ReadCloser member
649 reader := fiz.reader
650 fiz.reader = nil
651 return reader.Close()
660 return fiz.reader.File
664 return fiz.reader != nil
672 if fiz.reader, err = zip.OpenReader(fiz.Name()); err != nil {
/build/soong/bloaty/
Dbloaty_merger.py68 reader = ninja_rsp.NinjaRspFileReader(input_list)
69 for csv_path in reader:
/build/soong/cmd/zipsync/
Dzipsync.go96 reader, err := zip.OpenReader(input)
100 defer reader.Close()
102 for _, f := range reader.File {
/build/soong/finder/fs/
Dtest.go73 reader, err := filesystem.Open(path)
77 defer reader.Close()
78 bytes, err := ioutil.ReadAll(reader)
/build/soong/cmd/extract_apks/
Dmain.go52 reader *zip.ReadCloser member
59 if apkSet.reader, err = zip.OpenReader(apkSet.path); err != nil {
62 for _, f := range apkSet.reader.File {
91 apkSet.reader.Close()
658 reader, err := zipEntry.Open()
662 defer reader.Close()
663 _, err = io.Copy(outFile, reader)
/build/soong/ui/build/
Denvironment.go160 func (e *Environment) appendFromKati(reader io.Reader) error {
161 scanner := bufio.NewScanner(reader)
/build/make/tools/product_config/
Dinherit_tree.py30 for line in csv.reader(csvfile):
/build/soong/zip/
Dzip.go556 case reader := <-currentReader:
557 _, err := io.Copy(currentWriter, reader)
707 reader := &byteReaderCloser{bytes.NewReader(buf), ioutil.NopCloser(nil)}
709 return z.writeFileContents(fh, reader)
869 readFile := func(reader io.ReadSeeker) ([]byte, error) {
870 _, err := reader.Seek(0, 0)
875 buf, err := ioutil.ReadAll(reader)
/build/soong/third_party/zip/
DAndroid.bp34 "reader.go",
/build/soong/finder/
Dfinder.go746 func (f *Finder) readLine(reader *bufio.Reader) ([]byte, error) {
747 return reader.ReadBytes(lineSeparator)
846 reader, err := f.filesystem.Open(dbPath)
850 defer reader.Close()
851 bufferedReader := bufio.NewReader(reader)
/build/blueprint/
DAndroid.bp164 "bootstrap/bpdoc/reader.go",
/build/make/tools/zipalign/
DZipFile.cpp1332 const FileReader reader(mZipFp); in uncompress() local
1334 if (zip_archive::Inflate(reader, clen, unlen, &writer, nullptr) != 0) { in uncompress()

12