| /PHP_5_3/ext/standard/ |
| H A D | crypt_blowfish.c | 392 unsigned int tmp, c1, c2, c3, c4; local 395 BF_safe_atoi64(c1, *sptr++); 397 *dptr++ = (c1 << 2) | ((c2 & 0x30) >> 4); 419 unsigned int c1, c2; local 422 c1 = *sptr++; 423 *dptr++ = BF_itoa64[c1 >> 2]; 424 c1 = (c1 & 0x03) << 4; 426 *dptr++ = BF_itoa64[c1]; 431 c1 | [all...] |
| H A D | iptc.c | 126 int c1, c2; local 128 if ((c1 = 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 56 c1 = p1[i2 + 1] + cost_del; 57 if (c1 < c0) { 58 c0 = c1;
|
| /PHP_5_3/ext/gd/libgd/ |
| H A D | gd_topal.c | 478 int c0, c1, c2; local 492 for (c1 = c1min; c1 <= c1max; c1++) 494 histp = &histogram[c0][c1][c2min]; 505 for (c1 = c1min; c1 <= c1max; c1++) 507 histp = &histogram[c0][c1][c2min]; 517 for (c1 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...] |
| /PHP_5_3/ext/json/ |
| H A D | utf8_decode.c | 146 int c1 = cont(utf8); local 147 if (c1 < 0) { 150 r = ((c & 0x1F) << 6) | c1; 157 int c1 = cont(utf8); local 159 if (c1 < 0 || c2 < 0) { 162 r = ((c & 0x0F) << 12) | (c1 << 6) | c2; 169 int c1 = cont(utf8); local 172 if (c1 < 0 || c2 < 0 || c3 < 0) { 175 r = ((c & 0x0F) << 18) | (c1 << 12) | (c2 << 6) | c3;
|
| /PHP_5_3/ext/mbstring/libmbfl/filters/ |
| H A D | mbfilter_big5.c | 104 int c1, w; local 122 c1 = filter->cache; 125 w = (c1 - 0xa1)*157 + (c - 0x40); 127 w = (c1 - 0xa1)*157 + (c - 0xa1) + 0x3f; 135 w = (c1 << 8) | c; 143 w = (c1 << 8) | c; 164 int c1, s; local 183 c1 = c & ~MBFL_WCSPLANE_MASK; 184 if (c1 == MBFL_WCSPLANE_BIG5) {
|
| H A D | mbfilter_cp5022x.c | 231 int c1, s, w; local 271 c1 = filter->cache; 273 s = (c1 - 0x21)*94 + c - 0x21; 293 w = (c1 << 8) | c; 304 w = (c1 << 8) | c; 315 w = (c1 << 8) | c; 414 int c1, s; local 439 c1 = c & ~MBFL_WCSPLANE_MASK; 440 if (c1 == MBFL_WCSPLANE_JIS0208) { 442 } else if (c1 [all...] |
| H A D | mbfilter_cp51932.c | 101 #define sjistoidx(c1, c2) \ 102 (((c1) > 0x9f) \ 103 ? (((c1) - 0xc1) * 188 + (c2) - (((c2) > 0x7e) ? 0x41 : 0x40)) \ 104 : (((c1) - 0x81) * 188 + (c2) - (((c2) > 0x7e) ? 0x41 : 0x40))) 114 int c1, s, w; local 134 c1 = filter->cache; 137 s = (c1 - 0xa1)*94 + c - 0xa1; 165 w = ((c1 & 0x7f) << 8) | (c & 0x7f); 173 w = (c1 << 8) | c; 209 int c1, c local [all...] |
| H A D | mbfilter_cp932.c | 99 #define SJIS_ENCODE(c1,c2,s1,s2) \ 101 s1 = c1; \ 104 if ((c1) < 0x5f) { \ 110 if ((c1) & 1) { \ 120 #define SJIS_DECODE(c1,c2,s1,s2) \ 122 s1 = c1; \ 149 int c1, s, s1, s2, w; local 169 c1 = filter->cache; 172 SJIS_DECODE(c1, c, s1, s2); 213 w = (c1 << 234 int c1, c2, s1, s2; local [all...] |
| H A D | mbfilter_cp936.c | 105 int c1, w; local 125 c1 = filter->cache; 126 if ( c1 < 0xff && c1 > 0x80 && c > 0x39 && c < 0xff && c != 0x7f) { 127 w = (c1 - 0x81)*192 + (c - 0x40); 134 w = (c1 << 8) | c; 142 w = (c1 << 8) | c; 163 int c1, s; local 184 c1 = c & ~MBFL_WCSPLANE_MASK; 185 if (c1 [all...] |
| H A D | mbfilter_euc_cn.c | 104 int c1, w; local 122 c1 = filter->cache; 123 if (c1 > 0xa0 && c1 < 0xff && c > 0xa0 && c < 0xff) { 124 w = (c1 - 0x81)*192 + (c - 0x40); 131 w = (c1 << 8) | c; 139 w = (c1 << 8) | c; 160 int c1, c2, s; local 174 c1 = (s >> 8) & 0xff; 177 if (c1 < [all...] |
| H A D | mbfilter_euc_jp.c | 105 int c1, s, w; local 127 c1 = filter->cache; 129 s = (c1 - 0xa1)*94 + c - 0xa1; 136 w = ((c1 & 0x7f) << 8) | (c & 0x7f); 144 w = (c1 << 8) | c; 177 c1 = filter->cache; 178 if (c1 > 0xa0 && c1 < 0xff && c > 0xa0 && c < 0xff) { 179 s = (c1 - 0xa1)*94 + c - 0xa1; 186 w = ((c1 215 int c1, s; local [all...] |
| H A D | mbfilter_euc_jp_win.c | 108 int c1, s, w, n; local 130 c1 = filter->cache; 133 s = (c1 - 0xa1)*94 + c - 0xa1; 161 w = ((c1 & 0x7f) << 8) | (c & 0x7f); 169 w = (c1 << 8) | c; 202 c1 = filter->cache; 203 if (c1 > 0xa0 && c1 < 0xff && c > 0xa0 && c < 0xff) { 204 s = (c1 - 0xa1)*94 + c - 0xa1; 211 s = (c1<< 261 int c1, c2, s1; local [all...] |
| H A D | mbfilter_euc_kr.c | 104 int c1, w, flag; local 122 c1 = filter->cache; 124 if (c1 >= 0xa1 && c1 <= 0xc6) { 126 } else if (c1 >= 0xc7 && c1 <= 0xfe && c1 != 0xc9) { 131 w = (c1 - 0xa1)*190 + (c - 0x41); 138 w = (c1 - 0xc7)*94 + (c - 0xa1); 147 w = (c1 << 176 int c1, c2, s; local [all...] |
| H A D | mbfilter_euc_tw.c | 105 int c1, s, w, plane; local 126 c1 = filter->cache; 128 w = (c1 - 0xa1)*94 + (c - 0xa1); 135 w = (c1 << 8) | c; 143 w = (c1 << 8) | c; 151 c1 = filter->cache; 159 w = (c1 << 8) | c; 168 c1 = filter->cache; 174 filter->cache = (c1 << 8) + c - 0xa1; 176 w = (c1 << 228 int c1, s, plane; local [all...] |
| H A D | mbfilter_hz.c | 83 int c1, s, w; local 106 c1 = filter->cache; 107 if (c1 > 0x20 && c1 < 0x7f && c > 0x20 && c < 0x7f) { 108 s = (c1 - 1)*192 + c + 0x40; /* GB2312 */ 115 w = (c1 << 8) | c; 123 w = (c1 << 8) | c;
|
| H A D | mbfilter_iso2022_jp_ms.c | 81 #define sjistoidx(c1, c2) \ 82 (((c1) > 0x9f) \ 83 ? (((c1) - 0xc1) * 188 + (c2) - (((c2) > 0x7e) ? 0x41 : 0x40)) \ 84 : (((c1) - 0x81) * 188 + (c2) - (((c2) > 0x7e) ? 0x41 : 0x40))) 94 int c1, s, w; local 127 c1 = filter->cache; 129 s = (c1 - 0x21)*94 + c - 0x21; 160 w = (c1 << 8) | c; 166 if (c1 > 0x20 && c1 < 295 int c1, c2, s1, s2; local [all...] |
| H A D | mbfilter_iso2022_kr.c | 82 int c1, w, flag; local 111 c1 = filter->cache; 113 if (c1 > 0x20 && c1 < 0x47) { 115 } else if (c1 >= 0x47 && c1 <= 0x7e && c1 != 0x49) { 120 w = (c1 - 0x21)*190 + (c - 0x41) + 0x80; 127 w = (c1 - 0x47)*94 + (c - 0x21); 136 w = (c1 << 198 int c1, c2, s; local [all...] |
| H A D | mbfilter_jis.c | 119 int c1, s, w; local 159 c1 = filter->cache; 161 s = (c1 - 0x21)*94 + c - 0x21; 169 w = (c1 << 8) | c; 180 w = (c1 << 8) | c; 191 w = (c1 << 8) | c; 290 int c1, s; local 303 c1 = c & ~MBFL_WCSPLANE_MASK; 304 if (c1 == MBFL_WCSPLANE_JIS0208) { 306 } else if (c1 [all...] |
| H A D | mbfilter_sjis.c | 99 #define SJIS_ENCODE(c1,c2,s1,s2) \ 101 s1 = c1; \ 104 if ((c1) < 0x5f) { \ 110 if ((c1) & 1) { \ 120 #define SJIS_DECODE(c1,c2,s1,s2) \ 122 s1 = c1; \ 149 int c1, s1, s2, w; local 169 c1 = filter->cache; 171 SJIS_DECODE(c1, c, s1, s2); 184 w = (c1 << 214 int c1, c2, s1, s2; local [all...] |
| H A D | mbfilter_sjis_open.c | 99 #define SJIS_ENCODE(c1,c2,s1,s2) \ 101 s1 = c1; \ 104 if ((c1) < 0x5f) { \ 110 if ((c1) & 1) { \ 120 #define SJIS_DECODE(c1,c2,s1,s2) \ 122 s1 = c1; \ 149 int c1, s, s1, s2, w; local 169 c1 = filter->cache; 172 SJIS_DECODE(c1, c, s1, s2); 213 w = (c1 << 234 int c1, c2, s1, s2; local [all...] |
| H A D | mbfilter_uhc.c | 103 int c1, w = 0, flag = 0; local 121 c1 = filter->cache; 123 if ( c1 >= 0x81 && c1 <= 0xa0){ 124 w = (c1 - 0x81)*190 + (c - 0x41); 131 } else if ( c1 >= 0xa1 && c1 <= 0xc6){ 132 w = (c1 - 0xa1)*190 + (c - 0x41); 139 } else if ( c1 >= 0xc7 && c1 < 181 int c1, s; local [all...] |
| /PHP_5_3/ext/mbstring/oniguruma/enc/ |
| H A D | utf16_le.c | 87 UChar c1 = *(p+1); local 89 if (UTF16_IS_SURROGATE_FIRST(c1)) { 90 code = ((((c1 - 0xd8) << 2) + ((c0 & 0xc0) >> 6) + 1) << 16) 95 code = c1 * 256 + p[0];
|
| /PHP_5_3/ext/date/lib/ |
| H A D | dow.c | 36 timelib_sll c1, y1, m1, dow; local 44 c1 = century_value(y / 100); 47 dow = (c1 + y1 + m1 + (y1 / 4) + d) % 7;
|
| /PHP_5_3/Zend/ |
| H A D | zend_multibyte.c | 708 unsigned char c1, c2; local 740 c1 = *p++; 745 c1 -= (c1 <= 0x9f) ? 0x71 : 0xb1; 746 c1 = (c1 << 1) + 1; 749 c1++; 756 c1 |= 0x80; 759 *q++ = c1; 771 c1 828 unsigned char c1, c2; local [all...] |