Lines Matching refs:convmap

3926 	uint32_t *convmap = (uint32_t*)safe_emalloc(n_elems, sizeof(uint32_t), 0);  in make_conversion_map()  local
3927 uint32_t *mapelm = convmap; in make_conversion_map()
3933 efree(convmap); in make_conversion_map()
3940 return convmap; in make_conversion_map()
3943 static bool html_numeric_entity_convert(uint32_t w, uint32_t *convmap, size_t conversion_map_size, … in html_numeric_entity_convert() argument
3945 uint32_t *convmap_end = convmap + conversion_map_size; in html_numeric_entity_convert()
3947 for (uint32_t *mapelm = convmap; mapelm < convmap_end; mapelm += 4) { in html_numeric_entity_convert()
3965 …tity_encode(zend_string *input, const mbfl_encoding *encoding, uint32_t *convmap, size_t conversio… in html_numeric_entity_encode() argument
3990 if (html_numeric_entity_convert(w, convmap, conversion_map_size, &w)) { in html_numeric_entity_encode()
4052 uint32_t *convmap = make_conversion_map(target_hash, &conversion_map_size); in PHP_FUNCTION() local
4053 if (convmap == NULL) { in PHP_FUNCTION()
4057 RETVAL_STR(html_numeric_entity_encode(str, enc, convmap, conversion_map_size, is_hex)); in PHP_FUNCTION()
4058 efree(convmap); in PHP_FUNCTION()
4062 static bool html_numeric_entity_deconvert(uint32_t number, uint32_t *convmap, size_t conversion_map… in html_numeric_entity_deconvert() argument
4064 uint32_t *convmap_end = convmap + conversion_map_size; in html_numeric_entity_deconvert()
4066 for (uint32_t *mapelm = convmap; mapelm < convmap_end; mapelm += 4) { in html_numeric_entity_deconvert()
4085 …tity_decode(zend_string *input, const mbfl_encoding *encoding, uint32_t *convmap, size_t conversio… in html_numeric_entity_decode() argument
4179 if (html_numeric_entity_deconvert(value, convmap, conversion_map_size, converted)) { in html_numeric_entity_decode()
4217 if (html_numeric_entity_deconvert(value, convmap, conversion_map_size, converted)) { in html_numeric_entity_decode()
4282 uint32_t *convmap = make_conversion_map(target_hash, &conversion_map_size); in PHP_FUNCTION() local
4283 if (convmap == NULL) { in PHP_FUNCTION()
4287 RETVAL_STR(html_numeric_entity_decode(str, enc, convmap, conversion_map_size)); in PHP_FUNCTION()
4288 efree(convmap); in PHP_FUNCTION()