/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
D | pvmp3_get_main_data_size.cpp | 121 int32 numBytes = fxp_mul32_Q28(mp3_bitrate[info->version_x][info->bitrate_index] << 20, in pvmp3_get_main_data_size() local 125 numBytes >>= (20 - info->version_x); in pvmp3_get_main_data_size() 132 pVars->predicted_frame_size = numBytes; in pvmp3_get_main_data_size() 135 numBytes -= 17; in pvmp3_get_main_data_size() 139 numBytes -= 32; in pvmp3_get_main_data_size() 144 numBytes >>= 1; in pvmp3_get_main_data_size() 145 pVars->predicted_frame_size = numBytes; in pvmp3_get_main_data_size() 149 numBytes -= 9; in pvmp3_get_main_data_size() 153 numBytes -= 17; in pvmp3_get_main_data_size() 159 numBytes++; in pvmp3_get_main_data_size() [all …]
|
D | pvmp3_seek_synch.cpp | 179 int32 numBytes = fxp_mul32_Q28(mp3_bitrate[version][(temp<<16)>>28] << 20, in pvmp3_frame_synch() local 182 numBytes >>= (20 - version); in pvmp3_frame_synch() 186 numBytes >>= 1; in pvmp3_frame_synch() 190 numBytes++; in pvmp3_frame_synch() 193 if (numBytes > (int32)pVars->inputStream.inputBufferCurrentLength) in pvmp3_frame_synch() 196 pExt->CurrentFrameLength = numBytes + 3; in pvmp3_frame_synch() 199 else if (numBytes == (int32)pVars->inputStream.inputBufferCurrentLength) in pvmp3_frame_synch() 208 int32 offset = pVars->inputStream.usedBits + ((numBytes) << 3); in pvmp3_frame_synch()
|
/frameworks/av/media/libstagefright/ |
D | VBRISeeker.cpp | 123 uint32_t numBytes; in CreateFromSource() local 125 case 1: numBytes = buffer[i]; break; in CreateFromSource() 126 case 2: numBytes = U16_AT(buffer + 2 * i); break; in CreateFromSource() 127 case 3: numBytes = U24_AT(buffer + 3 * i); break; in CreateFromSource() 131 numBytes = U32_AT(buffer + 4 * i); break; in CreateFromSource() 135 numBytes *= scale; in CreateFromSource() 137 seeker->mSegments.push(numBytes); in CreateFromSource() 139 ALOGV("entry #%zu: %u offset %#016llx", i, numBytes, (long long)offset); in CreateFromSource() 140 offset += numBytes; in CreateFromSource()
|
D | HTTPBase.cpp | 45 size_t numBytes, int64_t delayUs) { in addBandwidthMeasurement() argument 50 entry.mNumBytes = numBytes; in addBandwidthMeasurement() 52 mTotalTransferBytes += numBytes; in addBandwidthMeasurement()
|
/frameworks/rs/ |
D | rsStream.cpp | 30 void IStream::loadByteArray(void *dest, size_t numBytes) { in loadByteArray() argument 31 memcpy(dest, mData + mPos, numBytes); in loadByteArray() 32 mPos += numBytes; in loadByteArray() 65 void OStream::addByteArray(const void *src, size_t numBytes) { in addByteArray() argument 67 while (mPos + numBytes >= mLength) { in addByteArray() 70 memcpy(mData + mPos, src, numBytes); in addByteArray() 71 mPos += numBytes; in addByteArray()
|
D | rsStream.h | 60 void loadByteArray(void *dest, size_t numBytes); 133 void addByteArray(const void *src, size_t numBytes);
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
D | FwdLockConv.h | 40 size_t numBytes; member 78 typedef ssize_t FwdLockConv_ReadFunc_t(int fileDesc, void *pBuffer, size_t numBytes); 90 typedef ssize_t FwdLockConv_WriteFunc_t(int fileDesc, const void *pBuffer, size_t numBytes); 194 size_t numBytes,
|
D | FwdLockConv.c | 579 pOutput->fromConvertData.numBytes = pSession->dataOffset; in FwdLockConv_WriteHeader() 836 if (pOutput->fromConvertData.numBytes == pSession->outputBufferSize) { in FwdLockConv_WriteEncryptedChar() 853 ((unsigned char *)pOutput->fromConvertData.pBuffer)[pOutput->fromConvertData.numBytes++] = ch; in FwdLockConv_WriteEncryptedChar() 1170 size_t numBytes, in FwdLockConv_ConvertData() argument 1180 pOutput->fromConvertData.numBytes = 0; in FwdLockConv_ConvertData() 1183 for (i = 0; i < numBytes; ++i) { in FwdLockConv_ConvertData() 1280 output.fromConvertData.numBytes > 0) { in FwdLockConv_ConvertOpenFile() 1283 output.fromConvertData.numBytes); in FwdLockConv_ConvertOpenFile() 1284 if (numBytesWritten != (ssize_t)output.fromConvertData.numBytes) { in FwdLockConv_ConvertOpenFile()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | IccServiceTable.java | 57 int numBytes = mServiceTable.length; in toString() local 59 .append(numBytes * 8).append("]={ "); in toString() 62 for (int i = 0; i < numBytes; i++) { in toString()
|
D | RuimRecords.java | 299 int numBytes; in onRecordLoaded() local 300 for (numBytes = 0; numBytes < spnData.length; numBytes++) { in onRecordLoaded() 301 if ((spnData[numBytes] & 0xFF) == 0xFF) break; in onRecordLoaded() 304 if (numBytes == 0) { in onRecordLoaded() 312 setServiceProviderName(new String(spnData, 0, numBytes, "ISO-8859-1")); in onRecordLoaded() 317 GsmAlphabet.gsm7BitPackedToString(spnData, 0, (numBytes*8)/7)); in onRecordLoaded() 320 String spn = new String(spnData, 0, numBytes, "US-ASCII"); in onRecordLoaded() 332 GsmAlphabet.gsm7BitPackedToString(spnData, 0, (numBytes * 8) / 7)); in onRecordLoaded() 336 setServiceProviderName(new String(spnData, 0, numBytes, "utf-16")); in onRecordLoaded()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | NativeCrashListener.java | 180 static int readExactly(FileDescriptor fd, byte[] buffer, int offset, int numBytes) in readExactly() argument 183 while (numBytes > 0) { in readExactly() 184 int n = Os.read(fd, buffer, offset + totalRead, numBytes); in readExactly() 187 Slog.w(TAG, "Needed " + numBytes + " but saw " + n); in readExactly() 191 numBytes -= n; in readExactly()
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
D | FwdLockEngine.cpp | 422 if (convSession->output.fromConvertData.numBytes > 0) { 423 convResult->data = new char[convSession->output.fromConvertData.numBytes]; 426 convResult->length = convSession->output.fromConvertData.numBytes; 630 int numBytes) { argument 636 numBytes > -1) { 639 size = FwdLockFile_read(session->fileDesc, buffer, numBytes); 676 ssize_t numBytes, argument 682 ssize_t numBytes, 692 (numBytes > -1) && 699 bytesRead = onRead(uniqueId, decryptHandle, buffer, numBytes);
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/ |
D | FwdLockGlue.c | 126 int FwdLockGlue_GetRandomNumber(void *pBuffer, size_t numBytes) { in FwdLockGlue_GetRandomNumber() argument 132 numBytesRead = read(fileDesc, pBuffer, numBytes); in FwdLockGlue_GetRandomNumber() 135 return numBytesRead >= 0 && (size_t)numBytesRead == numBytes; in FwdLockGlue_GetRandomNumber()
|
D | FwdLockGlue.h | 32 int FwdLockGlue_GetRandomNumber(void *pBuffer, size_t numBytes);
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/ |
D | FwdLockEngine.h | 450 int numBytes); 491 ssize_t numBytes, 497 ssize_t numBytes,
|
/frameworks/av/services/audioflinger/ |
D | SpdifStreamOut.cpp | 122 ssize_t SpdifStreamOut::write(const void* buffer, size_t numBytes) in write() argument 125 return mSpdifEncoder.write(buffer, numBytes); in write()
|
D | AudioStreamOut.cpp | 202 ssize_t AudioStreamOut::write(const void *buffer, size_t numBytes) in write() argument 205 ssize_t bytesWritten = stream->write(stream, buffer, numBytes); in write()
|
/frameworks/base/core/java/android/app/backup/ |
D | BackupTransport.java | 463 public int sendBackupData(int numBytes) { in sendBackupData() argument 677 public int sendBackupData(int numBytes) throws RemoteException { in sendBackupData() argument 678 return BackupTransport.this.sendBackupData(numBytes); in sendBackupData()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videoproc/ |
D | BackDropperFilter.java | 614 int numBytes = mMaskFormat.getSize(); in allocateFrames() local 615 byte[] initialBgMean = new byte[numBytes]; in allocateFrames() 616 byte[] initialBgVariance = new byte[numBytes]; in allocateFrames() 617 byte[] initialMaskVerify = new byte[numBytes]; in allocateFrames() 618 for (int i = 0; i < numBytes; i++) { in allocateFrames() 627 mBgMean[i].setData(initialBgMean, 0, numBytes); in allocateFrames() 630 mBgVariance[i].setData(initialBgVariance, 0, numBytes); in allocateFrames() 633 mMaskVerify[i].setData(initialMaskVerify, 0, numBytes); in allocateFrames()
|
/frameworks/base/core/java/com/android/internal/backup/ |
D | LocalTransport.java | 362 public int sendBackupData(final int numBytes) { in sendBackupData() argument 368 mFullBackupSize += numBytes; in sendBackupData() 373 if (numBytes > mFullBackupBuffer.length) { in sendBackupData() 374 mFullBackupBuffer = new byte[numBytes]; in sendBackupData() 388 int bytesLeft = numBytes; in sendBackupData() 405 Log.v(TAG, " stored " + numBytes + " of data"); in sendBackupData()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | LoggingPrintStream.java | 133 int numBytes = Math.min(encodedBytes.remaining(), end - start); in write() local 134 encodedBytes.put(bytes, start, numBytes); in write() 135 start += numBytes; in write()
|
/frameworks/av/media/libstagefright/rtsp/ |
D | AMPEG4AudioAssembler.cpp | 237 size_t numBytes = (totalNumBits + 7) / 8; in parseAudioSpecificConfig() local 239 *asc = new ABuffer(numBytes); in parseAudioSpecificConfig() 246 while (numBytes > 0) { in parseAudioSpecificConfig() 248 --numBytes; in parseAudioSpecificConfig()
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/ |
D | FwdLockFile.h | 48 ssize_t FwdLockFile_read(int fileDesc, void *pBuffer, size_t numBytes);
|
/frameworks/av/drm/common/ |
D | DrmEngineBase.cpp | 168 int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) { in pread() argument 169 return onPread(uniqueId, decryptHandle, buffer, numBytes, offset); in pread()
|
/frameworks/av/drm/libdrmframework/ |
D | DrmManagerClient.cpp | 162 sp<DecryptHandle> &decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) { in pread() argument 163 return mDrmManagerClientImpl->pread(mUniqueId, decryptHandle, buffer, numBytes, offset); in pread()
|