Searched defs:c2 (Results 1 - 25 of 30) sorted by relevance

12

/PHP_5_5/ext/ereg/regex/
H A Dregcomp.c1287 == 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_5_5/ext/standard/
H A Dcrypt_blowfish.c392 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 Dlevenshtein.c33 int i1, i2, c0, c1, c2; local
60 c2 = p2[i2] + cost_ins;
61 if (c2 < c0) {
62 c0 = c2;
H A Diptc.c126 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);
/PHP_5_5/win32/
H A Dfnmatch.c156 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_5_5/ext/gd/libgd/
H A Dgd_topal.c478 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 Dgdkanji.c234 register unsigned char c2 = *p2; local
235 register int adjust = c2 < 159;
237 register int cellOffset = adjust ? (31 + (c2 > 127)) : 126;
H A Dgd_crop.c161 int c2 = gdImageGetPixel(im, x, y); local
162 match = (color == c2);
/PHP_5_5/ext/json/
H A Dutf8_decode.c158 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_5_5/ext/mbstring/libmbfl/filters/
H A Dmbfilter_big5.c148 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 Dmbfilter_cp51932.c101 #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 Dmbfilter_cp932.c99 #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 Dmbfilter_cp936.c106 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 Dmbfilter_euc_cn.c160 int c1, c2, s; local
183 c2 = s & 0xff;
185 if (c1 < 0xa1 || c2 < 0xa1) { /* exclude CP936 extension */
H A Dmbfilter_euc_jp_win.c261 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 Dmbfilter_euc_kr.c176 int c1, c2, s; local
197 c2 = s & 0xff;
199 if (c1 < 0xa1 || c2 < 0xa1){
H A Dmbfilter_gb18030.c128 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 Dmbfilter_iso2022_jp_ms.c81 #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 Dmbfilter_iso2022_kr.c198 int c1, c2, s; local
219 c2 = s & 0xff;
221 if (c1 < 0xa1 || c2 < 0xa1){
H A Dmbfilter_sjis.c102 #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 Dmbfilter_sjis_mac.c85 #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 Dmbfilter_sjis_open.c99 #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...]
H A Dmbfilter_iso2022jp_mobile.c83 #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 Dmbfilter_sjis_2004.c86 #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 = 0, s2 = 0, 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 Dmbfilter_sjis_mobile.c198 #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...]

Completed in 23 milliseconds

12