/PHP-7.2/ext/mysqlnd/ |
H A D | mysqlnd_connection.h | 30 #define UPSERT_STATUS_RESET(status) (status)->m->reset((status)) argument 32 #define UPSERT_STATUS_GET_SERVER_STATUS(status) (status)->server_status argument 33 #define UPSERT_STATUS_SET_SERVER_STATUS(status, server_st) (status)->server_status = (server_st) argument 35 #define UPSERT_STATUS_GET_WARNINGS(status) (status)->warning_count argument 36 #define UPSERT_STATUS_SET_WARNINGS(status, warnings) (status)->warning_count = (warnings) argument 38 #define UPSERT_STATUS_GET_AFFECTED_ROWS(status) (status)->affected_rows argument 39 #define UPSERT_STATUS_SET_AFFECTED_ROWS(status, rows) (status)->affected_rows = (rows) argument 40 #define UPSERT_STATUS_SET_AFFECTED_ROWS_TO_ERROR(status) (status)->m->set_affected_rows_to_error((s… argument 42 #define UPSERT_STATUS_GET_LAST_INSERT_ID(status) (status)->last_insert_id argument 43 #define UPSERT_STATUS_SET_LAST_INSERT_ID(status, id) (status)->last_insert_id = (id) argument
|
/PHP-7.2/ext/intl/ |
H A D | intl_convert.c | 53 UErrorCode* status ) in intl_convert_utf8_to_utf16() argument 62 *status = U_ZERO_ERROR; in intl_convert_utf8_to_utf16() 84 if( *status != U_BUFFER_OVERFLOW_ERROR && *status != U_STRING_NOT_TERMINATED_WARNING ) in intl_convert_utf8_to_utf16() 91 *status = U_ZERO_ERROR; in intl_convert_utf8_to_utf16() 93 if( U_FAILURE( *status ) ) in intl_convert_utf8_to_utf16() 120 UErrorCode* status ) in intl_convert_utf16_to_utf8() argument 126 *status = U_ZERO_ERROR; in intl_convert_utf16_to_utf8() 133 if( *status != U_BUFFER_OVERFLOW_ERROR && *status != U_STRING_NOT_TERMINATED_WARNING ) in intl_convert_utf16_to_utf8() 140 *status = U_ZERO_ERROR; in intl_convert_utf16_to_utf8() 142 if( U_FAILURE( *status ) ) in intl_convert_utf16_to_utf8() [all …]
|
H A D | intl_convertcpp.cpp | 28 int intl_stringFromChar(UnicodeString &ret, char *str, size_t str_len, UErrorCode *status) in intl_stringFromChar() argument 31 *status = U_BUFFER_OVERFLOW_ERROR; in intl_stringFromChar() 42 *status = U_ZERO_ERROR; in intl_stringFromChar() 45 status); in intl_stringFromChar() 47 if (U_FAILURE(*status)) { in intl_stringFromChar() 59 zend_string* intl_charFromString(const UnicodeString &from, UErrorCode *status) in intl_charFromString() argument 80 U_SENTINEL, NULL, status); in intl_charFromString() 82 if (U_FAILURE(*status)) { in intl_charFromString()
|
/PHP-7.2/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_iso2022jp_2004.c | 88 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 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_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_cp5022x.c | 246 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 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_utf8.c | 101 filter->status = 0; in mbfl_filt_put_invalid_char() 136 filter->status = 0; in mbfl_filt_conv_utf8_wchar() 155 filter->status++; in mbfl_filt_conv_utf8_wchar() 170 filter->status++; in mbfl_filt_conv_utf8_wchar() 179 filter->status++; in mbfl_filt_conv_utf8_wchar() 186 filter->status = 0; in mbfl_filt_conv_utf8_wchar() 195 int status, cache; in mbfl_filt_conv_utf8_wchar_flush() local 197 status = filter->status; in mbfl_filt_conv_utf8_wchar_flush() 200 filter->status = 0; in mbfl_filt_conv_utf8_wchar_flush() 203 if (status != 0) { in mbfl_filt_conv_utf8_wchar_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 | 148 filter->status = 0; in mbfl_filt_conv_html_enc_flush() 166 filter->status = 0; in mbfl_filt_conv_html_dec_ctor() 172 filter->status = 0; in mbfl_filt_conv_html_dec_dtor() 186 if (!filter->status) { in mbfl_filt_conv_html_dec() 188 filter->status = 1; in mbfl_filt_conv_html_dec() 241 filter->status = 0; in mbfl_filt_conv_html_dec() 275 filter->status--; in mbfl_filt_conv_html_dec() 291 int status, pos = 0; in mbfl_filt_conv_html_dec_flush() local 296 status = filter->status; in mbfl_filt_conv_html_dec_flush() 297 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() 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 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() 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 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_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_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_sjis_2004.c | 156 } 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 D | mbfilter_iso2022jp_mobile.c | 155 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 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 …]
|
/PHP-7.2/ext/intl/grapheme/ |
H A D | grapheme_util.c | 139 UErrorCode status; in grapheme_strpos_utf16() local 148 status = U_ZERO_ERROR; in grapheme_strpos_utf16() 152 status = U_ZERO_ERROR; in grapheme_strpos_utf16() 157 status = U_ZERO_ERROR; in grapheme_strpos_utf16() 160 status = U_ZERO_ERROR; in grapheme_strpos_utf16() 164 status = U_ZERO_ERROR; in grapheme_strpos_utf16() 170 status = U_ZERO_ERROR; in grapheme_strpos_utf16() 182 status = U_ZERO_ERROR; in grapheme_strpos_utf16() 239 UErrorCode status = U_ZERO_ERROR; in grapheme_split_string() local 245 if( U_FAILURE(status) ) { in grapheme_split_string() [all …]
|
/PHP-7.2/ext/intl/normalizer/ |
H A D | normalizer_normalize.c | 43 UErrorCode status = U_ZERO_ERROR; in PHP_FUNCTION() local 91 if( U_FAILURE( status ) ) in PHP_FUNCTION() 94 intl_error_set_code( NULL, status ); in PHP_FUNCTION() 116 …if( U_FAILURE(status) && status != U_BUFFER_OVERFLOW_ERROR && status != U_STRING_NOT_TERMINATED_WA… in PHP_FUNCTION() 130 status = U_ZERO_ERROR; in PHP_FUNCTION() 136 if( U_FAILURE(status) ) { in PHP_FUNCTION() 155 intl_error_set( NULL, status, in PHP_FUNCTION() 179 UErrorCode status = U_ZERO_ERROR; in PHP_FUNCTION() local 217 if( U_FAILURE( status ) ) in PHP_FUNCTION() 220 intl_error_set_code( NULL, status ); in PHP_FUNCTION() [all …]
|
/PHP-7.2/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-7.2/ext/bz2/ |
H A D | bz2_filter.c | 79 int status; in php_bz2_decompress_filter() local 99 if (BZ_OK != status) { in php_bz2_decompress_filter() 128 } else if (status != BZ_OK) { in php_bz2_decompress_filter() 159 status = BZ_OK; in php_bz2_decompress_filter() 160 while (status == BZ_OK) { in php_bz2_decompress_filter() 217 int status; in php_bz2_compress_filter() local 241 if (status != BZ_RUN_OK && status != BZ_FLUSH_OK && status != BZ_FINISH_OK) { in php_bz2_compress_filter() 268 status = BZ_FINISH_OK; in php_bz2_compress_filter() 314 int status = BZ_OK; in php_bz2_filter_create() local 388 status = BZ_DATA_ERROR; in php_bz2_filter_create() [all …]
|