Lines Matching defs:base
64 static char *base;
66 static size_t base_len = PATH_MAX + 1; /* # of chars for base */
194 if ((base = (char *)calloc(base_len, sizeof (char))) == NULL) {
200 free(base);
221 if ((base = (char *)realloc(base, base_len *
245 (void) strcpy(base, argv[optind]);
258 np = base;
262 printsize(blocks, base);
293 ebase0 = ebase = strchr(base, 0);
294 if (ebase > base && ebase[-1] == '/')
296 offset = ebase - base;
297 offset0 = ebase0 - base;
327 perror(base);
412 printsize(blocks, base);
429 perror(base);
440 perror(base);
448 perror(base);
463 * onto end of base; make sure there's enough
468 if ((base = (char *)realloc(base,
475 ebase = base + offset;
476 ebase0 = base + offset0;
482 /* base may have been moved via realloc in descend() */
483 ebase = base + offset;
484 ebase0 = base + offset0;
492 perror(base);
505 printsize(blocks, base);
512 (void) sprintf(strchr(base, '\0'), "/..");
515 perror(base);
616 free(base);