/frameworks/base/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_get_main_data_size.cpp | 121 int32 numBytes = fxp_mul32_Q28(mp3_bitrate[info->version_x][info->bitrate_index] << 20, local 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...] |
H A D | pvmp3_seek_synch.cpp | 179 int32 numBytes = fxp_mul32_Q28(mp3_bitrate[version][(temp<<16)>>28] << 20, local 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);
|
/frameworks/base/drm/libdrmframework/plugins/forward-lock/internal-format/common/ |
H A D | FwdLockGlue.h | 28 * @param[in] numBytes The number of random bytes to generate. 32 int FwdLockGlue_GetRandomNumber(void *pBuffer, size_t numBytes);
|
H A D | FwdLockGlue.c | 126 int FwdLockGlue_GetRandomNumber(void *pBuffer, size_t numBytes) { argument 132 numBytesRead = read(fileDesc, pBuffer, numBytes); 135 return numBytesRead >= 0 && (size_t)numBytesRead == numBytes;
|
/frameworks/base/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
H A D | FwdLockConv.h | 40 size_t numBytes; member in struct:FwdLockConv_ConvertData_Output 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,
|
H A D | FwdLockConv.c | 576 pOutput->fromConvertData.numBytes = pSession->dataOffset; 833 if (pOutput->fromConvertData.numBytes == pSession->outputBufferSize) { 850 ((unsigned char *)pOutput->fromConvertData.pBuffer)[pOutput->fromConvertData.numBytes++] = ch; 1167 size_t numBytes, 1177 pOutput->fromConvertData.numBytes = 0; 1180 for (i = 0; i < numBytes; ++i) { 1277 output.fromConvertData.numBytes > 0) { 1280 output.fromConvertData.numBytes); 1281 if (numBytesWritten != (ssize_t)output.fromConvertData.numBytes) { 1165 FwdLockConv_ConvertData(int sessionId, const void *pBuffer, size_t numBytes, FwdLockConv_Output_t *pOutput) argument
|
/frameworks/base/libs/rs/ |
H A D | rsStream.cpp | 30 void IStream::loadByteArray(void *dest, size_t numBytes) { argument 31 memcpy(dest, mData + mPos, numBytes); 32 mPos += numBytes; 64 void OStream::addByteArray(const void *src, size_t numBytes) { argument 66 while (mPos + numBytes >= mLength) { 69 memcpy(mData + mPos, src, numBytes); 70 mPos += numBytes;
|
H A D | rsStream.h | 60 void loadByteArray(void *dest, size_t numBytes); 133 void addByteArray(const void *src, size_t numBytes);
|
/frameworks/base/media/libstagefright/ |
H A D | VBRISeeker.cpp | 100 uint32_t numBytes; local 102 case 1: numBytes = buffer[i]; break; 103 case 2: numBytes = U16_AT(buffer + 2 * i); break; 104 case 3: numBytes = U24_AT(buffer + 3 * i); break; 108 numBytes = U32_AT(buffer + 4 * i); break; 112 numBytes *= scale; 114 seeker->mSegments.push(numBytes); 116 LOGV("entry #%d: %d offset 0x%08lx", i, numBytes, offset); 117 offset += numBytes;
|
H A D | HTTPBase.cpp | 59 size_t numBytes, int64_t delayUs) { 64 entry.mNumBytes = numBytes; 66 mTotalTransferBytes += numBytes; 58 addBandwidthMeasurement( size_t numBytes, int64_t delayUs) argument
|
/frameworks/base/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/ |
H A D | FwdLockFile.h | 53 * @param[in] numBytes The number of bytes to read. 58 ssize_t FwdLockFile_read(int fileDesc, void *pBuffer, size_t numBytes);
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | IccServiceTable.java | 56 int numBytes = mServiceTable.length; 58 .append(numBytes * 8).append("]={ "); 61 for (int i = 0; i < numBytes; i++) {
|
/frameworks/base/core/java/android/speech/srec/ |
H A D | 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) { argument 78 mNumBytes = numBytes; 167 * @param numBytes size of audio data after this header, in bytes. 170 public WaveHeader setNumBytes(int numBytes) { argument 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/ |
H A D | omx_jpeg_decoder.cpp | 53 int numBytes = numChars * sizeof(char); local 54 size -= numBytes; 55 data += numBytes; 74 int numBytes = numChars * sizeof(char); local 75 size -= numBytes; 76 data += numBytes;
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
H A D | CdmaLteUiccRecords.java | 118 int numBytes; 119 for (numBytes = 0; numBytes < spnData.length; numBytes++) { 120 if ((spnData[numBytes] & 0xFF) == 0xFF) break; 123 if (numBytes == 0) { 131 spn = new String(spnData, 0, numBytes, "ISO-8859-1"); 136 spn = GsmAlphabet.gsm7BitPackedToString(spnData, 0, (numBytes*8)/7); 139 spn = new String(spnData, 0, numBytes, "utf-16");
|
/frameworks/base/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/ |
H A D | FwdLockEngine.h | 441 * @param numBytes Number of bytes to read. 449 int numBytes); 481 * @param numBytes Number of bytes to read. 490 ssize_t numBytes, 496 ssize_t numBytes,
|
/frameworks/base/media/libstagefright/include/ |
H A D | HTTPBase.h | 60 void addBandwidthMeasurement(size_t numBytes, int64_t delayUs);
|
/frameworks/base/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
H A D | FwdLockEngine.cpp | 379 if (convSession->output.fromConvertData.numBytes > 0) { 380 convResult->data = new char[convSession->output.fromConvertData.numBytes]; 383 convResult->length = convSession->output.fromConvertData.numBytes; 582 int numBytes) { 588 numBytes > -1) { 591 size = FwdLockFile_read(session->fileDesc, buffer, numBytes); 628 ssize_t numBytes, 634 ssize_t numBytes, 644 (numBytes > -1) && 651 bytesRead = onRead(uniqueId, decryptHandle, buffer, numBytes); 579 onRead(int uniqueId, DecryptHandle* decryptHandle, void* buffer, int numBytes) argument 625 onPread(int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument [all...] |
/frameworks/base/drm/common/ |
H A D | DrmEngineBase.cpp | 153 int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) { 154 return onPread(uniqueId, decryptHandle, buffer, numBytes, offset); 152 pread( int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | LoggingPrintStream.java | 133 int numBytes = Math.min(encodedBytes.remaining(), end - start); 134 encodedBytes.put(bytes, start, numBytes); 135 start += numBytes;
|
/frameworks/base/core/jni/ |
H A D | com_android_internal_content_NativeLibraryHelper.cpp | 130 ssize_t numBytes; local 131 while ((numBytes = TEMP_FAILURE_RETRY(read(fd, crcBuffer, sizeof(crcBuffer)))) > 0) { 132 crc = crc32(crc, crcBuffer, numBytes);
|
/frameworks/base/drm/libdrmframework/include/ |
H A D | DrmManagerService.h | 116 void* buffer, ssize_t numBytes, off64_t offset);
|
/frameworks/base/drm/libdrmframework/plugins/passthru/include/ |
H A D | DrmPassthruPlugIn.h | 93 void* buffer, ssize_t numBytes, off64_t offset);
|
/frameworks/base/include/drm/ |
H A D | DrmManagerClient.h | 167 * @param[in] numBytes Number of bytes to read. 173 void* buffer, ssize_t numBytes, off64_t offset);
|
/frameworks/base/media/libstagefright/rtsp/ |
H A D | AMPEG4AudioAssembler.cpp | 237 size_t numBytes = (totalNumBits + 7) / 8; local 239 *asc = new ABuffer(numBytes); 246 while (numBytes > 0) { 248 --numBytes;
|