Home
last modified time | relevance | path

Searched refs:convmap (Results 1 – 5 of 5) sorted by relevance

/PHP-7.4/ext/mbstring/tests/
H A Dmb_decode_numericentity.phpt13 $convmap = array(0x0, 0x2FFFF, 0, 0xFFFF);
14 echo mb_decode_numericentity($str1, $convmap, "UTF-8")."\n";
15 echo mb_decode_numericentity($str2, $convmap, "UTF-8")."\n";
16 echo mb_decode_numericentity($str3, $convmap, "UTF-8")."\n";
18 echo mb_decode_numericentity('&#1000000000', $convmap), "\n";
19 echo mb_decode_numericentity('&#9000000000', $convmap), "\n";
20 echo mb_decode_numericentity('&#10000000000', $convmap), "\n";
21 echo mb_decode_numericentity('&#100000000000', $convmap), "\n";
22 echo mb_decode_numericentity('&#000000000000', $convmap), "\n";
H A Dmb_encode_numericentity.phpt12 $convmap = array(0x0, 0x2FFFF, 0, 0xFFFF);
13 echo mb_encode_numericentity($str1, $convmap, "UTF-8")."\n";
14 echo mb_encode_numericentity($str2, $convmap, "UTF-8")."\n";
16 $convmap = array(0xFF, 0x2FFFF, 0, 0xFFFF);
17 echo mb_encode_numericentity('aŒbœcŠdše€fg', $convmap, "UTF-8")."\n";
/PHP-7.4/ext/mbstring/libmbfl/mbfl/
H A Dmbfilter.h300 mbfl_html_numeric_entity(mbfl_string *string, mbfl_string *result, int *convmap, int mapsize, int t…
H A Dmbfilter.c2476 int *convmap; member
2490 mapelm = &(pc->convmap[n*4]); in collector_encode_htmlnumericentity()
2576 mapelm = &(pc->convmap[n*4]); in collector_decode_htmlnumericentity()
2656 mapelm = &(pc->convmap[n*4]); in collector_decode_htmlnumericentity()
2712 mapelm = &(pc->convmap[n*4]); in collector_encode_hex_htmlnumericentity()
2825 int *convmap, in mbfl_html_numeric_entity() argument
2874 pc.convmap = convmap; in mbfl_html_numeric_entity()
/PHP-7.4/ext/mbstring/
H A Dmbstring.c405 ZEND_ARG_INFO(0, convmap)
412 ZEND_ARG_INFO(0, convmap)
4078 int i, *convmap, *mapelm, mapsize=0; in php_mb_numericentity_exec() local
4105 convmap = NULL; in php_mb_numericentity_exec()
4110 convmap = (int *)safe_emalloc(i, sizeof(int), 0); in php_mb_numericentity_exec()
4111 mapelm = convmap; in php_mb_numericentity_exec()
4119 if (convmap == NULL) { in php_mb_numericentity_exec()
4124 ret = mbfl_html_numeric_entity(&string, &result, convmap, mapsize, type); in php_mb_numericentity_exec()
4132 efree((void *)convmap); in php_mb_numericentity_exec()

Completed in 26 milliseconds