Lines Matching refs:convmap

3645 	uint32_t *convmap = (uint32_t*)safe_emalloc(n_elems, sizeof(uint32_t), 0);  in make_conversion_map()  local
3646 uint32_t *mapelm = convmap; in make_conversion_map()
3653 return convmap; in make_conversion_map()
3656 static bool html_numeric_entity_convert(uint32_t w, uint32_t *convmap, int mapsize, uint32_t *retva… in html_numeric_entity_convert() argument
3658 uint32_t *convmap_end = convmap + (mapsize * 4); in html_numeric_entity_convert()
3660 for (uint32_t *mapelm = convmap; mapelm < convmap_end; mapelm += 4) { in html_numeric_entity_convert()
3678 …tity_encode(zend_string *input, const mbfl_encoding *encoding, uint32_t *convmap, int mapsize, boo… in html_numeric_entity_encode() argument
3703 if (html_numeric_entity_convert(w, convmap, mapsize, &w)) { in html_numeric_entity_encode()
3765 uint32_t *convmap = make_conversion_map(target_hash, &mapsize); in PHP_FUNCTION() local
3766 if (convmap == NULL) { in PHP_FUNCTION()
3770 RETVAL_STR(html_numeric_entity_encode(str, enc, convmap, mapsize, is_hex)); in PHP_FUNCTION()
3771 efree(convmap); in PHP_FUNCTION()
3775 static bool html_numeric_entity_deconvert(uint32_t number, uint32_t *convmap, int mapsize, uint32_t… in html_numeric_entity_deconvert() argument
3777 uint32_t *convmap_end = convmap + (mapsize * 4); in html_numeric_entity_deconvert()
3779 for (uint32_t *mapelm = convmap; mapelm < convmap_end; mapelm += 4) { in html_numeric_entity_deconvert()
3798 …ic_entity_decode(zend_string *input, const mbfl_encoding *encoding, uint32_t *convmap, int mapsize) in html_numeric_entity_decode() argument
3892 if (html_numeric_entity_deconvert(value, convmap, mapsize, converted)) { in html_numeric_entity_decode()
3930 if (html_numeric_entity_deconvert(value, convmap, mapsize, converted)) { in html_numeric_entity_decode()
3995 uint32_t *convmap = make_conversion_map(target_hash, &mapsize); in PHP_FUNCTION() local
3996 if (convmap == NULL) { in PHP_FUNCTION()
4000 RETVAL_STR(html_numeric_entity_decode(str, enc, convmap, mapsize)); in PHP_FUNCTION()
4001 efree(convmap); in PHP_FUNCTION()