Lines Matching refs:dname
31 static char dname[MAXPATHLEN]; in dirname() local
37 dname[0] = '.'; in dirname()
38 dname[1] = '\0'; in dirname()
39 return (dname); in dirname()
53 dname[0] = *endp == '/' ? '/' : '.'; in dirname()
54 dname[1] = '\0'; in dirname()
55 return (dname); in dirname()
64 if (len >= sizeof(dname)) { in dirname()
68 memcpy(dname, path, len); in dirname()
69 dname[len] = '\0'; in dirname()
70 return (dname); in dirname()