/frameworks/base/libs/hwui/ |
D | ResourceCache.cpp | 34 ResourceReference* ref = mCache->valueAt(i); in logCache() local 38 i, ref->refCount, ref->destroyed, ref->resourceType); in logCache() 71 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : nullptr; in incrementRefcountLocked() local 72 if (ref == nullptr || mCache->size() == 0) { in incrementRefcountLocked() 73 ref = new ResourceReference(resourceType); in incrementRefcountLocked() 74 mCache->add(resource, ref); in incrementRefcountLocked() 76 ref->refCount++; in incrementRefcountLocked() 90 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : nullptr; in decrementRefcountLocked() local 91 if (ref == nullptr) { in decrementRefcountLocked() 95 ref->refCount--; in decrementRefcountLocked() [all …]
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | sad_mb_offset.h | 27 __inline int32 sad_mb_offset3(UChar *ref, UChar *blk, Int lx, Int dmin) in sad_mb_offset3() argument 29 __inline int32 sad_mb_offset2(UChar *ref, UChar *blk, Int lx, Int dmin) in sad_mb_offset3() 31 __inline int32 sad_mb_offset1(UChar *ref, UChar *blk, Int lx, Int dmin) in sad_mb_offset3() 40 ref -= NUMBER; /* bic ref, ref, #3 */ in sad_mb_offset3() 41 ref -= lx; in sad_mb_offset3() 53 x10 = *((uint32*)(ref += lx)); /* D C B A */ in sad_mb_offset3() 54 x11 = *((uint32*)(ref + 4)); /* H G F E */ in sad_mb_offset3() 55 x12 = *((uint32*)(ref + 8)); /* L K J I */ in sad_mb_offset3() 79 x10 = *((uint32*)(ref + 8)); /* D C B A */ in sad_mb_offset3() 80 x11 = *((uint32*)(ref + 12)); /* H G F E */ in sad_mb_offset3() [all …]
|
D | sad_halfpel.cpp | 64 Int HalfPel1_SAD_MB(UChar *ref, UChar *blk, Int dmin, Int width, Int ih, Int jh) in HalfPel1_SAD_MB() argument 73 p1 = ref; in HalfPel1_SAD_MB() 74 if (ih) p2 = ref + 1; in HalfPel1_SAD_MB() 75 else p2 = ref + width; in HalfPel1_SAD_MB() 96 Int HalfPel2_SAD_MB(UChar *ref, UChar *blk, Int dmin, Int width) in HalfPel2_SAD_MB() argument 103 p1 = ref; in HalfPel2_SAD_MB() 104 p2 = ref + 1; in HalfPel2_SAD_MB() 105 p3 = ref + width; in HalfPel2_SAD_MB() 106 p4 = ref + width + 1; in HalfPel2_SAD_MB() 138 Int HalfPel1_SAD_Blk(UChar *ref, UChar *blk, Int dmin, Int width, Int ih, Int jh) in HalfPel1_SAD_Blk() argument [all …]
|
D | sad_inline.h | 82 __inline int32 simd_sad_mb(UChar *ref, UChar *blk, Int dmin, Int lx) in simd_sad_mb() argument 88 x8 = (uintptr_t)ref & 0x3; in simd_sad_mb() 101 ref -= lx; in simd_sad_mb() 108 x10 = *((uint32*)(ref += lx)); in simd_sad_mb() 109 x11 = *((uint32*)(ref + 4)); in simd_sad_mb() 127 x10 = *((uint32*)(ref + 8)); in simd_sad_mb() 128 x11 = *((uint32*)(ref + 12)); in simd_sad_mb() 163 return sad_mb_offset3(ref, blk, lx, dmin); in simd_sad_mb() 167 return sad_mb_offset2(ref, blk, lx, dmin); in simd_sad_mb() 171 return sad_mb_offset1(ref, blk, lx, dmin); in simd_sad_mb() [all …]
|
D | mp4enc_lib.h | 144 Int SAD_MB_HalfPel_Cxhyh(UChar *ref, UChar *blk, Int dmin_lx, void *extra_info); 145 Int SAD_MB_HalfPel_Cyh(UChar *ref, UChar *blk, Int dmin_lx, void *extra_info); 146 Int SAD_MB_HalfPel_Cxh(UChar *ref, UChar *blk, Int dmin_lx, void *extra_info); 147 Int SAD_MB_HalfPel_MMX(UChar *ref, UChar *blk, Int dmin_lx, void *extra_info); 148 Int SAD_MB_HalfPel_SSE(UChar *ref, UChar *blk, Int dmin_lx, void *extra_info); 149 …Int SAD_Blk_HalfPel_C(UChar *ref, UChar *blk, Int dmin, Int lx, Int rx, Int xh, Int yh, void *extr… 150 Int SAD_Blk_HalfPel_MMX(UChar *ref, UChar *blk, Int dmin, Int lx, void *extra_info); 151 Int SAD_Blk_HalfPel_SSE(UChar *ref, UChar *blk, Int dmin, Int lx, void *extra_info); 152 Int SAD_Macroblock_C(UChar *ref, UChar *blk, Int dmin_lx, void *extra_info); 153 Int SAD_Macroblock_MMX(UChar *ref, UChar *blk, Int dmin_lx, void *extra_info); [all …]
|
/frameworks/base/tools/aapt2/ |
D | ResourceUtils_test.cpp | 143 Maybe<Reference> ref = ResourceUtils::ParseStyleParentReference("@android:style/foo", &err_str); in TEST() local 144 ASSERT_TRUE(ref); in TEST() 145 EXPECT_THAT(ref.value().name, Eq(make_value(kAndroidStyleFooName))); in TEST() 147 ref = ResourceUtils::ParseStyleParentReference("@style/foo", &err_str); in TEST() 148 ASSERT_TRUE(ref); in TEST() 149 EXPECT_THAT(ref.value().name, Eq(make_value(kStyleFooName))); in TEST() 151 ref = ResourceUtils::ParseStyleParentReference("?android:style/foo", &err_str); in TEST() 152 ASSERT_TRUE(ref); in TEST() 153 EXPECT_THAT(ref.value().name, Eq(make_value(kAndroidStyleFooName))); in TEST() 155 ref = ResourceUtils::ParseStyleParentReference("?style/foo", &err_str); in TEST() [all …]
|
D | ValueVisitor_test.cpp | 32 void Visit(Reference* ref) override { visited = ref; } in Visit() 41 void Visit(Reference* ref) override { visited_refs.push_back(ref); } in Visit() 50 Reference ref(ResourceName{"android", ResourceType::kAttr, "foo"}); in TEST() local 52 ref.Accept(&visitor); in TEST() 54 EXPECT_EQ(visitor.visited, &ref); in TEST() 75 std::unique_ptr<Reference> ref = test::BuildReference("android:color/white"); in TEST() local 76 EXPECT_NE(ValueCast<Reference>(ref.get()), nullptr); in TEST()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
D | TrackedGarbage.java | 23 import java.lang.ref.Reference; 24 import java.lang.ref.ReferenceQueue; 25 import java.lang.ref.WeakReference; 55 Reference<?> ref; in cleanUp() local 56 while ((ref = mRefQueue.poll()) != null) { in cleanUp() 57 mGarbage.remove(ref); in cleanUp() 91 for (LeakReference ref : mGarbage) { in dump() 92 acc.put(ref.clazz, acc.getOrDefault(ref.clazz, 0) + 1); in dump() 93 if (isOld(ref.createdUptimeMillis, now)) { in dump() 94 accOld.put(ref.clazz, accOld.getOrDefault(ref.clazz, 0) + 1); in dump() [all …]
|
D | WeakIdentityHashMap.java | 19 import java.lang.ref.Reference; 20 import java.lang.ref.ReferenceQueue; 21 import java.lang.ref.WeakReference; 36 Reference<?> ref; in cleanUp() local 37 while ((ref = mRefQueue.poll()) != null) { in cleanUp() 38 mMap.remove(ref); in cleanUp()
|
/frameworks/rs/ |
D | rsObjectBase.h | 107 ObjectBaseRef(const ObjectBaseRef &ref) { in ObjectBaseRef() argument 108 mRef = ref.get(); in ObjectBaseRef() 114 ObjectBaseRef(T *ref) { // NOLINT, implicit in ObjectBaseRef() argument 115 mRef = ref; in ObjectBaseRef() 117 ref->incSysRef(); in ObjectBaseRef() 121 ObjectBaseRef & operator= (const ObjectBaseRef &ref) { 122 if (&ref != this) { 123 set(ref); 132 void set(T *ref) { in set() argument 133 if (mRef != ref) { in set() [all …]
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm/ |
D | h264bsdFillRow7.s | 26 ref RN 0 label 63 LDRB tmp1, [ref,#0] 85 ; LDR tmp2, [ref], #4 89 ; LDR tmp2, [ref], #4 93 ; LDR tmp2, [ref], #4 97 ; LDR tmp2, [ref], #4 101 ; LDR tmp2, [ref],#4 105 ; LDR tmp2, [ref],#4 109 ; LDR tmp2, [ref],#4 113 ; LDR tmp2, [ref],#4 [all …]
|
/frameworks/native/opengl/libs/EGL/ |
D | egl_object.h | 64 egl_object_t* ref; variable 70 explicit LocalRef(egl_display_t const* display, T o) : ref(0) { in LocalRef() 73 ref = native; in LocalRef() 77 return static_cast<N*>(ref); in get() 88 egl_object_t::LocalRef<N, T>::LocalRef(egl_object_t* rhs) : ref(rhs) { in LocalRef() 89 if (ref) { in LocalRef() 90 ref->incRef(); in LocalRef() 96 if (ref) { in ~LocalRef() 97 ref->destroy(); in ~LocalRef() 103 if (ref) { in acquire() [all …]
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm_gcc/ |
D | h264bsdFillRow7.S | 26 #define ref r0 macro 54 LDRB tmp1, [ref,#0] 77 VLD1.8 {qTmp0, qTmp1}, [ref]! 83 VLD1.8 {dTmp0,dTmp1,dTmp2}, [ref]! 85 LDR tmp2, [ref], #4 90 VLD1.8 {dTmp0,dTmp1,dTmp2}, [ref]! 95 VLD1.8 {qTmp0}, [ref]! 97 LDR tmp2, [ref], #4 102 VLD1.8 {qTmp0}, [ref]! 107 VLD1.8 {dTmp0}, [ref]! [all …]
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/ |
D | h264bsd_interpolate_hor_ver_quarter.s | 34 ref RN 0 label 134 ADD ref,sp,#0x28 ;// ref = p1 145 ADD ref, ref, tmp5 ;// ref += y0*width+x0 146 STR ref, [sp, #0x1e4] ;// store "ref" for vertical filtering 150 MLA ref, tmp6, width, ref 151 ADD ref, ref, #8 ;// ref = ref+8 176 LDR x_3_1, [ref, #-8] 178 LDR x_7_5, [ref, #-4] 194 LDR x_3_1, [ref], #4 230 LDR x_7_5, [ref], #4 [all …]
|
D | h264bsd_interpolate_ver_half.s | 33 ref RN 0 label 126 ADD ref,sp,#0x28 ;// ref = p1 135 ADD ref, ref, tmp6 ;// ref += y0*width+x0 150 LDR tmp1, [ref], width ;// |a4|a3|a2|a1| 151 LDR tmp2, [ref], width ;// |c4|c3|c2|c1| 152 LDR tmp3, [ref], width ;// |g4|g3|g2|g1| 153 LDR tmp4, [ref], width ;// |m4|m3|m2|m1| 154 LDR tmp5, [ref], width ;// |r4|r3|r2|r1| 155 LDR tmp6, [ref], width ;// |t4|t3|t2|t1| 188 LDR tmp1, [ref], width [all …]
|
D | h264bsd_interpolate_hor_quarter.s | 33 ref RN 0 label 127 ADD ref,sp,#0x28 ;// ref = p1 136 ADD ref, ref, tmp2 ;// ref += y0*width+x0 137 ADD ref, ref, #8 ;// ref = ref+8 160 LDR x_3_1, [ref, #-8] 162 LDR x_7_5, [ref, #-4] 178 LDR x_3_1, [ref], #4 202 LDR tmp3, [ref, tmp4] 224 LDR x_7_5, [ref], #4 248 LDR tmp3, [ref, tmp4] [all …]
|
D | h264bsd_interpolate_ver_quarter.s | 32 ref RN 0 label 125 ADD ref,sp,#0x28 ;// ref = p1 134 ADD ref, ref, tmp6 ;// ref += y0*width+x0 151 LDR tmp1, [ref], width ;// |a4|a3|a2|a1| 152 LDR tmp2, [ref], width ;// |c4|c3|c2|c1| 153 LDR tmp3, [ref], width ;// |g4|g3|g2|g1| 154 LDR tmp4, [ref], width ;// |m4|m3|m2|m1| 155 LDR tmp5, [ref], width ;// |r4|r3|r2|r1| 156 LDR tmp6, [ref], width ;// |t4|t3|t2|t1| 198 LDR tmp1, [ref], width ;// load next row [all …]
|
D | h264bsd_interpolate_hor_half.s | 33 ref RN 0 label 125 ADD ref,sp,#0x28 ;// ref = p1 134 ADD ref, ref, tmp2 ;// ref += y0*width+x0 135 ADD ref, ref, #8 ;// ref = ref+8 158 LDR x_3_1, [ref, #-8] 160 LDR x_7_5, [ref, #-4] 176 LDR x_3_1, [ref], #4 212 LDR x_7_5, [ref], #4 240 SMLABB ref, count, mult_20_01, ref ;// +width 243 SBC ref, ref, tmp3, LSR #20 ;// -(partWidth-1)-1
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
D | h264bsd_reconstruct.h | 72 u8 * ref, 105 u8 *ref, 117 u8 *ref, 127 u8 *ref, 138 u8 *ref, 148 u8 *ref, 159 u8 *ref, 170 u8 *ref, 180 u8 *ref, 191 u8 *ref, [all …]
|
D | h264bsd_reconstruct.c | 303 u8 *ref, in h264bsdInterpolateChromaHorVer() argument 326 ASSERT(ref); in h264bsdInterpolateChromaHorVer() 331 h264bsdFillBlock(ref, block, x0, y0, width, height, in h264bsdInterpolateChromaHorVer() 333 ref += width * height; in h264bsdInterpolateChromaHorVer() 334 h264bsdFillBlock(ref, block + (chromaPartWidth+1)*(chromaPartHeight+1), in h264bsdInterpolateChromaHorVer() 338 ref = block; in h264bsdInterpolateChromaHorVer() 351 ptrA = ref + (comp * height + (u32)y0) * width + x0; in h264bsdInterpolateChromaHorVer() 430 u8 *ref; in PredictChroma() local 450 ref = refPic->data + 256 * refPic->width * refPic->height; in PredictChroma() 454 h264bsdInterpolateChromaHorVer(ref, mbPartChroma, xInt, yInt, width, in PredictChroma() [all …]
|
/frameworks/base/core/java/android/security/net/config/ |
D | NetworkSecurityConfig.java | 83 for (CertificatesEntryRef ref : mCertificatesEntryRefs) { in getTrustAnchors() 84 Set<TrustAnchor> anchors = ref.getTrustAnchors(); in getTrustAnchors() 122 for (CertificatesEntryRef ref : mCertificatesEntryRefs) { in findTrustAnchorBySubjectAndPublicKey() 123 TrustAnchor anchor = ref.findBySubjectAndPublicKey(cert); in findTrustAnchorBySubjectAndPublicKey() 133 for (CertificatesEntryRef ref : mCertificatesEntryRefs) { in findTrustAnchorByIssuerAndSignature() 134 TrustAnchor anchor = ref.findByIssuerAndSignature(cert); in findTrustAnchorByIssuerAndSignature() 145 for (CertificatesEntryRef ref : mCertificatesEntryRefs) { in findAllCertificatesByIssuerAndSignature() 146 certs.addAll(ref.findAllCertificatesByIssuerAndSignature(cert)); in findAllCertificatesByIssuerAndSignature() 154 for (CertificatesEntryRef ref : mCertificatesEntryRefs) { in handleTrustStorageUpdate() 155 ref.handleTrustStorageUpdate(); in handleTrustStorageUpdate() [all …]
|
/frameworks/base/services/core/jni/BroadcastRadio/ |
D | JavaRef.h | 32 JavaRef<T> make_javaref(JNIEnv *env, T ref) { in make_javaref() argument 33 return JavaRef<T>(ref, [env](T ref) { in make_javaref() 34 if (env && ref) { in make_javaref() 35 env->DeleteLocalRef(ref); in make_javaref()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/ |
D | ReferenceTestUtils.java | 21 import java.lang.ref.Reference; 22 import java.lang.ref.ReferenceQueue; 23 import java.lang.ref.WeakReference; 33 Reference<?> ref = new WeakReference<>(o, q); in createCollectionWaiter() local 40 if (q.remove(5_000) == ref) { in createCollectionWaiter()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | TintContextWrapper.java | 29 import java.lang.ref.WeakReference; 52 final WeakReference<TintContextWrapper> ref = sCache.get(i); in wrap() local 53 if (ref == null || ref.get() == null) { in wrap() 59 final WeakReference<TintContextWrapper> ref = sCache.get(i); in wrap() local 60 final TintContextWrapper wrapper = ref != null ? ref.get() : null; in wrap()
|
/frameworks/base/tools/aapt2/link/ |
D | ReferenceLinker_test.cpp | 57 Reference* ref = test::GetValue<Reference>(table.get(), "com.app.test:string/foo"); in TEST() local 58 ASSERT_THAT(ref, NotNull()); in TEST() 59 ASSERT_TRUE(ref->id); in TEST() 60 EXPECT_EQ(ResourceId(0x7f020001), ref->id.value()); in TEST() 62 ref = test::GetValue<Reference>(table.get(), "com.app.test:string/bar"); in TEST() 63 ASSERT_THAT(ref, NotNull()); in TEST() 64 ASSERT_TRUE(ref->id); in TEST() 65 EXPECT_EQ(ResourceId(0x7f020002), ref->id.value()); in TEST() 67 ref = test::GetValue<Reference>(table.get(), "com.app.test:string/baz"); in TEST() 68 ASSERT_THAT(ref, NotNull()); in TEST() [all …]
|