/libcore/ojluni/src/main/java/java/text/ |
D | StringCharacterIterator.java | 55 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/ |
D | Sink.java | 130 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()
|
D | SortedOps.java | 340 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 …]
|
D | ReduceOps.java | 74 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 …]
|
D | DistinctOps.java | 133 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()
|
D | ReferencePipeline.java | 178 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);
|
D | Node.java | 128 nodeBuilder.begin(size); in truncate() 363 nodeBuilder.begin(size); in truncate() 436 nodeBuilder.begin(size); in truncate() 511 nodeBuilder.begin(size); in truncate()
|
D | SliceOps.java | 198 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/luni/src/test/java/libcore/java/util/ |
D | ArraysTest.java | 285 int begin = 100, end = 500; in test_parallelPrefix$III() local 289 for(int i = begin; i < end - 1; ++i) { in test_parallelPrefix$III() 293 Arrays.parallelPrefix(list, begin, end, (x, y) -> x + y); in test_parallelPrefix$III() 297 Arrays.parallelPrefix(list, begin, end, null); in test_parallelPrefix$III() 303 Arrays.parallelPrefix((int[]) null, begin, end, (x, y) -> x + y); in test_parallelPrefix$III() local 309 Arrays.parallelPrefix(list, end, begin, (x, y) -> x + y); in test_parallelPrefix$III() 360 int begin = 100, end = 500; in test_parallelPrefix$LII() local 364 for(int i = begin; i < end - 1; ++i) { in test_parallelPrefix$LII() 368 Arrays.parallelPrefix(list, begin, end, (x, y) -> x + y); in test_parallelPrefix$LII() 372 Arrays.parallelPrefix(list, begin, end, null); in test_parallelPrefix$LII() [all …]
|
/libcore/ojluni/src/main/java/java/util/regex/ |
D | Pattern.java | 1245 int begin = 0; in fastSplit() local 1247 while (separatorCount + 1 != limit && (end = input.indexOf(ch, begin)) != -1) { in fastSplit() 1249 begin = end + 1; in fastSplit() 1252 if (limit == 0 && begin == lastPartEnd) { in fastSplit() 1260 --begin; in fastSplit() 1261 } while (input.charAt(begin - 1) == ch); in fastSplit() 1263 separatorCount -= input.length() - begin; in fastSplit() 1264 lastPartEnd = begin; in fastSplit() 1269 begin = 0; in fastSplit() 1271 end = input.indexOf(ch, begin); in fastSplit() [all …]
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixPath.java | 325 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/ |
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/ojluni/src/main/java/sun/nio/ch/ |
D | SimpleAsynchronousFileChannelImpl.java | 111 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()
|
D | AsynchronousServerSocketChannelImpl.java | 82 final void begin() throws IOException { in begin() method in AsynchronousServerSocketChannelImpl 157 begin(); in bind() 190 begin(); in setOption() 214 begin(); in getOption()
|
D | FileChannelImpl.java | 192 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 …]
|
D | SocketChannelImpl.java | 349 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()
|
D | AsynchronousSocketChannelImpl.java | 115 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()
|
D | SinkChannelImpl.java | 162 begin(); in write() 185 begin(); in write()
|
D | UnixAsynchronousSocketChannelImpl.java | 275 begin(); in finishConnect() 346 begin(); in implConnect() 406 begin(); in finishRead() 526 begin(); in implRead() 601 begin(); in finishWrite() 709 begin(); in implWrite()
|
D | SourceChannelImpl.java | 167 begin(); in read() 198 begin(); in read()
|
D | AsynchronousFileChannelImpl.java | 82 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/ |
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/ojluni/src/test/java/util/stream/boottest/java/util/stream/ |
D | NodeBuilderTest.java | 74 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/ |
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/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/spi/ |
D | MockAbstractSelector.java | 54 super.begin(); in superBegin()
|