Lines Matching refs:buf
71 char *buf; in php_info_printf() local
76 len = vspprintf(&buf, 0, fmt, argv); in php_info_printf()
79 written = php_output_write(buf, len); in php_info_printf()
80 efree(buf); in php_info_printf()
602 void php_get_windows_cpu(char *buf, int bufsize) in php_get_windows_cpu() argument
608 snprintf(buf, bufsize, "i%d", SysInfo.dwProcessorType); in php_get_windows_cpu()
611 snprintf(buf, bufsize, "MIPS R%d000", SysInfo.wProcessorLevel); in php_get_windows_cpu()
614 snprintf(buf, bufsize, "Alpha %d", SysInfo.wProcessorLevel); in php_get_windows_cpu()
617 snprintf(buf, bufsize, "PPC 6%02d", SysInfo.wProcessorLevel); in php_get_windows_cpu()
620 snprintf(buf, bufsize, "IA64"); in php_get_windows_cpu()
624 snprintf(buf, bufsize, "IA32"); in php_get_windows_cpu()
629 snprintf(buf, bufsize, "AMD64"); in php_get_windows_cpu()
634 snprintf(buf, bufsize, "Unknown"); in php_get_windows_cpu()
705 struct utsname buf; in php_get_uname() local
706 if (uname((struct utsname *)&buf) == -1) { in php_get_uname()
710 php_uname = buf.sysname; in php_get_uname()
712 php_uname = buf.release; in php_get_uname()
714 php_uname = buf.nodename; in php_get_uname()
716 php_uname = buf.version; in php_get_uname()
718 php_uname = buf.machine; in php_get_uname()
721 buf.sysname, buf.nodename, buf.release, buf.version, in php_get_uname()
722 buf.machine); in php_get_uname()