Lines Matching refs:convmap

3901 	uint32_t *convmap = (uint32_t*)safe_emalloc(n_elems, sizeof(uint32_t), 0);  in make_conversion_map()  local
3902 uint32_t *mapelm = convmap; in make_conversion_map()
3908 efree(convmap); in make_conversion_map()
3915 return convmap; in make_conversion_map()
3918 static bool html_numeric_entity_convert(uint32_t w, uint32_t *convmap, size_t conversion_map_size, … in html_numeric_entity_convert() argument
3920 uint32_t *convmap_end = convmap + conversion_map_size; in html_numeric_entity_convert()
3922 for (uint32_t *mapelm = convmap; mapelm < convmap_end; mapelm += 4) { in html_numeric_entity_convert()
3940 …tity_encode(zend_string *input, const mbfl_encoding *encoding, uint32_t *convmap, size_t conversio… in html_numeric_entity_encode() argument
3965 if (html_numeric_entity_convert(w, convmap, conversion_map_size, &w)) { in html_numeric_entity_encode()
4027 uint32_t *convmap = make_conversion_map(target_hash, &conversion_map_size); in PHP_FUNCTION() local
4028 if (convmap == NULL) { in PHP_FUNCTION()
4032 RETVAL_STR(html_numeric_entity_encode(str, enc, convmap, conversion_map_size, is_hex)); in PHP_FUNCTION()
4033 efree(convmap); in PHP_FUNCTION()
4037 static bool html_numeric_entity_deconvert(uint32_t number, uint32_t *convmap, size_t conversion_map… in html_numeric_entity_deconvert() argument
4039 uint32_t *convmap_end = convmap + conversion_map_size; in html_numeric_entity_deconvert()
4041 for (uint32_t *mapelm = convmap; mapelm < convmap_end; mapelm += 4) { in html_numeric_entity_deconvert()
4060 …tity_decode(zend_string *input, const mbfl_encoding *encoding, uint32_t *convmap, size_t conversio… in html_numeric_entity_decode() argument
4154 if (html_numeric_entity_deconvert(value, convmap, conversion_map_size, converted)) { in html_numeric_entity_decode()
4192 if (html_numeric_entity_deconvert(value, convmap, conversion_map_size, converted)) { in html_numeric_entity_decode()
4257 uint32_t *convmap = make_conversion_map(target_hash, &conversion_map_size); in PHP_FUNCTION() local
4258 if (convmap == NULL) { in PHP_FUNCTION()
4262 RETVAL_STR(html_numeric_entity_decode(str, enc, convmap, conversion_map_size)); in PHP_FUNCTION()
4263 efree(convmap); in PHP_FUNCTION()