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

12

/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(), "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)) {
83 if (error_code) {
[all...]
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_wireprotocol.h260 unsigned char error_code; member in struct:st_mysqlnd_packet_prepare_response
/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); }
37 #define PDO_HANDLE_STMT_ERR() if (strcmp(stmt->error_code, PDO_ERR_NONE)) { pdo_handle_error(stmt->dbh, stmt); }
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 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;
986 RETURN_STRING(dbh->query_stmt->error_code);
989 if (dbh->error_code[0] == '\0') {
995 * if the dbh->error_code is not null.
997 RETURN_STRING(dbh->error_code);
1020 add_next_index_string(return_value, dbh->query_stmt->error_code);
1022 add_next_index_string(return_value, dbh->error_code);
[all...]
H A Dphp_pdo_driver.h473 pdo_error_type error_code; member in struct:_pdo_dbh_t
605 pdo_error_type error_code; member in struct:_pdo_stmt_t
/PHP_TRUNK/ext/dom/
H A Ddomexception.c43 void php_dom_throw_error_with_message(int error_code, char *error_message, int strict_error) /* {{{ */ argument
46 zend_throw_exception(dom_domexception_class_entry, error_message, error_code);
54 void php_dom_throw_error(int error_code, int strict_error) argument
58 switch (error_code)
112 php_dom_throw_error_with_message(error_code, error_message, strict_error);
H A Dphp_dom.h108 void php_dom_throw_error(int error_code, int strict_error);
109 void php_dom_throw_error_with_message(int error_code, char *error_message, int strict_error);
/PHP_TRUNK/ext/pdo_dblib/
H A Ddblib_driver.c104 S->err.sqlstate = stmt->error_code;
358 H->err.sqlstate = dbh->error_code;
/PHP_TRUNK/ext/pdo_firebird/
H A Dfirebird_driver.c44 pdo_error_type *const error_code = stmt ? &stmt->error_code : &dbh->error_code; local
50 *error_code = PDO_ERR_NONE;
53 *error_code = PDO_ERR_CANT_MAP;
56 *error_code = PDO_ERR_SYNTAX;
60 *error_code = PDO_ERR_CONSTRAINT;
66 *error_code = PDO_ERR_NOT_FOUND;
69 *error_code = PDO_ERR_ALREADY_EXISTS;
72 *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/main/
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
H A Dnetwork.c314 int *error_code)
328 if (error_code) {
329 *error_code = error;
383 if (error_code) {
384 *error_code = error;
424 int socktype, long sockopts, zend_string **error_string, int *error_code
499 if (error_code) {
500 *error_code = err;
724 int *error_code
753 if (error_code) {
308 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
773 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 ) argument
[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::__anon4
H A Dtransports.c57 int *error_code
145 timeout, &error_text, error_code)) {
229 int *error_code
249 if (error_code) {
250 *error_code = param.outputs.error_code;
/PHP_TRUNK/ext/json/
H A Djson.c142 json_globals->error_code = 0;
199 JSON_G(error_code) = php_json_parser_error_code(&parser);
218 JSON_G(error_code) = PHP_JSON_ERROR_NONE;
224 if (JSON_G(error_code) != PHP_JSON_ERROR_NONE && !(options & PHP_JSON_PARTIAL_OUTPUT_ON_ERROR)) {
248 JSON_G(error_code) = 0;
251 JSON_G(error_code) = PHP_JSON_ERROR_SYNTAX;
274 RETURN_LONG(JSON_G(error_code));
286 switch(JSON_G(error_code)) {
H A Djson_encoder.c132 JSON_G(error_code) = PHP_JSON_ERROR_RECURSION;
223 JSON_G(error_code) = PHP_JSON_ERROR_DEPTH;
309 JSON_G(error_code) = PHP_JSON_ERROR_UTF8;
331 JSON_G(error_code) = PHP_JSON_ERROR_UTF8;
459 JSON_G(error_code) = PHP_JSON_ERROR_RECURSION;
519 JSON_G(error_code) = PHP_JSON_ERROR_INF_OR_NAN;
543 JSON_G(error_code) = PHP_JSON_ERROR_UNSUPPORTED_TYPE;
H A Dphp_json.h81 php_json_error_code error_code; variable
/PHP_TRUNK/ext/pcre/
H A Dphp_pcre.h81 int error_code; variable
H A Dphp_pcre.c98 PCRE_G(error_code) = preg_code;
125 pcre_globals->error_code = PHP_PCRE_NO_ERROR;
738 PCRE_G(error_code) = PHP_PCRE_NO_ERROR;
948 if (PCRE_G(error_code) == PHP_PCRE_NO_ERROR) {
1157 PCRE_G(error_code) = PHP_PCRE_NO_ERROR;
1784 PCRE_G(error_code) = PHP_PCRE_NO_ERROR;
2074 PCRE_G(error_code) = PHP_PCRE_NO_ERROR;
2134 RETURN_LONG(PCRE_G(error_code));
/PHP_TRUNK/ext/soap/
H A Dphp_soap.h166 char* error_code; variable
/PHP_TRUNK/Zend/
H A Dzend_API.h717 int error_code = ZPP_ERROR_OK; \
733 error_code = ZPP_ERROR_FAILURE; \
744 if (UNEXPECTED(error_code != ZPP_ERROR_OK)) { \
746 if (error_code == ZPP_ERROR_WRONG_CALLBACK) { \
748 } else if (error_code == ZPP_ERROR_WRONG_CLASS) { \
750 } else if (error_code == ZPP_ERROR_WRONG_ARG) { \
784 error_code = ZPP_ERROR_WRONG_ARG; \
796 error_code = ZPP_ERROR_WRONG_ARG; \
808 error_code = ZPP_ERROR_WRONG_ARG; \
819 error_code
[all...]
/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);
544 sb4 error_code = 0; local
571 OCIErrorGet (H->err, (ub4)1, NULL, &error_code, NULL, 0, OCI_HTYPE_ERROR);
573 if (error_code == 1010) {
/PHP_TRUNK/ext/pdo_mysql/
H A Dmysql_driver.c57 pdo_err = &stmt->error_code;
60 pdo_err = &dbh->error_code;
196 strcpy(dbh->error_code, stmt->error_code);

Completed in 42 milliseconds

12