/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
pvmp3_get_main_data_size.cpp | 121 int32 numBytes = fxp_mul32_Q28(mp3_bitrate[info->version_x][info->bitrate_index] << 20, 125 numBytes >>= (20 - info->version_x); 132 pVars->predicted_frame_size = numBytes; 135 numBytes -= 17; 139 numBytes -= 32; 144 numBytes >>= 1; 145 pVars->predicted_frame_size = numBytes; 149 numBytes -= 9; 153 numBytes -= 17; 159 numBytes++ [all...] |
pvmp3_seek_synch.cpp | 179 int32 numBytes = fxp_mul32_Q28(mp3_bitrate[version][(temp<<16)>>28] << 20, 182 numBytes >>= (20 - version); 186 numBytes >>= 1; 190 numBytes++; 193 if (numBytes > (int32)pVars->inputStream.inputBufferCurrentLength) 196 pExt->CurrentFrameLength = numBytes + 3; 199 else if (numBytes == (int32)pVars->inputStream.inputBufferCurrentLength) 208 int32 offset = pVars->inputStream.usedBits + ((numBytes) << 3);
|
/external/deqp/framework/delibs/debase/ |
deMemory.h | 35 void* deMalloc (size_t numBytes); 36 void* deCalloc (size_t numBytes); 37 void* deRealloc (void* ptr, size_t numBytes); 40 void* deAlignedMalloc (size_t numBytes, size_t alignBytes); 41 void* deAlignedRealloc(void* ptr, size_t numBytes, size_t alignBytes); 50 * \param numBytes Number of bytes to write. 52 DE_INLINE void deMemset (void* ptr, int value, size_t numBytes) 55 memset(ptr, value, numBytes); 58 DE_INLINE int deMemCmp (const void* a, const void* b, size_t numBytes) 60 return memcmp(a, b, numBytes); [all...] |
deMemory.c | 57 * \param numBytes Number of bytes to allocate. 60 void* deMalloc (size_t numBytes) 64 DE_ASSERT(numBytes > 0); 66 ptr = malloc((size_t)numBytes); 72 memset(ptr, 0xcd, numBytes); 77 VALGRIND_MAKE_MEM_UNDEFINED(ptr, numBytes); 87 * \param numBytes Number of bytes to allocate. 90 void* deCalloc (size_t numBytes) 92 void* ptr = deMalloc(numBytes); 94 deMemset(ptr, 0, numBytes); [all...] |
/external/deqp/framework/delibs/decpp/ |
deMemPool.hpp | 51 void* alloc (deUintptr numBytes); 52 void* alignedAlloc (deUintptr numBytes, deUint32 alignBytes); 86 inline void* MemPool::alloc (deUintptr numBytes) 89 DE_ASSERT((deUintptr)(int)numBytes == numBytes); 90 void* ptr = deMemPool_alloc(m_pool, (int)numBytes); 96 inline void* MemPool::alignedAlloc (deUintptr numBytes, deUint32 alignBytes) 99 DE_ASSERT((deUintptr)(int)numBytes == numBytes); 100 void* ptr = deMemPool_alignedAlloc(m_pool, (int)numBytes, alignBytes) [all...] |
deRingBuffer.cpp | 63 int numBytes = rnd.getInt(1, buffer.getNumElements()); 64 vector<int> tmp (numBytes); 66 buffer.popBack(&tmp[0], numBytes); 68 for (int i = 0; i < numBytes; i++) 71 readPos += numBytes; 77 int numBytes = rnd.getInt(1, de::min(dataSize-writePos, buffer.getNumFree())); 78 buffer.pushFront(&data[writePos], numBytes); 79 writePos += numBytes;
|
/external/deqp/execserver/ |
xsPosixFileReader.hpp | 45 int read (deUint8* dst, int numBytes) { return m_buf.tryRead(numBytes, dst); }
|
xsTestProcess.hpp | 51 virtual int readTestLog (deUint8* dst, int numBytes) = DE_NULL; 52 virtual int readInfoLog (deUint8* dst, int numBytes) = DE_NULL;
|
/frameworks/av/media/libaaudio/src/utility/ |
FixedBlockReader.h | 39 int32_t readFromStorage(uint8_t *buffer, int32_t numBytes); 44 int32_t processVariableBlock(uint8_t *buffer, int32_t numBytes) override;
|
FixedBlockWriter.h | 35 int32_t writeToStorage(uint8_t *buffer, int32_t numBytes); 40 int32_t processVariableBlock(uint8_t *buffer, int32_t numBytes) override;
|
FixedBlockAdapter.h | 28 virtual int32_t onProcessFixedBlock(uint8_t *buffer, int32_t numBytes) = 0; 54 * @param numBytes 57 virtual int32_t processVariableBlock(uint8_t *buffer, int32_t numBytes) = 0;
|
FixedBlockReader.cpp | 36 int32_t FixedBlockReader::readFromStorage(uint8_t *buffer, int32_t numBytes) { 37 int32_t bytesToRead = numBytes; 47 int32_t FixedBlockReader::processVariableBlock(uint8_t *buffer, int32_t numBytes) { 49 int32_t bytesLeft = numBytes;
|
/external/libchrome/mojo/public/java/system/src/org/chromium/mojo/system/impl/ |
DataPipeConsumerHandleImpl.java | 43 public int discardData(int numBytes, ReadFlags flags) { 44 return mCore.discardData(this, numBytes, flags); 59 public ByteBuffer beginReadData(int numBytes, ReadFlags flags) { 60 return mCore.beginReadData(this, numBytes, flags);
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
OpenSSLRandom.java | 44 protected byte[] engineGenerateSeed(int numBytes) { 45 byte[] output = new byte[numBytes];
|
/external/deqp/modules/glshared/ |
glsBufferTestUtil.hpp | 54 void fillWithRandomBytes (deUint8* ptr, int numBytes, deUint32 seed); 55 bool compareByteArrays (tcu::TestLog& log, const deUint8* resPtr, const deUint8* refPtr, int numBytes); 90 void setSize (int numBytes); 91 void setData (int numBytes, const deUint8* bytes); 92 void setSubData (int offset, int numBytes, const deUint8* bytes); 123 virtual void write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes) = DE_NULL; 124 virtual void write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes, deUint32 targetHint); 142 void write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes); 143 void write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes, deUint32 targetHint); 160 virtual void write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes) [all...] |
/external/deqp/modules/gles2/functional/ |
es2fBufferTestUtil.hpp | 50 void fillWithRandomBytes (deUint8* ptr, int numBytes, deUint32 seed); 51 bool compareByteArrays (tcu::TestLog& log, const deUint8* resPtr, const deUint8* refPtr, int numBytes); 83 void setSize (int numBytes); 84 void setData (int numBytes, const deUint8* bytes); 85 void setSubData (int offset, int numBytes, const deUint8* bytes); 112 virtual bool verify (deUint32 buffer, const deUint8* reference, int offset, int numBytes) = DE_NULL; 132 bool verify (deUint32 buffer, const deUint8* reference, int offset, int numBytes); 149 bool verify (deUint32 buffer, const deUint8* reference, int offset, int numBytes); 165 bool verify (deUint32 buffer, const deUint8* reference, int offset, int numBytes);
|
/external/deqp/framework/platform/android/ |
tcuAndroidAssets.cpp | 60 void AssetResource::read (deUint8* dst, int numBytes) 62 TCU_CHECK(AAsset_read(m_asset, dst, numBytes) == numBytes);
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
OpenSSLRandom.java | 49 protected byte[] engineGenerateSeed(int numBytes) { 50 byte[] output = new byte[numBytes];
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/session/ |
Session.java | 63 * @param numBytes - the number of bytes from data to send
65 public void sendData(byte[] data, int numBytes);
75 * Read and return (up to) numBytes of data from the client across the data connection
77 * @return the data that was read; the byte[] will be up to numBytes bytes long
79 public byte[] readData(int numBytes);
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
CountingSecureRandom.java | 39 public byte[] generateSeed(int numBytes) { 40 if (numBytes > 0) { 41 mOutputSizeBytes.addAndGet(numBytes); 43 return mDelegate.generateSeed(numBytes);
|
/external/deqp/executor/ |
xeTestCaseListParser.hpp | 42 void parse (const deUint8* bytes, int numBytes);
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/stub/command/ |
FileRetrCommandHandler.java | 88 int numBytes;
89 while ((numBytes = inputStream.read(buffer)) != -1) {
90 LOG.trace("Sending " + numBytes + " bytes...");
91 session.sendData(buffer, numBytes);
|
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/command/ |
FileRetrCommandHandler.java | 91 int numBytes = 0;
92 while ((numBytes = inputStream.read(buffer)) != -1) {
93 LOG.trace("Sending " + numBytes + " bytes...");
94 session.sendData(buffer, numBytes);
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/ |
FwdLockGlue.h | 28 * @param[in] numBytes The number of random bytes to generate. 32 int FwdLockGlue_GetRandomNumber(void *pBuffer, size_t numBytes);
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
FwdLockConv.h | 40 size_t numBytes; 73 * @param[in] numBytes The number of bytes to read. 78 typedef ssize_t FwdLockConv_ReadFunc_t(int fileDesc, void *pBuffer, size_t numBytes); 85 * @param[in] numBytes The number of bytes to write. 90 typedef ssize_t FwdLockConv_WriteFunc_t(int fileDesc, const void *pBuffer, size_t numBytes); 178 * @param[in] numBytes The number of bytes to convert. 194 size_t numBytes,
|