Searched defs:errstr (Results 1 - 8 of 8) sorted by relevance
| /PHP_5_4/ext/curl/ |
| H A D | php_curl.h | 180 char errstr[CURL_ERROR_SIZE + 1]; member in struct:__anon40
|
| /PHP_5_4/ext/standard/ |
| H A D | fsock.c | 46 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 D | http_fopen_wrapper.c | 106 char *transport_string, *errstr = NULL; local 185 NULL, &timeout, context, &errstr, NULL); 191 if (errstr) { 192 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "%s", errstr); 193 efree(errstr); 194 errstr = NULL;
|
| H A D | streamsfuncs.c | 98 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...] |
| /PHP_5_4/ext/mysqlnd/ |
| H A D | mysqlnd_net.c | 155 char * errstr = NULL; local 174 NULL /*ctx*/, &errstr, &errcode); 175 if (errstr || !net->stream) { 181 SET_CLIENT_ERROR(*error_info, errcode? errcode:CR_CONNECTION_ERROR, UNKNOWN_SQLSTATE, errstr); 182 if (errstr) { 184 efree(errstr);
|
| /PHP_5_4/main/ |
| H A D | network.c | 508 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_4/sapi/cli/ |
| H A D | php_cli_server.c | 1013 char *errstr = get_last_error(); local 1015 php_cli_server_logf("%s" TSRMLS_CC, errstr); 1016 pefree(errstr, 1); 1140 static int php_network_listen_socket(const char *host, int *port, int socktype, int *af, socklen_t *socklen, char **errstr TSRMLS_DC) /* {{{ */ 1146 int num_addrs = php_network_getaddresses(host, socktype, &sal, errstr TSRMLS_CC); 1168 *errstr = NULL; 1181 *errstr = NULL; 1254 if (errstr) { 1255 *errstr = php_socket_strerror(err, NULL, 0); 1607 static int php_cli_server_client_read_request(php_cli_server_client *client, char **errstr TSRMLS_D 1771 char *errstr = get_last_error(); local 2096 char *errstr = NULL; local 2208 char *errstr = NULL; local 2283 char *errstr; local 2349 char *errstr = php_socket_strerror(err, NULL, 0); local [all...] |
| /PHP_5_4/ext/bz2/ |
| H A D | bz2.c | 590 const char *errstr; /* Error string */ local 607 errstr = BZ2_bzerror(self->bz_file, &errnum); 615 RETURN_STRING((char*)errstr, 1); 621 add_assoc_string(return_value, "errstr", (char*)errstr, 1);
|
Completed in 15 milliseconds