/frameworks/compile/mclinker/lib/Target/X86/ |
H A D | X86PLT.cpp | 88 uint64_t size = 0; local 89 // plt0 size 90 size = getPLT0()->size(); 96 // plt1 size 98 size += (m_pSectionData->size() - 1) * plt1->size(); 100 m_Section.setSize(size); 106 offset += frag->size(); [all...] |
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/ |
H A D | ExpressionVisitorTest.java | 62 assertEquals(1, mParser.getModel().size()); 65 assertEquals(0, res.getDependencies().size()); 93 assertEquals(3, mParser.getModel().size()); 96 assertEquals(0, res.getDependencies().size()); 105 assertEquals(2, mParser.mModel.size()); 107 assertEquals(1, expr.getChildren().size()); 112 assertEquals(0, id.getDependencies().size()); 113 assertEquals(1, expr.getDependencies().size()); 119 assertEquals(1, mParser.mModel.size()); 128 assertEquals(6, mParser.getModel().size()); [all...] |
/frameworks/base/core/java/android/transition/ |
H A D | TransitionSet.java | 161 return mTransitions.size(); 172 if (index < 0 || index >= mTransitions.size()) { 189 int numTransitions = mTransitions.size(); 209 for (int i = 0; i < mTransitions.size(); i++) { 217 for (int i = 0; i < mTransitions.size(); i++) { 225 for (int i = 0; i < mTransitions.size(); i++) { 233 for (int i = 0; i < mTransitions.size(); i++) { 246 for (int i = 0; i < mTransitions.size(); i++) { 254 for (int i = 0; i < mTransitions.size(); i++) { 262 for (int i = 0; i < mTransitions.size(); [all...] |
/frameworks/base/libs/androidfw/ |
H A D | CursorWindow.cpp | 34 void* data, size_t size, bool readOnly) : 35 mName(name), mAshmemFd(ashmemFd), mData(data), mSize(size), mReadOnly(readOnly) { 44 status_t CursorWindow::create(const String8& name, size_t size, CursorWindow** outCursorWindow) { argument 49 int ashmemFd = ashmem_create_region(ashmemName.string(), size); 55 void* data = ::mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, ashmemFd, 0); 62 data, size, false /*readOnly*/); 77 ::munmap(data, size); 93 ssize_t size = ashmem_get_size_region(ashmemFd); local 94 if (size < 0) { 101 void* data = ::mmap(NULL, size, PROT_REA 33 CursorWindow(const String8& name, int ashmemFd, void* data, size_t size, bool readOnly) argument 201 alloc(size_t size, bool aligned) argument 273 putBlob(uint32_t row, uint32_t column, const void* value, size_t size) argument 282 putBlobOrString(uint32_t row, uint32_t column, const void* value, size_t size, int32_t type) argument 298 memcpy(offsetToPtr(offset), value, size); local [all...] |
H A D | BackupData.cpp | 147 BackupDataWriter::WriteEntityData(const void* data, size_t size) argument 149 if (kIsDebug) ALOGD("Writing data: size=%lu", (unsigned long) size); 161 ssize_t amt = write(m_fd, data, size); 162 if (amt != (ssize_t)size) { 268 size_t size = m_header.entity.keyLen; local 269 char* buf = m_key.lockBuffer(size); 274 int amt = read(m_fd, buf, size+1); 275 CHECK_SIZE(amt, (int)size+1); 276 m_key.unlockBuffer(size); 333 ReadEntityData(void* data, size_t size) argument [all...] |
H A D | TypeWrappers.cpp | 37 + dtohl(type->header.size); 60 } else if (reinterpret_cast<uintptr_t>(entry) + dtohs(entry->size) > containerEnd) { 63 } else if (dtohs(entry->size) < sizeof(*entry)) { 64 ALOGE("Entry at index %u is too small (%u)", mIndex, dtohs(entry->size));
|
/frameworks/av/media/libmedia/ |
H A D | MediaCodecInfo.cpp | 60 size_t size = static_cast<size_t>(parcel.readInt32()); local 61 for (size_t i = 0; i < size; i++) { 69 size = static_cast<size_t>(parcel.readInt32()); 70 for (size_t i = 0; i < size; i++) { 88 CHECK_LE(mProfileLevels.size(), INT32_MAX); 89 parcel->writeInt32(mProfileLevels.size()); 90 for (size_t i = 0; i < mProfileLevels.size(); i++) { 94 CHECK_LE(mColorFormats.size(), INT32_MAX); 95 parcel->writeInt32(mColorFormats.size()); 96 for (size_t i = 0; i < mColorFormats.size(); 157 size_t size = static_cast<size_t>(parcel.readInt32()); local [all...] |
/frameworks/av/media/libstagefright/timedtext/ |
H A D | TextDescriptions.cpp | 27 const uint8_t *data, ssize_t size, 33 return extract3GPPGlobalDescriptions(data, size, parcel); 35 return extract3GPPLocalDescriptions(data, size, timeMs, parcel); 39 return extractSRTLocalDescriptions(data, size, timeMs, parcel); 50 const uint8_t *data, ssize_t size, int timeMs, Parcel *parcel) { 56 // write the size of the text sample 57 parcel->writeInt32(size); 59 parcel->writeInt32(size); 60 parcel->write(data, size); 71 const uint8_t *data, ssize_t size, 26 getParcelOfDescriptions( const uint8_t *data, ssize_t size, uint32_t flags, int timeMs, Parcel *parcel) argument 49 extractSRTLocalDescriptions( const uint8_t *data, ssize_t size, int timeMs, Parcel *parcel) argument 70 extract3GPPLocalDescriptions( const uint8_t *data, ssize_t size, int timeMs, Parcel *parcel) argument 374 extract3GPPGlobalDescriptions( const uint8_t *data, ssize_t size, Parcel *parcel) argument [all...] |
H A D | TextDescriptions.h | 37 const uint8_t *data, ssize_t size, 71 const uint8_t *data, ssize_t size, 74 const uint8_t *data, ssize_t size, 77 const uint8_t *data, ssize_t size,
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | hexdump.cpp | 42 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/base/core/java/android/hardware/camera2/utils/ |
H A D | ListUtils.java | 47 return (list.size() == 1 && list.contains(single)); 61 int size = list.size(); 66 if (i != size - 1) {
|
/frameworks/base/core/java/android/text/style/ |
H A D | AbsoluteSizeSpan.java | 30 * Set the text size to <code>size</code> physical pixels. 32 public AbsoluteSizeSpan(int size) { argument 33 mSize = size; 37 * Set the text size to <code>size</code> physical pixels, 38 * or to <code>size</code> device-independent pixels if 41 public AbsoluteSizeSpan(int size, boolean dip) { argument 42 mSize = size;
|
/frameworks/base/core/java/android/widget/ |
H A D | Space.java | 72 * 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/widget/ |
H A D | DrawingSpace.java | 48 * If mode is AT_MOST, return the child size instead of the parent size 51 private static int getDefaultSizeNonGreedy(int size, int measureSpec) { argument 52 int result = size; 58 result = size; 61 result = Math.min(size, specSize);
|
/frameworks/base/core/tests/utiltests/src/android/util/ |
H A D | RemoteMemoryIntArrayService.java | 38 public void create(int size, boolean clientWritable) { 41 mArray = new MemoryIntArray(size, clientWritable); 85 public int size() { 88 return mArray.size();
|
/frameworks/base/libs/hwui/ |
H A D | DisplayList.cpp | 57 if (CC_UNLIKELY(patchResources.size())) { 61 for (size_t i = 0; i < patchResources.size(); i++) { 68 for (size_t i = 0; i < pathResources.size(); i++) { 90 size_t index = children.size();
|
H A D | PatchCache.cpp | 120 size_t count = mGarbage.size(); 137 size_t count = mGarbage.size(); 150 for (size_t i = 0; i < patchesToRemove.size(); i++) { 166 if (patchesToRemove.size() > 0) { 188 uint32_t size = newMesh->getSize(); local 189 if (mSize + size > mMaxSize) { 199 if (block->size >= size) { 218 glBufferSubData(GL_ARRAY_BUFFER, newMesh->positionOffset, size, newMesh->vertices.get()); 221 if (block->size [all...] |
/frameworks/base/libs/hwui/utils/ |
H A D | LinearAllocator.cpp | 34 // The ideal size of a page allocation (these need to be multiples of 8) 78 #define ADD_ALLOCATION(size) _addAllocation(1); 79 #define RM_ALLOCATION(size) _addAllocation(-1); 96 void* operator new(size_t /*size*/, void* buf) { return buf; } 146 bool LinearAllocator::fitsInCurrentPage(size_t size) { argument 147 return mNext && ((char*)mNext + size) <= end(mCurrentPage); 150 void LinearAllocator::ensureNext(size_t size) { argument 151 if (fitsInCurrentPage(size)) return; 170 void* LinearAllocator::allocImpl(size_t size) { argument 171 size [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | StatusBarIconList.java | 37 final int N = mSlots.size(); 49 public int size() { method in class:StatusBarIconList 50 return mSlots.size(); 80 final int N = mSlots.size();
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | SimpleCache.java | 36 return super.size() > mMaxEntries;
|
/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/unittests/ |
H A D | StringTableTest.cpp | 41 int size = 127 - 32; local 48 ASSERT_EQ(m_pTestee->size(), size); 71 ASSERT_EQ(m_pTestee->size(), 1);
|
/frameworks/rs/ |
H A D | rsDevice.cpp | 35 for (size_t idx=0; idx < mContexts.size(); idx++) {
|
/frameworks/support/compat/honeycomb_mr2/android/support/v4/os/ |
H A D | ParcelableCompatCreatorCallbacks.java | 42 * @param size Size of the array. 46 public T[] newArray(int size); argument
|
/frameworks/support/compat/java/android/support/v4/util/ |
H A D | ContainerHelpers.java | 45 static int binarySearch(int[] array, int size, int value) { argument 47 int hi = size - 1; 64 static int binarySearch(long[] array, int size, long value) { argument 66 int hi = size - 1;
|