Lines Matching refs:pathbuf
476 WCHAR *pathbuf;
483 pathbuf = getPrefixed(path, pathlen);
484 h = FindFirstFileW(pathbuf, &fd); /* Look up prefix */
485 free(pathbuf);
533 WCHAR *pathbuf;
542 pathbuf = getPrefixed(pathWithCanonicalPrefix, pathlen);
543 h = FindFirstFileW(pathbuf, &fd); /* Look up prefix */
544 free(pathbuf);
588 WCHAR* pathbuf = (WCHAR*)malloc((pathlen + 10) * sizeof (WCHAR));
589 if (pathbuf != 0) {
593 wcscpy(pathbuf, path );
596 wcscpy(pathbuf, L"\\\\?\\UNC\0");
597 wcscat(pathbuf, path + 1);
600 wcscpy(pathbuf, L"\\\\?\\\0");
601 wcscat(pathbuf, path );
604 return pathbuf;