Lines Matching refs:buf
51 char* buf = (char*) malloc(bufsize);
53 if (buf == NULL)
56 if (sysinfo(si, buf, bufsize) == bufsize) {
58 if (strcmp(buf, string) == 0) {
63 free(buf);
131 char* buf = (char*) malloc(bufsize);
133 if (buf != NULL) {
134 if (sysinfo(SI_ISALIST, buf, bufsize) == bufsize) {
136 char *sparc_string = strstr(buf, "sparc");
149 char *vis = strstr(buf, "vis");
154 free(buf);