/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;
|
HTTPBase.cpp | 59 size_t numBytes, int64_t delayUs) { 64 entry.mNumBytes = numBytes; 66 mTotalTransferBytes += numBytes;
|
/external/llvm/lib/Target/MSP430/ |
MSP430FrameLowering.cpp | 54 uint64_t NumBytes = 0; 58 NumBytes = FrameSize - MSP430FI->getCalleeSavedFrameSize(); 63 MFI->setOffsetAdjustment(-NumBytes); 79 NumBytes = StackSize - MSP430FI->getCalleeSavedFrameSize(); 88 if (NumBytes) { // adjust stack pointer: SPW -= numbytes 91 //NumBytes -= mergeSPUpdates(MBB, MBBI, true); 94 // mergeSPUpdatesDown(MBB, MBBI, &NumBytes); 96 if (NumBytes) { 99 .addReg(MSP430::SPW).addImm(NumBytes); [all...] |
/external/webkit/Source/WebKit2/Shared/ |
ShareableBitmap.cpp | 62 size_t numBytes = numBytesForSize(size); 65 if (!tryFastMalloc(numBytes).getValue(data)) 73 size_t numBytes = numBytesForSize(size); 75 RefPtr<SharedMemory> sharedMemory = SharedMemory::create(numBytes); 86 size_t numBytes = numBytesForSize(size); 87 ASSERT_UNUSED(numBytes, sharedMemory->size() >= numBytes);
|
/frameworks/rs/ |
rsStream.cpp | 30 void IStream::loadByteArray(void *dest, size_t numBytes) { 31 memcpy(dest, mData + mPos, numBytes); 32 mPos += numBytes; 64 void OStream::addByteArray(const void *src, size_t numBytes) { 66 while (mPos + numBytes >= mLength) { 69 memcpy(mData + mPos, src, numBytes); 70 mPos += numBytes;
|
/external/llvm/lib/Target/Sparc/ |
SparcFrameLowering.cpp | 38 int NumBytes = (int) MFI->getStackSize(); 47 NumBytes += 92; 51 NumBytes = (NumBytes + 7) & ~7; 52 NumBytes = -NumBytes; 54 if (NumBytes >= -4096) { 56 .addReg(SP::O6).addImm(NumBytes); 60 unsigned OffHi = (unsigned)NumBytes >> 10U; 64 .addReg(SP::G1).addImm(NumBytes & ((1 << 10)-1)) [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/ |
RandomBitsSupplier.java | 101 private static synchronized byte[] getUnixDeviceRandom(int numBytes) { 103 byte[] bytes = new byte[numBytes]; 111 bytesRead = fis.read(bytes, offset, numBytes-total); 123 if ( total >= numBytes ) { 142 * numBytes - length of bytes requested 146 * InvalidArgumentException - if numBytes <= 0 148 public static byte[] getRandomBits(int numBytes) { 149 if (numBytes <= 0) { 150 throw new IllegalArgumentException(Integer.toString(numBytes)); 159 return getUnixDeviceRandom(numBytes); [all...] |
/external/llvm/lib/Target/ARM/ |
Thumb1FrameLowering.cpp | 41 int NumBytes, unsigned MIFlags = MachineInstr::NoFlags) { 42 emitThumbRegPlusImmediate(MBB, MBBI, dl, ARM::SP, ARM::SP, NumBytes, TII, 57 unsigned NumBytes = MFI->getStackSize(); 64 NumBytes = (NumBytes + 3) & ~3; 65 MFI->setStackSize(NumBytes); 77 if (NumBytes != 0) 78 emitSPUpdate(MBB, MBBI, TII, dl, *RegInfo, -NumBytes, 124 unsigned DPRCSOffset = NumBytes - (GPRCS1Size + GPRCS2Size + DPRCSSize); 127 AFI->setFramePtrSpillOffset(MFI->getObjectOffset(FramePtrSpillFI) + NumBytes); [all...] |
Thumb2InstrInfo.cpp | 179 unsigned DestReg, unsigned BaseReg, int NumBytes, 182 bool isSub = NumBytes < 0; 183 if (isSub) NumBytes = -NumBytes; 188 NumBytes >= 4096 && 189 ARM_AM::getT2SOImmVal(NumBytes) == -1) { 191 if (NumBytes < 65536) { 194 .addImm(NumBytes) 197 } else if ((NumBytes & 0xffff) == 0) { 201 .addImm(NumBytes >> 16 [all...] |
Thumb1RegisterInfo.cpp | 93 int NumBytes, bool CanChangeCC, 105 if (NumBytes < 0 && !isHigh && CanChangeCC) { 107 NumBytes = -NumBytes; 115 if (NumBytes <= 255 && NumBytes >= 0) 117 .addImm(NumBytes).setMIFlags(MIFlags); 118 else if (NumBytes < 0 && NumBytes >= -255) { 120 .addImm(NumBytes).setMIFlags(MIFlags) [all...] |
/external/clang/test/SemaObjC/ |
objc-string-constant.m | 19 int numBytes;
|
/external/openssl/crypto/rand/ |
rand_egd.c | 95 * RAND_egd() is a wrapper for RAND_egd_bytes() with numbytes=255. 140 int len, num, numbytes; local 191 numbytes = 0; 192 while (numbytes != 2) 194 num = write(fd, egdbuf + numbytes, 2 - numbytes); 196 numbytes += num; 215 numbytes = 0; 216 while (numbytes != 1) 222 numbytes += num [all...] |
/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];
|
/packages/apps/Exchange/exchange2/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);
|
/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/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/telephony/java/com/android/internal/telephony/ |
IccServiceTable.java | 56 int numBytes = mServiceTable.length; 58 .append(numBytes * 8).append("]={ "); 61 for (int i = 0; i < numBytes; i++) {
|
/libcore/luni/src/main/java/java/security/ |
SecureRandomSpi.java | 55 * @param numBytes 59 protected abstract byte[] engineGenerateSeed(int numBytes);
|
/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;
|
/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...] |
/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,
|
/hardware/invensense/mlsdk/platform/linux/ |
mlos_linux.c | 54 * @param numBytes number of bytes 57 void *inv_malloc(unsigned int numBytes) 60 void *allocPtr = malloc(numBytes);
|
/external/clang/lib/Rewrite/ |
RewriteRope.cpp | 116 /// erase - Remove NumBytes from this node at the specified offset. We are 118 void erase(unsigned Offset, unsigned NumBytes); 220 /// erase - Remove NumBytes from this node at the specified offset. We are 222 void erase(unsigned Offset, unsigned NumBytes); 337 /// erase - Remove NumBytes from this node at the specified offset. We are 339 void RopePieceBTreeLeaf::erase(unsigned Offset, unsigned NumBytes) { 350 // Figure out how many pieces completely cover 'NumBytes'. We want to remove 352 for (; Offset+NumBytes > PieceOffs+getPiece(i).size(); ++i) 356 if (Offset+NumBytes == PieceOffs+getPiece(i).size()) 371 NumBytes -= CoverBytes [all...] |
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/ |
PoolAlloc.cpp | 221 void* TPoolAllocator::allocate(size_t numBytes) 224 // them: [guardblock][allocation][guardblock]. numBytes is how 228 size_t allocationSize = TAllocation::allocationSize(numBytes); 234 totalBytes += numBytes; 248 return initializeAllocation(inUseList, memory, numBytes); 291 return initializeAllocation(inUseList, ret, numBytes);
|