Searched refs:errstr (Results 1 - 15 of 15) sorted by relevance

/PHP_TRUNK/ext/standard/tests/http/
H A Dserver.inc20 $server = stream_socket_server($socket_string, $errno, $errstr);
/PHP_TRUNK/ext/ftp/tests/
H A Dserver.inc10 $socket = stream_socket_server("tcp://127.0.0.1:$port", $errno, $errstr, STREAM_SERVER_BIND|STREAM_SERVER_LISTEN, $context);
/PHP_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3ext.h244 const char *(*errstr)(int); member in struct:sqlite3_api_routines
461 #define sqlite3_errstr sqlite3_api->errstr
H A Dsqlite3.c[all...]
/PHP_TRUNK/ext/intl/converter/
H A Dconverter.c539 char *errstr = NULL; local
546 if (zend_fcall_info_init(&caller, 0, finfo, fcache, NULL, &errstr TSRMLS_CC) == FAILURE) {
547 php_converter_throw_failure(objval, U_INTERNAL_PROGRAM_ERROR TSRMLS_CC, "Error setting converter callback: %s", errstr);
550 if (errstr) {
551 efree(errstr);
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_net.c163 zend_string *errstr = NULL; local
186 NULL /*ctx*/, &errstr, &errcode);
187 if (errstr || !net_stream) {
193 SET_CLIENT_ERROR(*error_info, errcode? errcode:CR_CONNECTION_ERROR, UNKNOWN_SQLSTATE, errstr->val);
194 if (errstr) {
196 zend_string_release(errstr);
/PHP_TRUNK/ext/standard/
H A Dfsock.c50 zend_string *errstr = NULL; local
89 STREAM_XPORT_CLIENT | STREAM_XPORT_CONNECT, hashkey, &tv, NULL, &errstr, &err);
95 php_error_docref(NULL TSRMLS_CC, E_WARNING, "unable to connect to %s:" ZEND_LONG_FMT " (%s)", host, port, errstr == NULL ? "Unknown error" : errstr->val);
107 if (zerrstr && errstr) {
110 ZVAL_STR(zerrstr, errstr);
111 } else if (!zerrstr && errstr) {
112 zend_string_release(errstr);
118 if (errstr) {
119 zend_string_release(errstr);
[all...]
H A Dhttp_fopen_wrapper.c134 zend_string *errstr = NULL; local
224 NULL, &timeout, context, &errstr, NULL);
230 if (errstr) {
231 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "%s", errstr->val);
232 zend_string_release(errstr);
233 errstr = NULL;
H A Dstreamsfuncs.c100 zend_string *errstr = NULL; local
136 hashkey, &tv, context, &errstr, &err);
143 php_error_docref(NULL TSRMLS_CC, E_WARNING, "unable to connect to %s (%s)", quoted_host->val, errstr == NULL ? "Unknown error" : errstr->val);
156 if (zerrstr && errstr) {
158 ZVAL_STR(zerrstr, errstr);
159 } else if (errstr) {
160 zend_string_release(errstr);
165 if (errstr) {
166 zend_string_release(errstr);
184 zend_string *errstr = NULL; local
249 zend_string *errstr = NULL; local
[all...]
H A Dbasic_functions.c1388 ZEND_ARG_INFO(1, errstr)
1396 ZEND_ARG_INFO(1, errstr)
/PHP_TRUNK/ext/bz2/
H A Dbz2.c623 const char *errstr; /* Error string */ local
640 errstr = BZ2_bzerror(self->bz_file, &errnum);
648 RETURN_STRING((char*)errstr);
654 add_assoc_string(return_value, "errstr", (char*)errstr);
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c1105 char *errstr = get_last_error(); local
1106 php_cli_server_logf("%s" TSRMLS_CC, errstr);
1107 pefree(errstr, 1);
1231 static php_socket_t php_network_listen_socket(const char *host, int *port, int socktype, int *af, socklen_t *socklen, zend_string **errstr TSRMLS_DC) /* {{{ */
1237 int num_addrs = php_network_getaddresses(host, socktype, &sal, errstr TSRMLS_CC);
1259 *errstr = NULL;
1272 *errstr = NULL;
1345 if (errstr) {
1346 *errstr = php_socket_error_str(err);
1702 static int php_cli_server_client_read_request(php_cli_server_client *client, char **errstr TSRMLS_D
1874 char *errstr = get_last_error(); local
2218 zend_string *errstr = NULL; local
2337 char *errstr = NULL; local
2412 char *errstr; local
2478 char *errstr = php_socket_strerror(err, NULL, 0); local
[all...]
/PHP_TRUNK/main/
H A Dnetwork.c519 zend_string *errstr = NULL; local
561 n = php_network_getaddresses(tmp, SOCK_DGRAM, &psal, &errstr TSRMLS_CC);
564 if (errstr) {
565 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed to resolve `%s': %s", tmp, errstr->val);
566 zend_string_release(errstr);
1002 char *errstr; local
1004 errstr = strerror(err);
1006 buf = estrdup(errstr);
1008 strncpy(buf, errstr, bufsize);
1050 char *errstr; local
[all...]
/PHP_TRUNK/sapi/fpm/tests/
H A Dfcgi.inc253 $this->_sock = pfsockopen($this->_host, $this->_port, $errno, $errstr, $this->_connectTimeout/1000);
255 $this->_sock = fsockopen($this->_host, $this->_port, $errno, $errstr, $this->_connectTimeout/1000);
259 throw new \Exception('Unable to connect to FastCGI application: ' . $errstr);
/PHP_TRUNK/
H A Drun-tests.php1004 $fs = fsockopen($host, $port, $errno, $errstr, 10);

Completed in 167 milliseconds