Searched refs:offsetDst (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 168 assertTrue(offsetDst + count <= size); in checkPartialMemmove() 169 Memory.memmove(dst, offsetDst, src, offsetSrc, count); in checkPartialMemmove() 171 if (i >= offsetDst && i < offsetDst + 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 186 assertTrue(offsetDst + count <= size); in checkOverlappingMemmove() 187 Memory.memmove(buf, offsetDst, buf, offsetSrc, count); in checkOverlappingMemmove() 189 if (i >= offsetDst && i < offsetDst + count) { in checkOverlappingMemmove() 190 assertEquals(i + (offsetSrc - offsetDst), buf[i]); in checkOverlappingMemmove()
|