Searched refs:nameAsBytes (Results 1 – 2 of 2) sorted by relevance
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixDirectoryStream.java | 159 private boolean isSelfOrParent(byte[] nameAsBytes) { in isSelfOrParent() argument 160 if (nameAsBytes[0] == '.') { in isSelfOrParent() 161 if ((nameAsBytes.length == 1) || in isSelfOrParent() 162 (nameAsBytes.length == 2 && nameAsBytes[1] == '.')) { in isSelfOrParent() 174 byte[] nameAsBytes = null; in readNextEntry() 180 nameAsBytes = readdir(dp); in readNextEntry() 190 if (nameAsBytes == null) { in readNextEntry() 196 if (!isSelfOrParent(nameAsBytes)) { in readNextEntry() 197 Path entry = dir.resolve(nameAsBytes); in readNextEntry()
|
D | LinuxUserDefinedFileAttributeView.java | 52 private byte[] nameAsBytes(UnixPath file, String name) throws IOException { in nameAsBytes() method in LinuxUserDefinedFileAttributeView 143 return fgetxattr(fd, nameAsBytes(file,name), 0L, 0); in size() 179 int n = fgetxattr(fd, nameAsBytes(file,name), address, rem); in read() 258 fsetxattr(fd, nameAsBytes(file,name), address, rem); in write() 281 fremovexattr(fd, nameAsBytes(file,name)); in delete()
|