Home
last modified time | relevance | path

Searched refs:prefixLength (Results 1 – 5 of 5) sorted by relevance

/libcore/ojluni/src/main/java/java/io/
DFile.java182 private transient int prefixLength; field in File
189 return prefixLength; in getPrefixLength()
234 private File(String pathname, int prefixLength) { in File() argument
236 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 …]
DFileSystem.java65 public abstract int prefixLength(String path); in prefixLength() method in FileSystem
DUnixFileSystem.java88 public int prefixLength(String pathname) { in prefixLength() method in UnixFileSystem
/libcore/luni/src/test/java/libcore/java/io/
DOldInputStreamReaderTest.java256 final int prefixLength = 8189; in test_readWhenCharacterSpansBuffer() local
258 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()
/libcore/luni/src/main/native/
Dorg_apache_harmony_xml_ExpatParser.cpp550 size_t prefixLength = lastColon - qName; in matchesQName() local
551 return strlen(mPrefix) == prefixLength in matchesQName()
552 && strncmp(qName, mPrefix, prefixLength) == 0 in matchesQName()