Searched refs:cw (Results 1 – 2 of 2) sorted by relevance
/build/soong/third_party/zip/ |
D | writer.go | 20 cw *countWriter member 34 return &Writer{cw: &countWriter{w: bufio.NewWriter(w)}} 42 if w.cw.count != 0 { 45 w.cw.count = n 51 return w.cw.w.(*bufio.Writer).Flush() 69 start := w.cw.count 111 if _, err := w.cw.Write(buf[:]); err != nil { 114 if _, err := io.WriteString(w.cw, h.Name); err != nil { 117 if _, err := w.cw.Write(h.Extra); err != nil { 120 if _, err := io.WriteString(w.cw, h.Comment); err != nil { [all …]
|
D | android.go | 43 offset: uint64(w.cw.count), 56 if err := writeHeader(w.cw, fh); err != nil { 63 io.Copy(w.cw, io.NewSectionReader(orig.zipr, dataOffset, int64(orig.CompressedSize64))) 83 _, err = w.cw.Write(buf) 149 zipw: w.cw, 150 compCount: &countWriter{w: w.cw}, 156 offset: uint64(w.cw.count), 161 if err := writeHeader(w.cw, fh); err != nil {
|