Lines Matching refs:dict
756 static zend_bool zlib_create_dictionary_string(HashTable *options, char **dict, size_t *dictlen) { in zlib_create_dictionary_string() argument
764 *dict = emalloc(ZSTR_LEN(str)); in zlib_create_dictionary_string()
765 memcpy(*dict, ZSTR_VAL(str), ZSTR_LEN(str)); in zlib_create_dictionary_string()
807 dictptr = *dict = emalloc(*dictlen); in zlib_create_dictionary_string()
835 char *dict = NULL; in PHP_FUNCTION() local
852 if (!zlib_create_dictionary_string(options, &dict, &dictlen)) { in PHP_FUNCTION()
869 ((php_zlib_context *) ctx)->inflateDict = dict; in PHP_FUNCTION()
1071 char *dict = NULL; in PHP_FUNCTION() local
1119 if (!zlib_create_dictionary_string(options, &dict, &dictlen)) { in PHP_FUNCTION()
1145 if (dict) { in PHP_FUNCTION()
1146 int success = deflateSetDictionary(ctx, (Bytef *) dict, dictlen); in PHP_FUNCTION()
1148 efree(dict); in PHP_FUNCTION()