/frameworks/av/media/libstagefright/foundation/ |
H A D | base64.cpp | 25 if ((s.size() % 4) != 0) { 29 size_t n = s.size(); 43 size_t outLen = 3 * s.size() / 4 - padding; 103 const void *_data, size_t size, AString *out) { 109 for (i = 0; i < (size / 3) * 3; i += 3) { 119 switch (size % 3) { 102 encodeBase64( const void *_data, size_t size, AString *out) argument
|
/frameworks/base/core/java/android/view/ |
H A D | ViewPropertyAnimatorRT.java | 67 int size = parent.mPendingAnimations.size(); 79 for (int i = 0; i < size; i++) { 127 int size = mPendingAnimations.size(); 128 for (int i = 0; i < size; i++) {
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | ImageUtils.java | 62 // shrink to a more manageable (yet hopefully no more or less colorful) size 83 final int size = height*width; 84 ensureBufferSize(size); 86 for (int i = 0; i < size; i++) { 95 * Makes sure that {@code mTempBuffer} has at least length {@code size}. 97 private void ensureBufferSize(int size) { argument 98 if (mTempBuffer == null || mTempBuffer.length < size) { 99 mTempBuffer = new int[size];
|
/frameworks/base/libs/hwui/ |
H A D | RenderBufferCache.cpp | 46 INIT_LOGD(" Setting render buffer cache size to %sMB", property); 49 INIT_LOGD(" Using default render buffer cache size of %.2fMB", 103 size_t count = mCache.size(); 141 const uint32_t size = buffer->getSize(); local 142 if (size < mMaxSize) { 143 while (mSize + size > mMaxSize) { 154 mSize += size; 164 buffer->getWidth(), buffer->getHeight(), size, mMaxSize);
|
/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/base/telephony/java/com/android/ims/ |
H A D | ImsConferenceState.java | 104 out.writeInt(mParticipants.size()); 106 if (mParticipants.size() > 0) { 123 int size = in.readInt(); 125 for (int i = 0; i < size; ++i) { 140 public ImsConferenceState[] newArray(int size) { 141 return new ImsConferenceState[size];
|
/frameworks/compile/mclinker/unittests/ |
H A D | GCFactoryListTraitsTest.cpp | 78 ASSERT_TRUE(10 == m_pNodeList.size()); 83 ASSERT_TRUE(10 == m_pNodeList.size()); 89 ASSERT_TRUE(0 == m_pNodeList.size()); 95 ASSERT_TRUE(11 == m_pNodeList.size()); 97 ASSERT_TRUE(10 == m_pNodeList.size()); 119 ASSERT_TRUE(m_pNodeList.size() == 8);
|
H A D | FactoriesTest.cpp | 41 ASSERT_EQ(1, m_pNodeAlloc->size()); 44 ASSERT_EQ(2, m_pNodeAlloc->size()); 47 ASSERT_EQ(3, m_pNodeAlloc->size()); 79 ASSERT_EQ(100, m_pNodeAlloc->size()); 101 ASSERT_EQ(100, m_pNodeAlloc->size()); 111 ASSERT_EQ(0, delegatee->size()); 137 ASSERT_EQ(200, m_pNodeAlloc->size()); 147 ASSERT_EQ(0, delegatee->size()); 159 ASSERT_EQ(100, m_pNodeAlloc->size()); 161 ASSERT_EQ(100, m_pNodeAlloc->size()); [all...] |
/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%p", 75 mAttribs[idx].size, 111 mAttribs[ct].size,
|
/frameworks/av/services/audiopolicy/service/ |
H A D | AudioPolicyEffects.cpp | 55 for (i = 0; i < mInputSources.size(); i++) { 60 for (i = 0; i < mInputs.size(); i++) { 67 for (i = 0; i < mOutputStreams.size(); i++) { 72 for (i = 0; i < mOutputSessions.size(); i++) { 110 for (size_t i = 0; i < effects.size(); i++) { 121 for (size_t j = 0; j < effect->mParams.size(); j++) { 163 for (index = 0; index < mInputs.size(); index++) { 168 if (index == mInputs.size()) { 174 for (size_t i = 0; i < effects.size(); i++) { 180 if (effects.size() > *coun 375 growParamSize(char *param, size_t size, size_t *curSize, size_t *totSize) argument 472 size_t size = readParamValue(param, (char *)fx_param, &curSize, &totSize); local 487 size_t size = readParamValue(value, (char *)fx_param, &curSize, &totSize); local [all...] |
/frameworks/base/tools/aapt2/ |
H A D | Util.h | 42 if (str.size() < prefix.size()) { 45 return str.substr(0, prefix.size()) == prefix; 53 if (str.size() < suffix.size()) { 56 return str.substr(str.size() - suffix.size(), suffix.size()) == suffix; 124 inline ::std::function<::std::ostream&(::std::ostream&)> formatSize(size_t size) { argument 125 return [size]( 130 out << size << "B"; local [all...] |
/frameworks/compile/mclinker/lib/MC/ |
H A D | SymbolCategory.cpp | 230 return m_OutputSymbols.size(); 234 return m_pFile->size(); 238 return m_pLocal->size(); 242 return m_pLocalDyn->size(); 246 return m_pCommon->size(); 250 return m_pDynamic->size(); 254 return m_pRegular->size(); 307 iter += m_pFile->size(); 317 iter += m_pFile->size(); 327 iter += m_pLocal->size(); [all...] |
/frameworks/av/media/libmediaplayerservice/ |
H A D | DrmSessionManager.cpp | 35 for (size_t i = 0; i < sessionId.size(); ++i) { 42 if (sessionId1.size() != sessionId2.size()) { 45 for (size_t i = 0; i < sessionId1.size(); ++i) { 93 for (size_t i = 0; i < mSessionMap.size(); ++i) { 95 for (size_t j = 0; j < infos.size(); ++j) { 109 for (size_t i = 0; i < mSessionMap.size(); ++i) { 111 for (size_t j = 0; j < infos.size(); ++j) { 125 for (size_t i = 0; i < mSessionMap.size(); ++i) { 127 for (size_t j = 0; j < infos.size();) { [all...] |
/frameworks/compile/mclinker/include/mcld/ADT/ |
H A D | StringHash.h | 47 for (unsigned int i = 0; i < pKey.size(); ++i) { 64 for (unsigned int i = 0; i < pKey.size(); ++i) { 88 for (unsigned int i = 0; i < pKey.size(); ++i) { 109 for (unsigned int i = 0; i < pKey.size(); ++i) { 129 for (uint32_t i = 0; i < pKey.size(); ++i) 145 for (uint32_t i = 0; i < pKey.size(); ++i) 161 for (uint32_t i = 0; i < pKey.size(); ++i) 176 uint32_t hash_val = pKey.size(); 178 for (uint32_t i = 0; i < pKey.size(); ++i) 194 for (uint32_t i = 0; i < pKey.size(); [all...] |
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
H A D | ObservableArrayListTest.java | 159 assertEquals(1, mNotifications.size()); 173 assertEquals(4, mObservable.size()); 178 assertEquals(4, mNotifications.size()); 192 assertEquals(3, mObservable.size()); 195 assertEquals(1, mNotifications.size()); 209 assertEquals(3, mObservable.size()); 212 assertEquals(1, mNotifications.size()); 224 assertEquals(1, mNotifications.size()); 232 assertEquals(1, mNotifications.size()); 240 assertEquals(1, mNotifications.size()); [all...] |
/frameworks/base/tools/aapt/ |
H A D | StringPool.cpp | 62 const size_t N = pool->size(); 74 (ZD_TYPE)uniqueStrings.size(), pool->isUTF8() ? "UTF-8" : "UTF-16", 78 const size_t NS = pool->size(); 87 if (configStr.size() > 0) configStr.append(" "); 88 if (configs.size() > 0) { 89 for (size_t j=0; j<configs.size(); j++) { 100 // Strings with styles go first, to reduce the size of the styles array. 114 const size_t LHN = configs.size(); 115 const size_t RHN = o.configs.size(); 164 if (ent.configTypeName.size() < [all...] |
H A D | XMLNode.cpp | 84 prefixSize = RESOURCES_PREFIX.size(); 87 prefixSize = RESOURCES_PRV_PREFIX.size(); 94 //printf("namespace: %s\n", String8(String16(namespaceUri, namespaceUri.size()-prefixSize, prefixSize)).string()); 96 return String16(namespaceUri, namespaceUri.size()-prefixSize, prefixSize); 105 const char16_t* end = str + str16.size(); 130 // This must be a size specification instead of position. 227 if (firstTime && text.size() > 0) { 283 curString.size(), false, &errorMsg, true)) { 302 span.span.firstChar = span.span.lastChar = outString->size(); 318 curString.size(), fals [all...] |
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
H A D | CryptoFactory.cpp | 39 const void* data, size_t size, 47 sessionId.appendArray(reinterpret_cast<const uint8_t*>(data), size); local 37 createPlugin( const uint8_t uuid[16], const void* data, size_t size, android::CryptoPlugin** plugin) argument
|
/frameworks/av/drm/mediadrm/plugins/clearkey/tests/ |
H A D | JsonWebKeyUnittest.cpp | 48 for (size_t i = 0; i < input.size(); ++i) { 59 for (size_t i = 0; i < keys.size(); ++i) { 122 EXPECT_TRUE(keys.size() == 1); 147 EXPECT_TRUE(keys.size() == 1); 185 EXPECT_TRUE(keys.size() == 1); 243 EXPECT_TRUE(keys.size() == 2); 274 EXPECT_TRUE(keys.size() == 2); 313 EXPECT_TRUE(keys.size() == 3);
|
/frameworks/av/include/media/ |
H A D | IDataSource.h | 35 // Read up to |size| bytes into the memory returned by getIMemory(). Returns 36 // the number of bytes read, or -1 on error. |size| must not be larger than 38 virtual ssize_t readAt(off64_t offset, size_t size) = 0; 39 // Get the size, or -1 if the size is unknown. 40 virtual status_t getSize(off64_t* size) = 0;
|
/frameworks/av/include/media/stagefright/foundation/ |
H A D | ABitReader.h | 30 ABitReader(const uint8_t *data, size_t size); 56 NALBitReader(const uint8_t *data, size_t size);
|
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/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 | 52 void copy(size_t from, void *data, size_t size); 139 void PageCache::copy(size_t from, void *data, size_t size) { argument 140 ALOGV("copy from %zu size %zu", from, size); 142 if (size == 0) { 146 CHECK_LE(from + size, mTotalSize); 158 if (avail >= size) { 159 memcpy(data, (const uint8_t *)(*it)->mData + delta, size); 166 size -= avail; 168 while (size > 281 getSize(off64_t *size) argument 448 size_t size; local 503 readAt(off64_t offset, void *data, size_t size) argument 579 readInternal(off64_t offset, void *data, size_t size) argument [all...] |