| /PHP_TRUNK/ext/ereg/regex/ |
| H A D | regcomp.c | 1287 == static int samesets(register struct re_guts *g, int c1, int c2); 1290 samesets(g, c1, c2) 1293 int c2; 1299 register unsigned uc2 = (unsigned char)c2; 1318 register int c2; local 1329 for (c2 = c+1; c2 <= UCHAR_MAX; c2++) 1330 if (cats[c2] == 0 && samesets(g, c, c2)) [all...] |
| /PHP_TRUNK/ext/standard/ |
| H A D | crypt_blowfish.c | 392 unsigned int tmp, c1, c2, c3, c4; local 396 BF_safe_atoi64(c2, *sptr++); 397 *dptr++ = (c1 << 2) | ((c2 & 0x30) >> 4); 401 *dptr++ = ((c2 & 0x0F) << 4) | ((c3 & 0x3C) >> 2); 419 unsigned int c1, c2; local 430 c2 = *sptr++; 431 c1 |= c2 >> 4; 433 c1 = (c2 & 0x0f) << 2; 439 c2 = *sptr++; 440 c1 |= c2 >> [all...] |
| H A D | iptc.c | 126 int c1, c2; local 130 if ((c2 = php_iptc_get1(fp, spool, spoolbuf TSRMLS_CC)) == EOF) return M_EOI; 132 length = (((unsigned char) c1) << 8) + ((unsigned char) c2);
|
| H A D | levenshtein.c | 33 int i1, i2, c0, c1, c2; local 60 c2 = p2[i2] + cost_ins; 61 if (c2 < c0) { 62 c0 = c2;
|
| /PHP_TRUNK/win32/ |
| H A D | fnmatch.c | 156 char c, c2; local 181 && (c2 = *(pattern+1)) != EOS && c2 != ']') { 183 if (c2 == '\\' && !(flags & FNM_NOESCAPE)) 184 c2 = *pattern++; 185 if (c2 == EOS) 189 c2 = tolower((unsigned char)c2); 192 (unsigned char)test <= (unsigned char)c2)
|
| /PHP_TRUNK/ext/gd/libgd/ |
| H A D | gd_topal.c | 478 int c0, c1, c2; local 495 for (c2 = c2min; c2 <= c2max; c2++) 508 for (c2 = c2min; c2 <= c2max; c2++) 521 for (c2 = c2min; c2 <= c2max; c2 609 int c0, c1, c2, cmax; local 723 int c0, c1, c2; local 1203 fill_inverse_cmap( j_decompress_ptr cinfo, int c0, int c1, int c2) argument 1302 register int c0, c1, c2; local [all...] |
| H A D | gdkanji.c | 234 register unsigned char c2 = *p2; local 235 register int adjust = c2 < 159; 237 register int cellOffset = adjust ? (31 + (c2 > 127)) : 126;
|
| /PHP_TRUNK/ext/json/ |
| H A D | utf8_decode.c | 158 int c2 = cont(utf8); local 159 if (c1 < 0 || c2 < 0) { 162 r = ((c & 0x0F) << 12) | (c1 << 6) | c2; 170 int c2 = cont(utf8); local 172 if (c1 < 0 || c2 < 0 || c3 < 0) { 175 r = ((c & 0x0F) << 18) | (c1 << 12) | (c2 << 6) | c3;
|
| /PHP_TRUNK/ext/mbstring/libmbfl/filters/ |
| H A D | mbfilter_big5.c | 148 int c1, w, c2; local 194 c2 = c1 << 8 | c; 196 if (c2 >= cp950_pua_tbl[k][2] && c2 <= cp950_pua_tbl[k][3]) { 205 w = c2 - cp950_pua_tbl[k][2] + cp950_pua_tbl[k][0]; 241 int c1, s, c2; local 269 c2 = cp950_pua_tbl[k][2] >> 8; 270 s = ((c1 / 157) + c2) << 8; c1 %= 157;
|
| H A D | mbfilter_cp51932.c | 101 #define sjistoidx(c1, c2) \ 103 ? (((c1) - 0xc1) * 188 + (c2) - (((c2) > 0x7e) ? 0x41 : 0x40)) \ 104 : (((c1) - 0x81) * 188 + (c2) - (((c2) > 0x7e) ? 0x41 : 0x40))) 209 int c1, c2, s1; local 258 c2 = cp932ext1_ucs_table_max - cp932ext1_ucs_table_min; 259 while (c1 < c2) { /* CP932 vendor ext1 (13ku) */ 268 c2 = cp932ext2_ucs_table_max - cp932ext2_ucs_table_min; 269 while (c1 < c2) { /* CP93 [all...] |
| H A D | mbfilter_cp932.c | 99 #define SJIS_ENCODE(c1,c2,s1,s2) \ 109 s2 = c2; \ 111 if ((c2) < 0x60) { \ 120 #define SJIS_DECODE(c1,c2,s1,s2) \ 130 s2 = c2; \ 234 int c1, c2, s1, s2; local 249 c2 = s1%94 + 0x21; 250 s1 = (c1 << 8) | c2; 286 c2 = cp932ext1_ucs_table_max - cp932ext1_ucs_table_min; 287 while (c1 < c2) { /* CP93 [all...] |
| H A D | mbfilter_cp936.c | 106 int c1, c2, w = -1; local 137 c2 = (c1 << 8) | c; 140 ((c2 >= 0xa2ab && c2 <= 0xa9f0 + (0xe80f-0xe801)) || 141 (c2 >= 0xd7fa && c2 <= 0xd7fa + (0xe814-0xe810)) || 142 (c2 >= 0xfe50 && c2 <= 0xfe80 + (0xe864-0xe844)))) { 144 if (c2 >= mbfl_cp936_pua_tbl[k][2] && 145 c2 < [all...] |
| H A D | mbfilter_euc_cn.c | 160 int c1, c2, s; local 183 c2 = s & 0xff; 185 if (c1 < 0xa1 || c2 < 0xa1) { /* exclude CP936 extension */
|
| H A D | mbfilter_euc_jp_win.c | 261 int c1, c2, s1; local 275 c2 = s1%94 + 0x21; 276 s1 = (c1 << 8) | c2; 280 c2 = s1%94 + 0xa1; 281 s1 = (c1 << 8) | c2; 328 c2 = cp932ext1_ucs_table_max - cp932ext1_ucs_table_min; 329 while (c1 < c2) { /* CP932 vendor ext1 (13ku) */ 340 c2 = cp932ext3_ucs_table_max - cp932ext3_ucs_table_min; 341 while (c1 < c2) { /* CP932 vendor ext3 (115ku - 119ku) */
|
| H A D | mbfilter_euc_kr.c | 176 int c1, c2, s; local 197 c2 = s & 0xff; 199 if (c1 < 0xa1 || c2 < 0xa1){
|
| H A D | mbfilter_gb18030.c | 128 int c1, c2, c3, w = -1; local 171 c2 = (c1 << 8) | c; 174 ((c2 >= 0xa2ab && c2 <= 0xa9f0 + (0xe80f-0xe801)) || 175 (c2 >= 0xd7fa && c2 <= 0xd7fa + (0xe814-0xe810)) || 176 (c2 >= 0xfe50 && c2 <= 0xfe80 + (0xe864-0xe844)))) { 178 if (c2 >= mbfl_gb18030_pua_tbl[k][2] && 179 c2 < [all...] |
| H A D | mbfilter_iso2022_jp_ms.c | 81 #define sjistoidx(c1, c2) \ 83 ? (((c1) - 0xc1) * 188 + (c2) - (((c2) > 0x7e) ? 0x41 : 0x40)) \ 84 : (((c1) - 0x81) * 188 + (c2) - (((c2) > 0x7e) ? 0x41 : 0x40))) 295 int c1, c2, s1, s2; local 310 c2 = s1%94 + 0x21; 311 s1 = (c1 << 8) | c2; 346 c2 = cp932ext1_ucs_table_max - cp932ext1_ucs_table_min; 347 while (c1 < c2) { /* CP93 [all...] |
| H A D | mbfilter_iso2022_kr.c | 198 int c1, c2, s; local 219 c2 = s & 0xff; 221 if (c1 < 0xa1 || c2 < 0xa1){
|
| H A D | mbfilter_iso2022jp_mobile.c | 83 #define sjistoidx(c1, c2) \ 85 ? (((c1) - 0xc1) * 188 + (c2) - (((c2) > 0x7e) ? 0x41 : 0x40)) \ 86 : (((c1) - 0x81) * 188 + (c2) - (((c2) > 0x7e) ? 0x41 : 0x40))) 90 #define SJIS_ENCODE(c1,c2,s1,s2) \ 100 s2 = c2; \ 102 if ((c2) < 0x60) { \ 111 #define SJIS_DECODE(c1,c2,s1,s2) \ 121 s2 = c2; \ 322 int c1, c2, s1, s2; local [all...] |
| H A D | mbfilter_sjis.c | 102 #define SJIS_ENCODE(c1,c2,s1,s2) \ 112 s2 = c2; \ 114 if ((c2) < 0x60) { \ 123 #define SJIS_DECODE(c1,c2,s1,s2) \ 133 s2 = c2; \ 217 int c1, c2, s1, s2; local 265 c2 = s1 & 0xff; 266 SJIS_ENCODE(c1, c2, s1, s2);
|
| H A D | mbfilter_sjis_2004.c | 86 #define SJIS_ENCODE(c1,c2,s1,s2) \ 96 s2 = c2; \ 98 if ((c2) < 0x60) { \ 107 #define SJIS_DECODE(c1,c2,s1,s2) \ 117 s2 = c2; \ 137 int c1, c2, s, s1, s2, w = 0, w1; local 322 c2 = c - 0x80; 324 c2 = c; 327 s2 = c2 - 0x21; 349 w1 = ((c1 + k + 94) << 8) | c2; 487 int c1, c2, s1 = 0, s2; local 680 int k, c1, c2, s1, s2; local [all...] |
| H A D | mbfilter_sjis_mac.c | 85 #define SJIS_ENCODE(c1,c2,s1,s2) \ 95 s2 = c2; \ 97 if ((c2) < 0x60) { \ 106 #define SJIS_DECODE(c1,c2,s1,s2) \ 116 s2 = c2; \ 283 int c1, c2, s1, s2, mode; local 461 c2 = s1-94*(c1-0x21)+0x21; 462 s1 = (c1 << 8) | c2; 483 c2 = s1 & 0xff; 484 SJIS_ENCODE(c1, c2, s [all...] |
| H A D | mbfilter_sjis_mobile.c | 198 #define SJIS_ENCODE(c1,c2,s1,s2) \ 208 s2 = c2; \ 210 if ((c2) < 0x60) { \ 219 #define SJIS_DECODE(c1,c2,s1,s2) \ 229 s2 = c2; \ 241 #define CODE2JIS(c1,c2,s1,s2) \ 243 c2 = (s1)-94*((c1)-0x21)+0x21; \ 244 s1 = ((c1) << 8) | (c2); \ 788 int c1, c2, s1, s2; local 803 c2 [all...] |
| H A D | mbfilter_sjis_open.c | 99 #define SJIS_ENCODE(c1,c2,s1,s2) \ 109 s2 = c2; \ 111 if ((c2) < 0x60) { \ 120 #define SJIS_DECODE(c1,c2,s1,s2) \ 130 s2 = c2; \ 233 int c1, c2, s1, s2; local 248 c2 = s1%94 + 0x21; 249 s1 = (c1 << 8) | c2; 285 c2 = cp932ext1_ucs_table_max - cp932ext1_ucs_table_min; 286 while (c1 < c2) { /* CP93 [all...] |
| /PHP_TRUNK/Zend/ |
| H A D | zend_operators.c | 2127 int c1, c2; local 2136 c2 = zend_tolower_ascii(*(unsigned char *)s2++); 2137 if (c1 != c2) { 2138 return c1 - c2; 2149 int c1, c2; local 2157 c2 = zend_tolower_ascii(*(unsigned char *)s2++); 2158 if (c1 != c2) { 2159 return c1 - c2; 2170 int c1, c2; local 2179 c2 2192 int c1, c2; local [all...] |