/frameworks/support/v4/java/android/support/v4/util/ |
H A D | ContainerHelpers.java | 45 static int binarySearch(int[] array, int size, int value) { argument 47 int hi = size - 1; 64 static int binarySearch(long[] array, int size, long value) { argument 66 int hi = size - 1;
|
/frameworks/volley/src/com/android/volley/toolbox/ |
H A D | PoolingByteArrayOutputStream.java | 29 * the default size to which the underlying byte array is initialized. 36 * Constructs a new PoolingByteArrayOutputStream with a default size. If more bytes are written 44 * Constructs a new {@code ByteArrayOutputStream} with a default size of {@code size} bytes. If 45 * more than {@code size} bytes are written to this instance, the underlying byte array will 48 * @param size initial size for the underlying byte array. The value will be pinned to a default 49 * minimum size. 51 public PoolingByteArrayOutputStream(ByteArrayPool pool, int size) { argument 53 buf = mPool.getBuf(Math.max(size, DEFAULT_SIZ [all...] |
/frameworks/wilhelm/src/itf/ |
H A D | IMetadataTraversal.c | 75 SLuint32 size = thiz->mSize; local 77 *pSize = size; 86 SLint32 *pNodeID, SLuint32 *pType, SLuint32 size, SLchar *pMimeType) 85 IMetadataTraversal_GetChildInfo(SLMetadataTraversalItf self, SLuint32 index, SLint32 *pNodeID, SLuint32 *pType, SLuint32 size, SLchar *pMimeType) argument
|
/frameworks/av/drm/libdrmframework/plugins/common/util/include/ |
H A D | SessionMap.h | 78 return map.size(); 92 if (map.size() > index) { 152 int size = map.size(); local 154 for (int i = 0; i < size; i++) {
|
/frameworks/av/media/img_utils/include/img_utils/ |
H A D | EndianUtils.h | 92 // the max size of a TIFF files is bounded 135 size_t size = sizeof(T); local 140 if ((res = mOutput->write(reinterpret_cast<uint8_t*>(&tmp), 0, size)) 144 mOffset += size; 151 if ((res = mOutput->write(reinterpret_cast<uint8_t*>(&tmp), 0, size)) 155 mOffset += size;
|
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/ |
H A D | LVREV_Process.c | 42 /* LVREV_INVALIDNUMSAMPLES NumSamples was larger than the maximum block size */ 171 /* LVREV_INVALIDNUMSAMPLES NumSamples was larger than the maximum block size */ 181 LVM_INT16 j, size; local 199 * The temp buffer will always be NumSamples in size regardless of MONO or * 461 size = (LVM_INT16)(NumSamples << 1); 466 size); 473 size); 478 size);
|
/frameworks/av/media/libmedia/ |
H A D | IEffectClient.cpp | 69 int size = cmdSize; local 71 size = 0; 73 data.writeInt32(size); 74 if (size) { 75 data.write(pCmdData, size); 77 size = replySize; 79 size = 0; 81 data.writeInt32(size); 82 if (size) { 83 data.write(pReplyData, size); [all...] |
/frameworks/av/media/libstagefright/ |
H A D | ClockEstimator.cpp | 49 double WindowedLinearFitEstimator::LinearFit::size() const { function in class:android::WindowedLinearFitEstimator::LinearFit
|
H A D | ESDS.cpp | 27 ESDS::ESDS(const void *data, size_t size) argument 28 : mData(new uint8_t[size]), 29 mSize(size), 34 memcpy(mData, data, size); 58 status_t ESDS::getCodecSpecificInfo(const void **data, size_t *size) const { 64 *size = mDecoderSpecificLength; 70 size_t offset, size_t size, 72 if (size == 0) { 77 --size; 82 if (size 69 skipDescriptorHeader( size_t offset, size_t size, uint8_t *tag, size_t *data_offset, size_t *data_size) const argument 123 parseESDescriptor(size_t offset, size_t size) argument 191 parseDecoderConfigDescriptor(size_t offset, size_t size) argument [all...] |
H A D | FileSource.cpp | 87 ssize_t FileSource::readAt(off64_t offset, void *data, size_t size) { argument 99 if ((int64_t)size > numAvailable) { 100 size = numAvailable; 106 return readAtDRM(offset, data, size); 114 return ::read(mFd, data, size); 118 status_t FileSource::getSize(off64_t *size) { argument 125 *size = mLength; 158 ssize_t FileSource::readAtDRM(off64_t offset, void *data, size_t size) { argument 165 && (offset + mOffset + size) <= (mDrmBufOffset + mDrmBufSize)) { 167 memcpy(data, (void*)(mDrmBuf+(offset+mOffset-mDrmBufOffset)), size); [all...] |
H A D | MediaBuffer.cpp | 33 MediaBuffer::MediaBuffer(void *data, size_t size) argument 38 mSize(size), 40 mRangeLength(size), 46 MediaBuffer::MediaBuffer(size_t size) argument 50 mData(malloc(size)), 51 mSize(size), 53 mRangeLength(size), 78 mSize(buffer->size()), 122 size_t MediaBuffer::size() const { function in class:android::MediaBuffer
|
H A D | SkipCutBuffer.cpp | 64 size_t copied = read(dst, buffer->size()); 70 int32_t buflen = buffer->size(); 115 ALOGV("reallocated buffer at size %d", newcapacity); 163 size_t SkipCutBuffer::size() { function in class:android::SkipCutBuffer
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | ABitReader.cpp | 23 ABitReader::ABitReader(const uint8_t *data, size_t size) argument 25 mSize(size), 105 NALBitReader::NALBitReader(const uint8_t *data, size_t size) argument 106 : ABitReader(data, size), 111 // check against raw size and reservoir bits first 119 size_t size = mSize; local 122 while (size > 0 && numBitsRemaining > 0) { 136 --size;
|
H A D | base64.cpp | 25 if ((s.size() % 4) != 0) { 29 size_t n = s.size(); 43 size_t outLen = 3 * s.size() / 4 - padding; 103 const void *_data, size_t size, AString *out) { 109 for (i = 0; i < (size / 3) * 3; i += 3) { 119 switch (size % 3) { 102 encodeBase64( const void *_data, size_t size, AString *out) argument
|
/frameworks/av/media/libstagefright/httplive/ |
H A D | LiveDataSource.cpp | 54 return mBufferQueue.size(); 58 off64_t offset, void *data, size_t size) { 71 totalAvailable += buffer->size(); 73 if (totalAvailable >= size) { 78 if (totalAvailable < size) { 82 return readAt_l(offset, data, size); 85 ssize_t LiveDataSource::readAt(off64_t offset, void *data, size_t size) { argument 87 return readAt_l(offset, data, size); 90 ssize_t LiveDataSource::readAt_l(off64_t offset, void *data, size_t size) { argument 98 while (sizeDone < size) { 57 readAtNonBlocking( off64_t offset, void *data, size_t size) argument [all...] |
/frameworks/av/media/libstagefright/id3/ |
H A D | testid3.cpp | 32 static void hexdump(const void *_data, size_t size) { argument 35 while (offset < size) { 38 size_t n = size - offset; 48 if (offset + i < size) { 104 printf("found album art: size=%zu mime='%s'\n", dataSize,
|
/frameworks/av/media/libstagefright/include/ |
H A D | ThrottledSource.h | 32 virtual ssize_t readAt(off64_t offset, void *data, size_t size); 45 virtual status_t getSize(off64_t *size) { argument 46 return mSource->getSize(size);
|
/frameworks/av/media/libstagefright/omx/ |
H A D | OMXMaster.cpp | 95 "components", err, mPluginByComponentName.size()); 167 size_t size, 171 size_t numComponents = mPluginByComponentName.size(); 179 CHECK(size >= 1 + name8.size()); 165 enumerateComponents( OMX_STRING name, size_t size, OMX_U32 index) argument
|
/frameworks/av/media/libstagefright/timedtext/ |
H A D | TextDescriptions.cpp | 27 const uint8_t *data, ssize_t size, 33 return extract3GPPGlobalDescriptions(data, size, parcel, 0); 35 return extract3GPPLocalDescriptions(data, size, timeMs, parcel, 0); 39 return extractSRTLocalDescriptions(data, size, timeMs, parcel); 50 const uint8_t *data, ssize_t size, int timeMs, Parcel *parcel) { 56 // write the size of the text sample 57 parcel->writeInt32(size); 59 parcel->writeInt32(size); 60 parcel->write(data, size); 71 const uint8_t *data, ssize_t size, 26 getParcelOfDescriptions( const uint8_t *data, ssize_t size, uint32_t flags, int timeMs, Parcel *parcel) argument 49 extractSRTLocalDescriptions( const uint8_t *data, ssize_t size, int timeMs, Parcel *parcel) argument 70 extract3GPPLocalDescriptions( const uint8_t *data, ssize_t size, int timeMs, Parcel *parcel, int depth) argument 287 extract3GPPGlobalDescriptions( const uint8_t *data, ssize_t size, Parcel *parcel, int depth) argument [all...] |
H A D | TimedText3GPPSource.cpp | 68 size_t size = 0; local 76 size = textBuffer->size(); 78 if (size > 0) { 82 (const uint8_t *)data, size, flag, timeUs / 1000, parcel); 92 size_t size = 0; local 103 kKeyTextFormatData, &type, &data, &size)) { 107 if (size > 0) { 110 (const uint8_t *)data, size, flag, 0, parcel);
|
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupDataInput.java | 134 * Report the size in bytes of the data associated with the current entity in the 137 * @return The size of the record's raw data, in bytes 155 * @param data An allocated byte array of at least 'size' bytes 158 * @param size The number of bytes to read in this pass 163 public int readEntityData(byte[] data, int offset, int size) throws IOException { argument 165 int result = readEntityData_native(mBackupReader, data, offset, size); 196 private native int readEntityData_native(long mBackupReader, byte[] data, int offset, int size); argument
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
H A D | ParamsUtils.java | 40 * @param size a non-{@code null} size 44 * @throws NullPointerException if {@code size} was {@code null} 46 public static Rect createRect(Size size) { argument 47 checkNotNull(size, "size must not be null"); 49 return new Rect(/*left*/0, /*top*/0, size.getWidth(), size.getHeight()); 58 * @param size a non-{@code null} rect 96 * Create a {@link Size} from a {@code Rect} by creating a new size whos [all...] |
/frameworks/base/core/java/android/net/http/ |
H A D | HttpResponseCache.java | 65 * This cache will evict entries as necessary to keep its size from exceeding 66 * 10 MiB. The best cache size is application specific and depends on the size 177 * @param maxSize the maximum size of the cache in bytes. 219 public long size() { method in class:HttpResponseCache
|
/frameworks/base/core/java/android/os/ |
H A D | RegistrantList.java | 52 for (int i = registrants.size() - 1; i >= 0 ; i--) { 62 size() method in class:RegistrantList 64 return registrants.size(); 76 for (int i = 0, s = registrants.size(); i < s ; i++) { 110 for (int i = 0, s = registrants.size() ; i < s ; i++) {
|
/frameworks/base/core/java/android/text/ |
H A D | PackedObjectVector.java | 92 if (mRowGapLength > size() * 2) 100 size() method in class:PackedObjectVector 115 GrowingArrayUtils.growSize(size()) * mColumns);
|