Searched refs:inBuf (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | BitwiseStreamsTest.java | 36 byte[] inBuf = HexDump.hexStringToByteArray("FFDD"); in testOne() 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() 45 assertEquals(HexDump.toHexString(inBuf), HexDump.toHexString(inBufDup)); in testOne() 51 byte[] inBuf = HexDump.hexStringToByteArray("11d4f29c0e9ad3c36e72584e064d9b53"); in testTwo() 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() 59 assertEquals(HexDump.toHexString(inBuf), HexDump.toHexString(inBufDup)); in testTwo() 65 byte[] inBuf = HexDump.hexStringToByteArray("00031040900112488ea794e0"); in testThree() 68 for (int i = 0; i < inBuf.length; i++) outStream.write(8, inBuf[i]); in testThree() [all …]
|
/frameworks/av/media/codecs/amrwb/enc/SampleCode/ |
D | AMRWB_E_SAMPLE.c | 98 unsigned char *inBuf = InputBuf; in encode() local 203 inData.Buffer = (unsigned char *)inBuf; in encode() 241 inBuf = InputBuf; in encode()
|
/frameworks/base/tools/aapt/ |
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()
|
/frameworks/base/core/jni/ |
D | android_hardware_camera2_DngCreator.cpp | 492 JniInputByteBuffer(JNIEnv* env, jobject inBuf); 510 JniInputByteBuffer::JniInputByteBuffer(JNIEnv* env, jobject inBuf) : mInBuf(inBuf), mEnv(env) { in JniInputByteBuffer() argument 2547 sp<JniInputByteBuffer> inBuf; in DngCreator_nativeWriteImage() local 2598 inBuf = new JniInputByteBuffer(env, inBuffer); in DngCreator_nativeWriteImage() 2601 InputStripSource stripSource(env, *inBuf, targetIfd, uWidth, uHeight, pStride, in DngCreator_nativeWriteImage()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuCore.cpp | 492 static const char *format_bytes(FormatBuf *outBuf, const uint8_t *inBuf, const int inBytes) { in format_bytes() argument 501 sprintf(*outBuf + pos, "%02x", inBuf[i]); in format_bytes()
|