Searched defs:ref (Results 1 - 25 of 72) sorted by relevance

123

/frameworks/base/tools/aapt2/
H A DStringPool_test.cpp30 StringPool::Ref ref = pool.makeRef(u"wut"); local
31 EXPECT_EQ(*ref, u"wut");
37 StringPool::Ref ref = pool.makeRef(u"wut"); local
40 EXPECT_EQ(*ref, u"wut");
47 StringPool::Ref ref = pool.makeRef(u"wut"); local
50 EXPECT_EQ(*ref, u"wut");
58 StringPool::Ref ref = pool.makeRef(u"z"); local
62 EXPECT_EQ(0u, ref.getIndex());
71 StringPool::Ref ref = pool.makeRef(u"wut"); local
72 EXPECT_EQ(*ref,
84 StringPool::Ref ref = pool.makeRef(u"z"); local
115 StringPool::Ref ref = pool.makeRef(u"z"); local
142 StringPool::StyleRef ref = pool.makeRef(str); local
157 StringPool::Ref ref = pool.makeRef(u"android"); local
[all...]
H A DResourceParser_test.cpp98 Reference ref; local
100 EXPECT_TRUE(ResourceParser::parseStyleParentReference(u"@android:style/foo", &ref, &errStr));
101 EXPECT_EQ(ref.name, (ResourceName{ u"android", ResourceType::kStyle, u"foo" }));
103 EXPECT_TRUE(ResourceParser::parseStyleParentReference(u"@style/foo", &ref, &errStr));
104 EXPECT_EQ(ref.name, (ResourceName{ {}, ResourceType::kStyle, u"foo" }));
106 EXPECT_TRUE(ResourceParser::parseStyleParentReference(u"?android:style/foo", &ref, &errStr));
107 EXPECT_EQ(ref.name, (ResourceName{ u"android", ResourceType::kStyle, u"foo" }));
109 EXPECT_TRUE(ResourceParser::parseStyleParentReference(u"?style/foo", &ref, &errStr));
110 EXPECT_EQ(ref.name, (ResourceName{ {}, ResourceType::kStyle, u"foo" }));
112 EXPECT_TRUE(ResourceParser::parseStyleParentReference(u"android:style/foo", &ref,
[all...]
H A DResourceValues.cpp39 RawString::RawString(const StringPool::Ref& ref) : value(ref) { argument
75 Reference* ref = new Reference(); local
76 ref->referenceType = referenceType;
77 ref->name = name;
78 ref->id = id;
79 return ref;
117 String::String(const StringPool::Ref& ref) : value(ref) { argument
139 StyledString::StyledString(const StringPool::StyleRef& ref) argument
[all...]
H A DStringPool.h106 int ref; member in class:aapt::StringPool::Entry
124 int ref; member in class:aapt::StringPool::StyleEntry
164 StyleRef makeRef(const StyleRef& ref);
/frameworks/compile/mclinker/unittests/
H A DFragmentRefTest.cpp52 FragmentRef* ref = FragmentRef::Create(*frag, 0x0); local
58 ASSERT_EQ(frag, ref->frag());
60 static_cast<RegionFragment*>(ref->frag())->getRegion().data()[0]);
62 static_cast<RegionFragment*>(ref->frag())->getRegion().size());
63 // ASSERT_EQ('H', ref->deref()[0]);
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dsad_mb_offset.h24 __inline int32 sad_mb_offset3(uint8 *ref, uint8 *blk, int lx, int dmin) argument
26 __inline int32 sad_mb_offset2(uint8 *ref, uint8 *blk, int lx, int dmin)
28 __inline int32 sad_mb_offset1(uint8 *ref, uint8 *blk, int lx, int dmin)
37 ref -= NUMBER; /* bic ref, ref, #3 */
38 ref -= lx;
50 x10 = *((uint32*)(ref += lx)); /* D C B A */
51 x11 = *((uint32*)(ref + 4)); /* H G F E */
52 x12 = *((uint32*)(ref
127 sad_mb_offset3(uint8 *ref, uint8 *blk, int lx, int dmin, int32 x8) argument
148 BIC ref, ref, #3; local
219 sad_mb_offset3(uint8 *ref, uint8 *blk, int lx, int dmin) argument
[all...]
H A Dsad.cpp45 int AVCSAD_Macroblock_C(uint8 *ref,uint8 *blk,int dmin,int lx,void *extra_info)
46 int AVCSAD_MB_HTFM_Collect(uint8 *ref,uint8 *blk,int dmin,int lx,void *extra_info)
47 int AVCSAD_MB_HTFM(uint8 *ref,uint8 *blk,int dmin,int lx,void *extra_info)
54 Purpose: Compute SAD 16x16 between blk and ref.
62 int AVCSAD_Macroblock_C(uint8 *ref, uint8 *blk, int dmin_lx, void *extra_info) argument
72 x10 = simd_sad_mb(ref, blk, dmin, lx);
90 int AVCAVCSAD_MB_HTFM_Collect(uint8 *ref, uint8 *blk, int dmin_lx, void *extra_info) argument
112 p1 = ref + offsetRef[i];
195 int AVCSAD_MB_HTFM(uint8 *ref, uint8 *blk, int dmin_lx, void *extra_info) argument
215 p1 = ref
[all...]
H A Dsad_inline.h79 __inline int32 simd_sad_mb(uint8 *ref, uint8 *blk, int dmin, int lx) argument
85 x8 = (intptr_t)ref & 0x3;
98 ref -= lx;
105 x10 = *((uint32*)(ref += lx));
106 x11 = *((uint32*)(ref + 4));
124 x10 = *((uint32*)(ref + 8));
125 x11 = *((uint32*)(ref + 12));
160 return sad_mb_offset3(ref, blk, lx, dmin);
164 return sad_mb_offset2(ref, blk, lx, dmin);
168 return sad_mb_offset1(ref, bl
254 simd_sad_mb(uint8 *ref, uint8 *blk, int dmin, int lx) argument
263 MOVS x8, ref, lsl #31 ; local
428 simd_sad_mb(uint8 *ref, uint8 *blk, int dmin, int lx) argument
[all...]
H A Dfindhalfpel.cpp149 uint8 *ref; local
159 ref = ncand - 3 - lx - (lx << 1); /* move back (-3,-3) */
168 tmp32 = *ref++;
169 tmp8 = *ref++;
171 tmp8 = *ref++;
173 tmp8 = *ref++;
178 ref += (lx - 24);
182 ref = subpel_pred + 2;
189 a = ref[-2];
190 b = ref[
456 VertInterpWClip(uint8 *dst, uint8 *ref) argument
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dsad_mb_offset.h27 __inline int32 sad_mb_offset3(UChar *ref, UChar *blk, Int lx, Int dmin) argument
29 __inline int32 sad_mb_offset2(UChar *ref, UChar *blk, Int lx, Int dmin)
31 __inline int32 sad_mb_offset1(UChar *ref, UChar *blk, Int lx, Int dmin)
40 ref -= NUMBER; /* bic ref, ref, #3 */
41 ref -= lx;
53 x10 = *((uint32*)(ref += lx)); /* D C B A */
54 x11 = *((uint32*)(ref + 4)); /* H G F E */
55 x12 = *((uint32*)(ref
130 sad_mb_offset3(UChar *ref, UChar *blk, Int lx, Int dmin, int32 x8) argument
144 BIC ref, ref, #3; local
223 sad_mb_offset3(UChar *ref, UChar *blk, Int lx, Int dmin) argument
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
H A Dh264bsd_interpolate_mid_hor.s35 ref RN 0 ;// pointer to current position in reference image label
83 LDR x_3_1, [ref, #-8]
85 LDR x_7_5, [ref, #-4]
101 LDR x_3_1, [ref], #4
132 LDR x_7_5, [ref], #4
155 SMLABB ref, count, mult_20_01, ref ;// +width
156 SBC ref, ref, tmp3, LSR #16 ;// -(partWidth-1)-1
H A Dh264bsd_interpolate_hor_half.s33 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
[all...]
H A Dh264bsd_interpolate_hor_quarter.s33 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
[all...]
H A Dh264bsd_interpolate_ver_half.s33 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], widt
[all...]
H A Dh264bsd_interpolate_ver_quarter.s32 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], widt
[all...]
H A Dh264bsd_interpolate_chroma_hor.s34 ref RN 0 label
78 ;// u8 *ref, : 0xc4
121 LDR ref, [sp, #0xc4] ;// ref
124 MLA ref, height, width, ref ;// ref += width * height;
132 ADD ref, sp, #0x1c ;// ref = block
133 STR ref, [s
[all...]
H A Dh264bsd_interpolate_chroma_hor_ver.s35 ref RN 0 label
79 ;// u8 *ref, : 0xc4
126 LDR ref, [sp, #0xc4] ;// ref
129 MLA ref, height, width, ref ;// ref += width * height;
137 ADD ref, sp, #0x1c ;// ref = block
138 STR ref, [s
[all...]
H A Dh264bsd_interpolate_chroma_ver.s33 ref RN 0 label
77 ;// u8 *ref, : 0xc4
120 LDR ref, [sp, #0xc4] ;// ref
123 MLA ref, height, width, ref ;// ref += width * height;
131 ADD ref, sp, #0x1c ;// ref = block
132 STR ref, [s
[all...]
H A Dh264bsd_interpolate_hor_ver_quarter.s34 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
147 AND tmp6, tmp6, #2 ;// calculate ref for horizontal filter
150 MLA ref, tmp
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm/
H A Dh264bsdFillRow7.s26 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],#
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm_gcc/
H A Dh264bsdFillRow7.S26 #define ref r0 define
44 void h264bsdFillRow7(const u8 * ref, u8 * fill, i32 left, i32 center,
54 LDRB tmp1, [ref,#0]
77 VLD1 {qTmp0, qTmp1}, [ref]!
83 VLD1 {dTmp0,dTmp1,dTmp2}, [ref]!
85 LDR tmp2, [ref], #4
90 VLD1 {dTmp0,dTmp1,dTmp2}, [ref]!
95 VLD1 {qTmp0}, [ref]!
97 LDR tmp2, [ref], #4
102 VLD1 {qTmp0}, [ref]!
[all...]
/frameworks/base/libs/hwui/
H A DResourceCache.cpp36 ResourceReference* ref = mCache->valueAt(i); local
37 ALOGD(" ResourceCache: mCache(%zu): resource, ref = 0x%p, 0x%p",
40 i, ref->refCount, ref->destroyed, ref->resourceType);
73 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : nullptr; local
74 if (ref == nullptr || mCache->size() == 0) {
75 ref = new ResourceReference(resourceType);
76 mCache->add(resource, ref);
78 ref
92 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : nullptr; local
114 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : nullptr; local
136 deleteResourceReferenceLocked(const void* resource, ResourceReference* ref) argument
[all...]
/frameworks/rs/java/tests/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
H A DSGEMMTest.java81 private boolean testWithTolerance(float[] out, float[] ref) { argument
83 float l2NormRef = calcL2Norm(ref);
87 float err = out[i] - ref[i];
/frameworks/rs/
H A DrsObjectBase.cpp89 ALOGV("ObjectBase %p incU ref %i, %i", this, mUserRefCount, mSysRefCount);
96 ALOGV("ObjectBase %p incS ref %i, %i", this, mUserRefCount, mSysRefCount);
107 bool ObjectBase::checkDelete(const ObjectBase *ref) { argument
108 if (!ref) {
114 // the ref counts. At this point we should be the only thread
116 if (ref->mUserRefCount || ref->mSysRefCount) {
121 ref->remove();
124 ref->preDestroy();
126 delete ref;
[all...]
H A DrsObjectBase.h107 ObjectBaseRef(const ObjectBaseRef &ref) { argument
108 mRef = ref.get();
114 ObjectBaseRef(T *ref) { argument
115 mRef = ref;
117 ref->incSysRef();
121 ObjectBaseRef & operator= (const ObjectBaseRef &ref) { argument
122 if (&ref != this) {
123 set(ref);
132 void set(T *ref) { argument
133 if (mRef != ref) {
142 set(const ObjectBaseRef &ref) argument
[all...]

Completed in 410 milliseconds

123