/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/core/tests/utiltests/jni/ |
H A D | registration.cpp | 20 jobject clazz, jstring name, jint size); 22 jobject clazz, jint fd, jint size); 26 JNIEnv * env, jobject obj, jstring name, jint size); 28 JNIEnv * env, jobject obj, jint fd, jint size); 33 jstring name, jint size) 35 return android_util_MemoryIntArrayTest_createAshmem(env, obj, name, size); 40 jint fd, jint size) 42 android_util_MemoryIntArrayTest_setAshmemSize(env, obj, fd, size); 31 Java_android_util_MemoryIntArrayTest_nativeCreateAshmem( __attribute__((unused)) JNIEnv * env,__attribute__((unused)) jobject obj, jstring name, jint size) argument 38 Java_android_util_MemoryIntArrayTest_nativeSetAshmemSize( __attribute__((unused)) JNIEnv * env,__attribute__((unused)) jobject obj, jint fd, jint size) argument
|
H A D | android_util_MemoryIntArrayTest.cpp | 26 jstring name, jint size) 33 if (size < 0) { 38 const int ashmemSize = sizeof(std::atomic_int) * size; 55 __attribute__((unused)) jobject clazz, jint fd, jint size) 61 if (size < 0) { 65 ioctl(fd, ASHMEM_SET_SIZE, size); 24 android_util_MemoryIntArrayTest_createAshmem(__attribute__((unused)) JNIEnv* env, __attribute__((unused)) jobject clazz, jstring name, jint size) argument 54 android_util_MemoryIntArrayTest_setAshmemSize(__attribute__((unused)) JNIEnv* env, __attribute__((unused)) jobject clazz, jint fd, jint size) argument
|
/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);
|