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

12

/PHP_5_6/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_5_6/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;
462 jp->error_code = PHP_JSON_ERROR_CTRL_CHAR;
676 jp->error_code = PHP_JSON_ERROR_SYNTAX;
716 jp->error_code = PHP_JSON_ERROR_SYNTAX;
734 jp->error_code = PHP_JSON_ERROR_SYNTAX;
747 jp->error_code = PHP_JSON_ERROR_SYNTAX;
H A DJSON_parser.h16 int error_code; member in struct:JSON_parser_struct
H A Dphp_json.h42 int error_code; variable
H A Djson.c129 json_globals->error_code = 0;
245 JSON_G(error_code) = PHP_JSON_ERROR_RECURSION;
345 JSON_G(error_code) = PHP_JSON_ERROR_DEPTH;
428 JSON_G(error_code) = PHP_JSON_ERROR_INF_OR_NAN;
444 JSON_G(error_code) = PHP_JSON_ERROR_UTF8;
572 JSON_G(error_code) = PHP_JSON_ERROR_RECURSION;
636 JSON_G(error_code) = PHP_JSON_ERROR_INF_OR_NAN;
657 JSON_G(error_code) = PHP_JSON_ERROR_UNSUPPORTED_TYPE;
680 JSON_G(error_code) = PHP_JSON_ERROR_UTF8;
719 jp->error_code
[all...]
/PHP_5_6/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_6/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;
661 PCRE_G(error_code) = PHP_PCRE_NO_ERROR;
819 if (PCRE_G(error_code) == PHP_PCRE_NO_ERROR) {
1121 PCRE_G(error_code) = PHP_PCRE_NO_ERROR;
1574 PCRE_G(error_code) = PHP_PCRE_NO_ERROR;
1841 PCRE_G(error_code) = PHP_PCRE_NO_ERROR;
1907 RETURN_LONG(PCRE_G(error_code));
/PHP_5_6/ext/pdo/
H A Dphp_pdo_driver.h481 pdo_error_type error_code; member in struct:_pdo_dbh_t
597 pdo_error_type error_code; member in struct:_pdo_stmt_t
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_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;
1011 RETURN_STRING(dbh->query_stmt->error_code, 1);
1014 if (dbh->error_code[0] == '\0') {
1020 * if the dbh->error_code is not null.
1022 RETURN_STRING(dbh->error_code, 1);
1045 add_next_index_string(return_value, dbh->query_stmt->error_code, 1);
1047 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);
258 strncpy(stmt->error_code, stmt->dbh->error_code, 6);
/PHP_5_6/ext/pdo_dblib/
H A Ddblib_driver.c103 S->err.sqlstate = stmt->error_code;
306 H->err.sqlstate = dbh->error_code;
/PHP_5_6/ext/pdo_mysql/
H A Dmysql_statement.c464 strcpy(stmt->error_code, "HY093");
482 strcpy(stmt->error_code, "HY093");
629 strcpy(stmt->error_code, "HY000");
743 strcpy(stmt->error_code, "01004"); /* truncated */
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_5_6/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_5_6/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_6/ext/soap/
H A Dphp_soap.h168 char* error_code; variable
/PHP_5_6/main/streams/
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;
H A Dphp_stream_transport.h54 int *error_code
72 int *error_code
162 int error_code; member in struct:_php_stream_xport_param::__anon4
/PHP_5_6/ext/pdo_firebird/
H A Dfirebird_statement.c162 strcpy(stmt->error_code, "HY000");
462 strcpy(stmt->error_code, "HY093");
488 strcpy(stmt->error_code, "HY093");
522 strcpy(stmt->error_code, "HY000");
572 strcpy(stmt->error_code, "HY105");
579 strcpy(stmt->error_code, "HY105");
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...]
/PHP_5_6/main/
H A Dphp_network.h232 int *error_code, char *bindto, unsigned short bindport
241 int *error_code);
247 int socktype, char **error_string, int *error_code
256 int *error_code
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, char **error_string, int *error_code
486 if (error_code) {
487 *error_code = err;
714 int *error_code
743 if (error_code) {
303 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
763 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...]

Completed in 76 milliseconds

12