Home
last modified time | relevance | path

Searched refs:i1 (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/core/java/android/os/
DWorkSource.java340 int i1 = 0, i2 = 0; in removeUids() local
342 while (i1 < N1 && i2 < N2) { in removeUids()
343 if (DEBUG) Log.d(TAG, "Step: target @ " + i1 + " of " + N1 + ", other @ " + i2 in removeUids()
345 if (uids2[i2] == uids1[i1]) { in removeUids()
346 if (DEBUG) Log.d(TAG, "i1=" + i1 + " i2=" + i2 + " N1=" + N1 in removeUids()
347 + ": remove " + uids1[i1]); in removeUids()
350 if (i1 < N1) System.arraycopy(uids1, i1+1, uids1, i1, N1-i1); in removeUids()
352 } else if (uids2[i2] > uids1[i1]) { in removeUids()
353 if (DEBUG) Log.d(TAG, "i1=" + i1 + " i2=" + i2 + " N1=" + N1 + ": skip i1"); in removeUids()
354 i1++; in removeUids()
[all …]
/frameworks/compile/libbcc/lib/Renderscript/runtime/
DrsClamp.ll1 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v…
7 %2 = select i1 %1, float %value, float %high
9 %4 = select i1 %3, float %2, float %low
15 %2 = select i1 %1, i8 %value, i8 %high
17 %4 = select i1 %3, i8 %2, i8 %low
23 %2 = select i1 %1, i8 %value, i8 %high
25 %4 = select i1 %3, i8 %2, i8 %low
31 %2 = select i1 %1, i16 %value, i16 %high
33 %4 = select i1 %3, i16 %2, i16 %low
39 %2 = select i1 %1, i16 %value, i16 %high
[all …]
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
Dkernel_struct.rs4 int i1;
18 out->i1 = 0;
27 s.i1 = in.i1 + x;
39 _RS_ASSERT(aout[i].i1 == (i + ain[i].i1));
Dmath.rs10 volatile int i1;
191 f1 = fnc(f1, i1); \
198 f1 = fnc(f1, i1); \
199 f2 = fnc(f2, i1); \
200 f3 = fnc(f3, i1); \
201 f4 = fnc(f4, i1);
219 f1 = fnc(f1, (int*) &i1); \
226 f1 = fnc(f1, f1, (int*) &i1); \
233 i1 = fnc(f1); \
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
Dkernel_struct.rs4 int i1;
18 out->i1 = 0;
27 s.i1 = in.i1 + x;
39 _RS_ASSERT(aout[i].i1 == (i + ain[i].i1));
Dmath.rs10 volatile int i1;
191 f1 = fnc(f1, i1); \
198 f1 = fnc(f1, i1); \
199 f2 = fnc(f2, i1); \
200 f3 = fnc(f3, i1); \
201 f4 = fnc(f4, i1);
219 f1 = fnc(f1, (int*) &i1); \
226 f1 = fnc(f1, f1, (int*) &i1); \
233 i1 = fnc(f1); \
/frameworks/rs/
DrsCppUtils.h202 static inline uint16_t rsBoxFilter565(uint16_t i1, uint16_t i2, uint16_t i3, uint16_t i4) { in rsBoxFilter565() argument
203 uint32_t r = ((i1 & 0x1f) + (i2 & 0x1f) + (i3 & 0x1f) + (i4 & 0x1f)); in rsBoxFilter565()
204 uint32_t g = ((i1 >> 5) & 0x3f) + ((i2 >> 5) & 0x3f) + ((i3 >> 5) & 0x3f) + ((i4 >> 5) & 0x3f); in rsBoxFilter565()
205 uint32_t b = ((i1 >> 11) + (i2 >> 11) + (i3 >> 11) + (i4 >> 11)); in rsBoxFilter565()
209 static inline uint32_t rsBoxFilter8888(uint32_t i1, uint32_t i2, uint32_t i3, uint32_t i4) { in rsBoxFilter8888() argument
210 uint32_t r = (i1 & 0xff) + (i2 & 0xff) + (i3 & 0xff) + (i4 & 0xff); in rsBoxFilter8888()
211 … uint32_t g = ((i1 >> 8) & 0xff) + ((i2 >> 8) & 0xff) + ((i3 >> 8) & 0xff) + ((i4 >> 8) & 0xff); in rsBoxFilter8888()
212 …uint32_t b = ((i1 >> 16) & 0xff) + ((i2 >> 16) & 0xff) + ((i3 >> 16) & 0xff) + ((i4 >> 16) & 0xff); in rsBoxFilter8888()
213 …uint32_t a = ((i1 >> 24) & 0xff) + ((i2 >> 24) & 0xff) + ((i3 >> 24) & 0xff) + ((i4 >> 24) & 0xff); in rsBoxFilter8888()
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dc3_14pf.cpp382 Word16 i1; in search_3i40() local
464 for (i1 = ipos[1]; i1 < L_CODE; i1 += STEP) in search_3i40()
468 ps1 = ps0 + dn[i1]; in search_3i40()
474 alp1 = alp0 + ((Word32) rr[i1][i1] << 14); in search_3i40()
478 alp1 += (Word32) rr[i0][i1] << 15; in search_3i40()
497 ix = i1; in search_3i40()
500 i1 = ix; in search_3i40()
532 alp1 += (Word32) rr[i1][i2] << 13; in search_3i40()
577 *(p_codvec++) = i1; in search_3i40()
Dc4_17pf.cpp395 Word16 i1; in search_4i40() local
476 for (i1 = ipos[1]; i1 < L_CODE; i1 += STEP) in search_4i40()
480 ps1 = ps0 + dn[i1]; in search_4i40()
485 alp1 = alp0 + ((Word32) rr[i1][i1] << 14); in search_4i40()
488 alp1 += (Word32) rr[i0][i1] << 15; in search_4i40()
507 ix = i1; in search_4i40()
510 i1 = ix; in search_4i40()
542 alp1 += (Word32) rr[i1][i2] << 13; in search_4i40()
598 alp1 += (Word32) rr[i1][i3] << 13; /* idx incr = STEP */ in search_4i40()
642 *(p_codvec++) = i1; in search_4i40()
Ds10_8pf.cpp568 Word16 i0, i1, i2, i3, i4, i5, i6, i7, i9; in search_10and8i40() local
617 i1 = pos_max[ipos[1]]; in search_10and8i40()
618 index[1] = i1; in search_10and8i40()
621 ps0 = (Word16)((Word32) dn[i0] + dn[i1]); in search_10and8i40()
627 alp0 += (Word32) rr[i1][i1] << 12; in search_10and8i40()
630 alp0 += (Word32) rr[i0][i1] << 13; in search_10and8i40()
643 s += (Word32) * (p_temp2 + i1); in search_10and8i40()
666 alp1 += (Word32) * (p_temp2 + i1); in search_10and8i40()
709 s += (Word32) * (p_temp2 + i1); in search_10and8i40()
736 alp1 += (Word32) * (p_temp2 + i1) << 12; in search_10and8i40()
[all …]
Dc2_11pf.cpp412 Word16 i1; in search_2i40() local
480 for (i1 = ipos[1]; i1 < L_CODE; i1 += STEP) in search_2i40()
483 ps1 = add(ps0, dn[i1], pOverflow); in search_2i40()
489 alp1 = alp0 + ((Word32) rr[i1][i1] << 14); in search_2i40()
493 alp1 += (Word32) rr[i0][i1] << 15; in search_2i40()
511 ix = i1; in search_2i40()
Dc2_9pf.cpp596 register Word16 i1; in search_2i40() local
666 for (i1 = *(ipos + 1); i1 < L_CODE; i1 += STEP) in search_2i40()
670 ps1 = ps0 + dn[i1]; in search_2i40()
678 alp1 = alp0 + ((Word32) rr[i1][i1] << 14); in search_2i40()
684 alp1 += (Word32) rr[i0][i1] << 15; in search_2i40()
702 ix = i1; in search_2i40()
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dc2t64fx.c56 Word32 i, j, k, i0, i1, ix, iy, pos, pos2; in ACELP_2t64_fx() local
237 for (i1 = 1; i1 < L_SUBFR; i1 += STEP) in ACELP_2t64_fx()
239 ps2 = add1(ps1, dn[i1]); in ACELP_2t64_fx()
247 pos = i1; in ACELP_2t64_fx()
267 i1 = (iy >> 1); /* pos of pulse 2 (0..31) */ in ACELP_2t64_fx()
285 i1 += NB_POS; in ACELP_2t64_fx()
288 *index = add1((i0 << 6), i1); in ACELP_2t64_fx()
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/
Dresidu_asm_opt.s80 SMULTB r3, r5, r2 @i1(0) --- r3 = x[0] * a0
95 SMLABT r3, r5, r2, r3 @i1(1) --- r3 += x[-1] * a1
99 SMLATB r3, r6, r2, r3 @i1(2) --- r3 += x[-2] * a2
106 SMLABT r3, r6, r2, r3 @ i1 (3)
110 SMLATB r3, r7, r2, r3 @ i1 (4)
116 SMLABT r3, r7, r2, r3 @ i1 (5)
120 SMLATB r3, r8, r2, r3 @ i1 (6)
127 SMLABT r3, r8, r2, r3 @ i1 (7)
131 SMLATB r3, r9, r2, r3 @ i1 (8)
138 SMLABT r3, r9, r2, r3 @ i1 (9)
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DVideoEditorStressTest.java605 for (int i1 = 0; i1 < thumbNails.length; i1++) { in testStressThumbnailVideoItem()
606 thumbNails[i1].recycle(); in testStressThumbnailVideoItem()
614 for (int i1 = 0; i1 < thumbNails.length; i1++) { in testStressThumbnailVideoItem()
615 thumbNails[i1].recycle(); in testStressThumbnailVideoItem()
623 for (int i1 = 0; i1 < thumbNails.length; i1++) { in testStressThumbnailVideoItem()
624 thumbNails[i1].recycle(); in testStressThumbnailVideoItem()
632 for (int i1 = 0; i1 < thumbNails.length; i1++) { in testStressThumbnailVideoItem()
633 thumbNails[i1].recycle(); in testStressThumbnailVideoItem()
1272 for (int i1 = 0; i1 < thumbNails.length; i1++) { in testStressThumbnailImageItem()
1273 thumbNails[i1].recycle(); in testStressThumbnailImageItem()
[all …]
/frameworks/wilhelm/src/
DThreadPool.h29 typedef void (*ClosureHandler_generic)(void *p1, void *p2, void *p3, int i1, int i2);
30 typedef void (*ClosureHandler_ppi) (void *p1, void *p2, int i1);
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);
Dsles_allinclusive.h450 #define EnqueueAsyncCallback_ppi(object, handler, p1, p2, i1) \ argument
452 (ClosureHandler_ppi) (handler), (p1), (p2), (i1))
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/rs/java/tests/RsTest_11/src/com/android/rs/test/
Dmath.rs10 volatile int i1;
70 f1 = fnc(f1, i1); \
77 f1 = fnc(f1, i1); \
78 f2 = fnc(f2, i1); \
79 f3 = fnc(f3, i1); \
80 f4 = fnc(f4, i1);
91 f1 = fnc(f1, (int*) &i1); \
98 f1 = fnc(f1, f1, (int*) &i1); \
105 i1 = fnc(f1); \
/frameworks/av/services/camera/libcameraservice/camera3/
DCamera3ZslStream.cpp59 virtual int compare(const BufferInfo *i1, in compare()
62 if (i1 == NULL) { in compare()
69 if (i1->mTimestamp == mTimestamp) { in compare()
76 i1, in compare()
85 if (i1->mTimestamp > i2->mTimestamp) { in compare()
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
Dph_disp.cpp670 register Word16 i, i1; in ph_disp() local
760 i1 = 0; in ph_disp()
765 i1 += 1; in ph_disp()
769 if (i1 > 2) in ph_disp()
/frameworks/av/media/libstagefright/codecs/aacenc/src/asm/ARMV7/
DR4R8First_v7.s45 VSUB.S32 d5, d0, d1 @ r1 = buf[0] - buf[2]@i1 = buf[1] - buf[3]@
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)@
56 VSUB.S32 d7, d10, d11 @ r1 = buf[12] - buf[14]@i1 = 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/rs/java/tests/RsTest_14/src/com/android/rs/test/
Dmath.rs.bak10 volatile int i1;
177 f1 = fnc(f1, i1); \
184 f1 = fnc(f1, i1); \
185 f2 = fnc(f2, i1); \
186 f3 = fnc(f3, i1); \
187 f4 = fnc(f4, i1);
205 f1 = fnc(f1, (int*) &i1); \
212 f1 = fnc(f1, f1, (int*) &i1); \
219 i1 = fnc(f1); \
Dmath.rs10 volatile int i1;
191 f1 = fnc(f1, i1); \
198 f1 = fnc(f1, i1); \
199 f2 = fnc(f2, i1); \
200 f3 = fnc(f3, i1); \
201 f4 = fnc(f4, i1);
219 f1 = fnc(f1, (int*) &i1); \
226 f1 = fnc(f1, f1, (int*) &i1); \
233 i1 = fnc(f1); \
Dmath.rs.orig10 volatile int i1;
191 f1 = fnc(f1, i1); \
198 f1 = fnc(f1, i1); \
199 f2 = fnc(f2, i1); \
200 f3 = fnc(f3, i1); \
201 f4 = fnc(f4, i1);
219 f1 = fnc(f1, (int*) &i1); \
226 f1 = fnc(f1, f1, (int*) &i1); \
233 i1 = fnc(f1); \
/frameworks/av/media/libstagefright/codecs/aacenc/src/asm/ARMV5E/
DR4R8First_v5.s99 sub r1, r1, r3 @ i1 = buf[1] - buf[3]@
114 add r3, r1, r4 @ i6 = (i1 + r3) >> 1@
117 sub r1, r1, r4 @ i7 = (i1 - r3) >> 1@
152 sub r3, r3, r5 @ i1 = buf[ 9] - buf[11]@
197 add r1, r3, r6 @ i0 = i1 + r3@
202 sub r3, r3, r6 @ i2 = i1 - r3@

12