/PHP-7.4/ext/mbstring/tests/ |
H A D | bug40685.phpt | 7 $map = array(0, 0x10FFFF, 0, 0xFFFFFF); 8 var_dump(mb_decode_numericentity('&', $map, 'UTF-8')); 9 var_dump(mb_decode_numericentity('&&&', $map, 'UTF-8')); 10 var_dump(mb_decode_numericentity('&#', $map, 'UTF-8')); 11 var_dump(mb_decode_numericentity('&#x', $map, 'UTF-8')); 12 var_dump(mb_decode_numericentity('=', $map, 'UTF-8')); 13 var_dump(mb_decode_numericentity('=', $map, 'UTF-8')); 14 var_dump(mb_decode_numericentity('=', $map, 'UTF-8')); 15 var_dump(mb_decode_numericentity('=', $map, 'UTF-8'));
|
H A D | bug30549.phpt | 11 function test($enc, $map) { 14 foreach($map as $fromc => $toc) {
|
/PHP-7.4/ext/filter/ |
H A D | sanitizing_filters.c | 167 if ((*map)[str[i]]) { in filter_map_apply() 310 filter_map map; in php_filter_email() local 312 filter_map_init(&map); in php_filter_email() 314 filter_map_apply(value, &map); in php_filter_email() 324 filter_map map; in php_filter_url() local 326 filter_map_init(&map); in php_filter_url() 328 filter_map_apply(value, &map); in php_filter_url() 337 filter_map map; in php_filter_number_int() local 339 filter_map_init(&map); in php_filter_number_int() 350 filter_map map; in php_filter_number_float() local [all …]
|
/PHP-7.4/ext/gd/libgd/ |
H A D | gdcache.c | 159 cacheTest (void *map, void *key) in cacheTest() argument 161 return (((key_value_t *) map)->key == *(int *) key); in cacheTest() 167 key_value_t *map; in cacheFetch() local 169 map = (key_value_t *) gdMalloc (sizeof (key_value_t)); in cacheFetch() 170 map->key = *(int *) key; in cacheFetch() 171 map->value = 3; in cacheFetch() 174 return (void *) map; in cacheFetch() 178 cacheRelease (void *map) in cacheRelease() argument 180 gdFree ((char *) map); in cacheRelease()
|
/PHP-7.4/ext/spl/tests/ |
H A D | observer_010.phpt | 8 $map = new SplObjectStorage(); 9 $map[$a] = 'foo'; 10 var_dump($map[$b] ?? null); 11 var_dump($map[$a] ?? null);
|
/PHP-7.4/ext/standard/ |
H A D | pack.c | 94 *output++ = v[map[i]]; in php_pack() 542 map = big_endian_short_map; in PHP_FUNCTION() 544 map = little_endian_short_map; in PHP_FUNCTION() 569 map = big_endian_long_map; in PHP_FUNCTION() 571 map = little_endian_long_map; in PHP_FUNCTION() 589 map = big_endian_longlong_map; in PHP_FUNCTION() 701 cresult[map[i]] = *data++; in php_unpack() 1039 map = big_endian_short_map; in PHP_FUNCTION() 1041 map = little_endian_short_map; in PHP_FUNCTION() 1075 map = big_endian_long_map; in PHP_FUNCTION() [all …]
|
/PHP-7.4/ext/fileinfo/libmagic/ |
H A D | apprentice.c | 400 ml->map = idx == 0 ? map : NULL; in add_mlist() 544 efree(map); in apprentice_unmap() 1381 &map->magic[j], &map->nmagic[j]) == -1) { in apprentice_load() 1395 return map; in apprentice_load() 3037 map->p = CAST(void *, emalloc(map->len)); in apprentice_map() 3086 map->magic[0] = CAST(struct magic *, map->p) + 1; in apprentice_map() 3094 map->magic[i + 1] = map->magic[i] + map->nmagic[i]; in apprentice_map() 3104 byteswap(map->magic[i], map->nmagic[i]); in apprentice_map() 3157 map->magic[0] = CAST(struct magic *, map->p) + 1; 3165 map->magic[i + 1] = map->magic[i] + map->nmagic[i]; [all …]
|
/PHP-7.4/ext/fileinfo/tests/ |
H A D | bug78987.phpt | 13 $map = array( 29 printf("%-8d => %s\n", $size, $m <= $map[$size] ? "ok" : "$m");
|
/PHP-7.4/ext/soap/tests/ |
H A D | bug48557.phpt | 11 function test($map) { 12 var_dump($map, $map[1], $map[2]);die;
|
/PHP-7.4/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_sjis_mobile.h | 67 int mbfilter_conv_map_tbl(int c, int *w, const unsigned short map[][3], int n); 68 int mbfilter_conv_r_map_tbl(int c, int *w, const unsigned short map[][3], int n);
|
H A D | mbfilter_sjis_mobile.c | 253 mbfilter_conv_map_tbl(int c, int *w, const unsigned short map[][3], int n) in mbfilter_conv_map_tbl() 258 if (map[i][0] <= c && c <= map[i][1]) { in mbfilter_conv_map_tbl() 259 *w = c - map[i][0] + map[i][2]; in mbfilter_conv_map_tbl() 268 mbfilter_conv_r_map_tbl(int c, int *w, const unsigned short map[][3], int n) in mbfilter_conv_r_map_tbl() 273 if (map[i][2] <= c && c <= map[i][2] - map[i][0] + map[i][1]) { in mbfilter_conv_r_map_tbl() 274 *w = c + map[i][0] - map[i][2]; in mbfilter_conv_r_map_tbl()
|
/PHP-7.4/ext/opcache/Optimizer/ |
H A D | compact_literals.c | 122 int i, j, n, *map, cache_size; in zend_optimizer_compact_literals() local 335 map[i] = l_null; in zend_optimizer_compact_literals() 346 map[i] = l_false; in zend_optimizer_compact_literals() 357 map[i] = l_true; in zend_optimizer_compact_literals() 364 map[i] = j; in zend_optimizer_compact_literals() 383 map[i] = j; in zend_optimizer_compact_literals() 400 map[i] = Z_LVAL_P(pos); in zend_optimizer_compact_literals() 402 map[i] = j; in zend_optimizer_compact_literals() 439 map[i] = j; in zend_optimizer_compact_literals() 472 map[i] = l_empty_arr; in zend_optimizer_compact_literals() [all …]
|
H A D | zend_call_graph.c | 283 zend_call_info **map, *call; in zend_build_call_map() local 289 map = zend_arena_calloc(arena, sizeof(zend_call_info *), op_array->last); in zend_build_call_map() 292 map[call->caller_init_opline - op_array->opcodes] = call; in zend_build_call_map() 294 map[call->caller_call_opline - op_array->opcodes] = call; in zend_build_call_map() 298 map[call->arg_info[i].opline - op_array->opcodes] = call; in zend_build_call_map() 302 return map; in zend_build_call_map()
|
H A D | zend_cfg.h | 90 uint32_t *map; member
|
H A D | scdf.c | 121 int block_num = ssa->cfg.map[i]; in scdf_solve() 204 def_block = cfg->map[op_num]; in kept_alive_by_loop_var_free()
|
H A D | block_pass.c | 163 return cfg->map[ZEND_OFFSET_TO_OPLINE_NUM(op_array, opline, Z_LVAL_P(zv))]; in get_const_switch_target() 1035 uint32_t *map; in assemble_code_blocks() local 1038 map = (uint32_t *)do_alloca(sizeof(uint32_t) * op_array->last_try_catch, use_heap); in assemble_code_blocks() 1040 if (blocks[cfg->map[op_array->try_catch_array[i].try_op]].flags & ZEND_BB_REACHABLE) { in assemble_code_blocks() 1041 map[i] = j; in assemble_code_blocks() 1042 … op_array->try_catch_array[j].try_op = blocks[cfg->map[op_array->try_catch_array[i].try_op]].start; in assemble_code_blocks() 1044 …op_array->try_catch_array[j].catch_op = blocks[cfg->map[op_array->try_catch_array[i].catch_op]].st… in assemble_code_blocks() 1075 opline->op2.num = map[opline->op2.num]; in assemble_code_blocks() 1081 free_alloca(map, use_heap); in assemble_code_blocks() 1092 memset(cfg->map, -1, sizeof(int) * op_array->last); in assemble_code_blocks() [all …]
|
/PHP-7.4/ext/mbstring/ucgendat/ |
H A D | ucgendat.php | 479 function generateCaseMPH(string $name, array $map) { argument 481 list($gTable, $table) = generateMPH($map, $fast = false); 546 function tryGenerateMPH(array $map, int $gSize) { argument 547 $tableSize = count($map); 552 foreach ($map as $k => $v) { 624 function generateMPH(array $map, bool $fast) { argument 628 $m = (int) (count($map) / $lambda); 629 $tmpMph = tryGenerateMPH($map, $m); 637 $m = (int) (count($map) / 7.0); 639 $tmpMph = tryGenerateMPH($map, $m);
|
/PHP-7.4/ext/standard/html_tables/ |
H A D | html_table_gen.php | 186 $map = array(); variable 190 $map[] = array($matches[1], $matches[2]); 194 foreach ($map as $v) { $mappy[hexdec($v[0])] = hexdec($v[1]); } 329 $map = array(); variable 333 $map[] = array($matches[1], $matches[2], rtrim($matches[3])); 337 foreach ($map as $v) {
|
/PHP-7.4/ext/fileinfo/ |
H A D | libmagic.patch | 123 ml->map = idx == 0 ? map : NULL; 246 - if (map->p && map->p != MAP_FAILED) 247 - (void)munmap(map->p, map->len); 253 - free(map); 254 + efree(map); 754 - if (read(fd, map->p, map->len) != (ssize_t)map->len) { 756 + map->p = CAST(void *, emalloc(map->len)); 814 + map->magic[0] = CAST(struct magic *, map->p) + 1; 822 + map->magic[i + 1] = map->magic[i] + map->nmagic[i]; 833 + byteswap(map->magic[i], map->nmagic[i]); [all …]
|
/PHP-7.4/sapi/phpdbg/ |
H A D | phpdbg_list.h | 48 void *map; member
|
/PHP-7.4/Zend/ |
H A D | zend_alloc.c | 1097 chunk->map[page_num] = 0; 1297 info = chunk->map[page_num]; 1397 info = chunk->map[page_num]; 1922 info = chunk->map[page_num]; 1926 info = chunk->map[page_num]; 1951 info = chunk->map[page_num]; 1955 info = chunk->map[page_num]; 1976 info = chunk->map[i]; 1987 chunk->map[i] = ZEND_MM_SRUN(bin_num); 2049 if (p->map[i] & ZEND_MM_IS_SRUN) { [all …]
|
/PHP-7.4/ext/pcre/pcre2lib/ |
H A D | pcre2_printint.c | 648 uint8_t *map; in pcre2_printint() local 675 map = (uint8_t *)ccode; in pcre2_printint() 679 for (i = 0; i < 32; i++) inverted_map[i] = 255 ^ map[i]; in pcre2_printint() 680 map = inverted_map; in pcre2_printint() 685 if ((map[i/8] & (1u << (i&7))) != 0) in pcre2_printint() 689 if ((map[j/8] & (1u << (j&7))) == 0) break; in pcre2_printint()
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | html_entity_decode_html4.phpt | 5 $map = array( 260 foreach ($map as $str) {
|
/PHP-7.4/ext/soap/ |
H A D | php_encoding.h | 180 soapMappingPtr map; member
|
/PHP-7.4/ext/mysqli/tests/ |
H A D | mysqli_stmt_bind_result_zerofill.phpt | 73 We map those to PHP numeric types -
|