Home
last modified time | relevance | path

Searched refs:r2 (Results 1 – 25 of 85) sorted by relevance

1234

/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/
Dresidu_asm_opt.s25 @y[] --- r2
72 MOV r0, r2
78 LDR r2, [r1], #-4 @r2 --- x[1], x[0]
80 SMULTB r3, r5, r2 @i1(0) --- r3 = x[0] * a0
81 SMULTT r4, r5, r2 @i2(0) --- r4 = x[1] * a0
85 SMLABB r4, r5, r2, r4 @i2(1) --- r4 += x[0] * a1
86 SMLABT r11, r5, r2, r11 @i3(1) --- r11 += x[1] * a0
89 SMLATB r11, r6, r2, r11 @i3(2) --- r11 += x[0] * a2
90 SMLATT r12, r6, r2, r12 @i4(2) --- r12 += x[1] * a2
91 SMLABB r12, r6, r2, r12 @i4(3) --- r12 += x[0] * a3
[all …]
Dpred_lt4_1_opt.s29 @ r2 --- frac
41 RSB r2, r2, #0 @frac = -frac
43 CMP r2, #0
44 ADDLT r2, r2, #4 @frac += UP_SAMP
47 RSB r4, r2, #3 @k = 3 - frac
64 MOV r2, r8 @ptr = ptr2
65 LDR r3, [r2], #4 @h[0], h[1]
79 LDR r3, [r2], #4 @h[2], h[3]
90 LDR r3, [r2], #4 @h[4], h[5]
101 LDR r3, [r2], #4 @h[6], h[7]
[all …]
Dcor_h_vec_opt.s27 @r2 ---- track
41 ADD r7, r4, r2, LSL #5 @r7 --- p0 = rrixix[track]
44 @r0 --- h[], r1 --- vec[], r2 --- pos
49 ADD r9, r1, r2, LSL #1 @p2 = &vec[pos]
51 RSB r11, r2, #62 @j=62-pos
71 ADD r9, r3, r2, LSL #1 @address of sign[pos]
90 ADD r2, r2, #4
94 ADD r9, r1, r2, LSL #1 @p2 = &vec[pos]
96 RSB r11, r2, #62 @j=62-pos
118 ADD r9, r3, r2, LSL #1 @address of sign[pos]
[all …]
DFilt_6k_7k_opt.s26 @ r2 --- mem[]
40 MOV r5, r2 @ copy mem[] address
43 MOV r0, r2
44 MOV r2, #30 @ L_FIR - 1
94 LDRSH r2, [r4, #60] @ load x[i + 30]
97 ADD r1, r1, r2 @ x[i] + x[i + 30]
108 LDRSH r2, [r4, #54] @ load x[i+27]
111 ADD r1, r1, r2 @ x[i+3] + x[i+27]
121 LDRSH r2, [r4, #48] @ x[i+24]
127 ADD r1, r1, r2 @ (x[i+6] + x[i+24])
[all …]
/frameworks/av/media/libstagefright/codecs/mp3dec/src/asm/
Dpvmp3_polyphase_filter_window_gcc.s47 stmfd sp!,{r0-r2,r4-r11,lr}
50 adr r2,PolyPh_filter_coeff
51 ldr r1,[r2]
52 add r1,r2
53 ldr r2,[sp,#0xc]
55 sub r2,r2,#1
57 str r2,[sp]
66 add r2,r4,r10
67 add r3,r0,r2,lsl #2
68 sub r2,r4,r10
[all …]
Dpvmp3_dct_16_gcc.s53 sub r2,r1,r3
54 smull lr,r2,r12,r2
56 str r2,[sp,#0x14]
57 ldr r2,[r0,#0x1c]
60 sub r3,r2,r12
66 add r3,r2,r12
67 sub r2,r1,r3
70 smull lr,r2,r12,r2
149 sub r3,r2,r12
151 add r2,r2,r12
[all …]
Dpvmp3_mdct_18_gcc.s45 mov r7,r2
46 adr r2,constdata$1
48 add r3,r2,#0x24
82 ldr lr,[r2],#4
98 ldr r2,[r5,#0x40]
132 sub r1,r1,r2
136 sub r1,r1,r2
142 ldr r2,[r1,#0x28]
144 add r0,r0,r2
149 mov r0,r2
[all …]
Dpvmp3_dct_9_gcc.s44 ldr r2, [r0, #0x20]
47 add r1,r2,r3
48 sub lr,r2,r3
51 add r2,r3,r12
62 add r8,r9,r2
67 rsb r2,r9,r2,asr #1
70 rsb r7,r2,#0
91 smlal r9,r2,r11,r9
95 smlal r12,r2,r9,r1
115 smlal r1,r2,r12,r1
[all …]
/frameworks/base/cmds/idmap2/tests/
DResultTests.cpp65 Result<uint32_t> r2(r1); in TEST() local
66 ASSERT_TRUE(r2); in TEST()
67 ASSERT_EQ(*r2, 42U); in TEST()
69 Result<uint32_t> r3 = r2; in TEST()
82 Result<uint32_t> r2(e); in TEST() local
83 ASSERT_FALSE(r2); in TEST()
84 ASSERT_EQ(r2.GetErrorMessage(), "foo"); in TEST()
93 Result<uint32_t> r2(Error("foo")); in TEST() local
94 ASSERT_FALSE(r2); in TEST()
95 ASSERT_EQ(r2.GetErrorMessage(), "foo"); in TEST()
[all …]
/frameworks/libs/net/common/tests/unit/src/android/net/util/
DIpRangeTest.java125 final IpRange r2 = new IpRange(new IpPrefix(IPV6_ADDR, 35)); in testContainsRangeEqualRanges() local
127 assertTrue(r1.containsRange(r2)); in testContainsRangeEqualRanges()
128 assertTrue(r2.containsRange(r1)); in testContainsRangeEqualRanges()
129 assertEquals(r1, r2); in testContainsRangeEqualRanges()
135 final IpRange r2 = new IpRange(new IpPrefix(address("2001:db8::0101"), 128)); in testContainsRangeSubset() local
137 assertTrue(r1.containsRange(r2)); in testContainsRangeSubset()
138 assertFalse(r2.containsRange(r1)); in testContainsRangeSubset()
139 assertNotEquals(r1, r2); in testContainsRangeSubset()
145 final IpRange r2 = new IpRange(new IpPrefix(address("2001:db8::0101"), 100)); in testContainsRangeTruncatesLowerOrderBits() local
147 assertTrue(r1.containsRange(r2)); in testContainsRangeTruncatesLowerOrderBits()
[all …]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Didct.cpp131 int32 r0, r1, r2, r3, r4, r5, r6, r7, r8; /* butterfly nodes */ in idct_intra() local
151 r2 = blk[B_SIZE * 6 + i]; in idct_intra()
158 if (!(r1 | r2 | r3 | r4 | r5 | r6 | r7)) in idct_intra()
195 r1 = W6 * (r3 + r2); in idct_intra()
196 r2 = (r1 - (W2 + W6) * r2); in idct_intra()
207 r3 = r0 + r2; in idct_intra()
208 r0 -= r2; in idct_intra()
209 r2 = (181 * (r4 + r5) + 128) >> 8; /* rounding */ in idct_intra()
219 tmpBLK32[(1<<3) + i] = (r3 + r2) >> 8; in idct_intra()
224 tmpBLK32[(6<<3) + i] = (r3 - r2) >> 8; in idct_intra()
[all …]
/frameworks/native/opengl/libagl/
Dfixed_asm.S37 mov r2, #0x8E /* 127 + 15 */
38 sub r1, r2, r1, lsr #24 /* compute shift */
39 mov r2, r0, lsl #8 /* mantissa<<8 */
40 orr r2, r2, #0x80000000 /* add the missing 1 */
41 mov r0, r2, lsr r1 /* scale to 16.16 */
52 mov r2, #0x8E /* 127 + 15 */
53 subs r1, r2, r1, lsr #24 /* compute shift */
55 mov r2, r0, lsl #8 /* mantissa<<8 */
56 orr r2, r2, #0x80000000 /* add the missing 1 */
58 movs r0, r2, lsr r1 /* scale to 16.16 */
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DSnoozeHelperTest.java97 NotificationRecord r2 = getNotificationRecord("pkg", 2, "two", UserHandle.SYSTEM);
99 mSnoozeHelper.snooze(r2 , 1000);
103 UserHandle.USER_SYSTEM, r2.sbn.getPackageName(), r2.getKey()));
111 UserHandle.USER_SYSTEM, r2.sbn.getPackageName(), r2.getKey()));
117 NotificationRecord r2 = getNotificationRecord("pkg", 2, "two", UserHandle.SYSTEM);
120 mSnoozeHelper.snooze(r2, 1000);
125 UserHandle.USER_SYSTEM, r2.sbn.getPackageName(), r2.getKey()));
135 UserHandle.USER_SYSTEM, r2.sbn.getPackageName(), r2.getKey()));
143 NotificationRecord r2 = getNotificationRecord("pkg", 2, "two", UserHandle.SYSTEM);
146 mSnoozeHelper.snooze(r2, 1000);
[all …]
/frameworks/rs/cpu_ref/
DrsCpuIntrinsics_neon_Resize.S113 lsl r2, r0, #VECSHIFT
116 add r0, r0, r2
118 udiv r1, r0, r2
119 mls r0, r1, r2, r0
121 clz r3, r2
126 lsl r2, r2, r3
129 1: cmp r2, r0
131 subls r0, r2
133 lsr r2, r2, #1
195 vdup.s16 q6, r2
[all …]
DrsCpuIntrinsics_neon_YuvToRGB.S98 subs r2, #16
120 subs r2, #16
127 2: adds r2, #16
140 tst r2, #8
150 1: tst r2, #4
159 1: tst r2, #2
168 1: tst r2, #1
201 1: tst r2, #8
205 1: tst r2, #4
208 1: tst r2, #2
[all …]
DrsCpuIntrinsics_neon_3DLUT.S123 subs r2, #8
125 cmp r2, #-8
205 subs r2, r2, #8
210 cmp r2, #-8
222 tst r2, #4
226 2: tst r2, #2
229 2: tst r2, #1
242 tst r2, #4
245 2: tst r2, #2
248 2: tst r2, #1
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV7/
Dcor_h_vec_neon.s28 @r2 ---- track
41 ADD r7, r4, r2, LSL #5 @r7 --- p0 = rrixix[track]
44 @r0 --- h[], r1 --- vec[], r2 --- pos
50 ADD r9, r1, r2, LSL #1 @p2 = &vec[pos]
52 RSB r11, r2, #62 @j=62-pos
72 ADD r9, r3, r2, LSL #1 @address of sign[pos]
91 ADD r2, r2, #4
95 ADD r9, r1, r2, LSL #1 @p2 = &vec[pos]
97 RSB r11, r2, #62 @j=62-pos
119 ADD r9, r3, r2, LSL #1 @address of sign[pos]
[all …]
Dpred_lt4_1_neon.s26 @ r2 --- frac
38 RSB r2, r2, #0 @ frac = - frac
40 CMP r2, #0
41 ADDLT r2, r2, #4 @ frac += UP_SAMP
47 RSB r2, r2, #3 @ k = UP_SAMP - 1 - frac
49 ADD r11, r11, r2, LSL #6 @ get inter4_2[k][]
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBinderDeathDispatcherTest.java142 DeathRecipient r2 = mock(DeathRecipient.class); in testRegisterAndUnregister() local
153 assertThat(d.linkToDeath(t1, r2)).isEqualTo(2); in testRegisterAndUnregister()
159 d.unlinkToDeath(t1, r2); in testRegisterAndUnregister()
173 assertThat(d.linkToDeath(t3, r2)).isEqualTo(2); in testRegisterAndUnregister()
191 d.unlinkToDeath(t3, r2); in testRegisterAndUnregister()
205 DeathRecipient r2 = mock(DeathRecipient.class); in testRegisterAndKill() local
213 d.linkToDeath(t1, r2); in testRegisterAndKill()
231 verify(r2, times(1)).binderDied(); in testRegisterAndKill()
238 reset(r1, r2, r3, r4, r5); in testRegisterAndKill()
242 verify(r2, times(0)).binderDied(); in testRegisterAndKill()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DAbstractResolverComparatorTest.java43 ResolverActivity.ResolvedComponentInfo r2 = new ResolverActivity.ResolvedComponentInfo( in testPinned() local
50 assertEquals("Pinned ranks over unpinned", -1, comparator.compare(r1, r2)); in testPinned()
51 assertEquals("Unpinned ranks under pinned", 1, comparator.compare(r2, r1)); in testPinned()
68 ResolverActivity.ResolvedComponentInfo r2 = new ResolverActivity.ResolvedComponentInfo( in testBothPinned() local
70 r2.setPinned(true); in testBothPinned()
75 assertEquals("Both pinned should rank alphabetically", -1, comparator.compare(r1, r2)); in testBothPinned()
/frameworks/native/libs/gui/tests/
DGLTest.cpp218 ::testing::AssertionResult GLTest::assertRectEq(const Rect &r1, const Rect &r2, in assertRectEq() argument
222 if (abs(r1.left - r2.left) > tolerance) { in assertRectEq()
223 msg += String8::format("left(%d isn't %d)", r1.left, r2.left); in assertRectEq()
225 if (abs(r1.top - r2.top) > tolerance) { in assertRectEq()
229 msg += String8::format("top(%d isn't %d)", r1.top, r2.top); in assertRectEq()
231 if (abs(r1.right - r2.right) > tolerance) { in assertRectEq()
235 msg += String8::format("right(%d isn't %d)", r1.right, r2.right); in assertRectEq()
237 if (abs(r1.bottom - r2.bottom) > tolerance) { in assertRectEq()
241 msg += String8::format("bottom(%d isn't %d)", r1.bottom, r2.bottom); in assertRectEq()
246 r2.left, r2.top, r2.right, r2.bottom); in assertRectEq()
/frameworks/ml/nn/runtime/test/specs/V1_2/
Daxis_aligned_bbox_transform.mod.py70 r2 = Input("roi", "TENSOR_FLOAT32", "{5, 4}") variable
75 model2 = Model().Operation("AXIS_ALIGNED_BBOX_TRANSFORM", r2, d2, b2, i2).To(o2)
78 r2: ("TENSOR_QUANT16_ASYMM", 0.125, 0),
85 r2: [100, 150, 400, 430,
/frameworks/ml/nn/runtime/test/specs/V1_3/
Daxis_aligned_bbox_transform_quant8_signed.mod.py71 r2 = Input("roi", "TENSOR_FLOAT32", "{5, 4}") variable
76 model2 = Model().Operation("AXIS_ALIGNED_BBOX_TRANSFORM", r2, d2, b2, i2).To(o2)
79 r2: ("TENSOR_QUANT16_ASYMM", 0.125, 0),
86 r2: [100, 150, 400, 430,
/frameworks/rs/
DrsMatrix4x4.cpp49 int r2 = (j+3) % 4; in inverse() local
52 (m[c0 + 4*r0] * (m[c1 + 4*r1] * m[c2 + 4*r2] - m[c1 + 4*r2] * m[c2 + 4*r1])) in inverse()
53 - (m[c0 + 4*r1] * (m[c1 + 4*r0] * m[c2 + 4*r2] - m[c1 + 4*r2] * m[c2 + 4*r0])) in inverse()
54 + (m[c0 + 4*r2] * (m[c1 + 4*r0] * m[c2 + 4*r1] - m[c1 + 4*r1] * m[c2 + 4*r0])); in inverse()
91 int r2 = (j+3) % 4; in inverseTranspose() local
93 … float minor = (m[c0 + 4*r0] * (m[c1 + 4*r1] * m[c2 + 4*r2] - m[c1 + 4*r2] * m[c2 + 4*r1])) in inverseTranspose()
94 … - (m[c0 + 4*r1] * (m[c1 + 4*r0] * m[c2 + 4*r2] - m[c1 + 4*r2] * m[c2 + 4*r0])) in inverseTranspose()
95 … + (m[c0 + 4*r2] * (m[c1 + 4*r0] * m[c2 + 4*r1] - m[c1 + 4*r1] * m[c2 + 4*r0])); in inverseTranspose()
/frameworks/opt/net/wifi/tests/wifitests/assets/
Druckus.PerProviderSubscription.conf11 … 3:URI=58:https://policy-server.r2-testbed-rks.wi-fi.org:9445/OnlineSignup/services/doAuthenticate
17 7:CertURL=3d:http://www.r2-testbed.wi-fi.org/policy-rootcert-networkfx.der
32 7:CertURL=2a:http://www.r2-testbed.wi-fi.org/cacert.der
40 …3:URI=5d:https://remediation-server.r2-testbed-rks.wi-fi.org:9445/OnlineSignup/services/doAuthenti…
42 7:CertURL=43:http://www.r2-testbed.wi-fi.org/subscription-rootcert-networkfx.der

1234