Home
last modified time | relevance | path

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

/PHP-8.1/ext/mbstring/tests/
H A Dmb_decode_numericentity.phpt10 $convmap = array(0x0, 0x2FFFF, 0, 0xFFFF);
11 echo mb_decode_numericentity($str1, $convmap, "UTF-8")."\n";
12 echo mb_decode_numericentity($str2, $convmap, "UTF-8")."\n";
13 echo mb_decode_numericentity($str3, $convmap, "UTF-8")."\n";
15 echo mb_decode_numericentity('&#1000000000', $convmap), "\n";
16 echo mb_decode_numericentity('&#9000000000', $convmap), "\n";
17 echo mb_decode_numericentity('&#10000000000', $convmap), "\n";
22 echo mb_decode_numericentity('&#0000000000', $convmap), "\n";
23 echo mb_decode_numericentity('&#000000000', $convmap), "\n";
25 $convmap = [];
[all …]
H A Dmb_encode_numericentity.phpt9 $convmap = array(0x0, 0x2FFFF, 0, 0xFFFF);
10 echo mb_encode_numericentity($str1, $convmap, "UTF-8")."\n";
11 echo mb_encode_numericentity($str2, $convmap, "UTF-8")."\n";
13 $convmap = array(0xFF, 0x2FFFF, 0, 0xFFFF);
14 echo mb_encode_numericentity('aŒbœcŠdše€fg', $convmap, "UTF-8")."\n";
16 $convmap = [];
17 echo mb_encode_numericentity('föo', $convmap, "UTF-8")."\n";
19 $convmap = array(0xFF, 0x2FFFF, 0); // 3 elements
21 echo mb_encode_numericentity('aŒbœcŠdše€fg', $convmap, "UTF-8")."\n";
/PHP-8.1/ext/mbstring/libmbfl/mbfl/
H A Dmbfilter.h295 mbfl_html_numeric_entity(mbfl_string *string, mbfl_string *result, int *convmap, int mapsize, int t…
H A Dmbfilter.c2193 int *convmap; member
2207 mapelm = &(pc->convmap[n*4]); in collector_encode_htmlnumericentity()
2293 mapelm = &(pc->convmap[n*4]); in collector_decode_htmlnumericentity()
2373 mapelm = &(pc->convmap[n*4]); in collector_decode_htmlnumericentity()
2429 mapelm = &(pc->convmap[n*4]); in collector_encode_hex_htmlnumericentity()
2542 int *convmap, in mbfl_html_numeric_entity() argument
2590 pc.convmap = convmap; in mbfl_html_numeric_entity()
/PHP-8.1/ext/mbstring/
H A Dmbstring.c3221 int *convmap = (int *)safe_emalloc(n_elems, sizeof(int), 0); in make_conversion_map() local
3222 int *mapelm = convmap; in make_conversion_map()
3229 return convmap; in make_conversion_map()
3256 int *convmap = make_conversion_map(target_hash, &mapsize); in PHP_FUNCTION() local
3257 if (convmap == NULL) { in PHP_FUNCTION()
3261 ret = mbfl_html_numeric_entity(&string, &result, convmap, mapsize, is_hex ? 2 : 0); in PHP_FUNCTION()
3266 efree(convmap); in PHP_FUNCTION()
3292 int *convmap = make_conversion_map(target_hash, &mapsize); in PHP_FUNCTION() local
3293 if (convmap == NULL) { in PHP_FUNCTION()
3297 ret = mbfl_html_numeric_entity(&string, &result, convmap, mapsize, 1); in PHP_FUNCTION()
[all …]

Completed in 25 milliseconds