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

12

/PHP_5_3/ext/json/
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;
445 jp->error_code = PHP_JSON_ERROR_CTRL_CHAR;
659 jp->error_code = PHP_JSON_ERROR_SYNTAX;
699 jp->error_code = PHP_JSON_ERROR_SYNTAX;
717 jp->error_code = PHP_JSON_ERROR_SYNTAX;
730 jp->error_code = PHP_JSON_ERROR_SYNTAX;
H A DJSON_parser.h15 int error_code; member in struct:JSON_parser_struct
H A Djson.c92 json_globals->error_code = 0;
322 JSON_G(error_code) = PHP_JSON_ERROR_UTF8;
503 JSON_G(error_code) = PHP_JSON_ERROR_UTF8;
528 jp->error_code = PHP_JSON_ERROR_NONE;
546 jp->error_code = PHP_JSON_ERROR_NONE;
553 JSON_G(error_code) = jp->error_code;
570 JSON_G(error_code) = PHP_JSON_ERROR_NONE;
593 JSON_G(error_code) = 0;
611 RETURN_LONG(JSON_G(error_code));
[all...]
H A Dphp_json.h41 int error_code; variable
/PHP_5_3/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.h105 void php_dom_throw_error(int error_code, int strict_error TSRMLS_DC);
106 void php_dom_throw_error_with_message(int error_code, char *error_message, int strict_error TSRMLS_DC);
/PHP_5_3/ext/pcre/
H A Dphp_pcre.h73 int error_code; variable
H A Dphp_pcre.c85 PCRE_G(error_code) = preg_code;
107 pcre_globals->error_code = PHP_PCRE_NO_ERROR;
629 PCRE_G(error_code) = PHP_PCRE_NO_ERROR;
767 if (PCRE_G(error_code) == PHP_PCRE_NO_ERROR) {
1057 PCRE_G(error_code) = PHP_PCRE_NO_ERROR;
1506 PCRE_G(error_code) = PHP_PCRE_NO_ERROR;
1769 PCRE_G(error_code) = PHP_PCRE_NO_ERROR;
1835 RETURN_LONG(PCRE_G(error_code));
/PHP_5_3/ext/pdo/
H A Dpdo_dbh.c43 pdo_error_type *pdo_err = &dbh->error_code;
57 pdo_err = &stmt->error_code;
106 pdo_error_type *pdo_err = &dbh->error_code;
118 pdo_err = &stmt->error_code;
1014 RETURN_STRING(dbh->query_stmt->error_code, 1);
1017 if (dbh->error_code[0] == '\0') {
1023 * if the dbh->error_code is not null.
1025 RETURN_STRING(dbh->error_code, 1);
1048 add_next_index_string(return_value, dbh->query_stmt->error_code, 1);
1050 add_next_index_string(return_value, dbh->error_code,
[all...]
H A Dpdo_sql_parser.re215 strncpy(stmt->error_code, stmt->dbh->error_code, 6);
256 strncpy(stmt->error_code, stmt->dbh->error_code, 6);
H A Dphp_pdo_driver.h483 pdo_error_type error_code; member in struct:_pdo_dbh_t
602 pdo_error_type error_code; member in struct:_pdo_stmt_t
H A Dphp_pdo_int.h61 strncpy(dbh->error_code, PDO_ERR_NONE, sizeof(PDO_ERR_NONE)); \
67 #define PDO_STMT_CLEAR_ERR() strcpy(stmt->error_code, PDO_ERR_NONE)
68 #define PDO_HANDLE_DBH_ERR() if (strcmp(dbh->error_code, PDO_ERR_NONE)) { pdo_handle_error(dbh, NULL TSRMLS_CC); }
69 #define PDO_HANDLE_STMT_ERR() if (strcmp(stmt->error_code, PDO_ERR_NONE)) { pdo_handle_error(stmt->dbh, stmt TSRMLS_CC); }
/PHP_5_3/ext/pdo_dblib/
H A Ddblib_driver.c100 S->err.sqlstate = stmt->error_code;
201 H->err.sqlstate = dbh->error_code;
/PHP_5_3/ext/pdo_firebird/
H A Dfirebird_driver.c48 pdo_error_type *const error_code = stmt ? &stmt->error_code : &dbh->error_code; local
54 *error_code = PDO_ERR_NONE;
57 *error_code = PDO_ERR_CANT_MAP;
60 *error_code = PDO_ERR_SYNTAX;
64 *error_code = PDO_ERR_CONSTRAINT;
70 *error_code = PDO_ERR_NOT_FOUND;
73 *error_code = PDO_ERR_ALREADY_EXISTS;
76 *error_code
[all...]
H A Dfirebird_statement.c164 strcpy(stmt->error_code, "HY000");
464 strcpy(stmt->error_code, "HY093");
490 strcpy(stmt->error_code, "HY093");
524 strcpy(stmt->error_code, "HY000");
574 strcpy(stmt->error_code, "HY105");
581 strcpy(stmt->error_code, "HY105");
/PHP_5_3/ext/pdo_mysql/
H A Dmysql_driver.c68 pdo_err = &stmt->error_code;
71 pdo_err = &dbh->error_code;
223 strcpy(dbh->error_code, stmt->error_code);
H A Dmysql_statement.c450 strcpy(stmt->error_code, "HYC00");
485 strcpy(stmt->error_code, "HY093");
503 strcpy(stmt->error_code, "HY093");
652 strcpy(stmt->error_code, "HY000");
769 strcpy(stmt->error_code, "01004"); /* truncated */
/PHP_5_3/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);
276 strcpy(dbh->error_code, stmt->error_code);
537 sb4 error_code = 0; local
562 OCIErrorGet (H->err, (ub4)1, NULL, &error_code, NULL, 0, OCI_HTYPE_ERROR);
564 if (error_code == 1010) {
/PHP_5_3/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_5_3/ext/soap/
H A Dphp_soap.h161 char* error_code; variable
/PHP_5_3/main/
H A Dnetwork.c306 int *error_code)
320 if (error_code) {
321 *error_code = error;
375 if (error_code) {
376 *error_code = error;
416 int socktype, char **error_string, int *error_code
483 if (error_code) {
484 *error_code = err;
711 int *error_code
740 if (error_code) {
300 php_network_connect_socket(php_socket_t sockfd, const struct sockaddr *addr, socklen_t addrlen, int asynchronous, struct timeval *timeout, char **error_string, int *error_code) argument
760 php_network_connect_socket_to_host(const char *host, unsigned short port, int socktype, int asynchronous, struct timeval *timeout, char **error_string, int *error_code, char *bindto, unsigned short bindport TSRMLS_DC) argument
[all...]
H A Dphp_network.h225 int *error_code, char *bindto, unsigned short bindport
234 int *error_code);
240 int socktype, char **error_string, int *error_code
249 int *error_code
/PHP_5_3/main/streams/
H A Dphp_stream_transport.h54 int *error_code
72 int *error_code
162 int error_code; member in struct:_php_stream_xport_param::__anon268
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_5_3/ext/mysqlnd/
H A Dmysqlnd_wireprotocol.h228 unsigned char error_code; member in struct:st_mysqlnd_packet_prepare_response

Completed in 70 milliseconds

12