Searched refs:inBuf (Results 1 – 3 of 3) sorted by relevance
/aosp14/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
H A D | BitwiseStreamsTest.java | 39 for (int i = 0; i < inBuf.length; i++) outStream.write(8, inBuf[i]); in testOne() 42 byte[] inBufDup = new byte[inBuf.length]; in testOne() 54 for (int i = 0; i < inBuf.length; i++) outStream.write(8, inBuf[i]); in testTwo() 57 byte[] inBufDup = new byte[inBuf.length]; in testTwo() 68 for (int i = 0; i < inBuf.length; i++) outStream.write(8, inBuf[i]); in testThree() 71 byte[] inBufDup = new byte[inBuf.length]; in testThree() 82 for (int i = 0; i < inBuf.length; i++) { in testFour() 83 outStream.write(5, inBuf[i] >>> 3); in testFour() 84 outStream.write(3, inBuf[i] & 0x07); in testFour() 88 byte[] inBufDup = new byte[inBuf.length]; in testFour() [all …]
|
/aosp14/frameworks/base/tools/aapt/ |
H A D | ZipFile.cpp | 745 unsigned char* inBuf = NULL; in compressFpToFp() local 755 inBuf = new unsigned char[kBufSize]; in compressFpToFp() 757 if (inBuf == NULL || outBuf == NULL) { in compressFpToFp() 802 memcpy(inBuf, data, getSize); in compressFpToFp() 806 getSize = fread(inBuf, 1, kBufSize, srcFp); in compressFpToFp() 818 crc = crc32(crc, inBuf, getSize); in compressFpToFp() 820 zstream.next_in = inBuf; in compressFpToFp() 862 delete[] inBuf; in compressFpToFp()
|
/aosp14/frameworks/base/core/jni/ |
H A D | android_hardware_camera2_DngCreator.cpp | 493 JniInputByteBuffer(JNIEnv* env, jobject inBuf); 511 JniInputByteBuffer::JniInputByteBuffer(JNIEnv* env, jobject inBuf) : mInBuf(inBuf), mEnv(env) { in JniInputByteBuffer() argument 2487 sp<JniInputByteBuffer> inBuf; in DngCreator_nativeWriteImage() local 2537 inBuf = new JniInputByteBuffer(env, inBuffer); in DngCreator_nativeWriteImage() 2540 InputStripSource stripSource(env, *inBuf, targetIfd, uWidth, uHeight, pStride, in DngCreator_nativeWriteImage()
|