Searched refs:convmap (Results 1 – 5 of 5) sorted by relevance
/PHP-8.0/ext/mbstring/tests/ |
H A D | mb_decode_numericentity.phpt | 13 $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('�', $convmap), "\n"; 19 echo mb_decode_numericentity('�', $convmap), "\n"; 20 echo mb_decode_numericentity('�', $convmap), "\n"; 25 echo mb_decode_numericentity('�', $convmap), "\n"; 26 echo mb_decode_numericentity('�', $convmap), "\n"; 28 $convmap = []; [all …]
|
H A D | mb_encode_numericentity.phpt | 12 $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"; 19 $convmap = []; 20 echo mb_encode_numericentity('föo', $convmap, "UTF-8")."\n"; 22 $convmap = array(0xFF, 0x2FFFF, 0); // 3 elements 24 echo mb_encode_numericentity('aŒbœcŠdše€fg', $convmap, "UTF-8")."\n";
|
/PHP-8.0/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfilter.h | 290 mbfl_html_numeric_entity(mbfl_string *string, mbfl_string *result, int *convmap, int mapsize, int t…
|
H A D | mbfilter.c | 2253 int *convmap; member 2267 mapelm = &(pc->convmap[n*4]); in collector_encode_htmlnumericentity() 2353 mapelm = &(pc->convmap[n*4]); in collector_decode_htmlnumericentity() 2433 mapelm = &(pc->convmap[n*4]); in collector_decode_htmlnumericentity() 2489 mapelm = &(pc->convmap[n*4]); in collector_encode_hex_htmlnumericentity() 2602 int *convmap, in mbfl_html_numeric_entity() argument 2650 pc.convmap = convmap; in mbfl_html_numeric_entity()
|
/PHP-8.0/ext/mbstring/ |
H A D | mbstring.c | 3186 int *convmap = (int *)safe_emalloc(n_elems, sizeof(int), 0); in make_conversion_map() local 3187 int *mapelm = convmap; in make_conversion_map() 3194 return convmap; in make_conversion_map() 3221 int *convmap = make_conversion_map(target_hash, &mapsize); in PHP_FUNCTION() local 3222 if (convmap == NULL) { in PHP_FUNCTION() 3226 ret = mbfl_html_numeric_entity(&string, &result, convmap, mapsize, is_hex ? 2 : 0); in PHP_FUNCTION() 3231 efree(convmap); in PHP_FUNCTION() 3257 int *convmap = make_conversion_map(target_hash, &mapsize); in PHP_FUNCTION() local 3258 if (convmap == NULL) { in PHP_FUNCTION() 3262 ret = mbfl_html_numeric_entity(&string, &result, convmap, mapsize, 1); in PHP_FUNCTION() [all …]
|
Completed in 28 milliseconds