Home
last modified time | relevance | path

Searched refs:begin (Results 1 – 25 of 45) sorted by relevance

12

/libcore/ojluni/src/main/java/java/text/
DStringCharacterIterator.java55 private int begin; field in StringCharacterIterator
90 public StringCharacterIterator(String text, int begin, int end, int pos) { in StringCharacterIterator() argument
95 if (begin < 0 || begin > end || end > text.length()) in StringCharacterIterator()
98 if (pos < begin || pos > end) in StringCharacterIterator()
101 this.begin = begin; in StringCharacterIterator()
119 this.begin = 0; in setText()
130 pos = begin; in first()
140 if (end != begin) { in last()
154 if (p < begin || p > end) in setIndex()
166 if (pos >= begin && pos < end) { in current()
[all …]
/libcore/ojluni/src/main/java/java/util/stream/
DSink.java130 default void begin(long size) {} in begin() method
254 public void begin(long size) { in begin() method in Sink.ChainedReference
255 downstream.begin(size); in begin()
286 public void begin(long size) { in begin() method in Sink.ChainedInt
287 downstream.begin(size); in begin()
318 public void begin(long size) { in begin() method in Sink.ChainedLong
319 downstream.begin(size); in begin()
350 public void begin(long size) { in begin() method in Sink.ChainedDouble
351 downstream.begin(size); in begin()
DSortedOps.java340 public void begin(long size) { in begin() method in SortedOps.SizedRefSortingSink
349 downstream.begin(offset); in end()
379 public void begin(long size) { in begin() method in SortedOps.RefSortingSink
388 downstream.begin(list.size()); in end()
437 public void begin(long size) { in begin() method in SortedOps.SizedIntSortingSink
446 downstream.begin(offset); in end()
476 public void begin(long size) { in begin() method in SortedOps.IntSortingSink
486 downstream.begin(ints.length); in end()
535 public void begin(long size) { in begin() method in SortedOps.SizedLongSortingSink
544 downstream.begin(offset); in end()
[all …]
DReduceOps.java74 public void begin(long size) { in makeRef() method in ReduceOps.ReducingSink
112 public void begin(long size) {
163 public void begin(long size) {
214 public void begin(long size) {
252 public void begin(long size) {
294 public void begin(long size) {
350 public void begin(long size) {
388 public void begin(long size) {
430 public void begin(long size) {
486 public void begin(long size) {
[all …]
DDistinctOps.java133 public void begin(long size) { in makeRef() method
136 downstream.begin(-1); in makeRef()
163 public void begin(long size) { in makeRef() method
165 downstream.begin(-1); in makeRef()
DReferencePipeline.java178 public void begin(long size) {
179 downstream.begin(-1);
274 public void begin(long size) {
275 downstream.begin(-1);
303 public void begin(long size) {
304 downstream.begin(-1);
332 public void begin(long size) {
333 downstream.begin(-1);
361 public void begin(long size) {
362 downstream.begin(-1);
DNode.java128 nodeBuilder.begin(size); in truncate()
363 nodeBuilder.begin(size); in truncate()
436 nodeBuilder.begin(size); in truncate()
511 nodeBuilder.begin(size); in truncate()
DSliceOps.java198 public void begin(long size) { in makeRef() method
199 downstream.begin(calcSize(size, skip, m)); in makeRef()
310 public void begin(long size) {
311 downstream.begin(calcSize(size, skip, m));
422 public void begin(long size) {
423 downstream.begin(calcSize(size, skip, m));
534 public void begin(long size) {
535 downstream.begin(calcSize(size, skip, m));
/libcore/ojluni/src/main/java/java/util/regex/
DPattern.java1238 int begin = 0; in fastSplit() local
1240 while (separatorCount + 1 != limit && (end = input.indexOf(ch, begin)) != -1) { in fastSplit()
1242 begin = end + 1; in fastSplit()
1245 if (limit == 0 && begin == lastPartEnd) { in fastSplit()
1253 --begin; in fastSplit()
1254 } while (input.charAt(begin - 1) == ch); in fastSplit()
1256 separatorCount -= input.length() - begin; in fastSplit()
1257 lastPartEnd = begin; in fastSplit()
1262 begin = 0; in fastSplit()
1264 end = input.indexOf(ch, begin); in fastSplit()
[all …]
/libcore/luni/src/test/java/libcore/java/util/
DArraysTest.java310 int begin = 100, end = 500; in parallelPrefix$III() local
314 for(int i = begin; i < end - 1; ++i) { in parallelPrefix$III()
318 Arrays.parallelPrefix(list, begin, end, (x, y) -> x + y); in parallelPrefix$III()
322 Arrays.parallelPrefix(list, begin, end, null); in parallelPrefix$III()
328 Arrays.parallelPrefix((int[]) null, begin, end, (x, y) -> x + y); in parallelPrefix$III() local
334 Arrays.parallelPrefix(list, end, begin, (x, y) -> x + y); in parallelPrefix$III()
387 int begin = 100, end = 500; in parallelPrefix$LII() local
391 for(int i = begin; i < end - 1; ++i) { in parallelPrefix$LII()
395 Arrays.parallelPrefix(list, begin, end, (x, y) -> x + y); in parallelPrefix$LII()
399 Arrays.parallelPrefix(list, begin, end, null); in parallelPrefix$LII()
[all …]
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixPath.java325 int begin = offsets[index]; in getName() local
328 len = path.length - begin; in getName()
330 len = offsets[index+1] - begin - 1; in getName()
335 System.arraycopy(path, begin, result, 0, len); in getName()
354 int begin = offsets[beginIndex]; in subpath() local
357 len = path.length - begin; in subpath()
359 len = offsets[endIndex] - begin - 1; in subpath()
364 System.arraycopy(path, begin, result, 0, len); in subpath()
499 int begin = offsets[i]; in normalize() local
502 len = path.length - begin; in normalize()
[all …]
/libcore/luni/src/main/java/java/math/
DBigDecimal.java266 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/ojluni/src/main/java/sun/nio/ch/
DSimpleAsynchronousFileChannelImpl.java111 begin(); in size()
134 begin(); in truncate()
160 begin(); in force()
204 begin(); in implLock()
259 begin(); in tryLock()
318 begin(); in implRead()
372 begin(); in implWrite()
DAsynchronousServerSocketChannelImpl.java82 final void begin() throws IOException { in begin() method in AsynchronousServerSocketChannelImpl
157 begin(); in bind()
190 begin(); in setOption()
214 begin(); in getOption()
DFileChannelImpl.java192 begin(); in read()
220 begin(); in read()
244 begin(); in write()
272 begin(); in write()
296 begin(); in position()
328 begin(); in position()
354 begin(); in size()
382 begin(); in truncate()
432 begin(); in force()
472 begin(); in transferToDirectlyInternal()
[all …]
DSocketChannelImpl.java349 begin(); in read()
473 begin(); in read()
505 begin(); in write()
538 begin(); in write()
568 begin(); in sendOutOfBandData()
672 begin(); in connect()
750 begin(); in finishConnect()
1010 begin(); in poll()
DAsynchronousSocketChannelImpl.java115 final void begin() throws IOException { in begin() method in AsynchronousSocketChannelImpl
424 begin(); in bind()
463 begin(); in setOption()
489 begin(); in getOption()
534 begin(); in shutdownInput()
552 begin(); in shutdownOutput()
DSinkChannelImpl.java162 begin(); in write()
185 begin(); in write()
DUnixAsynchronousSocketChannelImpl.java275 begin(); in finishConnect()
346 begin(); in implConnect()
406 begin(); in finishRead()
526 begin(); in implRead()
601 begin(); in finishWrite()
709 begin(); in implWrite()
DSourceChannelImpl.java167 begin(); in read()
198 begin(); in read()
DAsynchronousFileChannelImpl.java82 protected final void begin() throws IOException { in begin() method in AsynchronousFileChannelImpl
200 begin(); in release()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DSupport_Format.java38 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/ojluni/src/test/java/util/stream/boottest/java/util/stream/
DNodeBuilderTest.java74 nb.begin(l.size()); in testIteration()
119 nb.begin(l.size()); in testIntIteration()
169 nb.begin(l.size()); in testLongIteration()
219 nb.begin(l.size()); in testDoubleIteration()
/libcore/support/src/test/java/tests/support/
DSupport_Format.java37 String text, Format.Field field, int begin, int end) { in t_FormatWithField() argument
54 + field, begin, pos.getBeginIndex()); in t_FormatWithField()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/spi/
DMockAbstractSelector.java54 super.begin(); in superBegin()

12