Home | History | Annotate | Download | only in src

Lines Matching refs:bufp

1848     char* bufp;
1859 if (len < MAX_PATH) bufp = buf;
1860 else bufp = Xmalloc (len + 1);
1861 strcpy (bufp, drive);
1862 strcat (bufp, path);
1863 if (access_file (bufp, pathbuf, len_pathbuf, pathret)) {
1864 if (bufp != buf) Xfree (bufp);
1872 if (len < MAX_PATH) bufp = buf;
1873 else bufp = Xmalloc (len + 1);
1874 strcpy (bufp, drive);
1875 strcat (bufp, path);
1876 if (access_file (bufp, pathbuf, len_pathbuf, pathret)) {
1877 if (bufp != buf) Xfree (bufp);
1889 if (len < MAX_PATH) bufp = buf;
1890 else bufp = Xmalloc (len + 1);
1891 *bufp = 'A' + i;
1892 *(bufp + 1) = ':';
1893 *(bufp + 2) = '\0';
1894 strcat (bufp, path);
1895 if (access_file (bufp, pathbuf, len_pathbuf, pathret)) {
1896 if (bufp != buf) Xfree (bufp);
1909 char* bufp = NULL;
1913 if (AccessFile (path, buf, MAX_PATH, &bufp))
1914 ret = open (bufp, flags);
1918 if (bufp != buf) Xfree (bufp);
1929 char* bufp = NULL;
1933 if (AccessFile (path, buf, MAX_PATH, &bufp))
1934 ret = open (bufp, flags, mode);
1938 if (bufp != buf) Xfree (bufp);
1948 char* bufp = NULL;
1952 if (AccessFile (path, buf, MAX_PATH, &bufp))
1953 ret = fopen (bufp, mode);
1957 if (bufp != buf) Xfree (bufp);
1966 char* bufp;
1970 ret = AccessFile (path, buf, MAX_PATH, &bufp);
1974 if (bufp != buf) Xfree (bufp);