Lines Matching refs:buf

80 	char *buf;  in php_info_printf()  local
86 len = vspprintf(&buf, 0, fmt, argv); in php_info_printf()
89 written = php_output_write(buf, len TSRMLS_CC); in php_info_printf()
90 efree(buf); in php_info_printf()
718 void php_get_windows_cpu(char *buf, int bufsize) in php_get_windows_cpu() argument
724 snprintf(buf, bufsize, "i%d", SysInfo.dwProcessorType); in php_get_windows_cpu()
727 snprintf(buf, bufsize, "MIPS R%d000", SysInfo.wProcessorLevel); in php_get_windows_cpu()
730 snprintf(buf, bufsize, "Alpha %d", SysInfo.wProcessorLevel); in php_get_windows_cpu()
733 snprintf(buf, bufsize, "PPC 6%02d", SysInfo.wProcessorLevel); in php_get_windows_cpu()
736 snprintf(buf, bufsize, "IA64"); in php_get_windows_cpu()
740 snprintf(buf, bufsize, "IA32"); in php_get_windows_cpu()
745 snprintf(buf, bufsize, "AMD64"); in php_get_windows_cpu()
750 snprintf(buf, bufsize, "Unknown"); in php_get_windows_cpu()
819 struct utsname buf; in php_get_uname() local
820 if (uname((struct utsname *)&buf) == -1) { in php_get_uname()
825 php_uname = buf.sysname; in php_get_uname()
828 buf.netware_major, buf.netware_minor, buf.netware_revision); in php_get_uname()
831 php_uname = buf.servername; in php_get_uname()
834 buf.libmajor, buf.libminor, buf.librevision, buf.libthreshold); in php_get_uname()
837 php_uname = buf.machine; in php_get_uname()
840 buf.sysname, buf.servername, in php_get_uname()
841 buf.netware_major, buf.netware_minor, buf.netware_revision, in php_get_uname()
842 buf.libmajor, buf.libminor, buf.librevision, buf.libthreshold, in php_get_uname()
843 buf.machine); in php_get_uname()
848 php_uname = buf.sysname; in php_get_uname()
850 php_uname = buf.release; in php_get_uname()
852 php_uname = buf.nodename; in php_get_uname()
854 php_uname = buf.version; in php_get_uname()
856 php_uname = buf.machine; in php_get_uname()
859 buf.sysname, buf.nodename, buf.release, buf.version, in php_get_uname()
860 buf.machine); in php_get_uname()