Lines Matching refs:bufp
299 char* bufp;
310 if (len < MAX_PATH) bufp = buf;
311 else bufp = malloc (len + 1);
312 strcpy (bufp, drive);
313 strcat (bufp, path);
314 if (access_file (bufp, pathbuf, len_pathbuf, pathret)) {
315 if (bufp != buf) free (bufp);
323 if (len < MAX_PATH) bufp = buf;
324 else bufp = malloc (len + 1);
325 strcpy (bufp, drive);
326 strcat (bufp, path);
327 if (access_file (bufp, pathbuf, len_pathbuf, pathret)) {
328 if (bufp != buf) free (bufp);
341 if (len < MAX_PATH) bufp = buf;
342 else bufp = malloc (len + 1);
343 *bufp = 'A' + i;
344 *(bufp + 1) = ':';
345 *(bufp + 2) = '\0';
346 strcat (bufp, path);
347 if (access_file (bufp, pathbuf, len_pathbuf, pathret)) {
348 if (bufp != buf) free (bufp);
360 char* bufp;
364 if (AccessFile (path, buf, MAX_PATH, &bufp))
365 ret = fopen (bufp, mode);
369 if (bufp != buf) free (bufp);