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

/PHP_5_3/ext/standard/tests/http/
H A Dserver.inc20 $server = stream_socket_server($socket_string, $errno, $errstr);
/PHP_5_3/
H A Drun-tests.php982 $fs = fsockopen($host, $port, $errno, $errstr, 10);
/PHP_5_3/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_5_3/ext/bz2/
H A Dbz2.c598 const char *errstr; /* Error string */ local
615 errstr = BZ2_bzerror(self->bz_file, &errnum);
623 RETURN_STRING((char*)errstr, 1);
629 add_assoc_string(return_value, "errstr", (char*)errstr, 1);
/PHP_5_3/ext/curl/
H A Dphp_curl.h180 char errstr[CURL_ERROR_SIZE + 1]; member in struct:__anon23
H A Dstreams.c312 curl_easy_setopt(curlstream->curl, CURLOPT_ERRORBUFFER, curlstream->errstr);
/PHP_5_3/ext/standard/
H A Dfsock.c46 char *errstr = NULL; local
80 STREAM_XPORT_CLIENT | STREAM_XPORT_CONNECT, hashkey, &tv, NULL, &errstr, &err);
86 php_error_docref(NULL TSRMLS_CC, E_WARNING, "unable to connect to %s:%ld (%s)", host, port, errstr == NULL ? "Unknown error" : errstr);
98 if (zerrstr && errstr) {
101 ZVAL_STRING(zerrstr, errstr, 0);
103 else if (!zerrstr && errstr) {
104 efree(errstr);
110 if (errstr) {
111 efree(errstr);
[all...]
H A Dhttp_fopen_wrapper.c106 char *transport_string, *errstr = NULL; local
184 NULL, &timeout, context, &errstr, NULL);
190 if (errstr) {
191 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "%s", errstr);
192 efree(errstr);
193 errstr = NULL;
H A Dstreamsfuncs.c98 char *errstr = NULL; local
134 hashkey, &tv, context, &errstr, &err);
141 php_error_docref(NULL TSRMLS_CC, E_WARNING, "unable to connect to %s (%s)", quoted_host, errstr == NULL ? "Unknown error" : errstr);
154 if (zerrstr && errstr) {
157 ZVAL_STRING(zerrstr, errstr, 0);
158 } else if (errstr) {
159 efree(errstr);
164 if (errstr) {
165 efree(errstr);
183 char *errstr = NULL; local
251 char *errstr = NULL; local
[all...]
H A Dbasic_functions.c1426 ZEND_ARG_INFO(1, errstr)
1434 ZEND_ARG_INFO(1, errstr)
/PHP_5_3/main/
H A Dnetwork.c508 char *errstr = NULL; local
550 n = php_network_getaddresses(tmp, SOCK_DGRAM, &psal, &errstr TSRMLS_CC);
553 if (errstr) {
554 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed to resolve `%s': %s", tmp, errstr);
555 STR_FREE(errstr);
985 char *errstr; local
987 errstr = strerror(err);
989 buf = estrdup(errstr);
991 strncpy(buf, errstr, bufsize);
/PHP_5_3/ext/mysqlnd/
H A Dmysqlnd_net.c103 MYSQLND_METHOD(mysqlnd_net, connect)(MYSQLND_NET * net, const char * const scheme, size_t scheme_len, zend_bool persistent, char **errstr, int * errcode TSRMLS_DC)
142 NULL /*ctx*/, errstr, errcode);
144 if (*errstr || !net->stream) {
H A Dmysqlnd_structs.h254 typedef enum_func_status (*func_mysqlnd_net__connect)(MYSQLND_NET * net, const char * const scheme, size_t scheme_len, zend_bool persistent, char **errstr, int * errcode TSRMLS_DC);
H A Dmysqlnd.c557 char *errstr = NULL; local
655 if (FAIL == conn->net->m.connect(conn->net, conn->scheme, conn->scheme_len, conn->persistent, &errstr, &errcode TSRMLS_CC)) {
842 if (errstr) {
843 DBG_ERR_FMT("[%u] %.128s (trying to connect via %s)", errcode, errstr, conn->scheme);
844 SET_CLIENT_ERROR(conn->error_info, errcode? errcode:CR_CONNECTION_ERROR, UNKNOWN_SQLSTATE, errstr);
845 php_error_docref(NULL TSRMLS_CC, E_WARNING, "[%u] %.128s (trying to connect via %s)", errcode, errstr, conn->scheme);
847 efree(errstr);

Completed in 39 milliseconds