Searched refs:prefixLength (Results 1 – 8 of 8) sorted by relevance
/libcore/ojluni/src/main/java/java/io/ |
D | File.java | 203 private final transient int prefixLength; field in File 210 return prefixLength; in getPrefixLength() 255 private File(String pathname, int prefixLength) { in File() argument 257 this.prefixLength = prefixLength; in File() 269 this.prefixLength = parent.prefixLength; in File() 286 this.prefixLength = fs.prefixLength(this.path); in File() 333 this.prefixLength = fs.prefixLength(this.path); in File() 376 this.prefixLength = fs.prefixLength(this.path); in File() 440 this.prefixLength = fs.prefixLength(this.path); in File() 458 if (index < prefixLength) return path.substring(prefixLength); in getName() [all …]
|
D | FileSystem.java | 59 public abstract int prefixLength(String path); in prefixLength() method in FileSystem
|
D | UnixFileSystem.java | 94 public int prefixLength(String pathname) { in prefixLength() method in UnixFileSystem
|
/libcore/ojluni/src/main/java/java/time/ |
D | ZoneId.java | 417 private static ZoneId ofWithPrefix(String zoneId, int prefixLength, boolean checkAvailable) { in ofWithPrefix() argument 418 String prefix = zoneId.substring(0, prefixLength); in ofWithPrefix() 419 if (zoneId.length() == prefixLength) { in ofWithPrefix() 422 if (zoneId.charAt(prefixLength) != '+' && zoneId.charAt(prefixLength) != '-') { in ofWithPrefix() 426 ZoneOffset offset = ZoneOffset.of(zoneId.substring(prefixLength)); in ofWithPrefix()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldInputStreamReaderTest.java | 256 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/ojluni/annotations/hiddenapi/java/io/ |
D | File.java | 34 private File(java.lang.String pathname, int prefixLength) { in File() argument 331 private final transient int prefixLength; field in File 334 prefixLength = 0;
|
D | FileSystem.java | 48 public abstract int prefixLength(java.lang.String path); in prefixLength() method in FileSystem
|
/libcore/luni/src/main/native/ |
D | org_apache_harmony_xml_ExpatParser.cpp | 565 size_t prefixLength = lastColon - qName; in matchesQName() local 566 return strlen(mPrefix) == prefixLength in matchesQName() 567 && strncmp(qName, mPrefix, prefixLength) == 0 in matchesQName()
|