Searched defs:errstr (Results 1 - 9 of 9) sorted by relevance

/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
/PHP_TRUNK/ext/intl/converter/
H A Dconverter.c530 char *errstr = NULL; local
537 if (zend_fcall_info_init(&caller, 0, finfo, fcache, NULL, &errstr) == FAILURE) {
538 php_converter_throw_failure(objval, U_INTERNAL_PROGRAM_ERROR, "Error setting converter callback: %s", errstr);
541 if (errstr) {
542 efree(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/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, 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 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)", quoted_host->val, errstr == NULL ? "Unknown error" : errstr->val);
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...]
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, "%s", errstr->val);
232 zend_string_release(errstr);
233 errstr = NULL;
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c1060 char *errstr = get_last_error(); local
1061 php_cli_server_logf("%s", errstr);
1062 pefree(errstr, 1);
1183 static php_socket_t php_network_listen_socket(const char *host, int *port, int socktype, int *af, socklen_t *socklen, zend_string **errstr) /* {{{ */ argument
1189 int num_addrs = php_network_getaddresses(host, socktype, &sal, errstr);
1211 *errstr = NULL;
1224 *errstr = NULL;
1297 if (errstr) {
1298 *errstr = php_socket_error_str(err);
1657 static int php_cli_server_client_read_request(php_cli_server_client *client, char **errstr) argument
1829 char *errstr = get_last_error(); local
2173 zend_string *errstr = NULL; local
2292 char *errstr = NULL; local
2361 char *errstr; local
2424 char *errstr = php_socket_strerror(err, NULL, 0); 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, errstr->val);
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...]

Completed in 30 milliseconds