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

/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)) > 0) {
187 if ((ret = net->data->m.send_ex(net, buf, bufsize, conn->stats, conn->error_info)) == 0) {
201 if (bufsize < 0) {
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_conf.c1487 int bufsize = 0; local
1517 if (n == bufsize) {
1518 bufsize += 1024;
1519 newbuf = (char*) realloc(buf, sizeof(char) * (bufsize + 2));
/PHP_TRUNK/main/
H A Dphp_network.h65 PHPAPI char *php_socket_strerror(long err, char *buf, size_t bufsize);
H A Dnetwork.c1004 PHPAPI char *php_socket_strerror(long err, char *buf, size_t bufsize) argument
1013 strncpy(buf, errstr, bufsize);
1014 buf[bufsize?(bufsize-1):0] = 0;
1038 strncpy(buf, sysbuf, bufsize);
1039 buf[bufsize?(bufsize-1):0] = 0;
H A Drfc1867.c224 int bufsize; member in struct:__anon10
258 bytes_to_read = self->bufsize - self->bytes_in_buffer;
300 self->bufsize = minsize;
354 if (self->bytes_in_buffer < self->bufsize) {
358 line[self->bufsize] = 0;
/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.h785 extern void onig_snprintf_with_pattern PV_((UChar buf[], int bufsize, OnigEncoding enc, UChar* pat, UChar* pat_end, const UChar *fmt, ...));
/PHP_TRUNK/ext/standard/
H A Dinfo.c637 void php_get_windows_cpu(char *buf, int bufsize) argument
643 snprintf(buf, bufsize, "i%d", SysInfo.dwProcessorType);
646 snprintf(buf, bufsize, "MIPS R%d000", SysInfo.wProcessorLevel);
649 snprintf(buf, bufsize, "Alpha %d", SysInfo.wProcessorLevel);
652 snprintf(buf, bufsize, "PPC 6%02d", SysInfo.wProcessorLevel);
655 snprintf(buf, bufsize, "IA64");
659 snprintf(buf, bufsize, "IA32");
664 snprintf(buf, bufsize, "AMD64");
669 snprintf(buf, bufsize, "Unknown");

Completed in 27 milliseconds