Home | History | Annotate | Download | only in zlib

Lines Matching full:nil

43 	z, _ := NewWriterLevelDict(w, DefaultCompression, nil)
52 // returned will be nil if the level is valid.
54 return NewWriterLevelDict(w, level, nil)
60 // The dictionary may be nil. If not, its contents should not be modified until
64 return nil, fmt.Errorf("zlib: invalid compression level: %d", level)
70 }, nil
79 if z.compressor != nil {
82 if z.digest != nil {
85 z.err = nil
113 if z.dict != nil {
117 if _, err = z.w.Write(z.scratch[0:2]); err != nil {
120 if z.dict != nil {
127 if _, err = z.w.Write(z.scratch[0:4]); err != nil {
131 if z.compressor == nil {
135 if err != nil {
140 return nil
150 if z.err != nil {
154 return 0, nil
157 if err != nil {
170 if z.err != nil {
183 if z.err != nil {
187 if z.err != nil {