HomeSort by relevance Sort by last modified time
    Searched refs:numBytes (Results 1 - 25 of 164) sorted by null

1 2 3 4 5 6 7

  /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);
  /libcore/luni/src/main/java/java/security/
SecureRandomSpi.java 55 * @param numBytes
59 protected abstract byte[] engineGenerateSeed(int numBytes);
  /libcore/crypto/src/main/java/org/conscrypt/
OpenSSLRandom.java 36 protected byte[] engineGenerateSeed(int numBytes) {
37 byte[] output = new byte[numBytes];
  /ndk/tests/device/test-stlport_shared-exception/jni/
delete3_1.cpp 20 void* operator new(size_t numBytes, SomeClass&, const std::nothrow_t&) throw()
22 return operator new(numBytes, std::nothrow);
  /ndk/tests/device/test-stlport_static-exception/jni/
delete3_1.cpp 20 void* operator new(size_t numBytes, SomeClass&, const std::nothrow_t&) throw()
22 return operator new(numBytes, std::nothrow);
  /external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
RandomImpl.java 46 protected byte[] engineGenerateSeed(int numBytes) {
48 byte[] b = new byte[numBytes];
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/
RandomImpl.java 47 protected byte[] engineGenerateSeed(int numBytes) {
49 byte[] b = new byte[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,
  /frameworks/rs/
rsStream.cpp 30 void IStream::loadByteArray(void *dest, size_t numBytes) {
31 memcpy(dest, mData + mPos, numBytes);
32 mPos += numBytes;
65 void OStream::addByteArray(const void *src, size_t numBytes) {
67 while (mPos + numBytes >= mLength) {
70 memcpy(mData + mPos, src, numBytes);
71 mPos += numBytes;
  /packages/apps/Exchange/tests/src/com/android/exchange/utility/
SimpleIcsWriterTests.java 86 int numBytes = 0;
92 assertTrue("input=" + input, numBytes <= 75);
93 numBytes = 0;
96 numBytes++;
98 assertTrue("input=" + input, numBytes <= 75);
  /frameworks/av/media/libstagefright/
VBRISeeker.cpp 106 uint32_t numBytes;
108 case 1: numBytes = buffer[i]; break;
109 case 2: numBytes = U16_AT(buffer + 2 * i); break;
110 case 3: numBytes = U24_AT(buffer + 3 * i); break;
114 numBytes = U32_AT(buffer + 4 * i); break;
118 numBytes *= scale;
120 seeker->mSegments.push(numBytes);
122 ALOGV("entry #%d: %d offset 0x%08lx", i, numBytes, offset);
123 offset += numBytes;
  /external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/
IsValidUtf8TestUtil.java 186 * @param numBytes the number of bytes in the byte array
189 static void testBytes(int numBytes, long expectedCount)
191 testBytes(numBytes, expectedCount, 0, -1);
199 * @param numBytes the number of bytes in the byte array
203 * or -1 to mean the max limit for numBytes
205 static void testBytes(int numBytes, long expectedCount, long start, long lim)
208 byte[] bytes = new byte[numBytes];
211 lim = 1L << (numBytes * 8);
217 for (int i = 0; i < numBytes; i++) {
233 assertEquals(isRoundTrippable, Utf8.isValidUtf8(bytes, 0, numBytes));
    [all...]
  /external/chromium_org/third_party/tlslite/tlslite/utils/
PyCrypto_RSAKey.py 30 byteLength = numBytes(self.n)
42 byteLength = numBytes(self.n)
57 def f(numBytes):
58 return bytesToString(getRandomBytes(numBytes))
  /frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
FwdLockFile.h 43 * @param[in] numBytes The number of bytes to read.
48 ssize_t FwdLockFile_read(int fileDesc, void *pBuffer, size_t numBytes);
  /packages/apps/Exchange/src/com/android/exchange/utility/
SimpleIcsWriter.java 40 int numBytes = 0;
46 if (numBytes > (MAX_LINE_LENGTH - CHAR_MAX_BYTES_IN_UTF8)
51 numBytes = 1; // for TAB
54 numBytes++;
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
IccServiceTable.java 57 int numBytes = mServiceTable.length;
59 .append(numBytes * 8).append("]={ ");
62 for (int i = 0; i < numBytes; i++) {
  /external/chromium_org/third_party/angle_dx11/src/compiler/
PoolAlloc.cpp 206 void* TPoolAllocator::allocate(size_t numBytes)
212 totalBytes += numBytes;
215 // them: [guardblock][allocation][guardblock]. numBytes is how
219 size_t allocationSize = TAllocation::allocationSize(numBytes);
221 if (allocationSize < numBytes)
236 return initializeAllocation(inUseList, memory, numBytes);
283 return initializeAllocation(inUseList, ret, numBytes);
  /dalvik/vm/alloc/
MarkSweep.h 61 size_t *numObjects, size_t *numBytes);
  /external/arduino/libraries/Wire/
Wire.cpp 182 // or after requestFrom(address, numBytes)
190 // or after requestFrom(address, numBytes)
207 void TwoWire::onReceiveService(uint8_t* inBytes, int numBytes)
221 for(uint8_t i = 0; i < numBytes; ++i){
226 rxBufferLength = numBytes;
228 user_onReceive(numBytes);
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
SecureRandomSpiTest.java 54 protected byte[] engineGenerateSeed(int numBytes) {
  /external/chromium_org/third_party/mesa/src/src/mesa/main/
eval.c 556 GLsizei numBytes;
581 numBytes = n * sizeof *v;
582 if (bufSize < numBytes)
591 numBytes = 1 * sizeof *v;
592 if (bufSize < numBytes)
597 numBytes = 2 * sizeof *v;
598 if (bufSize < numBytes)
606 numBytes = 2 * sizeof *v;
607 if (bufSize < numBytes)
613 numBytes = 4 * sizeof *v
    [all...]
  /external/mesa3d/src/mesa/main/
eval.c 556 GLsizei numBytes;
581 numBytes = n * sizeof *v;
582 if (bufSize < numBytes)
591 numBytes = 1 * sizeof *v;
592 if (bufSize < numBytes)
597 numBytes = 2 * sizeof *v;
598 if (bufSize < numBytes)
606 numBytes = 2 * sizeof *v;
607 if (bufSize < numBytes)
613 numBytes = 4 * sizeof *v
    [all...]
  /hardware/invensense/60xx/mlsdk/platform/linux/
mlos_linux.c 54 * @param numBytes number of bytes
57 void *inv_malloc(unsigned int numBytes)
60 void *allocPtr = malloc(numBytes);

Completed in 619 milliseconds

1 2 3 4 5 6 7