Searched refs:convmap (Results 1 – 3 of 3) sorted by relevance
/PHP-8.3/ext/mbstring/tests/ |
H A D | mb_encode_numericentity.phpt | 9 $convmap = array(0x0, 0x2FFFF, 0, 0xFFFF); 14 $convmap = array(0xFF, 0x2FFFF, 0, 0xFFFF); 17 $convmap = []; 21 $convmap = array(0xFF, 0x2FFFF, 0); // 3 elements 31 // Try doing weird things with convmap 32 $convmap = [ 40 $convmap = [0, 10, 1000, 0xFFFF]; 45 $convmap = [0, 10, -100000, 0xFFFFFF]; 50 $convmap = [0, 1000, 0, 0x123]; 55 $convmap = [0, 0xFFFF, 0, 0xFFFF]; [all …]
|
H A D | mb_decode_numericentity.phpt | 15 function test($desc, $str, $expected, $convmap, $encoding) { 16 $result = mb_decode_numericentity($str, $convmap, $encoding); 25 $result = mb_decode_numericentity($str, $convmap, $encoding); 37 // Typical convmap, typical numeric entity-encoded string 38 $convmap = array(0x0, 0x2FFFF, 0, 0xFFFF); 61 $convmap = []; 64 $convmap = array(0x0, 0x2FFFF, 0); // 3 elements 74 // Weird convmap 75 $convmap = [ 82 $convmap = [0, 10, 1000, 0xFFFF]; [all …]
|
/PHP-8.3/ext/mbstring/ |
H A D | mbstring.c | 3671 uint32_t *mapelm = convmap; in make_conversion_map() 3678 return convmap; in make_conversion_map() 3683 uint32_t *convmap_end = convmap + (mapsize * 4); in html_numeric_entity_convert() 3728 if (html_numeric_entity_convert(w, convmap, mapsize, &w)) { in html_numeric_entity_encode() 3790 uint32_t *convmap = make_conversion_map(target_hash, &mapsize); in PHP_FUNCTION() local 3791 if (convmap == NULL) { in PHP_FUNCTION() 3796 efree(convmap); in PHP_FUNCTION() 3802 uint32_t *convmap_end = convmap + (mapsize * 4); in html_numeric_entity_deconvert() 4020 uint32_t *convmap = make_conversion_map(target_hash, &mapsize); in PHP_FUNCTION() local 4021 if (convmap == NULL) { in PHP_FUNCTION() [all …]
|
Completed in 34 milliseconds