Searched defs:filter (Results 1 - 25 of 84) sorted by relevance

1234

/PHP_5_5/ext/mbstring/libmbfl/filters/
H A Dmbfilter_7bit.c2 * "streamable kanji code filter and converter"
7 * This file is part of "streamable kanji code filter and converter",
17 * License along with "streamable kanji code filter and converter";
68 int mbfl_filt_conv_7bit_any(int c, mbfl_convert_filter *filter) argument
70 return (*filter->output_function)(c, filter->data);
74 int mbfl_filt_conv_any_7bit(int c, mbfl_convert_filter *filter) argument
77 CK((*filter->output_function)(c, filter->data));
H A Dmbfilter_armscii8.c2 * "streamable kanji code filter and converter"
7 * This file is part of "streamable kanji code filter and converter",
17 * License along with "streamable kanji code filter and converter";
26 * "armenian code filter and converter"
37 static int mbfl_filt_ident_armscii8(int c, mbfl_identify_filter *filter);
80 int mbfl_filt_conv_armscii8_wchar(int c, mbfl_convert_filter *filter) argument
99 CK((*filter->output_function)(s, filter->data));
107 int mbfl_filt_conv_wchar_armscii8(int c, mbfl_convert_filter *filter) argument
132 CK((*filter
142 mbfl_filt_ident_armscii8(int c, mbfl_identify_filter *filter) argument
[all...]
H A Dmbfilter_ascii.c2 * "streamable kanji code filter and converter"
7 * This file is part of "streamable kanji code filter and converter",
17 * License along with "streamable kanji code filter and converter";
38 static int mbfl_filt_ident_ascii(int c, mbfl_identify_filter *filter);
81 int mbfl_filt_conv_ascii_wchar(int c, mbfl_convert_filter *filter) argument
83 return (*filter->output_function)(c, filter->data);
90 int mbfl_filt_conv_wchar_ascii(int c, mbfl_convert_filter *filter) argument
93 CK((*filter->output_function)(c, filter
103 mbfl_filt_ident_ascii(int c, mbfl_identify_filter *filter) argument
[all...]
H A Dmbfilter_base64.c2 * "streamable kanji code filter and converter"
7 * This file is part of "streamable kanji code filter and converter",
17 * License along with "streamable kanji code filter and converter";
84 int mbfl_filt_conv_base64enc(int c, mbfl_convert_filter *filter) argument
88 n = (filter->status & 0xff);
90 filter->status++;
91 filter->cache = (c & 0xff) << 16;
93 filter->status++;
94 filter->cache |= (c & 0xff) << 8;
96 filter
116 mbfl_filt_conv_base64enc_flush(mbfl_convert_filter *filter) argument
149 mbfl_filt_conv_base64dec(int c, mbfl_convert_filter *filter) argument
196 mbfl_filt_conv_base64dec_flush(mbfl_convert_filter *filter) argument
[all...]
H A Dmbfilter_byte2.c2 * "streamable kanji code filter and converter"
7 * This file is part of "streamable kanji code filter and converter",
17 * License along with "streamable kanji code filter and converter";
91 int mbfl_filt_conv_byte2be_wchar(int c, mbfl_convert_filter *filter) argument
95 if (filter->status == 0) {
96 filter->status = 1;
98 filter->cache = n;
100 filter->status = 0;
101 n = (c & 0xff) | filter->cache;
102 CK((*filter
107 mbfl_filt_conv_wchar_byte2be(int c, mbfl_convert_filter *filter) argument
114 mbfl_filt_conv_byte2le_wchar(int c, mbfl_convert_filter *filter) argument
130 mbfl_filt_conv_wchar_byte2le(int c, mbfl_convert_filter *filter) argument
[all...]
H A Dmbfilter_byte4.c2 * "streamable kanji code filter and converter"
7 * This file is part of "streamable kanji code filter and converter",
17 * License along with "streamable kanji code filter and converter";
93 int mbfl_filt_conv_byte4be_wchar(int c, mbfl_convert_filter *filter) argument
97 if (filter->status == 0) {
98 filter->status = 1;
100 filter->cache = n;
101 } else if (filter->status == 1) {
102 filter->status = 2;
104 filter
117 mbfl_filt_conv_wchar_byte4be(int c, mbfl_convert_filter *filter) argument
126 mbfl_filt_conv_byte4le_wchar(int c, mbfl_convert_filter *filter) argument
150 mbfl_filt_conv_wchar_byte4le(int c, mbfl_convert_filter *filter) argument
[all...]
H A Dmbfilter_cp1251.c2 * "streamable kanji code filter and converter"
7 * This file is part of "streamable kanji code filter and converter",
17 * License along with "streamable kanji code filter and converter";
38 static int mbfl_filt_ident_cp1251(int c, mbfl_identify_filter *filter);
82 mbfl_filt_conv_cp1251_wchar(int c, mbfl_convert_filter *filter) argument
101 CK((*filter->output_function)(s, filter->data));
110 mbfl_filt_conv_wchar_cp1251(int c, mbfl_convert_filter *filter) argument
132 CK((*filter->output_function)(s, filter
143 mbfl_filt_ident_cp1251(int c, mbfl_identify_filter *filter) argument
[all...]
H A Dmbfilter_cp1252.c2 * "streamable kanji code filter and converter"
7 * This file is part of "streamable kanji code filter and converter",
17 * License along with "streamable kanji code filter and converter";
38 static int mbfl_filt_ident_cp1252(int c, mbfl_identify_filter *filter);
81 int mbfl_filt_conv_wchar_cp1252(int c, mbfl_convert_filter *filter) argument
105 CK((*filter->output_function)(s, filter->data));
107 if (filter->illegal_mode != MBFL_OUTPUTFILTER_ILLEGAL_MODE_NONE) {
108 CK(mbfl_filt_conv_illegal_output(c, filter));
117 int mbfl_filt_conv_cp1252_wchar(int c, mbfl_convert_filter *filter) argument
138 mbfl_filt_ident_cp1252(int c, mbfl_identify_filter *filter) argument
[all...]
H A Dmbfilter_cp1254.c2 * "streamable kanji code filter and converter"
7 * This file is part of "streamable kanji code filter and converter",
17 * License along with "streamable kanji code filter and converter";
38 static int mbfl_filt_ident_cp1254(int c, mbfl_identify_filter *filter);
82 mbfl_filt_conv_wchar_cp1254(int c, mbfl_convert_filter *filter) argument
104 CK((*filter->output_function)(s, filter->data));
106 if (filter->illegal_mode != MBFL_OUTPUTFILTER_ILLEGAL_MODE_NONE) {
107 CK(mbfl_filt_conv_illegal_output(c, filter));
118 mbfl_filt_conv_cp1254_wchar(int c, mbfl_convert_filter *filter) argument
148 mbfl_filt_ident_cp1254(int c, mbfl_identify_filter *filter) argument
[all...]
H A Dmbfilter_cp850.c2 * "streamable kanji code filter and converter"
7 * This file is part of "streamable kanji code filter and converter",
17 * License along with "streamable kanji code filter and converter";
34 static int mbfl_filt_ident_cp850(int c, mbfl_identify_filter *filter);
78 mbfl_filt_conv_cp850_wchar(int c, mbfl_convert_filter *filter) argument
97 CK((*filter->output_function)(s, filter->data));
106 mbfl_filt_conv_wchar_cp850(int c, mbfl_convert_filter *filter) argument
128 CK((*filter->output_function)(s, filter
138 mbfl_filt_ident_cp850(int c, mbfl_identify_filter *filter) argument
[all...]
H A Dmbfilter_cp866.c2 * "streamable kanji code filter and converter"
7 * This file is part of "streamable kanji code filter and converter",
17 * License along with "streamable kanji code filter and converter";
38 static int mbfl_filt_ident_cp866(int c, mbfl_identify_filter *filter);
82 mbfl_filt_conv_cp866_wchar(int c, mbfl_convert_filter *filter) argument
101 CK((*filter->output_function)(s, filter->data));
110 mbfl_filt_conv_wchar_cp866(int c, mbfl_convert_filter *filter) argument
132 CK((*filter->output_function)(s, filter
142 mbfl_filt_ident_cp866(int c, mbfl_identify_filter *filter) argument
[all...]
H A Dmbfilter_euc_cn.c2 * "streamable kanji code filter and converter"
7 * This file is part of "streamable kanji code filter and converter",
17 * License along with "streamable kanji code filter and converter";
39 static int mbfl_filt_ident_euccn(int c, mbfl_identify_filter *filter);
102 mbfl_filt_conv_euccn_wchar(int c, mbfl_convert_filter *filter) argument
106 switch (filter->status) {
109 CK((*filter->output_function)(c, filter->data));
111 filter->status = 1;
112 filter
158 mbfl_filt_conv_wchar_euccn(int c, mbfl_convert_filter *filter) argument
216 mbfl_filt_ident_euccn(int c, mbfl_identify_filter *filter) argument
[all...]
H A Dmbfilter_euc_jp.c2 * "streamable kanji code filter and converter"
7 * This file is part of "streamable kanji code filter and converter",
17 * License along with "streamable kanji code filter and converter";
40 int mbfl_filt_ident_eucjp(int c, mbfl_identify_filter *filter);
103 mbfl_filt_conv_eucjp_wchar(int c, mbfl_convert_filter *filter) argument
107 switch (filter->status) {
110 CK((*filter->output_function)(c, filter->data));
112 filter->status = 1;
113 filter
213 mbfl_filt_conv_wchar_eucjp(int c, mbfl_convert_filter *filter) argument
278 mbfl_filt_ident_eucjp(int c, mbfl_identify_filter *filter) argument
[all...]
H A Dmbfilter_euc_tw.c2 * "streamable kanji code filter and converter"
7 * This file is part of "streamable kanji code filter and converter",
17 * License along with "streamable kanji code filter and converter";
39 static int mbfl_filt_ident_euctw(int c, mbfl_identify_filter *filter);
103 mbfl_filt_conv_euctw_wchar(int c, mbfl_convert_filter *filter) argument
107 switch (filter->status) {
110 CK((*filter->output_function)(c, filter->data));
112 filter->status = 1;
113 filter
226 mbfl_filt_conv_wchar_euctw(int c, mbfl_convert_filter *filter) argument
278 mbfl_filt_ident_euctw(int c, mbfl_identify_filter *filter) argument
[all...]
H A Dmbfilter_hz.c2 * "streamable kanji code filter and converter"
7 * This file is part of "streamable kanji code filter and converter",
17 * License along with "streamable kanji code filter and converter";
39 static int mbfl_filt_ident_hz(int c, mbfl_identify_filter *filter);
81 mbfl_filt_conv_hz_wchar(int c, mbfl_convert_filter *filter) argument
85 switch (filter->status & 0xf) {
90 filter->status += 2;
91 } else if (filter->status == 0x10 && c > 0x20 && c < 0x7f) { /* DBCS first char */
92 filter->cache = c;
93 filter
154 mbfl_filt_conv_wchar_hz(int c, mbfl_convert_filter *filter) argument
221 mbfl_filt_conv_any_hz_flush(mbfl_convert_filter *filter) argument
232 mbfl_filt_ident_hz(int c, mbfl_identify_filter *filter) argument
[all...]
H A Dmbfilter_iso2022_kr.c2 * "streamable kanji code filter and converter"
7 * This file is part of "streamable kanji code filter and converter",
17 * License along with "streamable kanji code filter and converter";
38 static int mbfl_filt_ident_2022kr(int c, mbfl_identify_filter *filter);
80 mbfl_filt_conv_2022kr_wchar(int c, mbfl_convert_filter *filter) argument
85 switch (filter->status & 0xf) {
90 filter->status += 2;
92 filter->status &= ~0xff;
94 filter->status |= 0x10;
95 } else if ((filter
196 mbfl_filt_conv_wchar_2022kr(int c, mbfl_convert_filter *filter) argument
273 mbfl_filt_conv_any_2022kr_flush(mbfl_convert_filter *filter) argument
289 mbfl_filt_ident_2022kr(int c, mbfl_identify_filter *filter) argument
[all...]
H A Dmbfilter_iso2022jp_2004.c2 * "streamable kanji code filter and converter"
7 * This file is part of "streamable kanji code filter and converter",
17 * License along with "streamable kanji code filter and converter";
41 extern int mbfl_filt_conv_any_jis_flush(mbfl_convert_filter *filter);
42 static int mbfl_filt_ident_2022jp_2004(int c, mbfl_identify_filter *filter);
78 static int mbfl_filt_ident_2022jp_2004(int c, mbfl_identify_filter *filter) argument
81 switch (filter->status & 0xf) {
88 filter->status += 2;
89 } else if (filter->status == 0x80 && c > 0x20 && c < 0x7f) { /* kanji first char */
90 filter
[all...]
H A Dmbfilter_iso8859_1.c2 * "streamable kanji code filter and converter"
7 * This file is part of "streamable kanji code filter and converter",
17 * License along with "streamable kanji code filter and converter";
79 int mbfl_filt_conv_8859_1_wchar(int c, mbfl_convert_filter *filter) argument
81 return (*filter->output_function)(c, filter->data);
87 int mbfl_filt_conv_wchar_8859_1(int c, mbfl_convert_filter *filter) argument
90 CK((*filter->output_function)(c, filter->data));
92 if (filter
[all...]
H A Dmbfilter_iso8859_10.c2 * "streamable kanji code filter and converter"
7 * This file is part of "streamable kanji code filter and converter",
17 * License along with "streamable kanji code filter and converter";
79 int mbfl_filt_conv_8859_10_wchar(int c, mbfl_convert_filter *filter) argument
98 CK((*filter->output_function)(s, filter->data));
106 int mbfl_filt_conv_wchar_8859_10(int c, mbfl_convert_filter *filter) argument
128 CK((*filter->output_function)(s, filter->data));
130 if (filter
[all...]
H A Dmbfilter_iso8859_13.c2 * "streamable kanji code filter and converter"
7 * This file is part of "streamable kanji code filter and converter",
17 * License along with "streamable kanji code filter and converter";
79 int mbfl_filt_conv_8859_13_wchar(int c, mbfl_convert_filter *filter) argument
98 CK((*filter->output_function)(s, filter->data));
106 int mbfl_filt_conv_wchar_8859_13(int c, mbfl_convert_filter *filter) argument
128 CK((*filter->output_function)(s, filter->data));
130 if (filter
[all...]
H A Dmbfilter_iso8859_14.c2 * "streamable kanji code filter and converter"
7 * This file is part of "streamable kanji code filter and converter",
17 * License along with "streamable kanji code filter and converter";
79 int mbfl_filt_conv_8859_14_wchar(int c, mbfl_convert_filter *filter) argument
98 CK((*filter->output_function)(s, filter->data));
106 int mbfl_filt_conv_wchar_8859_14(int c, mbfl_convert_filter *filter) argument
128 CK((*filter->output_function)(s, filter->data));
130 if (filter
[all...]
H A Dmbfilter_iso8859_15.c2 * "streamable kanji code filter and converter"
7 * This file is part of "streamable kanji code filter and converter",
17 * License along with "streamable kanji code filter and converter";
79 int mbfl_filt_conv_8859_15_wchar(int c, mbfl_convert_filter *filter) argument
98 CK((*filter->output_function)(s, filter->data));
106 int mbfl_filt_conv_wchar_8859_15(int c, mbfl_convert_filter *filter) argument
128 CK((*filter->output_function)(s, filter->data));
130 if (filter
[all...]
H A Dmbfilter_iso8859_16.c2 * "streamable kanji code filter and converter"
7 * This file is part of "streamable kanji code filter and converter",
17 * License along with "streamable kanji code filter and converter";
79 int mbfl_filt_conv_8859_16_wchar(int c, mbfl_convert_filter *filter) argument
98 CK((*filter->output_function)(s, filter->data));
106 int mbfl_filt_conv_wchar_8859_16(int c, mbfl_convert_filter *filter) argument
128 CK((*filter->output_function)(s, filter->data));
130 if (filter
[all...]
/PHP_5_5/ext/mbstring/libmbfl/mbfl/
H A Dmbfilter_pass.c2 * "streamable kanji code filter and converter"
7 * This file is part of "streamable kanji code filter and converter",
17 * License along with "streamable kanji code filter and converter";
61 int mbfl_filt_conv_pass(int c, mbfl_convert_filter *filter) argument
63 return (*filter->output_function)(c, filter->data);
H A Dmbfl_filter_output.c2 * "streamable kanji code filter and converter"
7 * This file is part of "streamable kanji code filter and converter",
17 * License along with "streamable kanji code filter and converter";
40 mbfl_convert_filter *filter = (mbfl_convert_filter*)data; local
41 return (*filter->filter_function)(c, filter);
46 mbfl_convert_filter *filter = (mbfl_convert_filter*)data; local
47 if (filter->filter_flush != NULL) {
48 return (*filter->filter_flush)(filter);
[all...]

Completed in 58 milliseconds

1234