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

1234567891011>>

/frameworks/av/include/media/stagefright/foundation/
H A DABase.h27 /* Returns true if the size parameter is safe for new array allocation (32-bit)
49 bool isSafeArraySize(S size) { argument
50 return size >= 0 // in case S is signed, ignored if not.
51 && size <= 0xffffffff / sizeof(T); // max-unsigned-32-bit-int / element-size.
/frameworks/compile/mclinker/lib/Target/
H A DELFAttributeValue.cpp20 size_t size = 0; local
23 size += leb128::size<uint32_t>(m_IntValue);
26 size += m_StringValue.length() + 1 /* for NULL-terminator */;
28 if (size <= 0)
32 return size;
H A DELFAttributeData.cpp21 size_t size = 0; local
24 leb128::decode<uint64_t>(pBuf, size));
26 if (size > pBufSize)
29 pBuf += size;
30 pBufSize -= size;
40 size_t size = 0; local
41 uint64_t int_value = leb128::decode<uint64_t>(pBuf, size);
44 if (size > pBufSize)
47 pBuf += size;
48 pBufSize -= size;
55 size_t size = pValue.getStringValue().length() + 1 /* '\\0' */; local
[all...]
/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/compile/mclinker/include/mcld/Fragment/
H A DNullFragment.h27 /// size -
28 size_t size() const { return 0x0; } function in class:mcld::NullFragment
/frameworks/compile/mclinker/lib/Fragment/
H A DRegionFragment.cpp24 size_t RegionFragment::size() const function in class:RegionFragment
26 return m_Region.size();
H A DAlignFragment.cpp29 size_t AlignFragment::size() const function in class:AlignFragment
31 assert(hasOffset() && "AlignFragment::size() should not be called before layout.");
32 uint64_t size = llvm::OffsetToAlignment(getOffset(), m_Alignment); local
33 if (size > m_MaxBytesToEmit)
36 return size;
/frameworks/rs/cpu_ref/linkloader/include/
H A DELFSectionRelTable.h45 size_t size() const { function in class:ELFSectionRelTable
46 return table.size();
/frameworks/rs/cpu_ref/linkloader/utils/
H A Dhelper.cpp26 size_t size, size_t begin, size_t end) {
51 if (j < size) {
25 dump_hex(unsigned char const *data, size_t size, size_t begin, size_t end) argument
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DCryptoFactory.cpp39 const void* data, size_t size,
47 data, size);
37 createPlugin( const uint8_t uuid[16], const void* data, size_t size, android::CryptoPlugin** plugin) argument
/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 DDataSource.java32 * @param size how many bytes to read
35 public int readAt(long offset, byte[] buffer, int size); argument
38 * Gets the size of the data source.
40 * @return size of data source, or -1 if the length is unknown
/frameworks/base/services/core/java/com/android/server/pm/
H A DPersistentPreferredIntentResolver.java26 protected PersistentPreferredActivity[] newArray(int size) { argument
27 return new PersistentPreferredActivity[size];
/frameworks/compile/mclinker/include/mcld/Support/
H A DLEB128.h37 size_t size(IntType pValue) { function in namespace:mcld::leb128
38 size_t size = 1; local
41 ++size;
43 return size;
/frameworks/compile/mclinker/unittests/
H A DDirIteratorTest.cpp55 size_t size = 0; local
58 size = entry.path()->native().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 504 milliseconds

1234567891011>>