Searched refs:toCopy (Results 1 – 6 of 6) sorted by relevance
/external/okhttp/okio/okio/src/main/java/okio/ |
D | Okio.java | 75 int toCopy = (int) Math.min(byteCount, head.limit - head.pos); in sink() local 76 out.write(head.data, head.pos, toCopy); in sink() 78 head.pos += toCopy; in sink() 79 byteCount -= toCopy; in sink() 80 source.size -= toCopy; in sink()
|
D | Buffer.java | 156 int toCopy = (int) Math.min(s.limit - pos, byteCount); 157 out.write(s.data, pos, toCopy); 158 byteCount -= toCopy; 208 int toCopy = (int) Math.min(byteCount, s.limit - s.pos); 209 out.write(s.data, s.pos, toCopy); 211 s.pos += toCopy; 212 size -= toCopy; 213 byteCount -= toCopy; 742 int toCopy = Math.min(byteCount, s.limit - s.pos); 743 System.arraycopy(s.data, s.pos, sink, offset, toCopy); [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | ImmutableSortedMultisetTest.java | 489 TestArrayList<String> toCopy = new TestArrayList<String>(); in testCopyOfDefensiveCopy() local 491 ImmutableSortedMultiset.copyOf(Ordering.natural(), toCopy); in testCopyOfDefensiveCopy() 492 assertTrue(toCopy.toArrayCalled); in testCopyOfDefensiveCopy() 517 SortedMultiset<String> toCopy = EasyMock.createMock(SortedMultiset.class); in testCopyOfSortedDefensiveCopy() local 519 EasyMock.expect((Comparator<Comparable>) toCopy.comparator()) in testCopyOfSortedDefensiveCopy() 521 EasyMock.expect(toCopy.entrySet()).andReturn(entrySet); in testCopyOfSortedDefensiveCopy() 522 EasyMock.replay(toCopy); in testCopyOfSortedDefensiveCopy() 524 ImmutableSortedMultiset.copyOfSorted(toCopy); in testCopyOfSortedDefensiveCopy() 525 EasyMock.verify(toCopy); in testCopyOfSortedDefensiveCopy()
|
/external/icu/icu4c/source/common/ |
D | loclikely.cpp | 316 const int32_t toCopy = in createTagStringWithAlternates() local 326 toCopy); in createTagStringWithAlternates() 328 capacityRemaining -= toCopy; in createTagStringWithAlternates() 347 const int32_t toCopy = in createTagStringWithAlternates() local 353 toCopy); in createTagStringWithAlternates()
|
/external/llvm/examples/ExceptionDemo/ |
D | ExceptionDemo.cpp | 1570 OurCppRunException (const OurCppRunException &toCopy) : in OurCppRunException() argument 1571 std::runtime_error(toCopy) {} in OurCppRunException() 1573 OurCppRunException &operator = (const OurCppRunException &toCopy) { in operator =() argument 1575 std::runtime_error::operator=(toCopy))); in operator =()
|
/external/swiftshader/third_party/LLVM/examples/ExceptionDemo/ |
D | ExceptionDemo.cpp | 1614 OurCppRunException (const OurCppRunException &toCopy) : in OurCppRunException() argument 1615 std::runtime_error(toCopy) {} in OurCppRunException() 1617 OurCppRunException &operator = (const OurCppRunException &toCopy) { in operator =() argument 1619 std::runtime_error::operator=(toCopy))); in operator =()
|