/frameworks/base/libs/hwui/ |
H A D | TextDropShadowCache.cpp | 35 INIT_LOGD(" Setting drop shadow cache size to %sMB", property); 38 INIT_LOGD(" Using default drop shadow cache size of %.2fMB", 88 ALOGD("Shadow texture deleted, size = %d", texture->bitmapSize); 123 const uint32_t size = shadow.width * shadow.height; local 124 texture->bitmapSize = size; 127 if (size < mMaxSize) { 128 while (mSize + size > mMaxSize) { 145 if (size < mMaxSize) { 147 ALOGD("Shadow texture created, size = %d", texture->bitmapSize); 152 mSize += size; [all...] |
/frameworks/compile/linkloader/include/ |
H A D | ELFObject.h | 83 void *allocateSHNCommonData(size_t size, size_t align = 1) { argument 84 rsl_assert(size > 0 && align != 0); 86 rsl_assert(SHNCommonDataPtr && "Must init common data size before use!"); 95 // Ensure the free size is sufficient 96 if (SHNCommonDataFreeSize < size) { 102 SHNCommonDataPtr += size; 103 SHNCommonDataFreeSize -= size; 114 for (size_t i = 0; i < stab.size(); ++i) {
|
/frameworks/compile/mclinker/unittests/ |
H A D | GCFactoryListTraitsTest.cpp | 80 ASSERT_EQ(10, m_pNodeList.size()); 85 ASSERT_EQ(10, m_pNodeList.size()); 91 ASSERT_EQ(0, m_pNodeList.size()); 97 ASSERT_EQ(11, m_pNodeList.size()); 99 ASSERT_EQ(10, m_pNodeList.size()); 119 ASSERT_TRUE(m_pNodeList.size() == 8);
|
H A D | FactoriesTest.cpp | 46 ASSERT_EQ(1, m_pNodeAlloc->size()); 49 ASSERT_EQ(2, m_pNodeAlloc->size()); 52 ASSERT_EQ(3, m_pNodeAlloc->size()); 84 ASSERT_EQ(100, m_pNodeAlloc->size()); 106 ASSERT_EQ(100, m_pNodeAlloc->size()); 116 ASSERT_EQ(0, delegatee->size()); 142 ASSERT_EQ(200, m_pNodeAlloc->size()); 152 ASSERT_EQ(0, delegatee->size()); 164 ASSERT_EQ(100, m_pNodeAlloc->size()); 166 ASSERT_EQ(100, m_pNodeAlloc->size()); [all...] |
/frameworks/native/libs/ui/ |
H A D | PixelFormat.cpp | 27 size_t size; member in struct:android::Info 68 size_t size; local 71 size = (width * bitsPerPixel)>>3; 73 size = width * bytesPerPixel; 75 return size; 128 info->bytesPerPixel = i->size;
|
/frameworks/rs/driver/ |
H A D | rsdVertexArray.cpp | 47 size = 0; 54 void RsdVertexArray::Attrib::set(uint32_t type, uint32_t size, uint32_t stride, argument 59 this->size = size; 70 ALOGV("va %i: slot=%i name=%s buf=%i ptr=%p size=%i type=0x%x stride=0x%x norm=%i offset=0x%x", 75 mAttribs[idx].size, 111 mAttribs[ct].size,
|
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_native_frame.h | 27 Java_android_filterfw_core_NativeFrame_nativeAllocate(JNIEnv* env, jobject thiz, jint size); 42 Java_android_filterfw_core_NativeFrame_getNativeInts(JNIEnv* env, jobject thiz, jint size); 48 Java_android_filterfw_core_NativeFrame_getNativeFloats(JNIEnv* env, jobject thiz, jint size); 58 Java_android_filterfw_core_NativeFrame_getNativeData(JNIEnv* env, jobject thiz, jint size); 67 jint size, 74 jint size,
|
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
H A D | BitcodeReader.h | 60 unsigned size() const { return ValuePtrs.size(); } function in class:llvm_2_7::BitcodeReaderValueList 72 assert(i < ValuePtrs.size()); 80 assert(N <= size() && "Invalid shrinkTo request!"); 107 unsigned size() const { return MDValuePtrs.size(); } 116 assert(i < MDValuePtrs.size()); 121 assert(N <= size() && "Invalid shrinkTo request!"); 233 if (ID >= FunctionBBs.size()) return 0; // Invalid ID 237 if (i-1 < MAttributes.size()) [all...] |
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/ |
H A D | BitcodeReader.h | 60 unsigned size() const { return ValuePtrs.size(); } function in class:llvm_3_0::BitcodeReaderValueList 72 assert(i < ValuePtrs.size()); 80 assert(N <= size() && "Invalid shrinkTo request!"); 107 unsigned size() const { return MDValuePtrs.size(); } 116 assert(i < MDValuePtrs.size()); 121 assert(N <= size() && "Invalid shrinkTo request!"); 226 if (ID >= FunctionBBs.size()) return 0; // Invalid ID 230 if (i-1 < MAttributes.size()) [all...] |
/frameworks/av/media/libstagefright/httplive/ |
H A D | M3UParser.cpp | 30 const char *baseURI, const void *data, size_t size) 36 mInitCheck = parse(data, size); 62 size_t M3UParser::size() { function in class:android::M3UParser 63 return mItems.size(); 75 if (index >= mItems.size()) { 148 status_t M3UParser::parse(const void *_data, size_t size) { argument 156 while (offset < size) { 158 while (offsetLF < size && data[offsetLF] != '\n') { 161 if (offsetLF >= size) { 257 Item *item = &mItems.editItemAt(mItems.size() 29 M3UParser( const char *baseURI, const void *data, size_t size) argument [all...] |
/frameworks/rs/ |
H A D | rsScriptGroup.cpp | 31 for (size_t ct=0; ct < mLinks.size(); ct++) { 47 //ALOGE("find %p %i", s, (int)mNodes.size()); 48 for (size_t ct=0; ct < mNodes.size(); ct++) { 50 for (size_t ct2=0; ct2 < n->mKernels.size(); ct2++) { 65 for (size_t ct=0; ct < n->mOutputs.size(); ct++) { 92 for (size_t ct=0; ct < mKernels.size(); ct++) { 105 //ALOGE("link count %i", (int)mLinks.size()); 106 for (size_t ct=0; ct < mLinks.size(); ct++) { 125 //ALOGE("node count %i", (int)mNodes.size()); 128 for (size_t ct=0; ct < mNodes.size(); c [all...] |
/frameworks/support/renderscript/v8/rs_support/ |
H A D | rsScriptGroup.cpp | 31 for (size_t ct=0; ct < mLinks.size(); ct++) { 47 //ALOGE("find %p %i", s, (int)mNodes.size()); 48 for (size_t ct=0; ct < mNodes.size(); ct++) { 50 for (size_t ct2=0; ct2 < n->mKernels.size(); ct2++) { 65 for (size_t ct=0; ct < n->mOutputs.size(); ct++) { 92 for (size_t ct=0; ct < mKernels.size(); ct++) { 105 //ALOGE("link count %i", (int)mLinks.size()); 106 for (size_t ct=0; ct < mLinks.size(); ct++) { 125 //ALOGE("node count %i", (int)mNodes.size()); 128 for (size_t ct=0; ct < mNodes.size(); c [all...] |
/frameworks/base/core/java/android/animation/ |
H A D | AnimatorSet.java | 145 if (items != null && items.size() > 0) { 184 if (items != null && items.size() > 0) { 186 if (items.size() == 1) { 189 for (int i = 0; i < items.size() - 1; ++i) { 302 } else if (mSortedNodes.size() > 0) { 326 if (mSortedNodes.size() != mNodes.size()) { 339 if (mSortedNodes.size() > 0) { 467 int numSortedNodes = mSortedNodes.size(); 472 if (oldListeners != null && oldListeners.size() > [all...] |
/frameworks/base/tools/aapt/ |
H A D | StringPool.cpp | 37 const size_t N = pool->size(); 49 (ZD_TYPE)uniqueStrings.size(), pool->isUTF8() ? "UTF-8" : "UTF-16", 53 const size_t NS = pool->size(); 62 if (configStr.size() > 0) configStr.append(" "); 63 if (configs.size() > 0) { 64 for (size_t j=0; j<configs.size(); j++) { 75 // Strings with styles go first, to reduce the size of the styles array. 89 const size_t LHN = configs.size(); 90 const size_t RHN = o.configs.size(); 137 if (ent.configTypeName.size() < [all...] |
/frameworks/av/libvideoeditor/vss/common/inc/ |
H A D | M4SYS_AccessUnit.h | 37 (size cannot be 0)*/ 39 error somewhere in the fragment (size cannot be 0)*/ 40 M4SYS_kFragAttrLost = 03 /**< The fragment is lost, so the size must be 0.*/ 48 M4OSA_UInt32 size; /**< The size of the fragment. It must be 0 if fragment is member in struct:__anon178 64 M4OSA_MemAddr32 dataAddress; /**< The data pointer. The size of this block 65 (allocated size) must be a 32-bits integer multiple*/ 66 M4OSA_UInt32 size; /**< The size in bytes of the dataAddress. The size ma member in struct:__anon179 [all...] |
/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
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerStreamListener.h | 34 virtual void queueBuffer(size_t index, size_t size); 40 ssize_t read(void *data, size_t size, sp<AMessage> *extra);
|
/frameworks/av/media/libstagefright/ |
H A D | NuCachedSource2.cpp | 50 void copy(size_t from, void *data, size_t size); 137 void PageCache::copy(size_t from, void *data, size_t size) { argument 138 ALOGV("copy from %d size %d", from, size); 140 if (size == 0) { 144 CHECK_LE(from + size, mTotalSize); 156 if (avail >= size) { 157 memcpy(data, (const uint8_t *)(*it)->mData + delta, size); 164 size -= avail; 166 while (size > 250 getSize(off64_t *size) argument 413 size_t size; local 464 readAt(off64_t offset, void *data, size_t size) argument 532 readInternal(off64_t offset, void *data, size_t size) argument [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/inc/ |
H A D | bitbuffer.h | 59 Word16 size; /*!< size of bitbuffer in bits */ member in struct:BIT_BUF 61 }; /* size Word16: 8 */ 87 #define GetNrBitsRead(hBitBuf) ((hBitBuf)->size-(hBitBuf)->cntBits)
|
/frameworks/av/media/libstagefright/include/ |
H A D | ThrottledSource.h | 33 virtual ssize_t readAt(off64_t offset, void *data, size_t size); 35 virtual status_t getSize(off64_t *size);
|
/frameworks/av/media/libstagefright/wifi-display/ |
H A D | ParsedMessage.h | 28 const char *data, size_t size, bool noMoreData, size_t *length); 55 ssize_t parse(const char *data, size_t size, bool noMoreData);
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | TSPacketizer.cpp | 167 size_t size = 0; local 168 for (size_t i = 0; i < mCSD.size(); ++i) { 169 size += mCSD.itemAt(i)->size(); 172 sp<ABuffer> dup = new ABuffer(accessUnit->size() + size); 174 for (size_t i = 0; i < mCSD.size(); ++i) { 177 memcpy(dup->data() + offset, csd->data(), csd->size()); 178 offset += csd->size(); 181 memcpy(dup->data() + offset, accessUnit->data(), accessUnit->size()); [all...] |
/frameworks/base/core/java/android/accounts/ |
H A D | AccountManagerResponse.java | 75 public AccountManagerResponse[] newArray(int size) { 76 return new AccountManagerResponse[size];
|
/frameworks/base/core/java/android/app/backup/ |
H A D | RestoreSet.java | 77 public RestoreSet[] newArray(int size) { 78 return new RestoreSet[size];
|
/frameworks/base/core/java/android/content/pm/ |
H A D | PathPermission.java | 64 public PathPermission[] newArray(int size) { 65 return new PathPermission[size];
|