Searched refs:error_code (Results 1 - 25 of 39) sorted by relevance

12

/PHP_TRUNK/ext/dom/
H A Ddomexception.c43 void php_dom_throw_error_with_message(int error_code, char *error_message, int strict_error TSRMLS_DC) /* {{{ */ argument
46 zend_throw_exception(dom_domexception_class_entry, error_message, error_code TSRMLS_CC);
54 void php_dom_throw_error(int error_code, int strict_error TSRMLS_DC) argument
58 switch (error_code)
112 php_dom_throw_error_with_message(error_code, error_message, strict_error TSRMLS_CC);
H A Dphp_dom.h108 void php_dom_throw_error(int error_code, int strict_error TSRMLS_DC);
109 void php_dom_throw_error_with_message(int error_code, char *error_message, int strict_error TSRMLS_DC);
/PHP_TRUNK/ext/json/
H A DJSON_parser.h16 int error_code; member in struct:JSON_parser_struct
H A DJSON_parser.c206 jp->error_code = PHP_JSON_ERROR_DEPTH;
222 jp->error_code = PHP_JSON_ERROR_STATE_MISMATCH;
248 jp->error_code = PHP_JSON_ERROR_NONE;
470 jp->error_code = PHP_JSON_ERROR_CTRL_CHAR;
678 jp->error_code = PHP_JSON_ERROR_SYNTAX;
712 jp->error_code = PHP_JSON_ERROR_SYNTAX;
730 jp->error_code = PHP_JSON_ERROR_SYNTAX;
743 jp->error_code = PHP_JSON_ERROR_SYNTAX;
H A Djson.c129 json_globals->error_code = 0;
237 JSON_G(error_code) = PHP_JSON_ERROR_RECURSION;
328 JSON_G(error_code) = PHP_JSON_ERROR_DEPTH;
409 JSON_G(error_code) = PHP_JSON_ERROR_INF_OR_NAN;
421 JSON_G(error_code) = PHP_JSON_ERROR_UTF8;
447 JSON_G(error_code) = PHP_JSON_ERROR_UTF8;
566 JSON_G(error_code) = PHP_JSON_ERROR_RECURSION;
633 JSON_G(error_code) = PHP_JSON_ERROR_INF_OR_NAN;
658 JSON_G(error_code) = PHP_JSON_ERROR_UNSUPPORTED_TYPE;
680 JSON_G(error_code)
[all...]
H A Dphp_json.h42 int error_code; variable
/PHP_TRUNK/ext/pcre/
H A Dphp_pcre.h78 int error_code; variable
H A Dphp_pcre.c85 PCRE_G(error_code) = preg_code;
110 pcre_globals->error_code = PHP_PCRE_NO_ERROR;
681 PCRE_G(error_code) = PHP_PCRE_NO_ERROR;
889 if (PCRE_G(error_code) == PHP_PCRE_NO_ERROR) {
1180 PCRE_G(error_code) = PHP_PCRE_NO_ERROR;
1641 PCRE_G(error_code) = PHP_PCRE_NO_ERROR;
1929 PCRE_G(error_code) = PHP_PCRE_NO_ERROR;
1989 RETURN_LONG(PCRE_G(error_code));
/PHP_TRUNK/ext/pdo/
H A Dphp_pdo_error.h29 strlcpy(dbh->error_code, PDO_ERR_NONE, sizeof(PDO_ERR_NONE)); \
35 #define PDO_STMT_CLEAR_ERR() strcpy(stmt->error_code, PDO_ERR_NONE)
36 #define PDO_HANDLE_DBH_ERR() if (strcmp(dbh->error_code, PDO_ERR_NONE)) { pdo_handle_error(dbh, NULL TSRMLS_CC); }
37 #define PDO_HANDLE_STMT_ERR() if (strcmp(stmt->error_code, PDO_ERR_NONE)) { pdo_handle_error(stmt->dbh, stmt TSRMLS_CC); }
H A Dpdo_sql_parser.re224 strncpy(stmt->error_code, stmt->dbh->error_code, 6);
268 strncpy(stmt->error_code, stmt->dbh->error_code, 6);
H A Dphp_pdo_driver.h475 pdo_error_type error_code; member in struct:_pdo_dbh_t
605 pdo_error_type error_code; member in struct:_pdo_stmt_t
H A Dpdo_dbh.c43 pdo_error_type *pdo_err = &dbh->error_code;
57 pdo_err = &stmt->error_code;
103 pdo_error_type *pdo_err = &dbh->error_code;
115 pdo_err = &stmt->error_code;
994 RETURN_STRING(dbh->query_stmt->error_code);
997 if (dbh->error_code[0] == '\0') {
1003 * if the dbh->error_code is not null.
1005 RETURN_STRING(dbh->error_code);
1028 add_next_index_string(return_value, dbh->query_stmt->error_code);
1030 add_next_index_string(return_value, dbh->error_code);
[all...]
/PHP_TRUNK/main/streams/
H A Dphp_stream_transport.h54 int *error_code
72 int *error_code
160 int error_code; member in struct:_php_stream_xport_param::__anon245
H A Dtransports.c57 int *error_code
145 timeout, &error_text, error_code TSRMLS_CC)) {
229 int *error_code
249 if (error_code) {
250 *error_code = param.outputs.error_code;
/PHP_TRUNK/ext/pdo_dblib/
H A Ddblib_driver.c105 S->err.sqlstate = stmt->error_code;
308 H->err.sqlstate = dbh->error_code;
/PHP_TRUNK/ext/pdo_firebird/
H A Dfirebird_driver.c46 pdo_error_type *const error_code = stmt ? &stmt->error_code : &dbh->error_code; local
52 *error_code = PDO_ERR_NONE;
55 *error_code = PDO_ERR_CANT_MAP;
58 *error_code = PDO_ERR_SYNTAX;
62 *error_code = PDO_ERR_CONSTRAINT;
68 *error_code = PDO_ERR_NOT_FOUND;
71 *error_code = PDO_ERR_ALREADY_EXISTS;
74 *error_code
[all...]
H A Dfirebird_statement.c162 strcpy(stmt->error_code, "HY000");
461 strcpy(stmt->error_code, "HY093");
487 strcpy(stmt->error_code, "HY093");
540 strcpy(stmt->error_code, "HY000");
589 strcpy(stmt->error_code, "HY105");
596 strcpy(stmt->error_code, "HY105");
/PHP_TRUNK/ext/pdo_odbc/
H A Dodbc_driver.c68 pdo_error_type *pdo_err = &dbh->error_code;
74 pdo_err = &stmt->error_code;
168 strcpy(dbh->error_code, stmt->error_code);
213 strcpy(dbh->error_code, stmt->error_code);
/PHP_TRUNK/ext/soap/
H A Dphp_soap.h168 char* error_code; variable
/PHP_TRUNK/main/
H A Dnetwork.c309 int *error_code)
323 if (error_code) {
324 *error_code = error;
378 if (error_code) {
379 *error_code = error;
419 int socktype, long sockopts, zend_string **error_string, int *error_code
494 if (error_code) {
495 *error_code = err;
719 int *error_code
748 if (error_code) {
303 php_network_connect_socket(php_socket_t sockfd, const struct sockaddr *addr, socklen_t addrlen, int asynchronous, struct timeval *timeout, zend_string **error_string, int *error_code) argument
768 php_network_connect_socket_to_host(const char *host, unsigned short port, int socktype, int asynchronous, struct timeval *timeout, zend_string **error_string, int *error_code, char *bindto, unsigned short bindport, long sockopts TSRMLS_DC) argument
[all...]
H A Dphp_network.h238 int *error_code, char *bindto, unsigned short bindport, long sockopts
247 int *error_code);
253 int socktype, long sockopts, zend_string **error_string, int *error_code
262 int *error_code
/PHP_TRUNK/ext/pdo_mysql/
H A Dmysql_driver.c57 pdo_err = &stmt->error_code;
60 pdo_err = &dbh->error_code;
198 strcpy(dbh->error_code, stmt->error_code);
/PHP_TRUNK/ext/pdo_oci/
H A Doci_driver.c67 pdo_error_type *pdo_err = &dbh->error_code;
72 pdo_err = &stmt->error_code;
185 strcpy(dbh->error_code, stmt->error_code);
278 strcpy(dbh->error_code, stmt->error_code);
539 sb4 error_code = 0; local
566 OCIErrorGet (H->err, (ub4)1, NULL, &error_code, NULL, 0, OCI_HTYPE_ERROR);
568 if (error_code == 1010) {
/PHP_TRUNK/ext/intl/spoofchecker/
H A Dspoofchecker_main.c24 /* {{{ proto bool Spoofchecker::isSuspicious( string text[, int &error_code ] )
32 zval *error_code = NULL; local
35 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|z", &text, &text_len, &error_code)) {
48 if (error_code) {
49 zval_dtor(error_code);
50 ZVAL_LONG(error_code, ret);
56 /* {{{ proto bool Spoofchecker::areConfusable( string str1, string str2[, int &error_code ] )
64 zval *error_code = NULL; local
68 &s2, &s2_len, &error_code)) {
81 if (error_code) {
[all...]
/PHP_TRUNK/Zend/
H A Dzend_API.h739 int error_code = ZPP_ERROR_OK; \
755 error_code = ZPP_ERROR_FAILURE; \
766 if (UNEXPECTED(error_code != ZPP_ERROR_OK)) { \
768 if (error_code == ZPP_ERROR_WRONG_CALLBACK) { \
770 } else if (error_code == ZPP_ERROR_WRONG_CLASS) { \
772 } else if (error_code == ZPP_ERROR_WRONG_ARG) { \
804 error_code = ZPP_ERROR_WRONG_ARG; \
816 error_code = ZPP_ERROR_WRONG_ARG; \
828 error_code = ZPP_ERROR_WRONG_ARG; \
839 error_code
[all...]

Completed in 30 milliseconds

12