/PHP-5.3/ext/intl/ |
H A D | intl_convert.c | 49 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.3/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_jis.c | 130 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 D | mbfilter_utf8.c | 107 filter->status = 0; in mbfl_filt_conv_utf8_wchar() 109 int status = filter->status & 0xff; in mbfl_filt_conv_utf8_wchar() local 110 switch (status) { in mbfl_filt_conv_utf8_wchar() 116 filter->status = 0; in mbfl_filt_conv_utf8_wchar() 131 filter->status++; in mbfl_filt_conv_utf8_wchar() 137 filter->status++; in mbfl_filt_conv_utf8_wchar() 142 filter->status++; in mbfl_filt_conv_utf8_wchar() 146 filter->status++; in mbfl_filt_conv_utf8_wchar() 168 filter->status = 0; in mbfl_filt_conv_utf8_wchar() 226 filter->status = 0; in mbfl_filt_ident_utf8() [all …]
|
H A D | mbfilter_cp5022x.c | 246 filter->status = 0; in mbfl_filt_conv_jis_ms_wchar() 330 filter->status++; in mbfl_filt_conv_jis_ms_wchar() 350 filter->status++; in mbfl_filt_conv_jis_ms_wchar() 401 filter->status = 0; in mbfl_filt_conv_jis_ms_wchar() 1009 filter->status++; in mbfl_filt_ident_jis_ms() 1024 filter->status++; in mbfl_filt_ident_jis_ms() 1090 filter->status++; in mbfl_filt_ident_cp50220() 1102 filter->status++; in mbfl_filt_ident_cp50220() 1166 filter->status++; in mbfl_filt_ident_cp50221() 1178 filter->status++; in mbfl_filt_ident_cp50221() [all …]
|
H A D | mbfilter_base64.c | 90 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 D | mbfilter_qprint.c | 79 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 D | mbfilter_iso2022_kr.c | 90 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 D | mbfilter_iso2022_jp_ms.c | 105 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 D | mbfilter_htmlent.c | 147 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 D | mbfilter_hz.c | 90 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() 189 filter->status = 0; in mbfl_filt_conv_wchar_hz() 231 filter->status += 2; in mbfl_filt_ident_hz() 233 filter->status += 1; in mbfl_filt_ident_hz() 251 filter->status = 0; in mbfl_filt_ident_hz() 255 filter->status = 0; in mbfl_filt_ident_hz() [all …]
|
H A D | mbfilter_ucs4.c | 139 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 D | mbfilter_utf32.c | 138 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() 192 filter->status = 1; in mbfl_filt_conv_utf32be_wchar() 196 filter->status = 2; in mbfl_filt_conv_utf32be_wchar() 200 filter->status = 3; in mbfl_filt_conv_utf32be_wchar() 204 filter->status = 0; in mbfl_filt_conv_utf32be_wchar() 240 filter->status = 1; in mbfl_filt_conv_utf32le_wchar() 244 filter->status = 2; in mbfl_filt_conv_utf32le_wchar() 248 filter->status = 3; in mbfl_filt_conv_utf32le_wchar() [all …]
|
H A D | mbfilter_byte4.c | 97 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 D | mbfilter_utf7.c | 147 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 D | mbfilter_uuencode.c | 69 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 D | mbfilter_utf7imap.c | 97 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 D | mbfilter_ucs2.c | 129 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 D | mbfilter_euc_jp.c | 112 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 D | mbfilter_euc_tw.c | 112 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.3/ext/intl/normalizer/ |
H A D | normalizer_normalize.c | 43 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.3/ext/intl/idn/ |
H A D | idn.c | 64 UErrorCode status; in php_intl_idn_to() local 80 status = U_ZERO_ERROR; in php_intl_idn_to() 81 intl_convert_utf8_to_utf16(&ustring, &ustring_len, (char*) domain, domain_len, &status ); in php_intl_idn_to() 83 if (U_FAILURE(status)) { in php_intl_idn_to() 84 intl_error_set_code(NULL, status TSRMLS_CC); in php_intl_idn_to() 95 status = U_ZERO_ERROR; in php_intl_idn_to() 103 if (U_FAILURE(status)) { in php_intl_idn_to() 104 intl_error_set( NULL, status, "idn_to_ascii: cannot convert to ASCII", 0 TSRMLS_CC ); in php_intl_idn_to() 108 status = U_ZERO_ERROR; in php_intl_idn_to() 111 if (U_FAILURE(status)) { in php_intl_idn_to() [all …]
|
/PHP-5.3/ext/intl/grapheme/ |
H A D | grapheme_util.c | 156 UErrorCode status; in grapheme_strrpos_utf16() local 164 status = U_ZERO_ERROR; in grapheme_strrpos_utf16() 185 status = U_ZERO_ERROR; in grapheme_strrpos_utf16() 293 UErrorCode status; in grapheme_strpos_utf16() local 301 status = U_ZERO_ERROR; in grapheme_strpos_utf16() 318 status = U_ZERO_ERROR; in grapheme_strpos_utf16() 341 status = U_ZERO_ERROR; in grapheme_strpos_utf16() 464 UErrorCode status; in grapheme_memnstr_grapheme() local 525 UErrorCode status; in grapheme_get_haystack_offset() local 531 status = U_ZERO_ERROR; in grapheme_get_haystack_offset() [all …]
|
/PHP-5.3/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_attr_connection_status.phpt | 15 $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");
|
/PHP-5.3/ext/intl/collator/ |
H A D | collator_convert.c | 45 UErrorCode* status ) in collator_convert_hash_item_from_utf8_to_utf16() argument 66 if( U_FAILURE( *status ) ) in collator_convert_hash_item_from_utf8_to_utf16() 89 UErrorCode* status ) in collator_convert_hash_item_from_utf16_to_utf8() argument 111 if( U_FAILURE( *status ) ) in collator_convert_hash_item_from_utf16_to_utf8() 147 if( U_FAILURE( *status ) ) in collator_convert_hash_from_utf8_to_utf16() 172 if( U_FAILURE( *status ) ) { in collator_convert_hash_from_utf16_to_utf8() 200 if( U_FAILURE( status ) ) in collator_convert_zstr_utf16_to_utf8() 229 &status ); in collator_convert_zstr_utf8_to_utf16() 230 if( U_FAILURE( status ) ) in collator_convert_zstr_utf8_to_utf16() 302 &status ); in collator_convert_object_to_string() [all …]
|
/PHP-5.3/ext/bz2/ |
H A D | bz2_filter.c | 45 enum strm_status status; member 79 int status; in php_bz2_decompress_filter() local 99 if (BZ_OK != status) { in php_bz2_decompress_filter() 158 status = BZ_OK; in php_bz2_decompress_filter() 159 while (status == BZ_OK) { in php_bz2_decompress_filter() 216 int status; in php_bz2_compress_filter() local 242 if (status != BZ_RUN_OK && status != BZ_FLUSH_OK && status != BZ_FINISH_OK) { in php_bz2_compress_filter() 269 status = BZ_FINISH_OK; in php_bz2_compress_filter() 315 int status = BZ_OK; in php_bz2_filter_create() local 426 status = BZ_DATA_ERROR; in php_bz2_filter_create() [all …]
|