Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/io/
DFile.java208 private final transient int prefixLength; field in File
215 return prefixLength; in getPrefixLength()
260 private File(String pathname, int prefixLength) { in File() argument
262 this.prefixLength = prefixLength; in File()
274 this.prefixLength = parent.prefixLength; in File()
291 this.prefixLength = fs.prefixLength(this.path); in File()
338 this.prefixLength = fs.prefixLength(this.path); in File()
381 this.prefixLength = fs.prefixLength(this.path); in File()
445 this.prefixLength = fs.prefixLength(this.path); in File()
463 if (index < prefixLength) return path.substring(prefixLength); in getName()
[all …]
DFileSystem.java59 public abstract int prefixLength(String path); in prefixLength() method in FileSystem
DUnixFileSystem.java129 public int prefixLength(String pathname) { in prefixLength() method in UnixFileSystem
/libcore/ojluni/src/main/java/java/time/
DZoneId.java415 private static ZoneId ofWithPrefix(String zoneId, int prefixLength, boolean checkAvailable) { in ofWithPrefix() argument
416 String prefix = zoneId.substring(0, prefixLength); in ofWithPrefix()
417 if (zoneId.length() == prefixLength) { in ofWithPrefix()
420 if (zoneId.charAt(prefixLength) != '+' && zoneId.charAt(prefixLength) != '-') { in ofWithPrefix()
424 ZoneOffset offset = ZoneOffset.of(zoneId.substring(prefixLength)); in ofWithPrefix()
/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/ojluni/annotations/hiddenapi/java/io/
DFile.java34 private File(java.lang.String pathname, int prefixLength) { in File() argument
331 private final transient int prefixLength; field in File
334 prefixLength = 0;
DFileSystem.java48 public abstract int prefixLength(java.lang.String path); in prefixLength() method in FileSystem
/libcore/ojluni/annotations/hiddenapi/java/time/
DZoneId.java101 java.lang.String zoneId, int prefixLength, boolean checkAvailable) { in ofWithPrefix() argument
/libcore/luni/src/main/native/
Dorg_apache_harmony_xml_ExpatParser.cpp565 size_t prefixLength = lastColon - qName; in matchesQName() local
566 return strlen(mPrefix) == prefixLength in matchesQName()
567 && strncmp(qName, mPrefix, prefixLength) == 0 in matchesQName()
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatterBuilder.java4626 int prefixLen = prefixLength(k); in add0()
4755 private int prefixLength(String k) { in prefixLength() method in PrefixTree