Home
last modified time | relevance | path

Searched refs:status (Results 1 – 25 of 238) sorted by relevance

12345678910

/PHP-5.4/ext/intl/
H A Dintl_convert.c49 UErrorCode* status ) in intl_convert_utf8_to_utf16() argument
58 *status = U_ZERO_ERROR; in intl_convert_utf8_to_utf16()
74 if( *status != U_BUFFER_OVERFLOW_ERROR && *status != U_STRING_NOT_TERMINATED_WARNING ) in intl_convert_utf8_to_utf16()
81 *status = U_ZERO_ERROR; in intl_convert_utf8_to_utf16()
83 if( U_FAILURE( *status ) ) in intl_convert_utf8_to_utf16()
113 UErrorCode* status ) in intl_convert_utf16_to_utf8() argument
119 *status = U_ZERO_ERROR; in intl_convert_utf16_to_utf8()
126 if( *status != U_BUFFER_OVERFLOW_ERROR && *status != U_STRING_NOT_TERMINATED_WARNING ) in intl_convert_utf16_to_utf8()
133 *status = U_ZERO_ERROR; in intl_convert_utf16_to_utf8()
135 if( U_FAILURE( *status ) ) in intl_convert_utf16_to_utf8()
[all …]
/PHP-5.4/ext/mbstring/libmbfl/filters/
H A Dmbfilter_iso2022jp_2004.c88 filter->status += 2; in mbfl_filt_ident_2022jp_2004()
90 filter->status += 1; in mbfl_filt_ident_2022jp_2004()
101 filter->status++; in mbfl_filt_ident_2022jp_2004()
113 filter->status++; in mbfl_filt_ident_2022jp_2004()
115 filter->status += 3; in mbfl_filt_ident_2022jp_2004()
126 filter->status = 0x80; in mbfl_filt_ident_2022jp_2004()
128 filter->status++; in mbfl_filt_ident_2022jp_2004()
139 filter->status = 0x90; in mbfl_filt_ident_2022jp_2004()
141 filter->status = 0xa0; in mbfl_filt_ident_2022jp_2004()
152 filter->status = 0; in mbfl_filt_ident_2022jp_2004()
[all …]
H A Dmbfilter_jis.c130 filter->status += 2; in mbfl_filt_conv_jis_wchar()
134 filter->status = 0; in mbfl_filt_conv_jis_wchar()
143 filter->status += 1; in mbfl_filt_conv_jis_wchar()
206 filter->status++; in mbfl_filt_conv_jis_wchar()
226 filter->status++; in mbfl_filt_conv_jis_wchar()
263 filter->status = 0; in mbfl_filt_conv_jis_wchar()
277 filter->status = 0; in mbfl_filt_conv_jis_wchar()
528 filter->status++; in mbfl_filt_ident_jis()
543 filter->status++; in mbfl_filt_ident_jis()
609 filter->status++; in mbfl_filt_ident_2022jp()
[all …]
H A Dmbfilter_cp5022x.c246 filter->status = 0; in mbfl_filt_conv_jis_ms_wchar()
327 filter->status++; in mbfl_filt_conv_jis_ms_wchar()
347 filter->status++; in mbfl_filt_conv_jis_ms_wchar()
398 filter->status = 0; in mbfl_filt_conv_jis_ms_wchar()
1006 filter->status++; in mbfl_filt_ident_jis_ms()
1021 filter->status++; in mbfl_filt_ident_jis_ms()
1087 filter->status++; in mbfl_filt_ident_cp50220()
1099 filter->status++; in mbfl_filt_ident_cp50220()
1163 filter->status++; in mbfl_filt_ident_cp50221()
1175 filter->status++; in mbfl_filt_ident_cp50221()
[all …]
H A Dmbfilter_base64.c90 filter->status++; in mbfl_filt_conv_base64enc()
93 filter->status++; in mbfl_filt_conv_base64enc()
120 status = filter->status & 0xff; in mbfl_filt_conv_base64enc_flush()
126 if (status >= 1) { in mbfl_filt_conv_base64enc_flush()
135 if (status == 1) { in mbfl_filt_conv_base64enc_flush()
173 filter->status = 1; in mbfl_filt_conv_base64dec()
198 int status, cache; in mbfl_filt_conv_base64dec_flush() local
200 status = filter->status; in mbfl_filt_conv_base64dec_flush()
202 filter->status = 0; in mbfl_filt_conv_base64dec_flush()
205 if (status >= 2) { in mbfl_filt_conv_base64dec_flush()
[all …]
H A Dmbfilter_utf8.c101 filter->status = 0; in mbfl_filt_put_invalid_char()
135 filter->status = 0; in mbfl_filt_conv_utf8_wchar()
154 filter->status++; in mbfl_filt_conv_utf8_wchar()
169 filter->status++; in mbfl_filt_conv_utf8_wchar()
178 filter->status++; in mbfl_filt_conv_utf8_wchar()
185 filter->status = 0; in mbfl_filt_conv_utf8_wchar()
194 int status, cache; in mbfl_filt_conv_utf8_wchar_flush() local
196 status = filter->status; in mbfl_filt_conv_utf8_wchar_flush()
199 filter->status = 0; in mbfl_filt_conv_utf8_wchar_flush()
202 if (status != 0) { in mbfl_filt_conv_utf8_wchar_flush()
[all …]
H A Dmbfilter_qprint.c79 filter->status++; in mbfl_filt_conv_qprintenc()
183 filter->status = 2; in mbfl_filt_conv_qprintdec()
185 filter->status = 3; in mbfl_filt_conv_qprintdec()
187 filter->status = 0; in mbfl_filt_conv_qprintdec()
191 filter->status = 0; in mbfl_filt_conv_qprintdec()
204 filter->status = 0; in mbfl_filt_conv_qprintdec()
210 filter->status = 0; in mbfl_filt_conv_qprintdec()
226 int status, cache; in mbfl_filt_conv_qprintdec_flush() local
228 status = filter->status; in mbfl_filt_conv_qprintdec_flush()
230 filter->status = 0; in mbfl_filt_conv_qprintdec_flush()
[all …]
H A Dmbfilter_iso2022_kr.c90 filter->status += 2; in mbfl_filt_conv_2022kr_wchar()
98 filter->status += 1; in mbfl_filt_conv_2022kr_wchar()
110 filter->status &= ~0xf; in mbfl_filt_conv_2022kr_wchar()
142 filter->status++; in mbfl_filt_conv_2022kr_wchar()
155 filter->status++; in mbfl_filt_conv_2022kr_wchar()
164 filter->status++; in mbfl_filt_conv_2022kr_wchar()
185 filter->status = 0; in mbfl_filt_conv_2022kr_wchar()
302 filter->status += 1; in mbfl_filt_ident_2022kr()
321 filter->status++; in mbfl_filt_ident_2022kr()
332 filter->status++; in mbfl_filt_ident_2022kr()
[all …]
H A Dmbfilter_iso2022_jp_ms.c105 filter->status += 2; in mbfl_filt_conv_2022jpms_wchar()
110 filter->status += 1; in mbfl_filt_conv_2022jpms_wchar()
177 filter->status += 2; in mbfl_filt_conv_2022jpms_wchar()
196 filter->status++; in mbfl_filt_conv_2022jpms_wchar()
216 filter->status++; in mbfl_filt_conv_2022jpms_wchar()
253 filter->status = 0; in mbfl_filt_conv_2022jpms_wchar()
255 filter->status = 0; in mbfl_filt_conv_2022jpms_wchar()
267 filter->status = 0; in mbfl_filt_conv_2022jpms_wchar()
471 filter->status++; in mbfl_filt_ident_2022jpms()
486 filter->status++; in mbfl_filt_ident_2022jpms()
[all …]
H A Dmbfilter_htmlent.c147 filter->status = 0; in mbfl_filt_conv_html_enc_flush()
165 filter->status = 0; in mbfl_filt_conv_html_dec_ctor()
171 filter->status = 0; in mbfl_filt_conv_html_dec_dtor()
185 if (!filter->status) { in mbfl_filt_conv_html_dec()
187 filter->status = 1; in mbfl_filt_conv_html_dec()
240 filter->status = 0; in mbfl_filt_conv_html_dec()
274 filter->status--; in mbfl_filt_conv_html_dec()
290 int status, pos = 0; in mbfl_filt_conv_html_dec_flush() local
295 status = filter->status; in mbfl_filt_conv_html_dec_flush()
296 filter->status = 0; in mbfl_filt_conv_html_dec_flush()
[all …]
H A Dmbfilter_hz.c90 filter->status += 2; in mbfl_filt_conv_hz_wchar()
93 filter->status += 1; in mbfl_filt_conv_hz_wchar()
133 filter->status = 0x0; in mbfl_filt_conv_hz_wchar()
137 filter->status = 0x0; in mbfl_filt_conv_hz_wchar()
143 filter->status = 0; in mbfl_filt_conv_hz_wchar()
197 filter->status = 0; in mbfl_filt_conv_wchar_hz()
239 filter->status += 2; in mbfl_filt_ident_hz()
241 filter->status += 1; in mbfl_filt_ident_hz()
259 filter->status = 0; in mbfl_filt_ident_hz()
263 filter->status = 0; in mbfl_filt_ident_hz()
[all …]
H A Dmbfilter_ucs4.c139 filter->status++; in mbfl_filt_conv_ucs4_wchar()
148 filter->status++; in mbfl_filt_conv_ucs4_wchar()
157 filter->status++; in mbfl_filt_conv_ucs4_wchar()
191 filter->status = 1; in mbfl_filt_conv_ucs4be_wchar()
195 filter->status = 2; in mbfl_filt_conv_ucs4be_wchar()
199 filter->status = 3; in mbfl_filt_conv_ucs4be_wchar()
203 filter->status = 0; in mbfl_filt_conv_ucs4be_wchar()
237 filter->status = 1; in mbfl_filt_conv_ucs4le_wchar()
241 filter->status = 2; in mbfl_filt_conv_ucs4le_wchar()
245 filter->status = 3; in mbfl_filt_conv_ucs4le_wchar()
[all …]
H A Dmbfilter_utf32.c138 filter->status++; in mbfl_filt_conv_utf32_wchar()
147 filter->status++; in mbfl_filt_conv_utf32_wchar()
156 filter->status++; in mbfl_filt_conv_utf32_wchar()
195 filter->status = 1; in mbfl_filt_conv_utf32be_wchar()
199 filter->status = 2; in mbfl_filt_conv_utf32be_wchar()
203 filter->status = 3; in mbfl_filt_conv_utf32be_wchar()
207 filter->status = 0; in mbfl_filt_conv_utf32be_wchar()
246 filter->status = 1; in mbfl_filt_conv_utf32le_wchar()
250 filter->status = 2; in mbfl_filt_conv_utf32le_wchar()
254 filter->status = 3; in mbfl_filt_conv_utf32le_wchar()
[all …]
H A Dmbfilter_byte4.c97 if (filter->status == 0) { in mbfl_filt_conv_byte4be_wchar()
98 filter->status = 1; in mbfl_filt_conv_byte4be_wchar()
101 } else if (filter->status == 1) { in mbfl_filt_conv_byte4be_wchar()
102 filter->status = 2; in mbfl_filt_conv_byte4be_wchar()
106 filter->status = 3; in mbfl_filt_conv_byte4be_wchar()
110 filter->status = 0; in mbfl_filt_conv_byte4be_wchar()
130 if (filter->status == 0) { in mbfl_filt_conv_byte4le_wchar()
131 filter->status = 1; in mbfl_filt_conv_byte4le_wchar()
135 filter->status = 2; in mbfl_filt_conv_byte4le_wchar()
139 filter->status = 3; in mbfl_filt_conv_byte4le_wchar()
[all …]
H A Dmbfilter_utf7.c147 filter->status = 3; in mbfl_filt_conv_utf7_wchar()
151 filter->status = 4; in mbfl_filt_conv_utf7_wchar()
156 filter->status = 5; in mbfl_filt_conv_utf7_wchar()
179 filter->status = 6; in mbfl_filt_conv_utf7_wchar()
183 filter->status = 7; in mbfl_filt_conv_utf7_wchar()
309 filter->status++; in mbfl_filt_conv_wchar_utf7()
327 filter->status++; in mbfl_filt_conv_wchar_utf7()
345 filter->status++; in mbfl_filt_conv_wchar_utf7()
378 int status, cache; in mbfl_filt_conv_wchar_utf7_flush() local
380 status = filter->status; in mbfl_filt_conv_wchar_utf7_flush()
[all …]
H A Dmbfilter_uuencode.c69 switch(filter->status) { in mbfl_filt_conv_uudec()
74 filter->status = uudec_state_inbegin; in mbfl_filt_conv_uudec()
85 filter->status = uudec_state_ground; in mbfl_filt_conv_uudec()
91 filter->status = uudec_state_until_newline; in mbfl_filt_conv_uudec()
97 filter->status = uudec_state_size; in mbfl_filt_conv_uudec()
103 filter->status = uudec_state_a; in mbfl_filt_conv_uudec()
109 filter->status = uudec_state_b; in mbfl_filt_conv_uudec()
115 filter->status = uudec_state_c; in mbfl_filt_conv_uudec()
121 filter->status = uudec_state_d; in mbfl_filt_conv_uudec()
142 filter->status = uudec_state_a; /* go back to fetch "A" byte */ in mbfl_filt_conv_uudec()
[all …]
H A Dmbfilter_sjis_2004.c156 } else if ((filter->status == 0x80 || filter->status == 0x90 || filter->status == 0xa0) in mbfl_filt_conv_jis2004_wchar()
173 filter->status = 1; in mbfl_filt_conv_jis2004_wchar()
275 filter->status = 0; in mbfl_filt_conv_jis2004_wchar()
292 filter->status = 0; in mbfl_filt_conv_jis2004_wchar()
301 filter->status++; in mbfl_filt_conv_jis2004_wchar()
406 filter->status++; in mbfl_filt_conv_jis2004_wchar()
427 filter->status++; in mbfl_filt_conv_jis2004_wchar()
467 filter->status = 0; in mbfl_filt_conv_jis2004_wchar()
477 filter->status = 0; in mbfl_filt_conv_jis2004_wchar()
500 filter->status++; in mbfl_filt_conv_wchar_jis2004()
[all …]
H A Dmbfilter_iso2022jp_mobile.c155 filter->status += 2; in mbfl_filt_conv_2022jp_mobile_wchar()
160 filter->status += 1; in mbfl_filt_conv_2022jp_mobile_wchar()
175 filter->status &= ~0xf; in mbfl_filt_conv_2022jp_mobile_wchar()
225 filter->status += 2; in mbfl_filt_conv_2022jp_mobile_wchar()
243 filter->status++; in mbfl_filt_conv_2022jp_mobile_wchar()
245 filter->status += 3; in mbfl_filt_conv_2022jp_mobile_wchar()
262 filter->status++; in mbfl_filt_conv_2022jp_mobile_wchar()
295 filter->status = 0; in mbfl_filt_conv_2022jp_mobile_wchar()
297 filter->status = 0; in mbfl_filt_conv_2022jp_mobile_wchar()
309 filter->status = 0; in mbfl_filt_conv_2022jp_mobile_wchar()
[all …]
H A Dmbfilter_utf7imap.c97 filter->status = 0; in mbfl_filt_conv_utf7imap_wchar()
106 filter->status++; in mbfl_filt_conv_utf7imap_wchar()
120 filter->status = 3; in mbfl_filt_conv_utf7imap_wchar()
124 filter->status = 4; in mbfl_filt_conv_utf7imap_wchar()
129 filter->status = 5; in mbfl_filt_conv_utf7imap_wchar()
152 filter->status = 6; in mbfl_filt_conv_utf7imap_wchar()
156 filter->status = 7; in mbfl_filt_conv_utf7imap_wchar()
161 filter->status = 8; in mbfl_filt_conv_utf7imap_wchar()
339 int status, cache; in mbfl_filt_conv_wchar_utf7imap_flush() local
341 status = filter->status; in mbfl_filt_conv_wchar_utf7imap_flush()
[all …]
H A Dmbfilter_ucs2.c129 endian = filter->status & 0xff00; in mbfl_filt_conv_ucs2_wchar()
130 switch (filter->status & 0xff) { in mbfl_filt_conv_ucs2_wchar()
138 filter->status++; in mbfl_filt_conv_ucs2_wchar()
149 filter->status = 0; /* big-endian */ in mbfl_filt_conv_ucs2_wchar()
155 filter->status &= ~0xff; in mbfl_filt_conv_ucs2_wchar()
171 if (filter->status == 0) { in mbfl_filt_conv_ucs2be_wchar()
172 filter->status = 1; in mbfl_filt_conv_ucs2be_wchar()
176 filter->status = 0; in mbfl_filt_conv_ucs2be_wchar()
207 if (filter->status == 0) { in mbfl_filt_conv_ucs2le_wchar()
208 filter->status = 1; in mbfl_filt_conv_ucs2le_wchar()
[all …]
H A Dmbfilter_euc_jp.c112 filter->status = 1; in mbfl_filt_conv_eucjp_wchar()
115 filter->status = 2; in mbfl_filt_conv_eucjp_wchar()
117 filter->status = 3; in mbfl_filt_conv_eucjp_wchar()
126 filter->status = 0; in mbfl_filt_conv_eucjp_wchar()
152 filter->status = 0; in mbfl_filt_conv_eucjp_wchar()
171 filter->status++; in mbfl_filt_conv_eucjp_wchar()
176 filter->status = 0; in mbfl_filt_conv_eucjp_wchar()
202 filter->status = 0; in mbfl_filt_conv_eucjp_wchar()
299 filter->status = 0; in mbfl_filt_ident_eucjp()
306 filter->status = 0; in mbfl_filt_ident_eucjp()
[all …]
H A Dmbfilter_euc_tw.c112 filter->status = 1; in mbfl_filt_conv_euctw_wchar()
115 filter->status = 2; in mbfl_filt_conv_euctw_wchar()
125 filter->status = 0; in mbfl_filt_conv_euctw_wchar()
154 filter->status = 0; in mbfl_filt_conv_euctw_wchar()
156 filter->status = 3; in mbfl_filt_conv_euctw_wchar()
167 filter->status = 0; in mbfl_filt_conv_euctw_wchar()
184 filter->status = 0; in mbfl_filt_conv_euctw_wchar()
215 filter->status = 0; in mbfl_filt_conv_euctw_wchar()
297 filter->status = 0; in mbfl_filt_ident_euctw()
312 filter->status = 4; in mbfl_filt_ident_euctw()
[all …]
/PHP-5.4/ext/intl/grapheme/
H A Dgrapheme_util.c137 UErrorCode status; in grapheme_strpos_utf16() local
146 status = U_ZERO_ERROR; in grapheme_strpos_utf16()
150 status = U_ZERO_ERROR; in grapheme_strpos_utf16()
155 status = U_ZERO_ERROR; in grapheme_strpos_utf16()
158 status = U_ZERO_ERROR; in grapheme_strpos_utf16()
162 status = U_ZERO_ERROR; in grapheme_strpos_utf16()
168 status = U_ZERO_ERROR; in grapheme_strpos_utf16()
180 status = U_ZERO_ERROR; in grapheme_strpos_utf16()
237 UErrorCode status = U_ZERO_ERROR; in grapheme_split_string() local
243 if( U_FAILURE(status) ) { in grapheme_split_string()
[all …]
/PHP-5.4/ext/intl/normalizer/
H A Dnormalizer_normalize.c43 UErrorCode status = U_ZERO_ERROR; in PHP_FUNCTION() local
92 if( U_FAILURE( status ) ) in PHP_FUNCTION()
95 intl_error_set_code( NULL, status TSRMLS_CC ); in PHP_FUNCTION()
117 …if( U_FAILURE(status) && status != U_BUFFER_OVERFLOW_ERROR && status != U_STRING_NOT_TERMINATED_WA… in PHP_FUNCTION()
131 status = U_ZERO_ERROR; in PHP_FUNCTION()
137 if( U_FAILURE(status) ) { in PHP_FUNCTION()
154 if( U_FAILURE( status ) ) in PHP_FUNCTION()
156 intl_error_set( NULL, status, in PHP_FUNCTION()
180 UErrorCode status = U_ZERO_ERROR; in PHP_FUNCTION() local
218 if( U_FAILURE( status ) ) in PHP_FUNCTION()
[all …]
/PHP-5.4/ext/pdo_mysql/tests/
H A Dpdo_mysql_attr_connection_status.phpt15 $status = $db->getAttribute(PDO::ATTR_CONNECTION_STATUS);
17 if (!is_unicode($status))
18 printf("[001] Expecting unicode, got '%s'\n", var_export($status, true));
20 if (!is_string($status))
21 printf("[002] Expecting string, got '%s'\n", var_export($status, true));
24 if ('' == $status)
25 printf("[003] Connection status string must not be empty\n");
27 if (false !== $db->setAttribute(PDO::ATTR_CONNECTION_STATUS, 'my own connection status'))
31 if ($status !== $status2)
32 printf("[005] Connection status should not have changed\n");

Completed in 50 milliseconds

12345678910