Home
last modified time | relevance | path

Searched refs:toCopy (Results 1 – 6 of 6) sorted by relevance

/external/okhttp/okio/okio/src/main/java/okio/
DOkio.java75 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()
DBuffer.java156 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/
DImmutableSortedMultisetTest.java489 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/
Dloclikely.cpp316 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/
DExceptionDemo.cpp1570 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/
DExceptionDemo.cpp1614 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 =()