Searched refs:offsetSrc (Results 1 – 1 of 1) sorted by relevance
/libcore/luni/src/test/java/libcore/libcore/io/ |
D | MemoryTest.java | 159 private void checkPartialMemmove(int size, int offsetDst, int offsetSrc, int count) { in checkPartialMemmove() argument 167 assertTrue(offsetSrc + count <= size); in checkPartialMemmove() 169 Memory.memmove(dst, offsetDst, src, offsetSrc, count); in checkPartialMemmove() 172 assertEquals(src[i + (offsetSrc - offsetDst)], dst[i]); in checkPartialMemmove() 179 private void checkOverlappingMemmove(int size, int offsetDst, int offsetSrc, int count) { in checkOverlappingMemmove() argument 185 assertTrue(offsetSrc + count <= size); in checkOverlappingMemmove() 187 Memory.memmove(buf, offsetDst, buf, offsetSrc, count); in checkOverlappingMemmove() 190 assertEquals(i + (offsetSrc - offsetDst), buf[i]); in checkOverlappingMemmove()
|