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/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/ext/sqlite3/libsqlite/
H A Dsqlite3ext.h244 const char *(*errstr)(int); member in struct:sqlite3_api_routines
478 #define sqlite3_errstr sqlite3_api->errstr
H A Dsqlite3.c[all...]
/PHP_TRUNK/
H A Drun-tests.php1005 $fs = fsockopen($host, $port, $errno, $errstr, 10);
/PHP_TRUNK/ext/bz2/
H A Dbz2.c618 const char *errstr; /* Error string */ local
635 errstr = BZ2_bzerror(self->bz_file, &errnum);
643 RETURN_STRING((char*)errstr);
649 add_assoc_string(return_value, "errstr", (char*)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, ZSTR_VAL(errstr));
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, E_WARNING, "unable to connect to %s:" ZEND_LONG_FMT " (%s)", host, port, errstr == NULL ? "Unknown error" : ZSTR_VAL(errstr));
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
225 NULL, &timeout, context, &errstr, NULL);
231 if (errstr) {
232 php_stream_wrapper_log_error(wrapper, options, "%s", ZSTR_VAL(errstr));
233 zend_string_release(errstr);
234 errstr = NULL;
H A Dbasic_functions.c1388 ZEND_ARG_INFO(1, errstr)
1396 ZEND_ARG_INFO(1, errstr)
H A Dstreamsfuncs.c99 zend_string *errstr = NULL; local
135 hashkey, &tv, context, &errstr, &err);
142 php_error_docref(NULL, E_WARNING, "unable to connect to %s (%s)", ZSTR_VAL(quoted_host), errstr == NULL ? "Unknown error" : ZSTR_VAL(errstr));
155 if (zerrstr && errstr) {
157 ZVAL_STR(zerrstr, errstr);
158 } else if (errstr) {
159 zend_string_release(errstr);
164 if (errstr) {
165 zend_string_release(errstr);
183 zend_string *errstr = NULL; local
248 zend_string *errstr = NULL; local
[all...]
/PHP_TRUNK/main/
H A Dnetwork.c524 zend_string *errstr = NULL; local
566 n = php_network_getaddresses(tmp, SOCK_DGRAM, &psal, &errstr);
569 if (errstr) {
570 php_error_docref(NULL, E_WARNING, "Failed to resolve `%s': %s", tmp, ZSTR_VAL(errstr));
571 zend_string_release(errstr);
1007 char *errstr; local
1009 errstr = strerror(err);
1011 buf = estrdup(errstr);
1013 strncpy(buf, errstr, bufsize);
1055 char *errstr; local
[all...]
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c1052 char *errstr = get_last_error(); local
1053 php_cli_server_logf("%s", errstr);
1054 pefree(errstr, 1);
1175 static php_socket_t php_network_listen_socket(const char *host, int *port, int socktype, int *af, socklen_t *socklen, zend_string **errstr) /* {{{ */ argument
1181 int num_addrs = php_network_getaddresses(host, socktype, &sal, errstr);
1203 *errstr = NULL;
1216 *errstr = NULL;
1289 if (errstr) {
1290 *errstr = php_socket_error_str(err);
1649 static int php_cli_server_client_read_request(php_cli_server_client *client, char **errstr) argument
1821 char *errstr = get_last_error(); local
2168 zend_string *errstr = NULL; local
2287 char *errstr = NULL; local
2356 char *errstr; local
2419 char *errstr = php_socket_strerror(err, NULL, 0); local
[all...]
/PHP_TRUNK/ext/intl/converter/
H A Dconverter.c531 char *errstr = NULL; local
538 if (zend_fcall_info_init(&caller, 0, finfo, fcache, NULL, &errstr) == FAILURE) {
539 php_converter_throw_failure(objval, U_INTERNAL_PROGRAM_ERROR, "Error setting converter callback: %s", errstr);
542 if (errstr) {
543 efree(errstr);

Completed in 192 milliseconds