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
461 #define sqlite3_errstr sqlite3_api->errstr
/PHP_TRUNK/ext/bz2/
H A Dbz2.c597 const char *errstr; /* Error string */ local
614 errstr = BZ2_bzerror(self->bz_file, &errnum);
622 RETURN_STRING((char*)errstr);
628 add_assoc_string(return_value, "errstr", (char*)errstr);
/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.c46 zend_string *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:" ZEND_LONG_FMT " (%s)", host, port, errstr == NULL ? "Unknown error" : errstr->val);
98 if (zerrstr && errstr) {
101 ZVAL_STR(zerrstr, errstr);
102 } else if (!zerrstr && errstr) {
103 zend_string_release(errstr);
109 if (errstr) {
110 zend_string_release(errstr);
[all...]
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 Dhttp_fopen_wrapper.c134 zend_string *errstr = NULL; local
213 NULL, &timeout, context, &errstr, NULL);
219 if (errstr) {
220 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "%s", errstr->val);
221 zend_string_release(errstr);
222 errstr = NULL;
/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/cli/
H A Dphp_cli_server.c1084 char *errstr = get_last_error(); local
1085 php_cli_server_logf("%s" TSRMLS_CC, errstr);
1086 pefree(errstr, 1);
1210 static int php_network_listen_socket(const char *host, int *port, int socktype, int *af, socklen_t *socklen, zend_string **errstr TSRMLS_DC) /* {{{ */
1216 int num_addrs = php_network_getaddresses(host, socktype, &sal, errstr TSRMLS_CC);
1238 *errstr = NULL;
1251 *errstr = NULL;
1324 if (errstr) {
1325 *errstr = php_socket_error_str(err);
1681 static int php_cli_server_client_read_request(php_cli_server_client *client, char **errstr TSRMLS_D
1843 char *errstr = get_last_error(); local
2187 zend_string *errstr = NULL; local
2306 char *errstr = NULL; local
2381 char *errstr; local
2447 char *errstr = php_socket_strerror(err, NULL, 0); local
[all...]

Completed in 19 milliseconds