Lines Matching full:strategy
213 // Does not throw if opts.strategy is valid
214 new zlib.Deflate({ strategy: zlib.constants.Z_FILTERED }); property
215 new zlib.Deflate({ strategy: zlib.constants.Z_HUFFMAN_ONLY }); property
216 new zlib.Deflate({ strategy: zlib.constants.Z_RLE }); property
217 new zlib.Deflate({ strategy: zlib.constants.Z_FIXED }); property
218 new zlib.Deflate({ strategy: zlib.constants.Z_DEFAULT_STRATEGY }); property
220 // Throws if options.strategy is invalid
222 () => new zlib.Deflate({ strategy: 'test' }), property
226 message: 'The "options.strategy" property must be of type number. ' +
232 () => new zlib.Deflate({ strategy: -Infinity }), property
236 message: 'The value of "options.strategy" is out of range. It must ' +
242 () => new zlib.Deflate({ strategy: Infinity }), property
246 message: 'The value of "options.strategy" is out of range. It must ' +
252 () => new zlib.Deflate({ strategy: -2 }), property
256 message: 'The value of "options.strategy" is out of range. It must ' +
261 // Throws TypeError if `strategy` is invalid in `Deflate.prototype.params()`
267 message: 'The "strategy" argument must be of type number. ' +
277 message: 'The value of "strategy" is out of range. It must ' +
287 message: 'The value of "strategy" is out of range. It must ' +
297 message: 'The value of "strategy" is out of range. It must ' +