Home
last modified time | relevance | path

Searched refs:off (Results 1 – 12 of 12) sorted by relevance

/cts/tests/tests/rscpp/librscpptest/
Drs_jni_allocation.cpp442 for (int off = 0; off < s; off ++) { in Java_android_cts_rscpp_RSAllocationTest_test1DCopy() local
443 for (int count = 1; count <= s - off; count ++) { in Java_android_cts_rscpp_RSAllocationTest_test1DCopy()
444 passed &= helperCopy1D<float>(rs, s, off, count, true, RS_TYPE_FLOAT_32); in Java_android_cts_rscpp_RSAllocationTest_test1DCopy()
445 passed &= helperCopy1D<char>(rs, s, off, count, true, RS_TYPE_SIGNED_8); in Java_android_cts_rscpp_RSAllocationTest_test1DCopy()
446 passed &= helperCopy1D<short>(rs, s, off, count, true, RS_TYPE_SIGNED_16); in Java_android_cts_rscpp_RSAllocationTest_test1DCopy()
447 passed &= helperCopy1D<int>(rs, s, off, count, true, RS_TYPE_SIGNED_32); in Java_android_cts_rscpp_RSAllocationTest_test1DCopy()
448 passed &= helperCopy1D<double>(rs, s, off, count, true, RS_TYPE_FLOAT_64); in Java_android_cts_rscpp_RSAllocationTest_test1DCopy()
452 for (int off = 0; off < s; off ++) { in Java_android_cts_rscpp_RSAllocationTest_test1DCopy() local
453 for (int count = 1; count <= s - off; count ++) { in Java_android_cts_rscpp_RSAllocationTest_test1DCopy()
454 passed &= helperFloatAllocationCopy1D(rs, s, off, count); in Java_android_cts_rscpp_RSAllocationTest_test1DCopy()
[all …]
/cts/tests/tests/text/src/android/text/cts/
DAlteredCharSequenceTest.java70 int off = 1; in testGetChars() local
74 mAlteredCharSequence.getChars(start, end, dest, off); in testGetChars()
77 for (int i = off; i < end - start + off; i++) { in testGetChars()
84 mAlteredCharSequence.getChars(start, end, dest, off); in testGetChars()
85 for (int i = off; i < end - start + off; i++) { in testGetChars()
90 mAlteredCharSequence.getChars(start, end, dest, off); in testGetChars()
/cts/tests/tests/security/jni/
Dandroid_security_cts_cve_2019_2213_Test.c155 u32 off; member
203 b->off = 0; in new_buf_sz()
219 if (b->size - b->off < s) in buf_alloc()
221 char *ret = b->p + b->off; in buf_alloc()
222 b->off += s; in buf_alloc()
255 void buf_binder(buf_t *b, buf_t *off, void *ptr) { in buf_binder() argument
256 buf_u64(off, b->off); in buf_binder()
309 binder_rw(fd, 0, 0, buf->p, buf->off, NULL, &write_consumed); in binder_write()
310 if (write_consumed != buf->off) in binder_write()
327 trd->data_size = trdat ? trdat->off : 0; in do_send_txn()
[all …]
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DAllocationTest.java689 for (int off = 0; off < s; off ++) { in test1DCopyOperations()
690 for (int count = 1; count <= s - off; count ++) { in test1DCopyOperations()
691 helperFloatCopy(s, off, count, mode); in test1DCopyOperations()
692 helperByteCopy(s, off, count, mode); in test1DCopyOperations()
693 helperShortCopy(Element.I16(mRS), s, off, count, mode); in test1DCopyOperations() local
694 helperShortCopy(Element.F16(mRS), s, off, count, mode); in test1DCopyOperations() local
695 helperIntCopy(s, off, count, mode); in test1DCopyOperations()
696 helperBaseObjCopy(s, off, count, mode); in test1DCopyOperations()
701 for (int off = 0; off < s; off ++) { in test1DCopyOperations()
702 for (int count = 1; count <= s - off; count ++) { in test1DCopyOperations()
[all …]
/cts/apps/CtsVerifier/res/raw/
Dcone_obj70 s off
Dring_obj3536 s off
/cts/tests/tests/media/src/android/media/cts/
DEncodeDecodeTest.java1233 int off = frameData.position(); in checkFrame() local
1236 testY = frameData.get(off + y * width + x) & 0xff; in checkFrame()
1237 … testU = frameData.get(off + width*height + 2*(y/2) * halfWidth + 2*(x/2)) & 0xff; in checkFrame()
1238 … testV = frameData.get(off + width*height + 2*(y/2) * halfWidth + 2*(x/2) + 1) & 0xff; in checkFrame()
1241 testY = frameData.get(off + y * width + x) & 0xff; in checkFrame()
1242 testU = frameData.get(off + width*height + (y/2) * halfWidth + (x/2)) & 0xff; in checkFrame()
1243 testV = frameData.get(off + width*height + halfWidth * (height / 2) + in checkFrame()
DMediaPlayerFlakyNetworkTest.java305 public void write(byte[] b, int off, int len) throws IOException { in createSessionOutputBuffer() argument
307 write(b[off++]); in createSessionOutputBuffer()
DStreamingMediaPlayerTest.java664 public synchronized void write(byte[] b, int off, int len) throws IOException { in createSessionOutputBuffer() argument
672 super.write(b, off, len); in createSessionOutputBuffer()
DNativeDecoderTest.java1056 public void write(byte[] b, int off, int len) throws IOException { in createSessionOutputBuffer() argument
1058 write(b[off++]); in createSessionOutputBuffer()
/cts/tests/tests/webkit/src/android/webkit/cts/
DTracingControllerTest.java81 public void write(byte[] b, int off, int len) { in write() argument
/cts/tests/tests/graphics/src/android/graphics/cts/
DImageDecoderTest.java937 public int read(byte[] b, int off, int len) throws IOException { in read() argument
939 final int bytesRead = mInputStream.read(b, off, len); in read()
945 mPosition += mInputStream.read(b, off, len); in read()