Lines Matching defs:buf
57 char buf[PATH_MAX];
60 len = readlink(path, buf, sizeof(buf));
66 SHA1Update(&context, (unsigned char *) buf, len);
69 char buf[10000];
79 while ((len = fread(buf, 1, sizeof(buf), f)) > 0) {
80 SHA1Update(&context, (unsigned char *) buf, len);
274 char *buf;
303 buf = malloc(len + 1);
304 if (buf == NULL) {
318 strcpy(buf + retlen, list[i]->name);
332 *output_string = buf;