/PHP-7.0/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.0/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.0/ext/filter/ |
H A D | sanitizing_filters.c | 168 if ((*map)[str[i]]) { in filter_map_apply() 311 filter_map map; in php_filter_email() local 313 filter_map_init(&map); in php_filter_email() 315 filter_map_apply(value, &map); in php_filter_email() 325 filter_map map; in php_filter_url() local 327 filter_map_init(&map); in php_filter_url() 329 filter_map_apply(value, &map); in php_filter_url() 338 filter_map map; in php_filter_number_int() local 340 filter_map_init(&map); in php_filter_number_int() 351 filter_map map; in php_filter_number_float() local [all …]
|
/PHP-7.0/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.0/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.0/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.0/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.0/ext/standard/ |
H A D | pack.c | 102 *output++ = v[map[i]]; in php_pack() 540 map = big_endian_short_map; in PHP_FUNCTION() 542 map = little_endian_short_map; in PHP_FUNCTION() 567 map = big_endian_long_map; in PHP_FUNCTION() 569 map = little_endian_long_map; in PHP_FUNCTION() 587 map = big_endian_longlong_map; in PHP_FUNCTION() 699 cresult[map[i]] = *data++; in php_unpack() 1027 map = big_endian_short_map; in PHP_FUNCTION() 1029 map = little_endian_short_map; in PHP_FUNCTION() 1063 map = big_endian_long_map; in PHP_FUNCTION() [all …]
|
/PHP-7.0/ext/opcache/Optimizer/ |
H A D | compact_literals.c | 364 map[i] = l_null; in zend_optimizer_compact_literals() 366 map[i] = j; in zend_optimizer_compact_literals() 383 map[i] = l_false; in zend_optimizer_compact_literals() 394 map[i] = l_true; in zend_optimizer_compact_literals() 398 map[i] = Z_LVAL_P(pos); in zend_optimizer_compact_literals() 400 map[i] = j; in zend_optimizer_compact_literals() 412 map[i] = Z_LVAL_P(pos); in zend_optimizer_compact_literals() 414 map[i] = j; in zend_optimizer_compact_literals() 453 map[i] = Z_LVAL_P(pos); in zend_optimizer_compact_literals() 462 map[i] = j; in zend_optimizer_compact_literals() [all …]
|
/PHP-7.0/ext/soap/tests/ |
H A D | bug48557.phpt | 11 function test($map) { 12 var_dump($map, $map[1], $map[2]);die;
|
/PHP-7.0/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 | 248 mbfilter_conv_map_tbl(int c, int *w, const unsigned short map[][3], int n) in mbfilter_conv_map_tbl() 253 if (map[i][0] <= c && c <= map[i][1]) { in mbfilter_conv_map_tbl() 254 *w = c - map[i][0] + map[i][2]; in mbfilter_conv_map_tbl() 263 mbfilter_conv_r_map_tbl(int c, int *w, const unsigned short map[][3], int n) in mbfilter_conv_r_map_tbl() 268 if (map[i][2] <= c && c <= map[i][2] - map[i][0] + map[i][1]) { in mbfilter_conv_r_map_tbl() 269 *w = c + map[i][0] - map[i][2]; in mbfilter_conv_r_map_tbl()
|
/PHP-7.0/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.0/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 …]
|
H A D | regenc.h | 117 …apply_all_case_fold_with_map P_((int map_size, const OnigPairCaseFoldCodes map[], int ess_tsett_fl… 118 …e_fold_codes_by_str_with_map P_((int map_size, const OnigPairCaseFoldCodes map[], int ess_tsett_fl…
|
/PHP-7.0/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.0/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 | 1161 chunk->map[page_num] = 0; 1360 info = chunk->map[page_num]; 1460 info = chunk->map[page_num]; 1928 info = chunk->map[page_num]; 1932 info = chunk->map[page_num]; 1957 info = chunk->map[page_num]; 1961 info = chunk->map[page_num]; 1982 info = chunk->map[i]; 1993 chunk->map[i] = ZEND_MM_SRUN(bin_num); 2055 if (p->map[i] & ZEND_MM_IS_SRUN) { [all …]
|
H A D | zend_stream.h | 50 void *map; member
|
/PHP-7.0/sapi/phpdbg/ |
H A D | phpdbg_list.h | 48 void *map; member
|
/PHP-7.0/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()
|
H A D | pcre_study.c | 1339 pcre_uint8 *map; in set_start_bits() local 1341 map = NULL; in set_start_bits() 1345 map = (pcre_uint8 *)(tcode + 1 + LINK_SIZE + 1); in set_start_bits() 1352 map = (pcre_uint8 *)tcode; in set_start_bits() 1363 if (map != NULL) in set_start_bits() 1369 for (c = 0; c < 16; c++) start_bits[c] |= map[c]; in set_start_bits() 1372 if ((map[c/8] && (1 << (c&7))) != 0) in set_start_bits() 1384 for (c = 0; c < 32; c++) start_bits[c] |= map[c]; in set_start_bits()
|
/PHP-7.0/ext/xml/ |
H A D | xml.mak | 33 MAP_FILE = $(FINAL_DIR)\$(MODULE_NAME).map 167 -@del "$(FINAL_DIR)\$(MODULE_NAME).map"
|