/frameworks/compile/mclinker/lib/Fragment/ |
H A D | Stub.cpp | 33 assert(pOffset < size()); 39 assert(pFixup.offset() < size());
|
/frameworks/native/include/binder/ |
H A D | MemoryBase.h | 33 MemoryBase(const sp<IMemoryHeap>& heap, ssize_t offset, size_t size); 35 virtual sp<IMemoryHeap> getMemory(ssize_t* offset, size_t* size) const;
|
/frameworks/native/include/ui/ |
H A D | FrameStats.h | 57 status_t flatten(void* buffer, size_t size) const; 58 status_t unflatten(void const* buffer, size_t size);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | Menu.java | 62 int size = in.readInt(); 63 for (int i=0; i<size; i++) { 85 int size = items.size(); 86 dest.writeInt(size); 87 for (int i=0; i<size; i++) { 105 public Menu[] newArray(int size) { 106 return new Menu[size];
|
/frameworks/rs/cpu_ref/linkloader/include/ |
H A D | ELFSectionBits.h | 54 size_t size() const { function in class:ELFSectionBits 55 return chunk.size();
|
H A D | ELFSectionRelTable.h | 45 size_t size() const { function in class:ELFSectionRelTable 46 return table.size();
|
/frameworks/wilhelm/src/android/ |
H A D | BufferQueueSource.cpp | 34 sizeof(SLuint32), // item size 57 ssize_t BufferQueueSource::readAt(off64_t offset, void *data, size_t size) { argument 58 SL_LOGD("BufferQueueSource::readAt(offset=%lld, data=%p, size=%d)", offset, data, size); 99 if (offset + size <= mStreamToBqOffset + oldFront->mDataSize) { 102 if (offset - mStreamToBqOffset + size == oldFront->mDataSize) { 124 memcpy(data, pSrc, size); 125 readSize = size; 165 status_t BufferQueueSource::getSize(off64_t *size) { argument 168 *size [all...] |
H A D | BufferQueueSource.h | 23 // to the item key (SLuint32), the item size (SLuint32), and the item data (mask on SLuint32) 40 virtual ssize_t readAt(off64_t offset, void *data, size_t size); 42 virtual status_t getSize(off64_t *size);
|
/frameworks/av/media/libmedia/ |
H A D | MediaCodecInfo.cpp | 62 size_t size = static_cast<size_t>(parcel.readInt32()); local 63 for (size_t i = 0; i < size; i++) { 71 size = static_cast<size_t>(parcel.readInt32()); 72 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(); 142 size_t size = static_cast<size_t>(parcel.readInt32()); local [all...] |
H A D | MemoryLeakTrackUtil.cpp | 53 strncat(mPtr, s, MAX_SIZE - size() - 1); 60 size_t size() const { function in struct:android::MyString8 82 size_t size; member in struct:android::__anon268 109 e->size = *reinterpret_cast<size_t *>(ptr); 119 // Now we need to sort the entries. They come sorted by size but 128 bool swap = e1->size < e2->size; 129 if (e1->size == e2->size) { 147 write(fd, result.string(), result.size()); [all...] |
/frameworks/base/core/java/android/util/ |
H A D | LruCache.java | 35 * <p>By default, the cache size is measured in the number of entries. Override 36 * {@link #sizeOf} to size the cache in different units. For example, this cache 66 private int size; field in class:LruCache 89 * Sets the size of the cache. 91 * @param maxSize The new maximum size. 145 size += safeSizeOf(key, createdValue); 172 size += safeSizeOf(key, value); 175 size -= safeSizeOf(key, previous); 189 * below the requested size. 191 * @param maxSize the maximum size o 316 public synchronized final int size() { method in class:LruCache [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
H A D | LruCache.java | 39 * <p>By default, the cache size is measured in the number of entries. Override 40 * {@link #sizeOf} to size the cache in different units. For example, this cache 70 private int size; field in class:LruCache 93 * Sets the size of the cache. 94 * @param maxSize The new maximum size. 150 size += safeSizeOf(key, createdValue); 177 size += safeSizeOf(key, value); 180 size -= safeSizeOf(key, previous); 193 * @param maxSize the maximum size of the cache before returning. May be -1 201 if (size < 327 public synchronized final int size() { method in class:LruCache [all...] |
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | LruCache.java | 33 private int size; field in class:LruCache 56 * Sets the size of the cache. 58 * @param maxSize The new maximum size. 112 size += safeSizeOf(key, createdValue); 139 size += safeSizeOf(key, value); 142 size -= safeSizeOf(key, previous); 156 * below the requested size. 158 * @param maxSize the maximum size of the cache before returning. May be -1 166 if (size < 0 || (map.isEmpty() && size ! 279 public synchronized final int size() { method in class:LruCache [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | CreateJavaOutputStreamAdaptor.cpp | 26 virtual size_t read(void* buffer, size_t size) { argument 29 if (0 == size) { 38 size_t amount = this->doSkip(size - amountSkipped); 49 } while (amountSkipped < size); 53 return this->doRead(buffer, size); 61 size_t doRead(void* buffer, size_t size) { argument 67 if (size > static_cast<size_t>(fCapacity)) { 72 requested = static_cast<jint>(size); 105 size -= n; 107 } while (size ! 112 doSkip(size_t size) argument 191 write(const void* buffer, size_t size) argument [all...] |
/frameworks/compile/mclinker/lib/Target/X86/ |
H A D | X86PLT.cpp | 100 uint64_t size = 0; local 101 // plt0 size 102 size = getPLT0()->size(); 108 // plt1 size 110 size += (m_pSectionData->size() - 1) * plt1->size(); 112 m_Section.setSize(size); 118 offset += frag->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...] |
/frameworks/base/core/tests/coretests/src/android/net/ |
H A D | LinkPropertiesTest.java | 252 assertEquals(1, lp.getRoutes().size()); 257 assertEquals(1, lp.getRoutes().size()); 280 assertEquals(2, lp.getRoutes().size()); 286 assertEquals(3, lp.getRoutes().size()); 292 assertEquals(0, lp.compareAllRoutes(lp2).added.size()); 293 assertEquals(0, lp.compareAllRoutes(lp2).removed.size()); 297 assertEquals(3, lp.compareAllRoutes(lp2).added.size()); 298 assertEquals(3, lp.compareAllRoutes(lp2).removed.size()); 311 assertEquals(0, rmnet0.getStackedLinks().size()); 312 assertEquals(1, rmnet0.getAddresses().size()); [all...] |
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
H A D | Scene.java | 201 int numRenderables = mRenderables.size(); 212 int numRenderables = mRenderables.size(); 221 int numEntries = entries.size(); 260 if (mRenderPasses.size() != 0) { 261 mRenderPassAlloc = new ScriptField_RenderPass_s(mRS, mRenderPasses.size()); 262 for (int i = 0; i < mRenderPasses.size(); i ++) { 273 mRenderables.size()); 274 Allocation[] drawableAllocs = new Allocation[mRenderables.size()]; 275 for (int i = 0; i < mRenderables.size(); i ++) { 287 if (mVertexShaders.size() > [all...] |
/frameworks/av/media/libstagefright/ |
H A D | Utils.cpp | 166 msg->setInt32("max-input-size", maxInputSize); 176 size_t size; local 177 if (meta->findData(kKeyAVCC, &type, &data, &size)) { 182 CHECK(size >= 7); 200 size -= 6; 206 CHECK(size >= 2); 210 size -= 2; 212 CHECK(size >= length); 214 memcpy(buffer->data() + buffer->size(), "\x00\x00\x00\x01", 4); 215 memcpy(buffer->data() + buffer->size() 375 int size = i - lastparamoffset; local 406 int size = i - lastparamoffset; local [all...] |
/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/av/media/libstagefright/timedtext/ |
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/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/os/ |
H A D | Parcelable.java | 46 * public MyParcelable[] newArray(int size) { 47 * return new MyParcelable[size]; 110 * @param size Size of the array. 114 public T[] newArray(int size); argument
|
/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;
|