Searched refs:prefixLength (Results 1 – 5 of 5) sorted by relevance
182 private transient int prefixLength; field in File189 return prefixLength; in getPrefixLength()234 private File(String pathname, int prefixLength) { in File() argument236 this.prefixLength = prefixLength; in File()248 this.prefixLength = parent.prefixLength; in File()265 this.prefixLength = fs.prefixLength(this.path); in File()310 this.prefixLength = fs.prefixLength(this.path); in File()353 this.prefixLength = fs.prefixLength(this.path); in File()417 this.prefixLength = fs.prefixLength(this.path); in File()435 if (index < prefixLength) return path.substring(prefixLength); in getName()[all …]
65 public abstract int prefixLength(String path); in prefixLength() method in FileSystem
88 public int prefixLength(String pathname) { in prefixLength() method in UnixFileSystem
256 final int prefixLength = 8189; in test_readWhenCharacterSpansBuffer() local258 byte[] bytes = new byte[prefixLength + 10]; in test_readWhenCharacterSpansBuffer()260 System.arraycopy(suffix, 0, bytes, prefixLength, suffix.length); in test_readWhenCharacterSpansBuffer()276 if (at < prefixLength) { in test_readWhenCharacterSpansBuffer()282 char decoded = decodedSuffix[at - prefixLength]; in test_readWhenCharacterSpansBuffer()
550 size_t prefixLength = lastColon - qName; in matchesQName() local551 return strlen(mPrefix) == prefixLength in matchesQName()552 && strncmp(qName, mPrefix, prefixLength) == 0 in matchesQName()