Searched refs:errbuf (Results 1 - 8 of 8) sorted by relevance

/PHP_TRUNK/ext/pcre/pcrelib/
H A Dpcreposix.c207 regerror(int errcode, const regex_t *preg, char *errbuf, size_t errbuf_size) argument
223 sprintf(errbuf, "%s%s%-6d", message, addmessage, (int)preg->re_erroffset);
226 strncpy(errbuf, message, errbuf_size - 1);
227 errbuf[errbuf_size-1] = 0;
/PHP_TRUNK/ext/ereg/regex/
H A Dregerror.c68 char *errbuf,
100 (void) strcpy(errbuf, s);
102 (void) strncpy(errbuf, s, errbuf_size-1);
103 errbuf[errbuf_size-1] = '\0';
/PHP_TRUNK/ext/opcache/
H A Dzend_accelerator_blacklist.c70 char *errbuf; local
72 errbuf = malloc(errsize);
73 if (!errbuf) {
77 regerror(reg_err, comp_regex, errbuf, errsize);
78 zend_accel_error(ACCEL_LOG_ERROR, "Blacklist compilation: %s\n", errbuf);
79 free(errbuf);
/PHP_TRUNK/ext/oci8/
H A Doci8_interface.c1605 text *errbuf; local
1655 errcode = php_oci_fetch_errmsg(errh, &errbuf TSRMLS_CC);
1661 add_assoc_string(return_value, "message", (char*) errbuf);
1662 efree(errbuf);
H A Doci8.c1636 text *errbuf = (text *)NULL; local
1643 errcode = php_oci_fetch_errmsg(err_p, &errbuf TSRMLS_CC);
1644 if (errbuf) {
1645 php_error_docref(NULL TSRMLS_CC, E_WARNING, "OCI_SUCCESS_WITH_INFO: %s", errbuf);
1646 efree(errbuf);
1655 errcode = php_oci_fetch_errmsg(err_p, &errbuf TSRMLS_CC);
1656 if (errbuf) {
1657 php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", errbuf);
1658 efree(errbuf);
1664 errcode = php_oci_fetch_errmsg(err_p, &errbuf TSRMLS_C
[all...]
/PHP_TRUNK/ext/pdo_oci/
H A Doci_driver.c62 text errbuf[1024] = "<<Unknown>>"; local
98 OCIErrorGet(err, (ub4)1, NULL, &einfo->errcode, errbuf, (ub4)sizeof(errbuf), OCI_HTYPE_ERROR); local
99 slprintf(tmp_buf, sizeof(tmp_buf), "%s: %s (%s:%d)", what, errbuf, file, line);
103 OCIErrorGet(err, (ub4)1, NULL, &einfo->errcode, errbuf, (ub4)sizeof(errbuf), OCI_HTYPE_ERROR); local
104 slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_SUCCESS_WITH_INFO: %s (%s:%d)", what, errbuf, file, line);
/PHP_TRUNK/ext/standard/
H A Dstreamsfuncs.c64 char errbuf[256]; local
66 php_socket_errno(), php_socket_strerror(php_socket_errno(), errbuf, sizeof(errbuf)));
/PHP_TRUNK/ext/tidy/
H A Dtidy.c187 TidyBuffer *errbuf; member in struct:_PHPTidyDoc
560 TidyBuffer *errbuf; local
579 errbuf = emalloc(sizeof(TidyBuffer));
580 tidyBufInit(errbuf);
582 if (tidySetErrorBuffer(doc, errbuf) != 0) {
583 tidyBufFree(errbuf);
584 efree(errbuf);
612 php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", errbuf->bp);
633 tidyBufFree(errbuf);
634 efree(errbuf);
1146 TidyBuffer inbuf, outbuf, errbuf; local
[all...]

Completed in 19 milliseconds