/PHP-5.5/ext/sockets/tests/ |
H A D | mcast_ipv4_send.phpt | 8 $s = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP) or die("err"); 16 $s = socket_create($domain, SOCK_DGRAM, SOL_UDP) or die("err");
|
H A D | mcast_ipv4_send_error.phpt | 15 $s = socket_create($domain, SOCK_DGRAM, SOL_UDP) or die("err");
|
H A D | socket_abstract_path.phpt | 19 $servers = socket_create(AF_UNIX, SOCK_STREAM, 0) or die("err"); 25 $clients = socket_create(AF_UNIX, SOCK_STREAM, 0) or die("err");
|
H A D | socket_abstract_path_sendmsg.phpt | 19 $sends1 = socket_create(AF_UNIX, SOCK_DGRAM, 0) or die("err"); 23 $s = socket_create(AF_UNIX, SOCK_DGRAM, 0) or die("err"); 24 socket_bind($s, $path) or die("err");
|
/PHP-5.5/ext/sockets/ |
H A D | conversions.c | 72 struct err_s err; member 80 struct err_s err; member 151 if (err->has_error) { in do_from_to_zval_err() 169 err->has_error = 1; in do_from_to_zval_err() 170 err->level = E_WARNING; in do_from_to_zval_err() 175 err->should_free = 1; in do_from_to_zval_err() 202 php_error_docref0(NULL TSRMLS_CC, err->level, "%s", err->msg); in err_msg_dispose() 204 efree(err->msg); in err_msg_dispose() 228 !ctx->err.has_error in from_array_iterate() 1512 *err = ctx.err; in from_zval_run_conversions() [all …]
|
H A D | conversions.h | 42 void err_msg_dispose(struct err_s *err TSRMLS_DC); 76 struct err_s *err /* in/out */); 82 struct err_s *err);
|
H A D | multicast.c | 775 goto err; 819 goto err; 839 err:
|
H A D | sendrecvmsg.c | 172 struct err_s err = {0}; in PHP_FUNCTION() local 188 if (err.has_error) { in PHP_FUNCTION() 215 struct err_s err = {0}; in PHP_FUNCTION() local 231 if (err.has_error) { in PHP_FUNCTION() 247 "msghdr", kv, &err); in PHP_FUNCTION() 254 if (!err.has_error) { in PHP_FUNCTION() 316 struct err_s err = {0}; in php_do_setsockopt_ipv6_rfc3542() local 341 if (err.has_error) { in php_do_setsockopt_ipv6_rfc3542() 367 struct err_s err = {0}; in php_do_getsockopt_ipv6_rfc3542() local 392 empty_key_value_list, &err); in php_do_getsockopt_ipv6_rfc3542() [all …]
|
/PHP-5.5/ext/soap/ |
H A D | php_http.c | 345 int request_size, err; in make_http_soap_request() local 865 err = php_stream_write(stream, soap_headers.c, soap_headers.len); in make_http_soap_request() 866 if (err != soap_headers.len) { in make_http_soap_request()
|
H A D | php_encoding.c | 911 memcpy(err, str, new_len+1); in to_xml_string() 912 for (i = 0; (c = err[i++]);) { in to_xml_string() 915 if ((err[i] & 0xc0) != 0x80) { in to_xml_string() 920 if ((err[i] & 0xc0) != 0x80 || (err[i+1] & 0xc0) != 0x80) { in to_xml_string() 925 if ((err[i] & 0xc0) != 0x80 || (err[i+1] & 0xc0) != 0x80 || (err[i+2] & 0xc0) != 0x80) { in to_xml_string() 934 err[i-1] = '\\'; in to_xml_string() 935 err[i++] = 'x'; in to_xml_string() 938 err[i++] = '.'; in to_xml_string() 939 err[i++] = '.'; in to_xml_string() 940 err[i++] = '.'; in to_xml_string() [all …]
|
/PHP-5.5/ext/snmp/ |
H A D | snmp.c | 718 char *err; in php_snmp_internal() local 735 snmp_error(session, NULL, NULL, &err); in php_snmp_internal() 736 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Could not open snmp connection: %s", err); in php_snmp_internal() 737 free(err); in php_snmp_internal() 947 snmp_error(ss, NULL, NULL, &err); in php_snmp_internal() 948 php_snmp_error(getThis(), NULL TSRMLS_CC, PHP_SNMP_ERRNO_GENERIC, "Fatal error: %s", err); in php_snmp_internal() 949 free(err); in php_snmp_internal()
|
/PHP-5.5/ext/shmop/ |
H A D | shmop.c | 202 goto err; in PHP_FUNCTION() 207 goto err; in PHP_FUNCTION() 213 goto err; in PHP_FUNCTION() 218 goto err; in PHP_FUNCTION() 224 goto err; in PHP_FUNCTION() 231 err: in PHP_FUNCTION()
|
/PHP-5.5/ext/phar/ |
H A D | util.c | 175 const char *err; in phar_mount_entry() local 177 if (phar_path_check(&path, &path_len, &err) > pcr_is_ok) { in phar_mount_entry()
|
H A D | phar.c | 1600 char err = 0; local 1625 err = 1; 1641 if (err) {
|
/PHP-5.5/ext/pgsql/ |
H A D | pgsql.c | 1391 goto err; 1403 goto err; 1413 goto err; 1427 err: 5456 err = 1; 5460 err = 1; 5464 err = 1; 5468 err = 1; 5472 err = 1; 5476 err = 1; [all …]
|
/PHP-5.5/ext/pdo_pgsql/tests/ |
H A D | bug_33876.phpt | 84 $err = $res->errorInfo(); 86 $err[2] = trim(current(explode("\n", $err[2]))); 87 print_r($err);
|
/PHP-5.5/ext/pdo_oci/ |
H A D | php_pdo_oci_int.h | 35 OCIError *err; member 63 OCIError *err; member 89 ub4 _oci_error(OCIError *err, pdo_dbh_t *dbh, pdo_stmt_t *stmt, char *what, sword status, int isini… 90 #define oci_init_error(w) _oci_error(H->err, dbh, NULL, w, H->last_err, TRUE, __FILE__, __LINE__ TS… 91 #define oci_drv_error(w) _oci_error(H->err, dbh, NULL, w, H->last_err, FALSE, __FILE__, __LINE__ TS… 92 #define oci_stmt_error(w) _oci_error(S->err, stmt->dbh, stmt, w, S->last_err, FALSE, __FILE__, __LI…
|
H A D | oci_statement.c | 67 OCIStmtFetch(S->stmt, S->err, 0, OCI_FETCH_NEXT, OCI_DEFAULT); in oci_stmt_dtor() 73 if (S->err) { in oci_stmt_dtor() 74 OCIHandleFree(S->err, OCI_HTYPE_ERROR); in oci_stmt_dtor() 75 S->err = NULL; in oci_stmt_dtor() 146 STMT_CALL(OCIStmtExecute, (S->H->svc, S->stmt, S->err, in oci_stmt_execute() 313 &P->bind, S->err, (text*)param->name, in oci_stmt_param_hook() 319 &P->bind, S->err, param->paramno+1, in oci_stmt_param_hook() 326 S->err, in oci_stmt_param_hook() 621 r = OCILobWrite(self->S->H->svc, self->S->err, self->lob, in oci_blob_write() 641 r = OCILobRead(self->S->H->svc, self->S->err, self->lob, in oci_blob_read() [all …]
|
H A D | oci_driver.c | 204 OCITransRollback(H->svc, H->err, 0); in oci_handle_closer() 230 if (H->err) { in oci_handle_closer() 231 OCIHandleFree(H->err, OCI_HTYPE_ERROR); in oci_handle_closer() 232 H->err = NULL; in oci_handle_closer() 298 OCIHandleFree(S->err, OCI_HTYPE_ERROR); in oci_handle_preparer() 308 OCI_ATTR_PREFETCH_ROWS, H->err); in oci_handle_preparer() 312 OCI_ATTR_PREFETCH_MEMORY, H->err); in oci_handle_preparer() 419 H->last_err = OCITransCommit(H->svc, H->err, 0); in oci_handle_commit() 433 H->last_err = OCITransRollback(H->svc, H->err, 0); in oci_handle_rollback() 665 OCI_ATTR_USERNAME, H->err); in pdo_oci_handle_factory() [all …]
|
/PHP-5.5/ext/pdo_dblib/ |
H A D | dblib_driver.c | 41 pdo_dblib_err *einfo = &H->err; in dblib_fetch_error() 48 einfo = &S->err; in dblib_fetch_error() 53 } else if (einfo->dberr == SYBESMSG && DBLIB_G(err).lastmsg) { in dblib_fetch_error() 54 msg = DBLIB_G(err).lastmsg; in dblib_fetch_error() 55 DBLIB_G(err).lastmsg = NULL; in dblib_fetch_error() 103 S->err.sqlstate = stmt->error_code; in dblib_handle_preparer() 113 dbsetuserdata(H->link, (BYTE*)&H->err); in dblib_handle_doer() 306 H->err.sqlstate = dbh->error_code; in pdo_dblib_handle_factory() 404 DBLIB_G(err).sqlstate, in pdo_dblib_handle_factory() 405 DBLIB_G(err).dberrstr, in pdo_dblib_handle_factory() [all …]
|
H A D | dblib_stmt.c | 153 dbsetuserdata(H->link, (BYTE*) &S->err); in pdo_dblib_stmt_execute()
|
H A D | pdo_dblib.c | 100 einfo = &DBLIB_G(err); in ZEND_GET_MODULE() 149 einfo = &DBLIB_G(err); in msg_handler() 174 if (DBLIB_G(err).oserrstr) { in PHP_RSHUTDOWN_FUNCTION() 175 efree(DBLIB_G(err).oserrstr); in PHP_RSHUTDOWN_FUNCTION() 176 DBLIB_G(err).oserrstr = NULL; in PHP_RSHUTDOWN_FUNCTION() 178 if (DBLIB_G(err).dberrstr) { in PHP_RSHUTDOWN_FUNCTION() 179 efree(DBLIB_G(err).dberrstr); in PHP_RSHUTDOWN_FUNCTION() 180 DBLIB_G(err).dberrstr = NULL; in PHP_RSHUTDOWN_FUNCTION() 182 if (DBLIB_G(err).lastmsg) { in PHP_RSHUTDOWN_FUNCTION() 183 efree(DBLIB_G(err).lastmsg); in PHP_RSHUTDOWN_FUNCTION() [all …]
|
H A D | php_pdo_dblib_int.h | 115 pdo_dblib_err err; member 120 pdo_dblib_err err; member 130 pdo_dblib_err err;
|
/PHP-5.5/ext/openssl/tests/ |
H A D | bug55646.phpt | 24 while ($e = openssl_error_string()) { $err = $e; } 25 die("Failed; last error: $err");
|
/PHP-5.5/ext/openssl/ |
H A D | xp_ssl.c | 97 int err = SSL_get_error(sslsock->ssl_handle, nr_bytes); in handle_ssl_error() local 103 switch(err) { in handle_ssl_error() 163 err, in handle_ssl_error() 261 int err = SSL_get_error(sslsock->ssl_handle, nr_bytes ); in php_openssl_sockop_io() local 265 if (errno == EAGAIN && err == SSL_ERROR_WANT_READ && read) { in php_openssl_sockop_io() 296 int err = SSL_get_error(sslsock->ssl_handle, nr_bytes); in php_openssl_sockop_io() local 299 if (err == SSL_ERROR_NONE) { in php_openssl_sockop_io() 633 int err = SSL_get_error(sslsock->ssl_handle, n); in php_openssl_enable_crypto() local 846 int err = SSL_get_error(sslsock->ssl_handle, n); in php_openssl_sockop_set_option() local 848 if (err == SSL_ERROR_SYSCALL) { in php_openssl_sockop_set_option() [all …]
|