Searched refs:pbuf (Results 1 - 14 of 14) sorted by relevance

/PHP_TRUNK/ext/ereg/regex/
H A Dengine.c1000 static unsigned char pbuf[10]; local
1003 sprintf(pbuf, "%c", ch);
1005 sprintf(pbuf, "\\%o", ch);
1006 return(pbuf);
/PHP_TRUNK/ext/intl/resourcebundle/
H A Dresourcebundle_class.c118 char *pbuf; local
120 spprintf(&pbuf, 0, "resourcebundle_ctor: Cannot load libICU resource "
125 intl_errors_set_custom_msg(INTL_DATA_ERROR_P(rb), pbuf, 1 TSRMLS_CC); local
126 efree(pbuf);
167 char *pbuf; local
189 spprintf( &pbuf, 0, "Cannot load resource element %d", meindex );
191 spprintf( &pbuf, 0, "Cannot load resource element '%s'", mekey );
193 intl_errors_set_custom_msg( INTL_DATA_ERROR_P(rb), pbuf, 1 TSRMLS_CC ); local
194 efree(pbuf);
202 spprintf( &pbuf,
206 intl_errors_set_custom_msg( INTL_DATA_ERROR_P(rb), pbuf, 1 TSRMLS_CC ); local
[all...]
/PHP_TRUNK/Zend/
H A Dzend.c57 int (*zend_vspprintf)(char **pbuf, size_t max_len, const char *format, va_list ap);
H A Dzend.h557 int (*vspprintf_function)(char **pbuf, size_t max_len, const char *format, va_list ap);
707 extern int (*zend_vspprintf)(char **pbuf, size_t max_len, const char *format, va_list ap);
/PHP_TRUNK/ext/mbstring/
H A Dphp_mbregex.c809 smart_str *pbuf; local
876 pbuf = &eval_buf;
879 pbuf = &out_buf;
926 smart_str_appendl(pbuf, string + regs->beg[n], regs->end[n] - regs->beg[n]);
931 smart_str_appendl(pbuf, p, fwd);
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_alloc.c615 PHPAPI int _mysqlnd_sprintf(char ** pbuf, size_t max_len, const char *format, ...) argument
620 len = vspprintf(pbuf, max_len, format, ap);
635 PHPAPI int _mysqlnd_vsprintf(char ** pbuf, size_t max_len, const char * format, va_list ap) argument
637 return vspprintf(pbuf, max_len, format, ap);
H A Dmysqlnd_alloc.h48 int (*m_sprintf)(char **pbuf, size_t max_len, const char *format, ...);
49 int (*m_vsprintf)(char **pbuf, size_t max_len, const char *format, va_list ap);
69 PHPAPI int _mysqlnd_sprintf(char **pbuf, size_t max_len, const char *format, ...);
71 PHPAPI int _mysqlnd_vsprintf(char **pbuf, size_t max_len, const char *format, va_list ap);
/PHP_TRUNK/ext/opcache/
H A Dzend_accelerator_blacklist.c271 char *path_dup, *pbuf; local
281 pbuf = &buf[0];
282 while (*pbuf == '\r') {
283 *pbuf++ = 0;
288 if (pbuf[0] == '\"' && pbuf[path_length - 1]== '\"') {
289 *pbuf++ = 0;
298 if (pbuf[0]==';') {
302 path_dup = zend_strndup(pbuf, path_length);
/PHP_TRUNK/main/
H A Dspprintf.c795 PHPAPI int vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap) /* {{{ */ argument
806 *pbuf = xbuf.c;
812 PHPAPI int spprintf(char **pbuf, size_t max_len, const char *format, ...) /* {{{ */ argument
818 cc = vspprintf(pbuf, max_len, format, ap);
H A Dspprintf.h23 The pbuf parameter of all spprintf version receives a pointer to the allocated
25 The buffer will always be terminated by a zero character. When pbuf is NULL
27 that purpose snprintf is faster. When both pbuf and the return value are 0
40 PHPAPI int spprintf( char **pbuf, size_t max_len, const char *format, ...) PHP_ATTRIBUTE_FORMAT(printf, 3, 4);
42 PHPAPI int vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap) PHP_ATTRIBUTE_FORMAT(printf, 3, 0);
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dfile.h384 char *pbuf; /* Printable buffer */ member in struct:magic_set::out
H A Dfuncs.c319 if (ms->o.pbuf) {
320 efree(ms->o.pbuf);
321 ms->o.pbuf = NULL;
357 if ((ms->o.pbuf = CAST(char *, erealloc(ms->o.pbuf, psize))) == NULL) {
371 np = ms->o.pbuf;
397 return ms->o.pbuf;
401 for (np = ms->o.pbuf, op = ms->o.buf; *op;) {
409 return ms->o.pbuf;
H A Dapprentice.c451 if (ms->o.pbuf) {
452 efree(ms->o.pbuf);
478 ms->o.buf = ms->o.pbuf = NULL;
/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dregparse.c132 #define SET_ALL_MULTI_BYTE_RANGE(enc, pbuf) \
133 add_code_range_to_buf(pbuf, MBCODE_START_POS(enc), ~((OnigCodePoint )0))
1679 new_code_range(BBuf** pbuf) argument
1686 bbuf = *pbuf = (BBuf* )xmalloc(sizeof(BBuf));
1687 CHECK_NULL_RETURN_MEMERR(*pbuf);
1688 r = BBUF_INIT(*pbuf, INIT_MULTI_BYTE_RANGE_SIZE);
1697 add_code_range_to_buf(BBuf** pbuf, OnigCodePoint from, OnigCodePoint to) argument
1708 if (IS_NULL(*pbuf)) {
1709 r = new_code_range(pbuf);
1711 bbuf = *pbuf;
1772 add_code_range(BBuf** pbuf, ScanEnv* env, OnigCodePoint from, OnigCodePoint to) argument
1785 not_code_range_buf(OnigEncoding enc, BBuf* bbuf, BBuf** pbuf) argument
1827 or_code_range_buf(OnigEncoding enc, BBuf* bbuf1, int not1, BBuf* bbuf2, int not2, BBuf** pbuf) argument
1884 and_code_range1(BBuf** pbuf, OnigCodePoint from1, OnigCodePoint to1, OnigCodePoint* data, int n) argument
1924 and_code_range_buf(BBuf* bbuf1, int not1, BBuf* bbuf2, int not2, BBuf** pbuf) argument
1984 BBuf *buf1, *buf2, *pbuf; local
2042 BBuf *buf1, *buf2, *pbuf; local
[all...]

Completed in 42 milliseconds