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/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.c1104 char *errstr = get_last_error(); local
1105 php_cli_server_logf("%s" TSRMLS_CC, errstr);
1106 pefree(errstr, 1);
1230 static php_socket_t php_network_listen_socket(const char *host, int *port, int socktype, int *af, socklen_t *socklen, zend_string **errstr TSRMLS_DC) /* {{{ */
1236 int num_addrs = php_network_getaddresses(host, socktype, &sal, errstr TSRMLS_CC);
1258 *errstr = NULL;
1271 *errstr = NULL;
1344 if (errstr) {
1345 *errstr = php_socket_error_str(err);
1701 static int php_cli_server_client_read_request(php_cli_server_client *client, char **errstr TSRMLS_D
1873 char *errstr = get_last_error(); local
2217 zend_string *errstr = NULL; local
2336 char *errstr = NULL; local
2411 char *errstr; local
2477 char *errstr = php_socket_strerror(err, NULL, 0); local
[all...]
/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 TSRMLS_CC, 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 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 TSRMLS_CC, "%s", errstr->val);
232 zend_string_release(errstr);
233 errstr = NULL;
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...]

Completed in 19 milliseconds