| /PHP_TRUNK/ext/standard/html_tables/ |
| H A D | html_table_gen.php | 184 $map = array(); variable 188 $map[] = array($matches[1], $matches[2]); 192 foreach ($map as $v) { $mappy[hexdec($v[0])] = hexdec($v[1]); } 327 $map = array(); variable 331 $map[] = array($matches[1], $matches[2], rtrim($matches[3])); 335 foreach ($map as $v) { 362 * Some of them map to two unicode code points, not one.
|
| /PHP_TRUNK/ext/gd/libgd/ |
| H A D | gdcache.c | 159 cacheTest (void *map, void *key) argument 161 return (((key_value_t *) map)->key == *(int *) key); 167 key_value_t *map; local 169 map = (key_value_t *) gdMalloc (sizeof (key_value_t)); 170 map->key = *(int *) key; 171 map->value = 3; 174 return (void *) map; 178 cacheRelease (void *map) argument 180 gdFree ((char *) map);
|
| /PHP_TRUNK/ext/mbstring/libmbfl/filters/ |
| H A D | mbfilter_sjis_mobile.c | 248 mbfilter_conv_map_tbl(int c, int *w, const unsigned short map[][3], int n) argument 253 if (map[i][0] <= c && c <= map[i][1]) { 254 *w = c - map[i][0] + map[i][2]; 263 mbfilter_conv_r_map_tbl(int c, int *w, const unsigned short map[][3], int n) argument 268 if (map[i][2] <= c && c <= map[i][2] - map[i][0] + map[ [all...] |
| /PHP_TRUNK/ext/mbstring/libmbfl/tests/conv_encoding.tests/ |
| H A D | gen_exp.c | 19 static void mappings_init(struct mappings *map) argument 21 map->n = 0; 22 map->nalloc = 0; 23 map->entries = 0; 26 static void mappings_destroy(struct mappings *map) argument 28 if (map->entries) 29 free(map->entries); 32 static int mappings_grow(struct mappings *map) argument 34 if (map->n >= map 53 mappings_add(struct mappings *map, int cp_uni, int cp_932) argument 384 struct mappings map; local [all...] |
| /PHP_TRUNK/ext/mbstring/oniguruma/ |
| H A D | regcomp.c | 1751 noname_disable_map(Node** plink, GroupNumRemap* map, int* counter) argument 1760 r = noname_disable_map(&(NCAR(node)), map, counter); 1768 r = noname_disable_map(ptarget, map, counter); 1781 map[en->regnum].new_val = *counter; 1783 r = noname_disable_map(&(en->target), map, counter); 1789 r = noname_disable_map(plink, map, counter); 1793 r = noname_disable_map(&(en->target), map, counter); 1805 renumber_node_backref(Node* node, GroupNumRemap* map) argument 1821 n = map[backs[i]].new_val; 1833 renumber_by_map(Node* node, GroupNumRemap* map) argument 1898 GroupNumRemap* map; local 3963 UChar map[ONIG_CHAR_TABLE_SIZE]; member in struct:__anon235 3974 OptMapInfo map; /* boundary */ member in struct:__anon236 4316 clear_opt_map_info(OptMapInfo* map) argument 4350 add_char_opt_map_info(OptMapInfo* map, UChar c, OnigEncoding enc) argument 4359 add_char_amb_opt_map_info(OptMapInfo* map, UChar* p, UChar* end, OnigEncoding enc, OnigCaseFoldType case_fold_flag) argument [all...] |
| H A D | regenc.c | 447 const OnigPairCaseFoldCodes map[], 458 code = map[i].to; 459 r = (*f)(map[i].from, &code, 1, arg); 462 code = map[i].from; 463 r = (*f)(map[i].to, &code, 1, arg); 475 const OnigPairCaseFoldCodes map[], 536 if (*p == map[i].from) { 539 items[0].code[0] = map[i].to; 542 else if (*p == map[i].to) { 545 items[0].code[0] = map[ 446 onigenc_apply_all_case_fold_with_map(int map_size, const OnigPairCaseFoldCodes map[], int ess_tsett_flag, OnigCaseFoldType flag, OnigApplyAllCaseFoldFunc f, void* arg) argument 474 onigenc_get_case_fold_codes_by_str_with_map(int map_size, const OnigPairCaseFoldCodes map[], int ess_tsett_flag, OnigCaseFoldType flag ARG_UNUSED, const OnigUChar* p, const OnigUChar* end, OnigCaseFoldCodeItem items[]) argument [all...] |
| H A D | regexec.c | 2904 skip = reg->map[*se]; 2951 s += reg->map[*s]; 3020 map_search(OnigEncoding enc, UChar map[], argument 3026 if (map[*s]) return (UChar* )s; 3034 map_search_backward(OnigEncoding enc, UChar map[], argument 3041 if (map[*s]) return (UChar* )s; 3154 p = map_search(reg->enc, reg->map, p, range); 3284 p = map_search_backward(reg->enc, reg->map, range, adjrange, p);
|
| H A D | regparse.c | 533 i_renumber_name(UChar* key ARG_UNUSED, NameEntry* e, GroupNumRemap* map) argument 539 e->back_refs[i] = map[e->back_refs[i]].new_val; 543 e->back_ref1 = map[e->back_ref1].new_val; 550 onig_renumber_name_table(regex_t* reg, GroupNumRemap* map) argument 555 onig_st_foreach(t, i_renumber_name, (HashDataType )map);
|
| H A D | oniguruma.h | 681 /* optimization info (string search, char-map and anchors) */ 687 int sub_anchor; /* start-anchor for exact or map */ 690 unsigned char map[ONIG_CHAR_TABLE_SIZE]; /* used as BM skip or char-map */ member in struct:re_pattern_buffer 693 OnigDistance dmin; /* min-distance of exact or map */ 694 OnigDistance dmax; /* max-distance of exact or map */
|
| /PHP_TRUNK/Zend/ |
| H A D | zend_stream.h | 47 void *map; member in struct:_zend_mmap
|
| /PHP_TRUNK/ext/filter/ |
| H A D | sanitizing_filters.c | 141 static void filter_map_init(filter_map *map) argument 143 memset(map, 0, sizeof(filter_map)); 146 static void filter_map_update(filter_map *map, int flag, const unsigned char *allowed_list) argument 152 (*map)[allowed_list[i]] = flag; 156 static void filter_map_apply(zval *value, filter_map *map) argument 165 if ((*map)[str[i]]) { 308 filter_map map; local 310 filter_map_init(&map); 311 filter_map_update(&map, 1, allowed_list); 312 filter_map_apply(value, &map); 322 filter_map map; local 335 filter_map map; local 348 filter_map map; local [all...] |
| /PHP_TRUNK/ext/soap/ |
| H A D | php_encoding.h | 181 soapMappingPtr map; member in struct:_encodeType
|
| H A D | php_encoding.c | 625 if (type && type->map && type->map->to_xml) { 628 if (call_user_function(EG(function_table), NULL, type->map->to_xml, return_value, 1, &data TSRMLS_CC) == FAILURE) { 655 if (type && type->map && type->map->to_zval) { 670 if (call_user_function(EG(function_table), NULL, type->map->to_zval, return_value, 1, &data TSRMLS_CC) == FAILURE) { 2844 soap_error0(E_ERROR, "Encoding: Can't decode apache map, missing key"); 2849 soap_error0(E_ERROR, "Encoding: Can't decode apache map, missing value"); 2860 soap_error0(E_ERROR, "Encoding: Can't decode apache map, only Strings or Longs are allowd as keys"); 3743 soapMappingPtr map local [all...] |
| /PHP_TRUNK/ext/standard/ |
| H A D | pack.c | 87 static void php_pack(zval **val, int size, int *map, char *output) argument 96 *output++ = v[map[i]]; 398 int *map = machine_endian_short_map; local 401 map = big_endian_short_map; 403 map = little_endian_short_map; 407 php_pack(argv[currentarg++], 2, map, &output[outputpos]); 425 int *map = machine_endian_long_map; local 428 map = big_endian_long_map; 430 map = little_endian_long_map; 434 php_pack(argv[currentarg++], 4, map, 499 php_unpack(char *data, int size, int issigned, int *map) argument 800 int *map = machine_endian_short_map; local 834 int *map = machine_endian_long_map; local [all...] |
| /PHP_TRUNK/ext/pcre/pcrelib/ |
| H A D | pcre_study.c | 541 start_bits points to the bit map 1218 /* Character class where all the information is in a bit map: set the 1239 pcre_uint8 *map; local 1241 map = (pcre_uint8 *)tcode; 1243 /* In UTF-8 mode, the bits in a bit map correspond to character 1244 values, not to byte values. However, the bit map we are constructing is 1252 for (c = 0; c < 16; c++) start_bits[c] |= map[c]; 1255 if ((map[c/8] && (1 << (c&7))) != 0) 1267 for (c = 0; c < 32; c++) start_bits[c] |= map[c]; 1270 /* Advance past the bit map, an [all...] |
| /PHP_TRUNK/ext/fileinfo/libmagic/ |
| H A D | file.h | 353 void *map; /* internal resources used by entry */ member in struct:mlist
|
| H A D | apprentice.c | 364 add_mlist(struct mlist *mlp, struct magic_map *map, size_t idx) argument 371 ml->map = idx == 0 ? map : NULL; 372 ml->magic = map->magic[idx]; 373 ml->nmagic = map->nmagic[idx]; 389 struct magic_map *map; local 394 (unsigned long)sizeof(*map->magic[0]), 400 map = apprentice_load(ms, fn, action); 401 if (map == NULL) 403 return apprentice_compile(ms, map, f 491 apprentice_unmap(struct magic_map *map) argument 1138 struct magic_map *map; local 2594 struct magic_map *map; local 2746 apprentice_compile(struct magic_set *ms, struct magic_map *map, const char *fn) argument [all...] |
| /PHP_TRUNK/ext/opcache/Optimizer/ |
| H A D | compact_literals.c | 93 int i, j, n, *pos, *map, cache_slots; local 286 map = (int*)ecalloc(op_array->last_literal, sizeof(int)); 303 map[i] = l_null; 315 map[i] = l_true; 325 map[i] = l_false; 330 map[i] = *pos; 332 map[i] = j; 343 map[i] = *pos; 345 map[i] = j; 362 zval *class_name = &op_array->literals[(info[i].u.num < i) ? map[inf [all...] |
| /PHP_TRUNK/ext/gd/ |
| H A D | gdcache.c | 156 cacheTest( void *map, void *key ) argument 158 return (((key_value_t *)map)->key == *(int *)key); 164 key_value_t *map; local 166 map = (key_value_t *)malloc(sizeof(key_value_t)); 167 if (map == NULL) { 170 map->key = *(int *)key; 171 map->value = 3; 174 return (void *)map; 178 cacheRelease( void *map) argument 180 free( (char *)map ); [all...] |