/PHP-5.6/ext/pdo_dblib/ |
H A D | pdo_dblib.c | 92 pdo_dblib_err *einfo; in ZEND_GET_MODULE() local 98 if (!einfo) einfo = &DBLIB_G(err); in ZEND_GET_MODULE() 100 einfo = &DBLIB_G(err); in ZEND_GET_MODULE() 104 einfo->oserr = oserr; in ZEND_GET_MODULE() 105 einfo->dberr = dberr; in ZEND_GET_MODULE() 106 if (einfo->oserrstr) { in ZEND_GET_MODULE() 107 efree(einfo->oserrstr); in ZEND_GET_MODULE() 109 if (einfo->dberrstr) { in ZEND_GET_MODULE() 143 pdo_dblib_err *einfo; in msg_handler() local 148 if (!einfo) { in msg_handler() [all …]
|
H A D | dblib_driver.c | 41 pdo_dblib_err *einfo = &H->err; in dblib_fetch_error() local 48 einfo = &S->err; in dblib_fetch_error() 51 if (einfo->dberr == SYBESMSG && einfo->lastmsg) { in dblib_fetch_error() 52 msg = einfo->lastmsg; in dblib_fetch_error() 57 msg = einfo->dberrstr; in dblib_fetch_error() 61 msg, einfo->dberr, einfo->severity, stmt ? stmt->active_query_string : ""); in dblib_fetch_error() 63 add_next_index_long(info, einfo->dberr); in dblib_fetch_error() 65 add_next_index_long(info, einfo->oserr); in dblib_fetch_error() 66 add_next_index_long(info, einfo->severity); in dblib_fetch_error() 67 if (einfo->oserrstr) { in dblib_fetch_error() [all …]
|
/PHP-5.6/ext/pdo_odbc/ |
H A D | odbc_driver.c | 37 pdo_odbc_errinfo *einfo = &H->einfo; in pdo_odbc_fetch_error_func() local 43 einfo = &S->einfo; in pdo_odbc_fetch_error_func() 48 einfo->what, einfo->last_error, in pdo_odbc_fetch_error_func() 49 einfo->file, einfo->line); in pdo_odbc_fetch_error_func() 66 pdo_odbc_errinfo *einfo = &H->einfo; in pdo_odbc_error() local 73 einfo = &S->einfo; in pdo_odbc_error() 108 *pdo_err, what, einfo->last_error, einfo->last_err_msg); in pdo_odbc_error() 209 strcpy(H->einfo.last_err_msg, S->einfo.last_err_msg); in odbc_handle_preparer() 210 H->einfo.file = S->einfo.file; in odbc_handle_preparer() 211 H->einfo.line = S->einfo.line; in odbc_handle_preparer() [all …]
|
H A D | php_pdo_odbc_int.h | 131 pdo_odbc_errinfo einfo; member 151 pdo_odbc_errinfo einfo; member
|
H A D | odbc_stmt.c | 780 strcpy(S->einfo.last_err_msg, "Unknown Attribute"); in odbc_stmt_set_param() 781 S->einfo.what = "setAttribute"; in odbc_stmt_set_param() 782 strcpy(S->einfo.last_state, "IM001"); in odbc_stmt_set_param() 812 strcpy(S->einfo.last_err_msg, "Unknown Attribute"); in odbc_stmt_get_attr() 813 S->einfo.what = "getAttribute"; in odbc_stmt_get_attr() 814 strcpy(S->einfo.last_state, "IM001"); in odbc_stmt_get_attr()
|
/PHP-5.6/ext/pdo_oci/ |
H A D | oci_driver.c | 41 einfo = &H->einfo; in pdo_oci_fetch_error_func() 47 einfo = &S->einfo; in pdo_oci_fetch_error_func() 51 if (einfo->errcode) { in pdo_oci_fetch_error_func() 71 einfo = &S->einfo; in _oci_error() 75 einfo = &H->einfo; in _oci_error() 78 if (einfo->errmsg) { in _oci_error() 83 einfo->errcode = 0; in _oci_error() 84 einfo->file = file; in _oci_error() 85 einfo->line = line; in _oci_error() 183 H->einfo = *einfo; in _oci_error() [all …]
|
H A D | php_pdo_oci_int.h | 44 pdo_oci_error_info einfo; member 68 pdo_oci_error_info einfo; member
|
H A D | oci_statement.c | 91 if (S->einfo.errmsg) { in oci_stmt_dtor() 92 pefree(S->einfo.errmsg, stmt->dbh->is_persistent); in oci_stmt_dtor() 93 S->einfo.errmsg = NULL; in oci_stmt_dtor()
|
/PHP-5.6/ext/pdo_mysql/ |
H A D | mysql_driver.c | 58 einfo = &S->einfo; in _pdo_mysql_error() 61 einfo = &H->einfo; in _pdo_mysql_error() 70 einfo->file = file; in _pdo_mysql_error() 71 einfo->line = line; in _pdo_mysql_error() 73 if (einfo->errmsg) { in _pdo_mysql_error() 78 if (einfo->errcode) { in _pdo_mysql_error() 109 *pdo_err, einfo->errcode, einfo->errmsg); in _pdo_mysql_error() 120 pdo_mysql_error_info *einfo = &H->einfo; in pdo_mysql_fetch_error_func() local 126 einfo = &S->einfo; in pdo_mysql_fetch_error_func() 128 einfo = &H->einfo; in pdo_mysql_fetch_error_func() [all …]
|
H A D | php_pdo_mysql_int.h | 112 pdo_mysql_error_info einfo; member 129 pdo_mysql_error_info einfo; member
|
H A D | mysql_statement.c | 58 if (S->einfo.errmsg) { in pdo_mysql_stmt_dtor() 59 pefree(S->einfo.errmsg, stmt->dbh->is_persistent); in pdo_mysql_stmt_dtor() 60 S->einfo.errmsg = NULL; in pdo_mysql_stmt_dtor()
|
/PHP-5.6/ext/mbstring/oniguruma/ |
H A D | reggnu.c | 85 OnigErrorInfo einfo; in re_compile_pattern() local 87 r = onig_compile(reg, (UChar* )pattern, (UChar* )(pattern + size), &einfo); in re_compile_pattern() 90 (void )onig_error_code_to_str((UChar* )ebuf, r, &einfo); in re_compile_pattern() 101 OnigErrorInfo einfo; in re_recompile_pattern() local 110 reg->options, enc, OnigDefaultSyntax, &einfo); in re_recompile_pattern() 113 (void )onig_error_code_to_str((UChar* )ebuf, r, &einfo); in re_recompile_pattern()
|
H A D | regext.c | 164 OnigCompileInfo* ci, OnigErrorInfo* einfo) in onig_new_deluxe() argument 169 if (IS_NOT_NULL(einfo)) einfo->par = (UChar* )NULL; in onig_new_deluxe() 191 r = onig_compile(*reg, cpat, cpat_end, einfo); in onig_new_deluxe() 207 OnigCompileInfo* ci, OnigErrorInfo* einfo) in onig_recompile_deluxe() argument 212 r = onig_new_deluxe(&new_reg, pattern, pattern_end, ci, einfo); in onig_recompile_deluxe()
|
H A D | regerror.c | 258 OnigErrorInfo* einfo; local 273 einfo = va_arg(vargs, OnigErrorInfo*); 274 len = to_ascii(einfo->enc, einfo->par, einfo->par_end,
|
H A D | testu.c | 119 OnigErrorInfo einfo; in xx() local 126 ONIG_OPTION_DEFAULT, ENC, ONIG_SYNTAX_DEFAULT, &einfo); in xx() 137 &ci, &einfo); in xx() 142 onig_error_code_to_str(s, r, &einfo); in xx()
|
H A D | oniguruma.h | 726 …ttern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); 729 …ttern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); 731 …onst OnigUChar* pattern, const OnigUChar* pattern_end, OnigCompileInfo* ci, OnigErrorInfo* einfo)); 737 …ttern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); 739 …onst OnigUChar* pattern, const OnigUChar* pattern_end, OnigCompileInfo* ci, OnigErrorInfo* einfo));
|
H A D | testc.c | 90 OnigErrorInfo einfo; in xx() local 93 ONIG_OPTION_DEFAULT, ONIG_ENCODING_EUC_JP, ONIG_SYNTAX_DEFAULT, &einfo); in xx() 96 onig_error_code_to_str((UChar* )s, r, &einfo); in xx()
|
H A D | regcomp.c | 5263 OnigErrorInfo* einfo) in onig_compile() argument 5274 if (IS_NOT_NULL(einfo)) einfo->par = (UChar* )NULL; in onig_compile() 5436 if (IS_NOT_NULL(einfo)) { in onig_compile() 5437 einfo->enc = scan_env.enc; in onig_compile() 5438 einfo->par = scan_env.error; in onig_compile() 5439 einfo->par_end = scan_env.error_end; in onig_compile() 5453 OnigErrorInfo* einfo) in onig_recompile() argument 5521 OnigSyntaxType* syntax, OnigErrorInfo* einfo) in onig_new_without_alloc() argument 5528 r = onig_compile(reg, pattern, pattern_end, einfo); in onig_new_without_alloc() 5535 OnigErrorInfo* einfo) in onig_new() argument [all …]
|
H A D | regint.h | 774 …g_compile P_((regex_t* reg, const UChar* pattern, const UChar* pattern_end, OnigErrorInfo* einfo));
|
/PHP-5.6/ext/pdo_sqlite/ |
H A D | sqlite_driver.c | 38 pdo_sqlite_error_info *einfo = &H->einfo; in _pdo_sqlite_error() local 41 einfo->file = file; in _pdo_sqlite_error() 42 einfo->line = line; in _pdo_sqlite_error() 45 if (einfo->errmsg) { in _pdo_sqlite_error() 82 *pdo_err, einfo->errcode, einfo->errmsg); in _pdo_sqlite_error() 85 return einfo->errcode; in _pdo_sqlite_error() 92 pdo_sqlite_error_info *einfo = &H->einfo; in pdo_sqlite_fetch_error_func() local 94 if (einfo->errcode) { in pdo_sqlite_fetch_error_func() 160 pdo_sqlite_error_info *einfo = &H->einfo; in sqlite_handle_closer() local 167 if (einfo->errmsg) { in sqlite_handle_closer() [all …]
|
H A D | php_pdo_sqlite_int.h | 59 pdo_sqlite_error_info einfo; member
|
/PHP-5.6/ext/pdo_pgsql/ |
H A D | pgsql_driver.c | 83 pdo_pgsql_error_info *einfo = &H->einfo; in _pdo_pgsql_error() local 86 einfo->errcode = errcode; in _pdo_pgsql_error() 87 einfo->file = file; in _pdo_pgsql_error() 88 einfo->line = line; in _pdo_pgsql_error() 90 if (einfo->errmsg) { in _pdo_pgsql_error() 92 einfo->errmsg = NULL; in _pdo_pgsql_error() 111 *pdo_err, einfo->errcode, einfo->errmsg); in _pdo_pgsql_error() 127 pdo_pgsql_error_info *einfo = &H->einfo; in pdo_pgsql_fetch_error_func() local 129 if (einfo->errcode) { in pdo_pgsql_fetch_error_func() 221 if (H->einfo.errmsg) { in pgsql_handle_closer() [all …]
|
H A D | php_pdo_pgsql_int.h | 44 pdo_pgsql_error_info einfo; member
|
/PHP-5.6/ext/mbstring/oniguruma/win32/ |
H A D | testc.c | 90 OnigErrorInfo einfo; in xx() local 93 ONIG_OPTION_DEFAULT, ONIG_ENCODING_SJIS, ONIG_SYNTAX_DEFAULT, &einfo); in xx() 96 onig_error_code_to_str((UChar* )s, r, &einfo); in xx()
|
/PHP-5.6/ext/mbstring/oniguruma/enc/ |
H A D | mktable.c | 1106 static int exec(FILE* fp, ENC_INFO* einfo) in exec() argument 1112 enc = einfo->num; in exec() 1115 einfo->name); in exec()
|