Lines Matching defs:rname
80 is_unc_root (const char *rname)
83 if (ISSLASH (rname[0]) && ISSLASH (rname[1]))
86 const char *p = rname + 2;
164 const char *rname;
168 rname = name;
181 rname = malloca_rname;
207 CreateFile (rname,
219 ret = _gl_fstat_by_handle (h, rname, buf);
226 if ((rlen == drive_prefix_len + 1 && ISSLASH (rname[drive_prefix_len]))
227 || is_unc_root (rname))
234 if (strchr (rname, '?') != NULL || strchr (rname, '*') != NULL)
254 HANDLE h = FindFirstFile (rname, &info);
374 case ERROR_FILE_NOT_FOUND: /* The last component of rname does not exist. */
375 case ERROR_PATH_NOT_FOUND: /* Some directory component in rname does not exist. */
376 case ERROR_BAD_PATHNAME: /* rname is such as '\\server'. */
377 case ERROR_BAD_NET_NAME: /* rname is such as '\\server\nonexistentshare'. */
378 case ERROR_INVALID_NAME: /* rname contains wildcards, misplaced colon, etc. */
383 case ERROR_ACCESS_DENIED: /* rname is such as 'C:\System Volume Information\foo'. */
384 case ERROR_SHARING_VIOLATION: /* rname is such as 'C:\pagefile.sys' (second approach only). */