/libcore/luni/src/main/java/java/util/regex/ |
D | Splitter.java | 69 int begin = 0; in fastSplit() local 71 while (separatorCount + 1 != limit && (end = input.indexOf(ch, begin)) != -1) { in fastSplit() 73 begin = end + 1; in fastSplit() 76 if (limit == 0 && begin == lastPartEnd) { in fastSplit() 84 --begin; in fastSplit() 85 } while (input.charAt(begin - 1) == ch); in fastSplit() 87 separatorCount -= input.length() - begin; in fastSplit() 88 lastPartEnd = begin; in fastSplit() 93 begin = 0; in fastSplit() 95 end = input.indexOf(ch, begin); in fastSplit() [all …]
|
/libcore/luni/src/main/java/java/text/ |
D | AttributedString.java | 57 private int begin, end, offset; field in AttributedString.AttributedIterator 65 begin = 0; in AttributedIterator() 71 AttributedCharacterIterator.Attribute[] attributes, int begin, in AttributedIterator() argument 73 if (begin < 0 || end > attrString.text.length() || begin > end) { in AttributedIterator() 76 this.begin = begin; in AttributedIterator() 78 offset = begin; in AttributedIterator() 120 if (begin == end) { in first() 123 offset = begin; in first() 133 return begin; in getBeginIndex() 158 return range.start >= begin && range.start < end in inRange() [all …]
|
D | MessageFormat.java | 558 int begin = buffer.length(); in formatImpl() local 566 handleArgumentField(begin, buffer.length(), argumentNumbers[i], position, fields); in formatImpl() 577 … handleArgumentField(begin, buffer.length(), argumentNumbers[i], position, fields); in formatImpl() 586 handleArgumentField(begin, buffer.length(), argumentNumbers[i], position, fields); in formatImpl() 587 handleFormat(format, arg, begin, fields); in formatImpl() 590 handleArgumentField(begin, buffer.length(), argumentNumbers[i], position, fields); in formatImpl() 591 handleFormat(format, arg, begin, fields); in formatImpl() 606 private void handleArgumentField(int begin, int end, int argIndex, in handleArgumentField() argument 609 fields.add(new FieldContainer(begin, end, Field.ARGUMENT, Integer.valueOf(argIndex))); in handleArgumentField() 614 position.setBeginIndex(begin); in handleArgumentField() [all …]
|
D | Bidi.java | 117 int begin = paragraph.getBeginIndex(); in Bidi() local 119 int length = end - begin; in Bidi() 143 - begin + 1) { in Bidi()
|
/libcore/luni/src/main/java/java/math/ |
D | BigDecimal.java | 266 int begin = offset; // first index to be copied in BigDecimal() local 284 begin++; in BigDecimal() 299 unscaledBuffer.append(in, begin, offset - begin); in BigDecimal() 300 bufLength += offset - begin; in BigDecimal() 305 begin = offset; in BigDecimal() 316 scale = offset - begin; in BigDecimal() 318 unscaledBuffer.append(in, begin, scale); in BigDecimal() 326 begin = offset; in BigDecimal() 330 begin++; in BigDecimal() 334 scaleString = String.valueOf(in, begin, last + 1 - begin); in BigDecimal() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | Support_Format.java | 38 String text, Format.Field field, int begin, int end) { in t_FormatWithField() argument 52 if (begin != pos.getBeginIndex() || end != pos.getEndIndex()) { in t_FormatWithField() 53 assertEquals(field + " " + begin + ".." + end, in t_FormatWithField()
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
D | GeneralName.java | 370 int begin = uri.indexOf("://")+3; in isAcceptable() local 371 int end = uri.indexOf('/', begin); in isAcceptable() 373 ? uri.substring(begin) in isAcceptable() 374 : uri.substring(begin, end); in isAcceptable() 376 begin = uri.indexOf("://")+3; in isAcceptable() 377 end = uri.indexOf('/', begin); in isAcceptable() 379 ? uri.substring(begin) in isAcceptable() 380 : uri.substring(begin, end); in isAcceptable()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_Format.java | 37 String text, Format.Field field, int begin, int end) { in t_FormatWithField() argument 54 + field, begin, pos.getBeginIndex()); in t_FormatWithField()
|
/libcore/luni/src/main/java/java/nio/channels/spi/ |
D | AbstractInterruptibleChannel.java | 91 protected final void begin() { in begin() method in AbstractInterruptibleChannel
|
D | AbstractSelector.java | 114 protected final void begin() { in begin() method in AbstractSelector
|
/libcore/luni/src/main/java/java/nio/ |
D | DatagramChannelImpl.java | 152 begin(); in connect() 225 begin(); in receive() 305 begin(); in send() 376 begin(); in readImpl() 437 begin(); in writeImpl()
|
D | FileChannelImpl.java | 165 begin(); in lock() 304 begin(); in readImpl() 337 begin(); in transferIoVec() 426 begin(); in transferTo() 495 begin(); in writeImpl()
|
D | SocketChannelImpl.java | 194 begin(); in connect() 274 begin(); in finishConnect() 340 begin(); in readImpl() 401 begin(); in writeImpl()
|
D | ServerSocketChannelImpl.java | 70 begin(); in accept()
|
D | SelectorImpl.java | 181 begin(); in selectInternal()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/spi/ |
D | MockAbstractSelector.java | 54 super.begin(); in superBegin()
|
D | AbstractInterruptibleChannelTest.java | 127 super.begin(); in superBegin()
|
/libcore/luni/src/main/java/java/nio/channels/ |
D | Channels.java | 305 begin(); in read() 347 begin(); in write()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | ArrayListTest.java | 965 public void removeRange(int begin, int end) { in removeRange() argument 966 super.removeRange(begin, end); in removeRange()
|