Searched refs:bufsize (Results 1 - 11 of 11) sorted by relevance

/PHP_TRUNK/ext/ereg/regex/
H A Dregerror.c112 == static char *regatoi(const regex_t *preg, char *localbuf, int bufsize);
115 regatoi(preg, localbuf, bufsize)
118 int bufsize;
128 snprintf(localbuf, bufsize, "%d", r->code);
H A Dregerror.ih7 static char *regatoi(const regex_t *preg, char *localbuf, int bufsize);
/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dregerror.c317 onig_snprintf_with_pattern(UChar buf[], int bufsize, OnigEncoding enc, argument
320 onig_snprintf_with_pattern(buf, bufsize, enc, pat, pat_end, fmt, va_alist)
322 int bufsize;
336 n = xvsnprintf((char* )buf, bufsize, (const char* )fmt, args);
341 if (n + need < bufsize) {
H A Dregint.h772 extern void onig_snprintf_with_pattern PV_((UChar buf[], int bufsize, OnigEncoding enc, UChar* pat, UChar* pat_end, const UChar *fmt, ...));
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_loaddata.c151 int bufsize; local
186 while ((bufsize = infile.local_infile_read (info, buf + MYSQLND_HEADER_SIZE, buflen - MYSQLND_HEADER_SIZE TSRMLS_CC)) > 0) {
187 if ((ret = net->data->m.send_ex(net, buf, bufsize, conn->stats, conn->error_info TSRMLS_CC)) == 0) {
201 if (bufsize < 0) {
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_conf.c1480 int bufsize = 0; local
1510 if (n == bufsize) {
1511 bufsize += 1024;
1512 newbuf = (char*) realloc(buf, sizeof(char) * (bufsize + 2));
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dreadelf.c303 ssize_t bufsize; local
341 bufsize = FINFO_READ_FUNC(fd, nbuf,
343 if (bufsize == -1) {
349 if (offset >= (size_t)bufsize)
351 offset = donote(ms, nbuf, offset, (size_t)bufsize,
1110 ssize_t bufsize; local
1168 bufsize = FINFO_READ_FUNC(fd, nbuf, ((xph_filesz < sizeof(nbuf)) ?
1170 if (bufsize == -1) {
1176 if (offset >= (size_t)bufsize)
1179 (size_t)bufsize, claz
[all...]
/PHP_TRUNK/main/
H A Dnetwork.c999 PHPAPI char *php_socket_strerror(long err, char *buf, size_t bufsize) argument
1008 strncpy(buf, errstr, bufsize);
1009 buf[bufsize?(bufsize-1):0] = 0;
1033 strncpy(buf, sysbuf, bufsize);
1034 buf[bufsize?(bufsize-1):0] = 0;
H A Dphp_network.h65 PHPAPI char *php_socket_strerror(long err, char *buf, size_t bufsize);
H A Drfc1867.c223 int bufsize; member in struct:__anon208
257 bytes_to_read = self->bufsize - self->bytes_in_buffer;
299 self->bufsize = minsize;
353 if (self->bytes_in_buffer < self->bufsize) {
357 line[self->bufsize] = 0;
/PHP_TRUNK/ext/standard/
H A Dinfo.c507 void php_get_windows_cpu(char *buf, int bufsize) argument
513 snprintf(buf, bufsize, "i%d", SysInfo.dwProcessorType);
516 snprintf(buf, bufsize, "MIPS R%d000", SysInfo.wProcessorLevel);
519 snprintf(buf, bufsize, "Alpha %d", SysInfo.wProcessorLevel);
522 snprintf(buf, bufsize, "PPC 6%02d", SysInfo.wProcessorLevel);
525 snprintf(buf, bufsize, "IA64");
529 snprintf(buf, bufsize, "IA32");
534 snprintf(buf, bufsize, "AMD64");
539 snprintf(buf, bufsize, "Unknown");

Completed in 29 milliseconds