Lines Matching refs:comp
235 comp := w.compressor(fh.Method)
236 if comp == nil {
240 fw.comp, err = comp(fw.compCount)
244 fw.rawCount = &countWriter{w: fw.comp}
311 func (w *Writer) RegisterCompressor(method uint16, comp Compressor) {
315 w.compressors[method] = comp
319 comp := w.compressors[method]
320 if comp == nil {
321 comp = compressor(method)
323 return comp
330 comp io.WriteCloser member
351 if err := w.comp.Close(); err != nil {