/php-src/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_utf7imap.c | 172 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_utf7imap_wchar() 202 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar() 211 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar() 238 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar() 333 CK((*filter->filter_function)(s, filter)); in mbfl_filt_conv_wchar_utf7imap() 335 CK((*filter->filter_function)(s, filter)); in mbfl_filt_conv_wchar_utf7imap() 338 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_utf7imap() 345 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_wchar_utf7imap() 364 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_wchar_utf7imap() 383 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_wchar_utf7imap() [all …]
|
H A D | mbfilter_qprint.c | 95 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_qprintenc() 101 CK((*filter->output_function)('\r', filter->data)); in mbfl_filt_conv_qprintenc() 110 CK((*filter->output_function)('=', filter->data)); in mbfl_filt_conv_qprintenc() 118 CK((*filter->output_function)('=', filter->data)); in mbfl_filt_conv_qprintenc() 125 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_qprintenc() 132 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_qprintenc() 135 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_qprintenc() 195 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_qprintdec() 208 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_qprintdec() 213 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_qprintdec() [all …]
|
H A D | mbfilter_base64.c | 106 CK((*filter->output_function)(0x0d, filter->data)); /* CR */ in mbfl_filt_conv_base64enc() 107 CK((*filter->output_function)(0x0a, filter->data)); /* LF */ in mbfl_filt_conv_base64enc() 133 CK((*filter->output_function)(0x0d, filter->data)); /* CR */ in mbfl_filt_conv_base64enc_flush() 134 CK((*filter->output_function)(0x0a, filter->data)); /* LF */ in mbfl_filt_conv_base64enc_flush() 139 CK((*filter->output_function)(0x3d, filter->data)); /* '=' */ in mbfl_filt_conv_base64enc_flush() 140 CK((*filter->output_function)(0x3d, filter->data)); /* '=' */ in mbfl_filt_conv_base64enc_flush() 143 CK((*filter->output_function)(0x3d, filter->data)); /* '=' */ in mbfl_filt_conv_base64enc_flush() 177 CK((*filter->output_function)(MBFL_BAD_INPUT, filter->data)); in mbfl_filt_conv_base64dec() 198 CK((*filter->output_function)((n >> 16) & 0xff, filter->data)); in mbfl_filt_conv_base64dec() 199 CK((*filter->output_function)((n >> 8) & 0xff, filter->data)); in mbfl_filt_conv_base64dec() [all …]
|
H A D | mbfilter_utf7.c | 125 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_utf7_wchar() 140 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_utf7_wchar() 174 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar() 185 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar() 214 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar() 225 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar() 259 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar() 303 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_utf7() 310 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_wchar_utf7() 328 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_wchar_utf7() [all …]
|
H A D | mbfilter_utf32.c | 152 CK((*filter->output_function)(n, filter->data)); in emit_char_if_valid() 154 CK((*filter->output_function)(MBFL_BAD_INPUT, filter->data)); in emit_char_if_valid() 174 CK(emit_char_if_valid(n, filter)); in mbfl_filt_conv_utf32_wchar() 190 CK(emit_char_if_valid(n, filter)); in mbfl_filt_conv_utf32be_wchar() 200 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_utf32be() 201 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_utf32be() 203 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_utf32be() 217 CK(emit_char_if_valid(n, filter)); in mbfl_filt_conv_utf32le_wchar() 225 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_utf32le() 230 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_utf32le() [all …]
|
H A D | mbfilter_cjk.c | 162 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis_wchar() 198 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis_wchar() 349 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_jis() 379 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_jis() 1266 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_2022jp_mobile() 2042 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_jis2004() 2964 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_cp50221() 3087 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_cp50222() 3790 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_2022jpms() 4202 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_2022kr() [all …]
|
H A D | mbfilter_singlebyte.c | 28 CK((*filter->output_function)(c, filter->data)); in mbfl_conv_singlebyte_table() 40 CK((*filter->output_function)(c, filter->data)); in mbfl_conv_reverselookup_table() 42 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_conv_reverselookup_table() 50 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_conv_reverselookup_table() 152 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_wchar_ascii() 154 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_ascii() 208 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_8859_1() 500 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_cp1252() 508 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_cp1252() 512 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_cp1252() [all …]
|
H A D | mbfilter_utf8.c | 346 CK(mbfl_filt_put_invalid_char(filter)); in mbfl_filt_conv_utf8_wchar() 357 CK(mbfl_filt_put_invalid_char(filter)); in mbfl_filt_conv_utf8_wchar() 372 CK(mbfl_filt_put_invalid_char(filter)); in mbfl_filt_conv_utf8_wchar() 387 CK(mbfl_filt_put_invalid_char(filter)); in mbfl_filt_conv_utf8_wchar() 396 CK(mbfl_filt_put_invalid_char(filter)); in mbfl_filt_conv_utf8_wchar() 440 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_utf8() 603 CK(mbfl_filt_put_invalid_char(filter)); in mbfl_filt_conv_utf8_mobile_wchar() 630 CK(mbfl_filt_put_invalid_char(filter)); in mbfl_filt_conv_utf8_mobile_wchar() 646 CK(mbfl_filt_put_invalid_char(filter)); in mbfl_filt_conv_utf8_mobile_wchar() 662 CK(mbfl_filt_put_invalid_char(filter)); in mbfl_filt_conv_utf8_mobile_wchar() [all …]
|
H A D | mbfilter_ucs4.c | 208 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_ucs4_wchar() 238 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_ucs4be_wchar() 249 CK((*filter->output_function)((c >> 24) & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs4be() 251 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs4be() 252 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs4be() 254 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_ucs4be() 282 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_ucs4le_wchar() 293 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs4le() 294 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs4le() 298 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_ucs4le() [all …]
|
H A D | mbfilter_ucs2.c | 154 #define CK(statement) do { if ((statement) < 0) return (-1); } while (0) macro 170 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_ucs2_wchar() 184 CK((*filter->output_function)((c & 0xFF) | filter->cache, filter->data)); in mbfl_filt_conv_ucs2be_wchar() 192 CK((*filter->output_function)((c >> 8) & 0xFF, filter->data)); in mbfl_filt_conv_wchar_ucs2be() 193 CK((*filter->output_function)(c & 0xFF, filter->data)); in mbfl_filt_conv_wchar_ucs2be() 195 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_ucs2be() 207 CK((*filter->output_function)(((c & 0xFF) << 8) | filter->cache, filter->data)); in mbfl_filt_conv_ucs2le_wchar() 215 CK((*filter->output_function)(c & 0xFF, filter->data)); in mbfl_filt_conv_wchar_ucs2le() 216 CK((*filter->output_function)((c >> 8) & 0xFF, filter->data)); in mbfl_filt_conv_wchar_ucs2le() 218 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_ucs2le() [all …]
|
H A D | mbfilter_htmlent.c | 109 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_html_enc() 111 CK((*filter->output_function)('&', filter->data)); in mbfl_filt_conv_html_enc() 117 CK((*filter->output_function)((int)*p, filter->data)); in mbfl_filt_conv_html_enc() 126 CK((*filter->output_function)('#', filter->data)); in mbfl_filt_conv_html_enc() 137 CK((*filter->output_function)(*p, filter->data)); in mbfl_filt_conv_html_enc() 141 CK((*filter->output_function)(';', filter->data)); in mbfl_filt_conv_html_enc() 192 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_html_dec() 239 CK((*filter->output_function)(ent, filter->data)); in mbfl_filt_conv_html_dec() 242 CK((*filter->output_function)(buffer[pos], filter->data)); in mbfl_filt_conv_html_dec() 244 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_html_dec() [all …]
|
H A D | mbfilter_utf16.c | 314 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16_wchar() 343 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16be_wchar() 362 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16be_wchar() 366 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16be_wchar() 379 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_utf16be() 383 CK((*filter->output_function)(n & 0xff, filter->data)); in mbfl_filt_conv_wchar_utf16be() 386 CK((*filter->output_function)(n & 0xff, filter->data)); in mbfl_filt_conv_wchar_utf16be() 388 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_utf16be() 435 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16le_wchar() 441 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16le_wchar() [all …]
|
H A D | mbfilter_7bit.c | 72 #define CK(statement) do { if ((statement) < 0) return (-1); } while (0) macro 82 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_any_7bit() 84 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_any_7bit()
|
H A D | mbfilter_uuencode.c | 61 #define CK(statement) do { if ((statement) < 0) return (-1); } while (0) macro 144 CK((*filter->output_function)( (A << 2) | (B >> 4), filter->data)); in mbfl_filt_conv_uudec() 146 CK((*filter->output_function)( (B << 4) | (C >> 2), filter->data)); in mbfl_filt_conv_uudec() 148 CK((*filter->output_function)( (C << 6) | D, filter->data)); in mbfl_filt_conv_uudec()
|
/php-src/ext/opcache/jit/ir/dynasm/ |
H A D | dasm_arm.h | 152 #define CK(x, st) \ macro 159 #define CK(x, st) ((void)0) macro 245 CK((n>>((ins>>5)&31)) == 0, RANGE_I); in dasm_put() 250 CK((n & 3) == 0, RANGE_I); in dasm_put() 255 CK(n >= 0 ? ((n>>((ins>>5)&31)) == 0) : in dasm_put() 260 CK(dasm_imm12((unsigned int)n) != -1, RANGE_I); in dasm_put() 271 #undef CK 333 #define CK(x, st) \ macro 336 #define CK(x, st) ((void)0) macro 375 CK(n >= 0, UNDEF_PC); in dasm_encode() [all …]
|
H A D | dasm_arm64.h | 157 #define CK(x, st) \ macro 164 #define CK(x, st) ((void)0) macro 302 CK((n >> 6) == 0, RANGE_I); in dasm_put() 310 CK(dasm_imm13(n, n) != -1, RANGE_I); in dasm_put() 315 CK(dasm_imm13(n, m) != -1, RANGE_I); in dasm_put() 334 CK(n < 32, RANGE_VREG); in dasm_put() 345 #undef CK 417 #define CK(x, st) \ macro 420 #define CK(x, st) ((void)0) macro 461 CK(n >= 0, UNDEF_PC); in dasm_encode() [all …]
|
H A D | dasm_ppc.h | 151 #define CK(x, st) \ macro 158 #define CK(x, st) ((void)0) macro 231 CK((n & ((1<<((ins>>10)&31))-1)) == 0, RANGE_I); in dasm_put() 238 CK((n>>((ins>>5)&31)) == 0, RANGE_I); in dasm_put() 243 CK((n >> 6) == 0, RANGE_I); in dasm_put() 254 #undef CK 315 #define CK(x, st) \ macro 318 #define CK(x, st) ((void)0) macro 357 CK(n >= 0, UNDEF_PC); in dasm_encode() 360 CK((n & 3) == 0 && in dasm_encode() [all …]
|
H A D | dasm_mips.h | 151 #define CK(x, st) \ macro 158 #define CK(x, st) ((void)0) macro 193 n = (ins & 255); CK(n < D->maxsection, RANGE_SEC); in dasm_put() 231 CK((n & ((1<<((ins>>10)&31))-1)) == 0, RANGE_I); in dasm_put() 238 CK((n>>((ins>>5)&31)) == 0, RANGE_I); in dasm_put() 250 #undef CK 311 #define CK(x, st) \ macro 314 #define CK(x, st) ((void)0) macro 353 CK(n >= 0, UNDEF_PC); in dasm_encode() 361 CK((n & 3) == 0 && in dasm_encode() [all …]
|
H A D | dasm_x86.h | 153 #define CK(x, st) \ macro 160 #define CK(x, st) ((void)0) macro 201 case DASM_IMM_S: CK((((unsigned)n+128)&-256) == 0, RANGE_I); goto ob; in dasm_put() 202 case DASM_IMM_B: CK((n&-256) == 0, RANGE_I); ob: ofs++; break; in dasm_put() 204 case DASM_IMM_W: CK((n&-65536) == 0, RANGE_I); ofs += 2; break; in dasm_put() 207 case DASM_VREG: CK((n&-16) == 0 && (n != 4 || (*p>>5) != 2), RANGE_VREG); in dasm_put() 225 if (n <= 246) { CK(n>=10||*pl<0, RANGE_LG); CKPL(lg, LG); goto putrel; } in dasm_put() 264 n = *p; CK(n < D->maxsection, RANGE_SEC); D->section = &D->sections[n]; in dasm_put() 274 #undef CK
|
/php-src/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfilter_8bit.c | 79 #define CK(statement) do { if ((statement) < 0) return (-1); } while (0) macro 89 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_wchar_8bit() 91 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_8bit()
|
/php-src/ext/mbstring/tests/ |
H A D | mb_decode_mimeheader_variation2.phpt | 19 "=?ISO-2022-JP?Q?=1B=24BF=7CK=5C=38l=25F=25-=25=39=25H=24G=24=39=1B=28B?=
|
H A D | mb_encode_mimeheader_basic3.phpt | 49 string(209) "=?ISO-2022-JP?Q?=1B=24BF=7CK=5C=38l=25F=25-=25=39=25H=24G=24=39=1B=28B?=
|