Lines Matching refs:comp
242 comp := w.compressor(fh.Method)
243 if comp == nil {
247 fw.comp, err = comp(fw.compCount)
251 fw.rawCount = &countWriter{w: fw.comp}
330 func (w *Writer) RegisterCompressor(method uint16, comp Compressor) {
334 w.compressors[method] = comp
338 comp := w.compressors[method]
339 if comp == nil {
340 comp = compressor(method)
342 return comp
349 comp io.WriteCloser member
370 if err := w.comp.Close(); err != nil {