/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/chromium_org/third_party/WebKit/Source/wtf/text/ |
TextCodecUTF16.cpp | 77 size_t numBytes = length + m_haveBufferedByte; 78 size_t numChars = numBytes / 2; 109 if (numBytes & 1) {
|
/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++) {
|
/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;
|
/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++;
|
/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);
|
/cts/tests/tests/security/src/android/security/cts/ |
PackageSignatureTest.java | 124 int numBytes = 0; 125 while ((numBytes = input.read(buffer)) != -1) { 126 output.write(buffer, 0, numBytes);
|
/external/lzma/Java/SevenZip/Compression/LZ/ |
InWindow.java | 31 int numBytes = _bufferOffset + _streamPos - offset;
34 for (int i = 0; i < numBytes; i++)
|
/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/base/core/java/android/speech/srec/ |
WaveHeader.java | 31 * <li> numBytes - size of audio data after this header, in bytes. 71 * @param numBytes size of audio data after this header, in bytes. 73 public WaveHeader(short format, short numChannels, int sampleRate, short bitsPerSample, int numBytes) { 78 mNumBytes = numBytes; 167 * @param numBytes size of audio data after this header, in bytes. 170 public WaveHeader setNumBytes(int numBytes) { 171 mNumBytes = numBytes; 184 int numBytes = readInt(in) - 36; 272 "WaveHeader format=%d numChannels=%d sampleRate=%d bitsPerSample=%d numBytes=%d",
|
/frameworks/base/media/tests/omxjpegdecoder/ |
omx_jpeg_decoder.cpp | 53 int numBytes = numChars * sizeof(char); 54 size -= numBytes; 55 data += numBytes; 74 int numBytes = numChars * sizeof(char); 75 size -= numBytes; 76 data += numBytes;
|
/hardware/ti/omap3/omx/ti_omx_config_parser/inc/ |
ti_m4v_config_parser.h | 64 uint32 numBytes;
|
/cts/tests/tests/net/src/android/net/http/cts/ |
ApacheHttpClientTest.java | 128 int numBytes = 0; 134 numBytes += bytesRead; 137 assertEquals(message, SMALL_DOWNLOAD_SIZE, numBytes);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Video_MediaTest.java | 76 int numBytes = 1337; 78 FileUtils.createFile(videoFile, numBytes); 98 values.put(Media.SIZE, numBytes); 134 assertEquals(numBytes, c.getInt(c.getColumnIndex(Media.SIZE)));
|
/dalvik/vm/compiler/codegen/x86/libenc/ |
enc_wrapper.cpp | 154 unsigned numBytes = DecoderBase::decode(stream_start, &decInst); 156 return numBytes; 173 unsigned numBytes = DecoderBase::decode(stream, &decInst); 174 return numBytes; 184 unsigned numBytes = DecoderBase::decode(stream, &decInst); 364 unsigned numBytes = DecoderBase::decode(stream, &decInst); 555 unsigned numBytes = DecoderBase::decode(stream, &decInst); 557 return (stream + numBytes);
|
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/ |
VoicemailProviderHelpers.java | 324 int numBytes; 325 while ((numBytes = in.read(data)) > 0) { 326 out.write(data, 0, numBytes);
|
/external/chromium_org/media/base/android/ |
media_codec_bridge.cc | 364 int numBytes = base::checked_numeric_cast<int>(size); 371 base::android::ToJavaByteArray(env, buffer, 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/chromium_org/third_party/tlslite/tlslite/utils/ |
cryptomath.py | 133 howManyBytes = numBytes(n) 188 length = numBytes(n) + ext 202 def numBytes(n): 225 howManyBytes = numBytes(high)
|
/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...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
DecTestBench.c | 709 static u32 numBytes = 0; 710 numBytes += size; 711 DEBUG(("Allocated %d bytes, total %d\n", size, numBytes));
|
/frameworks/base/core/java/com/android/internal/os/ |
LoggingPrintStream.java | 133 int numBytes = Math.min(encodedBytes.remaining(), end - start); 134 encodedBytes.put(bytes, start, numBytes); 135 start += numBytes;
|
/frameworks/base/core/jni/ |
com_android_internal_content_NativeLibraryHelper.cpp | 130 ssize_t numBytes; 131 while ((numBytes = TEMP_FAILURE_RETRY(read(fd, crcBuffer, sizeof(crcBuffer)))) > 0) { 132 crc = crc32(crc, crcBuffer, numBytes);
|
/system/core/fastboot/ |
usb_osx.c | 472 UInt32 numBytes = len; 493 h->interface, h->bulkIn, data, &numBytes); 496 return (int) numBytes;
|