Searched defs:size (Results 51 - 75 of 1014) sorted by relevance

1234567891011>>

/frameworks/av/include/media/stagefright/
H A DDataUriSource.h37 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
39 virtual status_t getSize(off64_t *size) { argument
44 *size = mData.size();
/frameworks/av/media/libaudioclient/
H A DAudioPolicy.cpp73 size_t size = (size_t)parcel->readInt32(); local
74 if (size > MAX_CRITERIA_PER_MIX) {
75 size = MAX_CRITERIA_PER_MIX;
77 for (size_t i = 0; i < size; i++) {
96 size_t size = mCriteria.size(); local
97 if (size > MAX_CRITERIA_PER_MIX) {
98 size = MAX_CRITERIA_PER_MIX;
101 parcel->writeInt32(size);
102 size_t finalSize = size;
[all...]
/frameworks/av/media/libeffects/lvm/lib/Common/src/
H A DDelayAllPass_Sat_32x16To32.c31 LVM_UINT16 size, /* Delay size */
86 if (DelayOffset >= size)
91 if (AllPassOffset >= size)
30 DelayAllPass_Sat_32x16To32( LVM_INT32 *delay, LVM_UINT16 size, LVM_INT16 coeff, LVM_UINT16 DelayOffset, LVM_UINT16 *pAllPassOffset, LVM_INT32 *dst, LVM_INT16 n) argument
/frameworks/av/media/libmedia/
H A DMidiIoWrapper.cpp27 static int readAt(void *handle, void *buffer, int pos, int size) { argument
28 return ((android::MidiIoWrapper*)handle)->readAt(buffer, pos, size);
30 static int size(void *handle) { function
31 return ((android::MidiIoWrapper*)handle)->size();
43 MidiIoWrapper::MidiIoWrapper(int fd, off64_t offset, int64_t size) { argument
47 mLength = size;
69 int MidiIoWrapper::readAt(void *buffer, int offset, int size) {
70 ALOGV("readAt(%p, %d, %d)", buffer, offset, size);
73 return mDataSource->readAt(offset, buffer, size);
80 if (offset + size > mLengt
[all...]
/frameworks/av/media/libstagefright/
H A DBufferImpl.cpp33 : MediaCodecBuffer(format, new ABuffer(mem->pointer(), mem->size())),
42 SecureBuffer::SecureBuffer(const sp<AMessage> &format, const void *ptr, size_t size) argument
43 : MediaCodecBuffer(format, new ABuffer(nullptr, size)),
48 const sp<AMessage> &format, const sp<NativeHandle> &handle, size_t size)
49 : MediaCodecBuffer(format, new ABuffer(nullptr, size)),
47 SecureBuffer( const sp<AMessage> &format, const sp<NativeHandle> &handle, size_t size) argument
H A DDataURISource.cpp45 for (size_t i = encoded.size(); i > 0;) {
60 size_t dataLen = strlen(uri) - tmp.size() - 6;
88 ssize_t DataURISource::readAt(off64_t offset, void *data, size_t size) { argument
89 if ((offset < 0) || (offset >= (off64_t)mBuffer->size())) {
93 size_t copy = mBuffer->size() - offset;
94 if (copy > size) {
95 copy = size;
103 status_t DataURISource::getSize(off64_t *size) { argument
104 *size = mBuffer->size();
[all...]
H A DThrottledSource.cpp34 ssize_t ThrottledSource::readAt(off64_t offset, void *data, size_t size) { argument
37 ssize_t n = mSource->readAt(offset, data, size);
/frameworks/av/media/libstagefright/codecs/aacenc/inc/
H A Dbitbuffer.h59 Word16 size; /*!< size of bitbuffer in bits */ member in struct:BIT_BUF
61 }; /* size Word16: 8 */
87 #define GetNrBitsRead(hBitBuf) ((hBitBuf)->size-(hBitBuf)->cntBits)
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dmemalign.c40 mem_malloc(VO_MEM_OPERATOR *pMemop, unsigned int size, unsigned char alignment, unsigned int CodecID) argument
49 MemInfo.Size = size + 1;
55 pMemop->Set(CodecID, mem_ptr, 0, size + 1);
64 MemInfo.Size = size + alignment;
71 pMemop->Set(CodecID, tmp, 0, size + alignment);
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dmem_align.c40 mem_malloc(VO_MEM_OPERATOR *pMemop, unsigned int size, unsigned char alignment, unsigned int CodecID) argument
49 MemInfo.Size = size + 1;
55 pMemop->Set(CodecID, mem_ptr, 0, size + 1);
64 MemInfo.Size = size + alignment;
71 pMemop->Set(CodecID, tmp, 0, size + alignment);
/frameworks/av/media/libstagefright/foundation/
H A DABuffer.cpp73 void ABuffer::setRange(size_t offset, size_t size) { argument
75 CHECK_LE(offset + size, mCapacity);
78 mRangeLength = size;
H A Dhexdump.cpp42 void hexdump(const void *_data, size_t size, size_t indent, AString *appendTo) { argument
46 while (offset < size) {
60 if (offset + i >= size) {
71 if (offset + i >= size) {
/frameworks/av/media/libstagefright/foundation/include/
H A DDataUriSource.h37 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
39 virtual status_t getSize(off64_t *size) { argument
44 *size = mData.size();
/frameworks/av/media/libstagefright/include/
H A DDataUriSource.h37 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
39 virtual status_t getSize(off64_t *size) { argument
44 *size = mData.size();
/frameworks/base/core/java/android/app/backup/
H A DBackupDataInputStream.java29 * {@link BackupDataInput}. The entity's key string and total data size are available
30 * through this class's {@link #getKey()} and {@link #size()} methods, respectively.
33 * source, nor read more than {@link #size()} bytes from the stream.</p>
53 * an integer value. If more than {@link #size()} bytes of data
68 * Read up to {@code size} bytes of data into a byte array, beginning at position
74 * @param size The number of bytes to read in this operation. If insufficient
80 public int read(byte[] b, int offset, int size) throws IOException { argument
81 return mData.readEntityData(b, offset, size);
113 public int size() { method in class:BackupDataInputStream
H A DFullBackupDataOutput.java48 public void addSize(long size) { argument
49 if (size > 0) {
50 mSize += size;
/frameworks/base/core/java/android/os/
H A DProxyFileDescriptorCallback.java45 * Returns size of bytes provided by the file descriptor.
55 * It needs to return exact requested size of bytes unless it reaches file end.
59 * @param size Size for read bytes.
64 public int onRead(long offset, int size, byte[] data) throws ErrnoException { argument
73 * @param size Size for write bytes.
78 public int onWrite(long offset, int size, byte[] data) throws ErrnoException { argument
/frameworks/base/core/java/android/util/
H A DFastImmutableArraySet.java51 public int size() { method in class:FastImmutableArraySet
/frameworks/base/core/java/android/widget/
H A DSpace.java72 * If mode is AT_MOST, return the child size instead of the parent size
75 private static int getDefaultSize2(int size, int measureSpec) { argument
76 int result = size;
82 result = size;
85 result = Math.min(size, specSize);
/frameworks/base/core/java/com/android/internal/app/
H A DProcessMap.java46 if (uids.size() == 0) {
58 public int size() { method in class:ProcessMap
59 return mMap.size();
/frameworks/base/core/java/com/android/internal/util/
H A DRingBufferIndices.java65 * Return the current size of the ring buffer.
67 public int size() { method in class:RingBufferIndices
72 * Convert a position in the ring buffer that is [0..size()] to an offset
/frameworks/base/core/java/com/android/internal/widget/
H A DScrollBarUtils.java21 public static int getThumbLength(int size, int thickness, int extent, int range) { argument
24 int length = Math.round((float) size * extent / range);
31 public static int getThumbOffset(int size, int thumbLength, int extent, int range, int offset) { argument
33 int thumbOffset = Math.round((float) (size - thumbLength) * offset / (range - extent));
34 if (thumbOffset > size - thumbLength) {
35 thumbOffset = size - thumbLength;
/frameworks/base/core/jni/android/graphics/
H A DFontUtils.cpp37 jint ListHelper::size() const { function in class:android::ListHelper
56 gListClassInfo.mSize = GetMethodIDOrDie(env, listClass, "size", "()I");
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
H A DBandwidthTestUtil.java76 * @param size in bytes of the file to download
81 public static String buildDownloadUrl(String server, int size, String deviceId, argument
83 String downloadUrl = server + "/download?size=" + size + "&device_id=" + deviceId +
/frameworks/base/libs/androidfw/include/androidfw/
H A DByteBucketArray.h28 * Stores a sparsely populated array. Has a fixed size of 256
45 inline size_t size() const { return kNumBuckets * kBucketSize; } function in class:android::ByteBucketArray
50 if (index >= size()) {
63 CHECK(index < size()) << "ByteBucketArray.getOrCreate(index=" << index
64 << ") with size=" << size();
75 if (index >= size()) {

Completed in 1186 milliseconds

1234567891011>>