Searched defs:size (Results 1 - 25 of 850) sorted by relevance

1234567891011>>

/frameworks/av/include/media/stagefright/foundation/
H A DABase.h29 /* Returns true if the size parameter is safe for new array allocation (32-bit)
51 bool isSafeArraySize(S size) { argument
52 return size >= 0 // in case S is signed, ignored if not.
53 && size <= 0xffffffff / sizeof(T); // max-unsigned-32-bit-int / element-size.
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm/
H A Dh264bsdClearMbLayer.s26 size RN 1 label
53 SUBS size, size, #64
57 SUBS size, size, #64
/frameworks/base/core/java/android/database/
H A DCharArrayBuffer.java23 public CharArrayBuffer(int size) { argument
24 data = new char[size];
H A DCursorIndexOutOfBoundsException.java24 public CursorIndexOutOfBoundsException(int index, int size) { argument
25 super("Index " + index + " requested, with a size of " + size);
/frameworks/base/core/java/android/hardware/
H A DTriggerEvent.java59 TriggerEvent(int size) { argument
60 values = new float[size];
/frameworks/base/core/java/android/util/
H A DContainerHelpers.java22 static int binarySearch(int[] array, int size, int value) { argument
24 int hi = size - 1;
41 static int binarySearch(long[] array, int size, long value) { argument
43 int hi = size - 1;
/frameworks/base/libs/hwui/protos/
H A DProtoHelpers.h33 size_t size = src.writeToMemory(nullptr); local
34 dest->resize(size);
/frameworks/base/tools/aapt2/util/
H A DBigBuffer.cpp25 void* BigBuffer::nextBlockImpl(size_t size) { argument
28 if (block.mBlockSize - block.size >= size) {
29 void* outBuffer = block.buffer.get() + block.size;
30 block.size += size;
31 mSize += size;
36 const size_t actualSize = std::max(mBlockSize, size);
44 block.size = size;
[all...]
/frameworks/compile/mclinker/include/mcld/Fragment/
H A DNullFragment.h26 /// size -
27 size_t size() const { return 0x0; } function in class:mcld::NullFragment
/frameworks/compile/mclinker/lib/Target/
H A DELFAttributeValue.cpp19 size_t size = 0; local
22 size += leb128::size<uint32_t>(m_IntValue);
25 size += m_StringValue.length() + 1 /* for NULL-terminator */;
27 if (size <= 0)
31 return size;
/frameworks/av/include/media/
H A DStringArray.h59 inline int size(void) const { return mCurrent; } function in class:android::StringArray
/frameworks/av/media/libeffects/lvm/lib/Common/src/
H A DDelayMix_16x16.c30 LVM_INT16 size, /* Delay size */
61 if (Offset >= size)
28 DelayMix_16x16(const LVM_INT16 *src, LVM_INT16 *delay, LVM_INT16 size, LVM_INT16 *dst, LVM_INT16 *pOffset, LVM_INT16 n) argument
H A DDelayWrite_32.c30 LVM_UINT16 size, /* Delay size */
44 if (Offset >= size)
28 DelayWrite_32(const LVM_INT32 *src, LVM_INT32 *delay, LVM_UINT16 size, LVM_UINT16 *pOffset, LVM_INT16 n) argument
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm_gcc/
H A Dh264bsdClearMbLayer.S26 #define size r1 define
53 SUBS size, size, #64
57 SUBS size, size, #64
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DSizeAreaComparator.java38 public int compare(Camera.Size size, Camera.Size size2) { argument
39 checkNotNull(size, "size must not be null");
42 if (size.equals(size2)) {
46 long width = size.width;
48 long area = width * size.height;
59 * Get the largest api1 {@code Camera.Size} from the list by comparing each size's area
63 * @return a non-{@code null} size
/frameworks/base/core/java/android/hardware/camera2/utils/
H A DSizeAreaComparator.java37 public int compare(Size size, Size size2) { argument
38 checkNotNull(size, "size must not be null");
41 if (size.equals(size2)) {
45 long width = size.getWidth();
47 long area = width * size.getHeight();
58 * Get the largest {@code Size} from the list by comparing each size's area
62 * @return a non-{@code null} size
/frameworks/base/media/java/android/media/
H A DMediaDataSource.java37 * Implementations should should write up to {@code size} bytes into
40 * Return {@code 0} if size is zero (thus no bytes are read).
47 * @param size the number of bytes to read.
51 public abstract int readAt(long position, byte[] buffer, int offset, int size) argument
55 * Called to get the size of the data source.
58 * @return the size of data source in bytes, or -1 if the size is unknown.
/frameworks/base/services/core/java/com/android/server/pm/
H A DPersistentPreferredIntentResolver.java24 protected PersistentPreferredActivity[] newArray(int size) { argument
25 return new PersistentPreferredActivity[size];
/frameworks/compile/mclinker/include/mcld/Support/
H A DLEB128.h36 size_t size(IntType pValue) { function in namespace:mcld::leb128
37 size_t size = 1; local
40 ++size;
42 return size;
/frameworks/compile/mclinker/lib/Fragment/
H A DAlignFragment.cpp32 size_t AlignFragment::size() const { function in class:mcld::AlignFragment
34 "AlignFragment::size() should not be called before layout.");
35 uint64_t size = llvm::OffsetToAlignment(getOffset(), m_Alignment); local
36 if (size > m_MaxBytesToEmit)
39 return size;
H A DRegionFragment.cpp23 size_t RegionFragment::size() const { function in class:mcld::RegionFragment
24 return m_Region.size();
/frameworks/compile/mclinker/unittests/
H A DDirIteratorTest.cpp50 size_t size = 0; local
53 size = entry.path()->native().size();
54 ASSERT_TRUE(size != 0);
/frameworks/minikin/tests/
H A DGraphemeBreakTests.cpp27 size_t size; local
28 ParseUnicode(buf, BUF_SIZE, src, &size, &offset);
29 return GraphemeBreak::isGraphemeBreak(buf, 0, size, offset);
H A DLayoutUtilsTest.cpp28 size_t size = 0U; local
30 ParseUnicode(buf, BUF_SIZE, query_str, &size, &expected_breakpoint);
32 getNextWordBreakForCache(buf, offset_in, size))
40 size_t size = 0U; local
42 ParseUnicode(buf, BUF_SIZE, query_str, &size, &expected_breakpoint);
44 getPrevWordBreakForCache(buf, offset_in, size))
/frameworks/native/libs/binder/
H A DMemoryBase.cpp29 ssize_t offset, size_t size)
30 : mSize(size), mOffset(offset), mHeap(heap)
34 sp<IMemoryHeap> MemoryBase::getMemory(ssize_t* offset, size_t* size) const
37 if (size) *size = mSize;
28 MemoryBase(const sp<IMemoryHeap>& heap, ssize_t offset, size_t size) argument

Completed in 788 milliseconds

1234567891011>>