/frameworks/base/core/java/android/os/ |
D | WorkSource.java | 363 int i1 = 0, i2 = 0; in removeUids() local 365 while (i1 < N1 && i2 < N2) { in removeUids() 366 if (DEBUG) Log.d(TAG, "Step: target @ " + i1 + " of " + N1 + ", other @ " + i2 in removeUids() 368 if (uids2[i2] == uids1[i1]) { in removeUids() 369 if (DEBUG) Log.d(TAG, "i1=" + i1 + " i2=" + i2 + " N1=" + N1 in removeUids() 374 i2++; in removeUids() 375 } else if (uids2[i2] > uids1[i1]) { in removeUids() 376 if (DEBUG) Log.d(TAG, "i1=" + i1 + " i2=" + i2 + " N1=" + N1 + ": skip i1"); in removeUids() 379 if (DEBUG) Log.d(TAG, "i1=" + i1 + " i2=" + i2 + " N1=" + N1 + ": skip i2"); in removeUids() 380 i2++; in removeUids() [all …]
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
D | kernel_struct.rs | 7 int i2; 20 out->i2 = 1; 29 s.i2 = in.i2 + x; 41 _RS_ASSERT(aout[i].i2 == (i + ain[i].i2));
|
D | foreach_multi.rs | 6 uint32_t i2; 48 retval.i2 = in0 + in1; 147 _RS_ASSERT(result->i2 == sum);
|
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | kernel_struct.rs | 7 int i2; 20 out->i2 = 1; 29 s.i2 = in.i2 + x; 41 _RS_ASSERT(aout[i].i2 == (i + ain[i].i2));
|
D | apitest.rs | 47 volatile int2 i2; 234 i2 = rsGetElementAt_int2(aInt2, 0); 235 rsSetElementAt_int2(aInt2, i2, 0); 236 i2 = rsGetElementAt_int2(aInt2, 0, 0); 237 rsSetElementAt_int2(aInt2, i2, 0, 0); 238 i2 = rsGetElementAt_int2(aInt2, 0, 0, 0); 239 rsSetElementAt_int2(aInt2, i2, 0, 0, 0); 420 c2 = convert_char2(i2); 442 uc2 = convert_uchar2(i2); 464 s2 = convert_short2(i2); [all …]
|
D | UT_instance.java | 79 int i2[] = new int[1]; in run() local 85 ai2.copyTo(i2); in run() 91 assertEquals(2, i2[0]); in run() 96 assertEquals(2, i2[0]); in run()
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
D | kernel_struct.rs | 7 int i2; 20 out->i2 = 1; 29 s.i2 = in.i2 + x; 41 _RS_ASSERT(aout[i].i2 == (i + ain[i].i2));
|
D | apitest.rs | 47 volatile int2 i2; 236 i2 = rsGetElementAt_int2(aInt2, 0); 237 rsSetElementAt_int2(aInt2, i2, 0); 238 i2 = rsGetElementAt_int2(aInt2, 0, 0); 239 rsSetElementAt_int2(aInt2, i2, 0, 0); 240 i2 = rsGetElementAt_int2(aInt2, 0, 0, 0); 241 rsSetElementAt_int2(aInt2, i2, 0, 0, 0); 422 c2 = convert_char2(i2); 444 uc2 = convert_uchar2(i2); 466 s2 = convert_short2(i2); [all …]
|
D | UT_instance.java | 79 int i2[] = new int[1]; in run() local 85 ai2.copyTo(i2); in run() 91 assertEquals(2, i2[0]); in run() 96 assertEquals(2, i2[0]); in run()
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
D | c3_14pf.cpp | 383 Word16 i2; in search_3i40() local 518 for (i2 = ipos[2]; i2 < L_CODE; i2 += STEP) in search_3i40() 522 ps1 = ps0 + dn[i2]; in search_3i40() 528 alp1 = alp0 + ((Word32) rr[i2][i2] << 12); in search_3i40() 532 alp1 += (Word32) rr[i1][i2] << 13; in search_3i40() 536 alp1 += (Word32) rr[i0][i2] << 13; in search_3i40() 555 ix = i2; in search_3i40() 558 i2 = ix; in search_3i40() 578 *(p_codvec) = i2; in search_3i40()
|
D | c4_17pf.cpp | 396 Word16 i2; in search_4i40() local 528 for (i2 = ipos[2]; i2 < L_CODE; i2 += STEP) in search_4i40() 532 ps1 = ps0 + dn[i2]; in search_4i40() 538 alp1 = alp0 + ((Word32) rr[i2][i2] << 12); in search_4i40() 542 alp1 += (Word32) rr[i1][i2] << 13; in search_4i40() 546 alp1 += (Word32) rr[i0][i2] << 13; in search_4i40() 565 ix = i2; in search_4i40() 568 i2 = ix; in search_4i40() 595 alp1 += (Word32) rr[i2][i3] << 13; /* idx incr = STEP */ in search_4i40() 643 *(p_codvec++) = i2; in search_4i40()
|
D | s10_8pf.cpp | 568 Word16 i0, i1, i2, i3, i4, i5, i6, i7, i9; in search_10and8i40() local 692 i2 = ia; in search_10and8i40() 710 s += (Word32) * (p_temp2 + i2); in search_10and8i40() 739 alp1 += (Word32) * (p_temp2 + i2) << 12; in search_10and8i40() 785 s += (Word32) rr[i2][i7]; in search_10and8i40() 818 alp1 += (Word32) * (p_temp2 + i2) << 11; in search_10and8i40() 876 s += (Word32) rr[i2][i9]; in search_10and8i40() 909 alp1 += (Word32) rr[i2][j] << 10; in search_10and8i40()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/ |
D | residu_asm_opt.s | 81 SMULTT r4, r5, r2 @i2(0) --- r4 = x[1] * a0 85 SMLABB r4, r5, r2, r4 @i2(1) --- r4 += x[0] * a1 96 SMLATT r4, r6, r2, r4 @i2(2) --- r4 += x[-1] * a2 101 SMLABB r4, r6, r2, r4 @ i2 (3) 107 SMLATT r4, r7, r2, r4 @ i2 (4) 111 SMLABB r4, r7, r2, r4 @ i2 (5) 117 SMLATT r4, r8, r2, r4 @ i2 (6) 121 SMLABB r4, r8, r2, r4 @ i2 (7) 128 SMLATT r4, r9, r2, r4 @ i2 (8) 132 SMLABB r4, r9, r2, r4 @ i2 (9) [all …]
|
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
D | DelegateClassAdapterTest.java | 105 Object i2 = clazz2.newInstance(); in testNoOp() 106 assertNotNull(i2); in testNoOp() 107 assertEquals(42, callAdd(i2, 20, 22)); in testNoOp() 110 callCallNativeInstance(i2, 10, 3.1415, new Object[0]); in testNoOp() 182 Object i2 = clazz2.newInstance(); in testDelegateNative() 183 assertNotNull(i2); in testDelegateNative() 186 assertEquals(42, callAdd(i2, 20, 22)); in testDelegateNative() 189 int result = callCallNativeInstance(i2, 10, 3.1415, objResult); in testDelegateNative() 191 assertSame(i2, objResult[0]); in testDelegateNative() 281 Object i2 = innerCons.newInstance(o2); in testDelegateInner() [all …]
|
/frameworks/rs/ |
D | rsCppUtils.h | 275 static inline uint16_t rsBoxFilter565(uint16_t i1, uint16_t i2, uint16_t i3, uint16_t i4) { in rsBoxFilter565() argument 276 uint32_t r = ((i1 & 0x1f) + (i2 & 0x1f) + (i3 & 0x1f) + (i4 & 0x1f)); in rsBoxFilter565() 277 uint32_t g = ((i1 >> 5) & 0x3f) + ((i2 >> 5) & 0x3f) + ((i3 >> 5) & 0x3f) + ((i4 >> 5) & 0x3f); in rsBoxFilter565() 278 uint32_t b = ((i1 >> 11) + (i2 >> 11) + (i3 >> 11) + (i4 >> 11)); in rsBoxFilter565() 282 static inline uint32_t rsBoxFilter8888(uint32_t i1, uint32_t i2, uint32_t i3, uint32_t i4) { in rsBoxFilter8888() argument 283 uint32_t r = (i1 & 0xff) + (i2 & 0xff) + (i3 & 0xff) + (i4 & 0xff); in rsBoxFilter8888() 284 … uint32_t g = ((i1 >> 8) & 0xff) + ((i2 >> 8) & 0xff) + ((i3 >> 8) & 0xff) + ((i4 >> 8) & 0xff); in rsBoxFilter8888() 285 …uint32_t b = ((i1 >> 16) & 0xff) + ((i2 >> 16) & 0xff) + ((i3 >> 16) & 0xff) + ((i4 >> 16) & 0xff); in rsBoxFilter8888() 286 …uint32_t a = ((i1 >> 24) & 0xff) + ((i2 >> 24) & 0xff) + ((i3 >> 24) & 0xff) + ((i4 >> 24) & 0xff); in rsBoxFilter8888()
|
/frameworks/base/libs/hwui/ |
D | Interpolator.cpp | 109 int i2 = std::min(i1 + 1, (int) mSize - 1); in interpolate() local 111 LOG_ALWAYS_FATAL_IF(i1 < 0 || i2 < 0, "negatives in interpolation!" in interpolate() 113 i1, i2, input, lutpos, mSize, mValues.get(), ipart, weight); in interpolate() 116 float v2 = mValues[i2]; in interpolate()
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/asm/ARMV5E/ |
D | R4R8First_v5.s | 102 add r3, r5, r7 @ i2 = buf[5] + buf[7]@ 108 add r7, r9, r3 @ i4 = (i0 + i2) >> 1@ 111 sub r9, r9, r3 @ i5 = (i0 - i2) >> 1@ 155 add r5, r7, r9 @ i2 = buf[13] + buf[15]@ 161 add r9, r1, r5 @ t1 = (i0 + i2) 164 sub r1, r1, r5 @ t3 = (i0 - i2) 202 sub r3, r3, r6 @ i2 = i1 - r3@ 207 sub r0, r2, r3 @ r2 - i2 208 add r1, r2, r3 @ r2 + i2
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/asm/ARMV7/ |
D | R4R8First_v7.s | 46 VSUB.S32 d7, d2, d3 @ r2 = buf[4] - buf[6]@i2 = buf[5] - buf[7]@ 50 VADD.S32 Q0, Q2, Q3 @ r4 = (r0 + r2)@i4 = (i0 + i2)@i6 = (i1 + r3)@r7 = (r1 + i3) 51 VSUB.S32 Q1, Q2, Q3 @ r5 = (r0 - r2)@i5 = (i0 - i2)@r6 = (r1 - i3)@i7 = (i1 - r3)@ 57 VADD.S32 d6, d10, d11 @ r2 = buf[12] + buf[14]@i2 = buf[13] + buf[15]@ 63 VADD.S32 Q4, Q2, Q3 @ t0 = (r0 + r2) >> 1@t1 = (i0 + i2) >> 1@i0 = i1 + r3@r2 = r1 + i3@ 64 VSUB.S32 Q5, Q2, Q3 @ t2 = (r0 - r2) >> 1@t3 = (i0 - i2) >> 1@r0 = r1 - i3@i2 = i1 - r3@
|
/frameworks/compile/slang/tests/P_math_fp/ |
D | math_fp.rs | 5 int2 i2; 22 i2 = fnc(f2); \ 40 f2 = fnc(f2, &i2); \ 58 f2 = fnc(f2, i2); \ 70 f2 = fnc(f2, f2, &i2); \
|
/frameworks/wilhelm/src/ |
D | ThreadPool.h | 29 typedef void (*ClosureHandler_generic)(void *p1, void *p2, void *p3, int i1, int i2); 31 typedef void (*ClosureHandler_ppii) (void *p1, void *p2, int i1, int i2); 32 typedef void (*ClosureHandler_piipp) (void *p1, int i1, int i2, void *p2, void *p3);
|
D | sles_allinclusive.h | 453 #define EnqueueAsyncCallback_ppii(object, handler, p1, p2, i1, i2) \ argument 455 (ClosureHandler_ppii) (handler), (p1), (p2), (i1), (i2)) 456 #define EnqueueAsyncCallback_piipp(object, handler, p1, i1, i2, p2, p3) \ argument 458 (ClosureHandler_piipp) (handler), (p1), (i1), (i2), (p2), (p3))
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3ZslStream.cpp | 62 const BufferInfo *i2) const { in compare() 66 } else if (i2 == NULL) { in compare() 73 } else if (i2->mTimestamp == mTimestamp) { in compare() 79 i2 in compare() 87 if (i1->mTimestamp > i2->mTimestamp) { in compare()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/internal/view/animation/ |
D | NativeInterpolatorFactoryHelper_Delegate.java | 116 int i2 = Math.min(i1 + 1, mSize - 1); in getInterpolation() local 118 assert i1 >= 0 && i2 >= 0 : "Negatives in the interpolation"; in getInterpolation() 120 return MathUtils.lerp(mValues[i1], mValues[i2], weight); in getInterpolation()
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
D | transform.c | 111 int i0, i1, i2, i3; in Radix8First() local 123 i2 = buf[5] + buf[7]; in Radix8First() 128 i4 = (i0 + i2) >> 1; in Radix8First() 130 i5 = (i0 - i2) >> 1; in Radix8First() 141 i2 = buf[13] + buf[15]; in Radix8First() 146 t1 = (i0 + i2) >> 1; in Radix8First() 148 t3 = (i0 - i2) >> 1; in Radix8First() 162 i2 = i1 - r3; in Radix8First() 166 t2 = MULHIGH(SQRT1_2, r2 - i2); in Radix8First() 167 t3 = MULHIGH(SQRT1_2, r2 + i2); in Radix8First()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | AidlTest.java | 322 int[] i2 = new int[]{42, 43, 44}; in testArrays() local 323 int[] ir = mRemote.intArray(i0, i1, i2); in testArrays() 331 assertEquals(34, i2[0]); in testArrays() 332 assertEquals(43, i2[1]); in testArrays() 333 assertEquals(44, i2[2]); in testArrays()
|