/PHP-5.6/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-5.6/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-5.6/ext/filter/ |
H A D | sanitizing_filters.c | 165 if ((*map)[str[i]]) { in filter_map_apply() 308 filter_map map; in php_filter_email() local 310 filter_map_init(&map); in php_filter_email() 312 filter_map_apply(value, &map); in php_filter_email() 322 filter_map map; in php_filter_url() local 324 filter_map_init(&map); in php_filter_url() 326 filter_map_apply(value, &map); in php_filter_url() 335 filter_map map; in php_filter_number_int() local 337 filter_map_init(&map); in php_filter_number_int() 348 filter_map map; in php_filter_number_float() local [all …]
|
/PHP-5.6/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-5.6/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-5.6/ext/standard/ |
H A D | pack.c | 103 *output++ = v[map[i]]; in php_pack() 428 map = big_endian_short_map; in PHP_FUNCTION() 430 map = little_endian_short_map; in PHP_FUNCTION() 455 map = big_endian_long_map; in PHP_FUNCTION() 457 map = little_endian_long_map; in PHP_FUNCTION() 475 map = big_endian_longlong_map; in PHP_FUNCTION() 556 cresult[map[i]] = *data++; in php_unpack() 874 map = big_endian_short_map; in PHP_FUNCTION() 876 map = little_endian_short_map; in PHP_FUNCTION() 910 map = big_endian_long_map; in PHP_FUNCTION() [all …]
|
/PHP-5.6/ext/fileinfo/libmagic/ |
H A D | apprentice.c | 377 ml->map = idx == 0 ? map : NULL; in add_mlist() 513 efree(map); in apprentice_unmap() 537 if (ml->map) in mlist_free() 1239 &map->magic[j], &map->nmagic[j]) == -1) { in apprentice_load() 1254 efree(map); in apprentice_load() 1257 return map; in apprentice_load() 2653 if ((map->p = CAST(void *, emalloc(map->len))) == NULL) { in apprentice_map() 2706 map->magic[0] = CAST(struct magic *, map->p) + 1; in apprentice_map() 2714 map->magic[i + 1] = map->magic[i] + map->nmagic[i]; in apprentice_map() 2725 byteswap(map->magic[i], map->nmagic[i]); in apprentice_map() [all …]
|
/PHP-5.6/ext/opcache/Optimizer/ |
H A D | compact_literals.c | 303 map[i] = l_null; in optimizer_compact_literals() 315 map[i] = l_true; in optimizer_compact_literals() 325 map[i] = l_false; in optimizer_compact_literals() 330 map[i] = *pos; in optimizer_compact_literals() 332 map[i] = j; in optimizer_compact_literals() 343 map[i] = *pos; in optimizer_compact_literals() 345 map[i] = j; in optimizer_compact_literals() 385 map[i] = *pos; in optimizer_compact_literals() 394 map[i] = j; in optimizer_compact_literals() 435 map[i] = j; in optimizer_compact_literals() [all …]
|
/PHP-5.6/ext/soap/tests/ |
H A D | bug48557.phpt | 11 function test($map) { 12 var_dump($map, $map[1], $map[2]);die;
|
/PHP-5.6/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-5.6/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-5.6/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-5.6/ext/fileinfo/ |
H A D | libmagic.patch | 108 ml->map = idx == 0 ? map : NULL; 190 - if (map->len) 191 - (void)munmap(map->p, map->len); 195 - free(map); 208 + efree(map); 451 - free(map); 455 return map; 611 - if (read(fd, map->p, map->len) != (ssize_t)map->len) { 667 map->magic[0] = CAST(struct magic *, map->p) + 1; 670 map->magic[i + 1] = map->magic[i] + map->nmagic[i]; [all …]
|
/PHP-5.6/Zend/ |
H A D | zend_stream.c | 81 if (stream->mmap.map) { in zend_stream_unmap() 82 munmap(stream->mmap.map, stream->mmap.len + ZEND_MMAP_AHEAD); in zend_stream_unmap() 90 stream->mmap.map = 0; in zend_stream_unmap() 241 file_handle->handle.stream.mmap.map = *buf; 254 file_handle->handle.stream.mmap.map = 0; 271 file_handle->handle.stream.mmap.map = 0;
|
H A D | zend_stream.h | 47 void *map; member
|
/PHP-5.6/ext/standard/tests/array/ |
H A D | array_map_001.phpt | 21 Warning: array_map(): An error occurred while invoking the map callback in %s on line %d
|
H A D | bug35821.phpt | 26 Warning: array_map(): An error occurred while invoking the map callback in %s on line %d
|
/PHP-5.6/sapi/aolserver/ |
H A D | README | 47 The 'map' command will cause AOLserver to pass all requests to *.php to 50 ns_param map *.php
|
/PHP-5.6/ext/pcre/pcrelib/ |
H A D | pcre_study.c | 1341 pcre_uint8 *map; in set_start_bits() local 1343 map = NULL; in set_start_bits() 1347 map = (pcre_uint8 *)(tcode + 1 + LINK_SIZE + 1); in set_start_bits() 1354 map = (pcre_uint8 *)tcode; in set_start_bits() 1365 if (map != NULL) in set_start_bits() 1371 for (c = 0; c < 16; c++) start_bits[c] |= map[c]; in set_start_bits() 1374 if ((map[c/8] && (1 << (c&7))) != 0) in set_start_bits() 1386 for (c = 0; c < 32; c++) start_bits[c] |= map[c]; in set_start_bits()
|
/PHP-5.6/ext/standard/tests/strings/ |
H A D | html_entity_decode_html4.phpt | 5 $map = array( 260 foreach ($map as $str) {
|
/PHP-5.6/ext/xml/ |
H A D | xml.mak | 33 MAP_FILE = $(FINAL_DIR)\$(MODULE_NAME).map 167 -@del "$(FINAL_DIR)\$(MODULE_NAME).map"
|