/PHP-7.1/ext/mbstring/libmbfl/tests/conv_encoding.tests/ |
H A D | gen_exp.c | 21 map->n = 0; in mappings_init() 22 map->nalloc = 0; in mappings_init() 23 map->entries = 0; in mappings_init() 28 if (map->entries) in mappings_destroy() 34 if (map->n >= map->nalloc) { in mappings_grow() 48 map->nalloc = n; in mappings_grow() 68 size_t n = map->n - i, a = sizeof(*map->entries) * n; in mappings_add() 71 memmove(&map->entries[i + 1], &map->entries[i], a); in mappings_add() 73 ++map->n; in mappings_add() 89 memmove(&map->entries[i + 2], &map->entries[i + 1], a); in mappings_add() [all …]
|
/PHP-7.1/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.1/ext/filter/ |
H A D | sanitizing_filters.c | 170 if ((*map)[str[i]]) { in filter_map_apply() 313 filter_map map; in php_filter_email() local 315 filter_map_init(&map); in php_filter_email() 317 filter_map_apply(value, &map); in php_filter_email() 327 filter_map map; in php_filter_url() local 329 filter_map_init(&map); in php_filter_url() 331 filter_map_apply(value, &map); in php_filter_url() 340 filter_map map; in php_filter_number_int() local 342 filter_map_init(&map); in php_filter_number_int() 353 filter_map map; in php_filter_number_float() local [all …]
|
/PHP-7.1/ext/gd/ |
H A D | gdcache.c | 156 cacheTest( void *map, void *key ) in cacheTest() argument 158 return (((key_value_t *)map)->key == *(int *)key); in cacheTest() 164 key_value_t *map; in cacheFetch() local 166 map = (key_value_t *)malloc(sizeof(key_value_t)); in cacheFetch() 167 if (map == NULL) { 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 free( (char *)map ); in cacheRelease()
|
/PHP-7.1/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.1/ext/spl/tests/ |
H A D | observer_010.phpt | 9 $map = new SplObjectStorage(); 10 $map[$a] = 'foo'; 11 var_dump($map[$b] ?? null); 12 var_dump($map[$a] ?? null);
|
/PHP-7.1/ext/fileinfo/libmagic/ |
H A D | apprentice.c | 389 mlp->map = idx == 0 ? map : NULL; in add_mlist() 534 efree(map); in apprentice_unmap() 1311 &map->magic[j], &map->nmagic[j]) == -1) { in apprentice_load() 1325 return map; in apprentice_load() 2797 return map; in apprentice_buf() 2912 map->magic[0] = CAST(struct magic *, map->p) + 1; in apprentice_map() 2920 map->magic[i + 1] = map->magic[i] + map->nmagic[i]; in apprentice_map() 2930 byteswap(map->magic[i], map->nmagic[i]); in apprentice_map() 2982 map->magic[0] = CAST(struct magic *, map->p) + 1; in check_buffer() 2990 map->magic[i + 1] = map->magic[i] + map->nmagic[i]; in check_buffer() [all …]
|
/PHP-7.1/ext/standard/ |
H A D | pack.c | 102 *output++ = v[map[i]]; in php_pack() 541 map = big_endian_short_map; in PHP_FUNCTION() 543 map = little_endian_short_map; in PHP_FUNCTION() 568 map = big_endian_long_map; in PHP_FUNCTION() 570 map = little_endian_long_map; in PHP_FUNCTION() 588 map = big_endian_longlong_map; in PHP_FUNCTION() 700 cresult[map[i]] = *data++; in php_unpack() 1037 map = big_endian_short_map; in PHP_FUNCTION() 1039 map = little_endian_short_map; in PHP_FUNCTION() 1073 map = big_endian_long_map; in PHP_FUNCTION() [all …]
|
/PHP-7.1/ext/opcache/Optimizer/ |
H A D | compact_literals.c | 363 map[i] = l_null; in zend_optimizer_compact_literals() 365 map[i] = j; in zend_optimizer_compact_literals() 382 map[i] = l_false; in zend_optimizer_compact_literals() 393 map[i] = l_true; in zend_optimizer_compact_literals() 397 map[i] = Z_LVAL_P(pos); in zend_optimizer_compact_literals() 399 map[i] = j; in zend_optimizer_compact_literals() 411 map[i] = Z_LVAL_P(pos); in zend_optimizer_compact_literals() 413 map[i] = j; in zend_optimizer_compact_literals() 454 map[i] = Z_LVAL_P(pos); in zend_optimizer_compact_literals() 463 map[i] = j; in zend_optimizer_compact_literals() [all …]
|
H A D | zend_call_graph.c | 271 zend_call_info **map, *call; in zend_build_call_map() local 277 map = zend_arena_calloc(arena, sizeof(zend_call_info *), op_array->last); in zend_build_call_map() 280 map[call->caller_init_opline - op_array->opcodes] = call; in zend_build_call_map() 281 map[call->caller_call_opline - op_array->opcodes] = call; in zend_build_call_map() 284 map[call->arg_info[i].opline - op_array->opcodes] = call; in zend_build_call_map() 288 return map; in zend_build_call_map()
|
H A D | block_pass.c | 903 uint32_t *map; in assemble_code_blocks() local 909 map[i] = j; in assemble_code_blocks() 943 opline->op2.num = map[opline->op2.num]; in assemble_code_blocks() 949 free_alloca(map, use_heap); in assemble_code_blocks() 955 uint32_t *map; in assemble_code_blocks() local 969 uint32_t end_op = blocks[cfg->map[op_array->live_range[i].end]].start; in assemble_code_blocks() 977 map[i] = j; in assemble_code_blocks() 993 opline->op2.num = map[opline->op2.num]; in assemble_code_blocks() 1002 free_alloca(map, use_heap); in assemble_code_blocks() 1023 memset(cfg->map, -1, sizeof(int) * op_array->last); in assemble_code_blocks() [all …]
|
H A D | zend_cfg.h | 89 uint32_t *map; member
|
/PHP-7.1/ext/soap/tests/ |
H A D | bug48557.phpt | 11 function test($map) { 12 var_dump($map, $map[1], $map[2]);die;
|
/PHP-7.1/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 | 247 mbfilter_conv_map_tbl(int c, int *w, const unsigned short map[][3], int n) in mbfilter_conv_map_tbl() 252 if (map[i][0] <= c && c <= map[i][1]) { in mbfilter_conv_map_tbl() 253 *w = c - map[i][0] + map[i][2]; in mbfilter_conv_map_tbl() 262 mbfilter_conv_r_map_tbl(int c, int *w, const unsigned short map[][3], int n) in mbfilter_conv_r_map_tbl() 267 if (map[i][2] <= c && c <= map[i][2] - map[i][0] + map[i][1]) { in mbfilter_conv_r_map_tbl() 268 *w = c + map[i][0] - map[i][2]; in mbfilter_conv_r_map_tbl()
|
/PHP-7.1/ext/standard/html_tables/ |
H A D | html_table_gen.php | 187 $map = array(); variable 191 $map[] = array($matches[1], $matches[2]); 195 foreach ($map as $v) { $mappy[hexdec($v[0])] = hexdec($v[1]); } 330 $map = array(); variable 334 $map[] = array($matches[1], $matches[2], rtrim($matches[3])); 338 foreach ($map as $v) {
|
/PHP-7.1/ext/mbstring/oniguruma/ |
H A D | regenc.c | 447 const OnigPairCaseFoldCodes map[], in onigenc_apply_all_case_fold_with_map() argument 458 code = map[i].to; in onigenc_apply_all_case_fold_with_map() 459 r = (*f)(map[i].from, &code, 1, arg); in onigenc_apply_all_case_fold_with_map() 462 code = map[i].from; in onigenc_apply_all_case_fold_with_map() 463 r = (*f)(map[i].to, &code, 1, arg); in onigenc_apply_all_case_fold_with_map() 475 const OnigPairCaseFoldCodes map[], in onigenc_get_case_fold_codes_by_str_with_map() argument 536 if (*p == map[i].from) { in onigenc_get_case_fold_codes_by_str_with_map() 539 items[0].code[0] = map[i].to; in onigenc_get_case_fold_codes_by_str_with_map() 542 else if (*p == map[i].to) { in onigenc_get_case_fold_codes_by_str_with_map() 545 items[0].code[0] = map[i].from; in onigenc_get_case_fold_codes_by_str_with_map()
|
H A D | regcomp.c | 1898 GroupNumRemap* map; in disable_noname_group_capture() local 1903 map[i].new_val = 0; in disable_noname_group_capture() 4351 if (map->map[c] == 0) { in add_char_opt_map_info() 4352 map->map[c] = 1; in add_char_opt_map_info() 4427 if (add->map[i]) in alt_merge_opt_map_info() 4428 to->map[i] = 1; in alt_merge_opt_map_info() 4430 if (to->map[i]) in alt_merge_opt_map_info() 4517 select_opt_map_info(&to->map, &add->map); in concat_left_node_opt_info() 4529 alt_merge_opt_map_info(env->enc, &to->map, &add->map); in alt_merge_node_opt_info() 4716 copy_opt_map_info(&opt->map, &nopt.map); in optimize_node_left() [all …]
|
/PHP-7.1/ext/fileinfo/ |
H A D | libmagic.patch | 117 mlp->map = idx == 0 ? map : NULL; 234 - if (map->p) 235 - (void)munmap(map->p, map->len); 257 - free(map); 258 + efree(map); 272 if (ml->map) 725 - if (read(fd, map->p, map->len) != (ssize_t)map->len) { 781 + map->magic[0] = CAST(struct magic *, map->p) + 1; 789 + map->magic[i + 1] = map->magic[i] + map->nmagic[i]; 799 + byteswap(map->magic[i], map->nmagic[i]); [all …]
|
/PHP-7.1/Zend/ |
H A D | zend_stream.c | 80 if (stream->mmap.map) { in zend_stream_unmap() 81 munmap(stream->mmap.map, stream->mmap.len + ZEND_MMAP_AHEAD); in zend_stream_unmap() 89 stream->mmap.map = 0; in zend_stream_unmap() 240 file_handle->handle.stream.mmap.map = *buf; 253 file_handle->handle.stream.mmap.map = 0; 270 file_handle->handle.stream.mmap.map = 0;
|
H A D | zend_alloc.c | 1115 chunk->map[page_num] = 0; 1315 info = chunk->map[page_num]; 1415 info = chunk->map[page_num]; 1884 info = chunk->map[page_num]; 1888 info = chunk->map[page_num]; 1913 info = chunk->map[page_num]; 1917 info = chunk->map[page_num]; 1938 info = chunk->map[i]; 1949 chunk->map[i] = ZEND_MM_SRUN(bin_num); 2011 if (p->map[i] & ZEND_MM_IS_SRUN) { [all …]
|
H A D | zend_stream.h | 50 void *map; member
|
/PHP-7.1/sapi/phpdbg/ |
H A D | phpdbg_list.h | 48 void *map; member
|
/PHP-7.1/ext/pcre/pcrelib/ |
H A D | pcre_printint.c | 646 pcre_uint8 *map; in pcre_printint() local 673 map = (pcre_uint8 *)ccode; in pcre_printint() 676 for (i = 0; i < 32; i++) inverted_map[i] = ~map[i]; in pcre_printint() 677 map = inverted_map; in pcre_printint() 682 if ((map[i/8] & (1 << (i&7))) != 0) in pcre_printint() 686 if ((map[j/8] & (1 << (j&7))) == 0) break; in pcre_printint()
|