Lines Matching refs:buf

229 static char *myfgets(buf, size, f)
230 char *buf;
238 while (--count >= 0 && (buf[count] == ' ' || buf[count] == '\t')) \
239 buf[count] = '\0';
241 if (buf[0] != '\0') return buf; \
242 else return myfgets(buf, size, f);
244 if (size == 0) return buf;
250 buf[count] = '\0';
255 buf[count] = '\0';
260 if (count == 0 || buf[count-1] != '\\') {
261 buf[count] = '\0';
271 buf[count] = ch;
276 buf[count] = '\0';
287 static int Dequote(buf, dontDequote)
288 char *buf;
291 char *dst = buf, *src = buf;
312 static int DequoteAndBreak(buf, sep, bchar, dontDequote, doubleSep)
313 char *buf;
319 char *dst = buf, *src = buf;
865 struct stat buf;
869 if (stat(dirName, &buf) != 0) buf.st_mtime = 0;
873 if (rd != 0 && rd->exclusive) return buf.st_mtime;
876 if (dir == NULL) return buf.st_mtime;
888 return buf.st_mtime;
986 struct stat buf;
1010 buf.st_mtime = MaxTimeInPath(savedDefaultPath);
1011 if (buf.st_mtime > latestTime) latestTime = buf.st_mtime;
1014 if (stat(path, &buf) != 0) buf.st_mtime = 0;
1015 if (buf.st_mtime > latestTime) latestTime = buf.st_mtime;
1113 char buf[256];
1114 sprintf(buf, "Trouble parsing resource type %s", t->type);
1115 PSResFileWarningHandler(rd->directory, buf);
1120 char buf[256];
1121 sprintf(buf, "Trouble parsing resource type %s", t->type);
1122 PSResFileWarningHandler(rd->directory, buf);
1133 char buf[256];
1134 sprintf(buf, "Trouble parsing resource type %s", t->type);
1135 PSResFileWarningHandler(rd->directory, buf);
1171 char buf[256];
1172 sprintf(buf, "Trouble parsing resource type %s", t->type);
1173 PSResFileWarningHandler(rd->directory, buf);
1177 char buf[256];
1178 sprintf(buf, "Trouble parsing resource type %s", t->type);
1179 PSResFileWarningHandler(rd->directory, buf);
1190 char buf[256];
1191 sprintf(buf, "Trouble parsing resource type %s", t->type);
1192 PSResFileWarningHandler(rd->directory, buf);
1196 char buf[256];
1197 sprintf(buf, "Trouble parsing resource type %s", t->type);
1198 PSResFileWarningHandler(rd->directory, buf);
1234 char buf[256];
1235 sprintf(buf, "Trouble parsing resource type %s", t->type);
1236 PSResFileWarningHandler(rd->directory, buf);
1240 char buf[256];
1241 sprintf(buf, "Trouble parsing resource type %s", t->type);
1242 PSResFileWarningHandler(rd->directory, buf);
1258 char buf[256];
1259 sprintf(buf, "Trouble parsing resource type %s", t->type);
1260 PSResFileWarningHandler(rd->directory, buf);
1264 char buf[256];
1265 sprintf(buf, "Trouble parsing resource type %s", t->type);
1266 PSResFileWarningHandler(rd->directory, buf);
1592 char buf[256];
1593 sprintf(buf, "Trouble parsing resource type %s", t->type);
1594 PSResFileWarningHandler(rd->directory, buf);
1599 char buf[256];
1600 sprintf(buf, "Trouble parsing resource type %s", t->type);
1601 PSResFileWarningHandler(rd->directory, buf);