/frameworks/av/include/media/stagefright/foundation/ |
H A D | ABase.h | 29 /* 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 D | h264bsdClearMbLayer.s | 26 size RN 1 label 53 SUBS size, size, #64 57 SUBS size, size, #64
|
/frameworks/base/core/java/android/database/ |
H A D | CharArrayBuffer.java | 23 public CharArrayBuffer(int size) { argument 24 data = new char[size];
|
H A D | CursorIndexOutOfBoundsException.java | 24 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 D | TriggerEvent.java | 59 TriggerEvent(int size) { argument 60 values = new float[size];
|
/frameworks/base/core/java/android/util/ |
H A D | ContainerHelpers.java | 22 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 D | ProtoHelpers.h | 33 size_t size = src.writeToMemory(nullptr); local 34 dest->resize(size);
|
/frameworks/base/tools/aapt2/util/ |
H A D | BigBuffer.cpp | 25 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 D | NullFragment.h | 26 /// size - 27 size_t size() const { return 0x0; } function in class:mcld::NullFragment
|
/frameworks/compile/mclinker/lib/Target/ |
H A D | ELFAttributeValue.cpp | 19 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 D | StringArray.h | 59 inline int size(void) const { return mCurrent; } function in class:android::StringArray
|
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
H A D | DelayMix_16x16.c | 30 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 D | DelayWrite_32.c | 30 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 D | h264bsdClearMbLayer.S | 26 #define size r1 define 53 SUBS size, size, #64 57 SUBS size, size, #64
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | SizeAreaComparator.java | 38 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 D | SizeAreaComparator.java | 37 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 D | MediaDataSource.java | 37 * 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 D | PersistentPreferredIntentResolver.java | 24 protected PersistentPreferredActivity[] newArray(int size) { argument 25 return new PersistentPreferredActivity[size];
|
/frameworks/compile/mclinker/include/mcld/Support/ |
H A D | LEB128.h | 36 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 D | AlignFragment.cpp | 32 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 D | RegionFragment.cpp | 23 size_t RegionFragment::size() const { function in class:mcld::RegionFragment 24 return m_Region.size();
|
/frameworks/compile/mclinker/unittests/ |
H A D | DirIteratorTest.cpp | 50 size_t size = 0; local 53 size = entry.path()->native().size(); 54 ASSERT_TRUE(size != 0);
|
/frameworks/minikin/tests/ |
H A D | GraphemeBreakTests.cpp | 27 size_t size; local 28 ParseUnicode(buf, BUF_SIZE, src, &size, &offset); 29 return GraphemeBreak::isGraphemeBreak(buf, 0, size, offset);
|
H A D | LayoutUtilsTest.cpp | 28 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 D | MemoryBase.cpp | 29 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
|