Home | History | Annotate | Download | only in Modules

Lines Matching defs:max_length

514 "decompress(data, max_length) -- Return a string containing the decompressed\n"

520 "If the max_length parameter is specified then the return value will be\n"
521 "no longer than max_length. Unconsumed input data will be stored in\n"
527 int err, inplen, max_length = 0;
534 &inplen, &max_length))
536 if (max_length < 0) {
538 "max_length
542 /* limit amount of data allocated to max_length */
543 if (max_length && length > max_length)
544 length = max_length;
564 /* If max_length set, don't continue decompressing if we've already
567 if (max_length && length >= max_length)
573 if (max_length && length > max_length)
574 length = max_length;