/external/chromium_org/components/cronet/android/java/src/org/chromium/net/ |
ChunkedWritableByteChannel.java | 63 ByteBuffer tmpBuf = ByteBuffer.allocateDirect(size); 64 tmpBuf.put(buffer).rewind(); 65 mBuffers.add(tmpBuf);
|
/frameworks/av/cmds/screenrecord/ |
Overlay.cpp | 271 char tmpBuf[5]; 272 snprintf(tmpBuf, sizeof(tmpBuf), ".%03d", msec); 273 strlcat(buf, tmpBuf, bufLen);
|
/external/aac/libMpegTPEnc/src/ |
tpenc_latm.cpp | 789 FDK_BITSTREAM tmpBuf; 791 FDKinitBitStream( &tmpBuf, hBs->hBitBuf.Buffer, hBs->hBitBuf.bufSize, 0, BS_WRITER ) ; 792 FDKpushFor( &tmpBuf, hAss->audioMuxLengthBytesPos ); 793 FDKwriteBits( &tmpBuf, hAss->audioMuxLengthBytes, 13 ); 794 FDKsyncCache( &tmpBuf );
|
/external/chromium_org/third_party/webrtc/modules/video_coding/codecs/test_framework/ |
unit_test.cc | 515 unsigned char* tmpBuf = new unsigned char[_lengthSourceFrame]; 525 ASSERT_TRUE(fread(tmpBuf, 1, _refEncFrameLength, _sourceFile) 527 _encodedVideoBuffer.CopyFrame(_refEncFrameLength, tmpBuf); 536 memset(tmpBuf, 0, _refEncFrameLength); 537 _encodedVideoBuffer.CopyFrame(_refEncFrameLength, tmpBuf); 670 delete [] tmpBuf;
|
/external/deqp/framework/delibs/decpp/ |
deBlockBuffer.cpp | 72 Message tmpBuf [64]; 77 int numToRead = rnd.getInt(1, DE_LENGTH_OF_ARRAY(tmpBuf)); 78 int numRead = m_buffer.tryRead(numToRead, &tmpBuf[0]); 82 const Message& msg = tmpBuf[ndx]; 91 m_buffer.write(numRead-ndx-1, &tmpBuf[ndx+1]); 139 Message tmpBuf[64]; 143 int writeSize = rnd.getInt(1, de::min(m_numMessages-msgNdx, DE_LENGTH_OF_ARRAY(tmpBuf))); 145 tmpBuf[ndx] = Message(m_threadId, (deUint16)msgNdx++); 147 m_buffer.write(writeSize, &tmpBuf[0]);
|
/build/tools/zipalign/ |
ZipFile.cpp | 785 unsigned char tmpBuf[32768]; 791 count = fread(tmpBuf, 1, sizeof(tmpBuf), srcFp); 797 *pCRC32 = crc32(*pCRC32, tmpBuf, count); 799 if (fwrite(tmpBuf, 1, count, dstFp) != count) { 841 unsigned char tmpBuf[32768]; 850 readSize = sizeof(tmpBuf); 854 count = fread(tmpBuf, 1, readSize, srcFp); 861 *pCRC32 = crc32(*pCRC32, tmpBuf, count); 863 if (fwrite(tmpBuf, 1, count, dstFp) != count) [all...] |
/frameworks/base/tools/aapt/ |
ZipFile.cpp | 648 unsigned char tmpBuf[32768]; 654 count = fread(tmpBuf, 1, sizeof(tmpBuf), srcFp); 660 *pCRC32 = crc32(*pCRC32, tmpBuf, count); 662 if (fwrite(tmpBuf, 1, count, dstFp) != count) { 704 unsigned char tmpBuf[32768]; 713 readSize = sizeof(tmpBuf); 717 count = fread(tmpBuf, 1, readSize, srcFp); 724 *pCRC32 = crc32(*pCRC32, tmpBuf, count); 726 if (fwrite(tmpBuf, 1, count, dstFp) != count) [all...] |
/dalvik/tools/dexdeps/src/com/android/dexdeps/ |
DexData.java | 36 private byte tmpBuf[] = new byte[4]; 447 mDexFile.readFully(tmpBuf, 0, 1); 448 return tmpBuf[0]; 455 mDexFile.readFully(tmpBuf, 0, 2); 457 return (short) ((tmpBuf[1] & 0xff) | ((tmpBuf[0] & 0xff) << 8)); 459 return (short) ((tmpBuf[0] & 0xff) | ((tmpBuf[1] & 0xff) << 8)); 467 mDexFile.readFully(tmpBuf, 0, 4); 470 return (tmpBuf[3] & 0xff) | ((tmpBuf[2] & 0xff) << 8) [all...] |
/device/generic/goldfish/opengl/system/gralloc/ |
gralloc.cpp | 750 char *tmpBuf = new char[cb->lockedWidth * cb->lockedHeight * bpp]; 755 char *dst = tmpBuf; 766 tmpBuf); 768 delete [] tmpBuf;
|
/external/deqp/execserver/tools/ |
xsTest.cpp | 697 deUint8 tmpBuf[1024*16]; 700 deMemset(&tmpBuf, 'a', sizeof(tmpBuf)); 705 XS_CHECK(deFile_write(file, &tmpBuf[0], de::min((int)sizeof(tmpBuf), DATA_SIZE-numWritten), &numWrittenInBatch) == DE_FILERESULT_SUCCESS);
|
/dalvik/dexdump/ |
DexDump.cpp | [all...] |
/external/deqp/modules/glshared/ |
glsShaderExecUtil.cpp | 780 tcu::TextureLevel tmpBuf; 795 tmpBuf.setStorage(readFormat, framebufferW, framebufferH); 800 glu::readPixels(m_renderCtx, 0, 0, tmpBuf.getAccess()); 804 deMemcpy(dstPtrBase, tmpBuf.getAccess().getDataPtr(), numValues*outVecSize*sizeof(deUint32)); 809 const deUint32* srcPtr = (const deUint32*)tmpBuf.getAccess().getDataPtr() + valNdx*4; [all...] |