Searched refs:c1 (Results 1 - 25 of 41) sorted by relevance

12

/PHP_TRUNK/ext/gd/libgd/
H A Dgd_topal.c478 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_TRUNK/ext/json/
H A Dutf8_decode.c146 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_TRUNK/ext/mbstring/libmbfl/filters/
H A Dmbfilter_big5.c148 int c1, w, c2; local
153 c1 = 0x80;
155 c1 = 0xa0;
162 } else if (c > c1 && c < 0xff) { /* dbcs lead byte */
174 c1 = filter->cache;
177 w = (c1 - 0xa1)*157 + (c - 0x40);
179 w = (c1 - 0xa1)*157 + (c - 0xa1) + 0x3f;
190 (((c1 >= 0xfa && c1 <= 0xfe) || (c1 >
241 int c1, s, c2; local
321 int c1; local
[all...]
H A Dmbfilter_cp51932.c101 #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 Dmbfilter_cp932.c99 #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 Dmbfilter_cp936.c106 int c1, c2, w = -1; local
124 c1 = filter->cache;
126 if (((c1 >= 0xaa && c1 <= 0xaf) || (c1 >= 0xf8 && c1 <= 0xfe)) &&
129 w = 94*(c1 >= 0xf8 ? c1 - 0xf2 : c1 - 0xaa) + (c - 0xa1) + 0xe000;
131 } else if (c1 >
194 int c1, s = 0; local
[all...]
H A Dmbfilter_euc_cn.c104 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
182 c1 = (s >> 8) & 0xff;
185 if (c1 <
[all...]
H A Dmbfilter_euc_jp.c105 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 Dmbfilter_euc_jp_win.c108 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 Dmbfilter_euc_kr.c104 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 Dmbfilter_euc_tw.c105 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 Dmbfilter_gb18030.c128 int c1, c2, c3, w = -1; local
149 c1 = filter->cache;
152 if (c1 >= 0x81 && c1 <= 0x84 && c >= 0x30 && c <= 0x39) { /* 4 byte range: Unicode BMP */
154 filter->cache = (c1 << 8) | c;
156 } else if (c1 >= 0x90 && c1 <= 0xe3 && c >= 0x30 && c <= 0x39) {
159 filter->cache = (c1 << 8) | c;
161 } else if (((c1 >= 0xaa && c1 <
288 int c1, s = 0, s1 = 0; local
423 int c1; local
[all...]
H A Dmbfilter_hz.c83 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 Dmbfilter_iso2022_jp_ms.c81 #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 Dmbfilter_iso2022_kr.c82 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 Dmbfilter_sjis.c102 #define SJIS_ENCODE(c1,c2,s1,s2) \
104 s1 = c1; \
107 if ((c1) < 0x5f) { \
113 if ((c1) & 1) { \
123 #define SJIS_DECODE(c1,c2,s1,s2) \
125 s1 = c1; \
152 int c1, s1, s2, w; local
172 c1 = filter->cache;
174 SJIS_DECODE(c1, c, s1, s2);
187 w = (c1 <<
217 int c1, c2, s1, s2; local
[all...]
H A Dmbfilter_sjis_mac.c85 #define SJIS_ENCODE(c1,c2,s1,s2) \
87 s1 = c1; \
90 if ((c1) < 0x5f) { \
96 if ((c1) & 1) { \
106 #define SJIS_DECODE(c1,c2,s1,s2) \
108 s1 = c1; \
135 int c1, s, s1, s2, w; local
168 c1 = filter->cache;
171 SJIS_DECODE(c1, c, s1, s2);
261 w = (c1 <<
283 int c1, c2, s1, s2, mode; local
677 int i, c1, s1 = 0; local
[all...]
H A Dmbfilter_sjis_open.c99 #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; \
148 int c1, s, s1, s2, w; local
168 c1 = filter->cache;
171 SJIS_DECODE(c1, c, s1, s2);
212 w = (c1 <<
233 int c1, c2, s1, s2; local
[all...]
H A Dmbfilter_uhc.c104 int c1, w = 0, flag = 0; local
122 c1 = filter->cache;
124 if ( c1 >= 0x81 && c1 <= 0xa0){
125 w = (c1 - 0x81)*190 + (c - 0x41);
132 } else if ( c1 >= 0xa1 && c1 <= 0xc6){
133 w = (c1 - 0xa1)*190 + (c - 0x41);
140 } else if ( c1 >= 0xc7 && c1 <
182 int c1, s; local
[all...]
H A Dmbfilter_utf8.c112 int s, c1, w = 0, flag = 0; local
147 c1 = filter->cache & 0xf;
150 ((c1 == 0x0 && c >= 0xa0) ||
151 (c1 == 0xd && c < 0xa0) ||
152 (c1 > 0x0 && c1 != 0xd))) {
162 c1 = filter->cache & 0x7;
165 ((c1 == 0x0 && c >= 0x90) ||
166 (c1 == 0x4 && c < 0x90) ||
167 (c1 >
244 int c1; local
[all...]
H A Dmbfilter_utf8_mobile.c193 int s1 = 0, c1 = 0, snd = 0; local
246 c1 = filter->cache & 0xf;
249 ((c1 == 0x0 && c >= 0xa0) ||
250 (c1 == 0xd && c < 0xa0) ||
251 (c1 > 0x0 && c1 != 0xd))) {
261 c1 = filter->cache & 0x7;
264 ((c1 == 0x0 && c >= 0x90) ||
265 (c1 == 0x4 && c < 0x90) ||
266 (c1 >
297 int s1, c1; local
[all...]
H A Dmbfilter_iso2022jp_mobile.c83 #define sjistoidx(c1, c2) \
84 (((c1) > 0x9f) \
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) \
92 s1 = c1; \
95 if ((c1) < 0x5f) { \
101 if ((c1) & 1) { \
111 #define SJIS_DECODE(c1,c2,s1,s2) \
113 s1 = c1; \
145 int c1, s, w, snd = 0; local
322 int c1, c2, s1, s2; local
[all...]
H A Dmbfilter_sjis_2004.c86 #define SJIS_ENCODE(c1,c2,s1,s2) \
88 s1 = c1; \
91 if ((c1) < 0x5f) { \
97 if ((c1) & 1) { \
107 #define SJIS_DECODE(c1,c2,s1,s2) \
109 s1 = c1; \
137 int c1, c2, s, s1 = 0, s2 = 0, w = 0, w1; local
205 c1 = filter->cache;
209 s1 = c1 - 0x80;
214 SJIS_DECODE(c1,
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) \
200 s1 = c1; \
203 if ((c1) < 0x5f) { \
209 if ((c1) & 1) { \
219 #define SJIS_DECODE(c1,c2,s1,s2) \
221 s1 = c1; \
241 #define CODE2JIS(c1,c2,s1,s2) \
242 c1 = (s1)/94+0x21; \
243 c2 = (s1)-94*((c1)-0x21)+0x21; \
244 s1 = ((c1) <<
608 int c1, s, s1 = 0, s2 = 0, w; local
788 int c1, c2, s1, s2; local
914 int c1 = filter->cache; local
[all...]
/PHP_TRUNK/ext/standard/
H A Dlevenshtein.c33 int i1, i2, c0, c1, c2; local
56 c1 = p1[i2 + 1] + cost_del;
57 if (c1 < c0) {
58 c0 = c1;

Completed in 45 milliseconds

12