Lines Matching refs:dictlen
788 static bool zlib_create_dictionary_string(HashTable *options, char **dict, size_t *dictlen) { in zlib_create_dictionary_string() argument
798 *dictlen = ZSTR_LEN(str); in zlib_create_dictionary_string()
818 *dictlen += ZSTR_LEN(string) + 1; in zlib_create_dictionary_string()
832 char *dictptr = emalloc(*dictlen); in zlib_create_dictionary_string()
864 size_t dictlen = 0; in PHP_FUNCTION() local
880 if (!zlib_create_dictionary_string(options, &dict, &dictlen)) { in PHP_FUNCTION()
900 ctx->inflateDictlen = dictlen; in PHP_FUNCTION()
915 if (encoding == PHP_ZLIB_ENCODING_RAW && dictlen > 0) { in PHP_FUNCTION()
1082 size_t dictlen = 0; in PHP_FUNCTION() local
1129 if (!zlib_create_dictionary_string(options, &dict, &dictlen)) { in PHP_FUNCTION()
1162 int success = deflateSetDictionary(&ctx->Z, (Bytef *) dict, dictlen); in PHP_FUNCTION()