Home
last modified time | relevance | path

Searched refs:t1 (Results 1 – 25 of 67) sorted by relevance

123

/frameworks/native/opengl/libagl/arch-mips/
Dfixed_asm.S35 srl $t1,$a0,23
36 andi $t1,$t1,0xff /* get the e */
38 subu $t1,$t2,$t1 /* t1=127+15-e */
39 blez $t1,0f /* t1<=0? */
43 subu $t1,$t1,1
44 srl $v0,$t2,$t1
45 sltiu $t3,$t1,32 /* t3=1 if t1<32, else t3=0. t1>=32 means the float value is too small. */
51 or $t1,$a0,$zero /* a0=0? */
52 movz $v0,$zero,$t1
56 lui $t1,0x8000
[all …]
/frameworks/compile/mclinker/include/mcld/Support/
DCXADemangle.tcc605 const char* t1 = parse_expression(t, last, db); in parse_const_cast_expr() local
606 if (t1 != t) in parse_const_cast_expr()
613 first = t1; in parse_const_cast_expr()
631 const char* t1 = parse_expression(t, last, db); in parse_dynamic_cast_expr() local
632 if (t1 != t) in parse_dynamic_cast_expr()
639 first = t1; in parse_dynamic_cast_expr()
657 const char* t1 = parse_expression(t, last, db); in parse_reinterpret_cast_expr() local
658 if (t1 != t) in parse_reinterpret_cast_expr()
665 first = t1; in parse_reinterpret_cast_expr()
683 const char* t1 = parse_expression(t, last, db); in parse_static_cast_expr() local
[all …]
/frameworks/compile/slang/tests/P_reduce_general_inputs/
DScriptC_reduce_general_inputs.java.expect160 Type t0, t1;
171 t1 = ain2.getType();
172 if ((t0.getCount() != t1.getCount()) ||
173 (t0.getX() != t1.getX()) ||
174 (t0.getY() != t1.getY()) ||
175 (t0.getZ() != t1.getZ()) ||
176 (t0.hasFaces() != t1.hasFaces()) ||
177 (t0.hasMipmaps() != t1.hasMipmaps())) {
224 Type t0, t1;
235 t1 = ain2.getType();
[all …]
/frameworks/av/media/libstagefright/codecs/amrwb/src/
Disp_az.cpp145 int32 t1; in Isp_Az() local
190 t1 = f2[i]; in Isp_Az()
192 t1 = fxp_mul32_by_16b(t1, isp[m - 1]) << 1; in Isp_Az()
194 f2[i] -= t1; in Isp_Az()
213 t1 = t0 - (t0 < 0); in Isp_Az()
214 t1 = t1 ^(t1 >> 31); /* t1 = t1 ^sign(t1) */ in Isp_Az()
216 tmax |= t1; in Isp_Az()
225 t1 = t0 - (t0 < 0); in Isp_Az()
226 t1 = t1 ^(t1 >> 31); /* t1 = t1 ^sign(t1) */ in Isp_Az()
228 tmax |= t1; in Isp_Az()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DCachedPathIteratorFactory.java128 private static void quadCurveSegment(float[] coords, float t0, float t1) { in quadCurveSegment() argument
130 float mt = t0 + (t1 - t0) / 2; in quadCurveSegment()
136 float u1 = 1 - t1; in quadCurveSegment()
143 coords[4] = coords[0] * u1 * u1 + coords[2] * 2 * t1 * u1 + coords[4] * t1 * t1; in quadCurveSegment()
144 coords[5] = coords[1] * u1 * u1 + coords[3] * 2 * t1 * u1 + coords[5] * t1 * t1; in quadCurveSegment()
151 private static void cubicCurveSegment(float[] coords, float t0, float t1) { in cubicCurveSegment() argument
154 float u1 = 1 - t1; in cubicCurveSegment()
159 float qxb = coords[0] * u1 * u1 + coords[2] * 2 * t1 * u1 + coords[4] * t1 * t1; in cubicCurveSegment()
161 float qxd = coords[2] * u1 * u1 + coords[4] * 2 * t1 * u1 + coords[6] * t1 * t1; in cubicCurveSegment()
164 float qyb = coords[1] * u1 * u1 + coords[3] * 2 * t1 * u1 + coords[5] * t1 * t1; in cubicCurveSegment()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBinderDeathDispatcherTest.java137 MyTarget t1 = new MyTarget(); in testRegisterAndUnregister() local
150 assertThat(d.linkToDeath(t1, r1)).isEqualTo(1); in testRegisterAndUnregister()
153 assertThat(d.linkToDeath(t1, r2)).isEqualTo(2); in testRegisterAndUnregister()
154 assertThat(d.linkToDeath(t1, r3)).isEqualTo(3); in testRegisterAndUnregister()
158 d.unlinkToDeath(t1, r1); in testRegisterAndUnregister()
159 d.unlinkToDeath(t1, r2); in testRegisterAndUnregister()
161 assertThat(t1.hasDeathRecipient()).isTrue(); in testRegisterAndUnregister()
165 d.unlinkToDeath(t1, r3); in testRegisterAndUnregister()
166 assertThat(t1.hasDeathRecipient()).isFalse(); in testRegisterAndUnregister()
170 assertThat(d.linkToDeath(t1, r1)).isEqualTo(1); in testRegisterAndUnregister()
[all …]
/frameworks/compile/slang/tests/P_reflection3264_divergent/
DScriptC_reflection3264_divergent.java.expect282 Type t0, t1; // Verify dimensions
284 t1 = aout.getType();
285 if ((t0.getCount() != t1.getCount()) ||
286 (t0.getX() != t1.getX()) ||
287 (t0.getY() != t1.getY()) ||
288 (t0.getZ() != t1.getZ()) ||
289 (t0.hasFaces() != t1.hasFaces()) ||
290 (t0.hasMipmaps() != t1.hasMipmaps())) {
325 Type t0, t1; // Verify dimensions
327 t1 = aout.getType();
[all …]
/frameworks/compile/slang/tests/P_reflection3264_divergent_support/
DScriptC_reflection3264_divergent.java.expect279 Type t0, t1; // Verify dimensions
281 t1 = aout.getType();
282 if ((t0.getCount() != t1.getCount()) ||
283 (t0.getX() != t1.getX()) ||
284 (t0.getY() != t1.getY()) ||
285 (t0.getZ() != t1.getZ()) ||
286 (t0.hasFaces() != t1.hasFaces()) ||
287 (t0.hasMipmaps() != t1.hasMipmaps())) {
322 Type t0, t1; // Verify dimensions
324 t1 = aout.getType();
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/
Dtime_util_test.cc354 Timestamp t1 = begin + d / 4; in TEST() local
356 EXPECT_TRUE(t1 < t2); in TEST()
357 EXPECT_FALSE(t1 < t1); in TEST()
358 EXPECT_FALSE(t2 < t1); in TEST()
359 EXPECT_FALSE(t1 > t2); in TEST()
360 EXPECT_FALSE(t1 > t1); in TEST()
361 EXPECT_TRUE(t2 > t1); in TEST()
362 EXPECT_FALSE(t1 >= t2); in TEST()
363 EXPECT_TRUE(t1 >= t1); in TEST()
364 EXPECT_TRUE(t2 >= t1); in TEST()
[all …]
Dtime_util.h248 inline bool operator<(const Timestamp& t1, const Timestamp& t2) {
249 if (t1.seconds() == t2.seconds()) {
250 return t1.nanos() < t2.nanos();
252 return t1.seconds() < t2.seconds();
254 inline bool operator>(const Timestamp& t1, const Timestamp& t2) {
255 return t2 < t1;
257 inline bool operator>=(const Timestamp& t1, const Timestamp& t2) {
258 return !(t1 < t2);
260 inline bool operator<=(const Timestamp& t1, const Timestamp& t2) {
261 return !(t2 < t1);
[all …]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dcalc_cor.cpp227 Word32 t1; in comp_corr() local
237 t1 = 0; in comp_corr()
248 t1 = amrnb_fxp_mac_16_by_16bb((Word32) * (p), (Word32) * (p1++), t1); in comp_corr()
253 t1 = amrnb_fxp_mac_16_by_16bb((Word32) * (p), (Word32) * (p1++), t1); in comp_corr()
259 *(corr++) = t1 << 1; in comp_corr()
Dhp_max.cpp249 Word32 max, t0, t1; in hp_max() local
282 t1 = 0L; in hp_max()
285 t1 = L_mac(t1, *p, *p1, pOverflow); in hp_max()
290 t1 = L_shl(t1, 1, pOverflow); in hp_max()
291 t0 = L_sub(L_temp, t1, pOverflow); in hp_max()
Dp_ol_wgh.cpp597 Word32 t1; in Lag_max() local
632 t1 = 0; in Lag_max()
637 t1 = L_mac(t1, *p1, *p1, pOverflow); in Lag_max()
646 vadSt->L_R0 = L_add(vadSt->L_R0, t1, pOverflow); in Lag_max()
650 vad_tone_detection(vadSt, t0, t1, pOverflow); in Lag_max()
656 temp = pv_round(t1, pOverflow); in Lag_max()
657 t1 = L_msu(t0, temp, 13107, pOverflow); in Lag_max()
658 *gain_flg = pv_round(t1, pOverflow); in Lag_max()
Dlevinson.cpp655 Word32 t1; /* temporary variable */ in Levinson() local
667 t1 = ((Word32) * (Rh + 1)) << 16; in Levinson()
668 t1 += *(Rl + 1) << 1; in Levinson()
670 t2 = L_abs(t1); /* abs R[1] - required by Div_32 */ in Levinson()
673 if (t1 > 0) in Levinson()
733 t1 = ((Word32) * (Rh + i) << 16) + ((Word32)(*(Rl + i)) << 1); in Levinson()
734 t0 += t1; in Levinson()
738 t1 = L_abs(t0); in Levinson()
739 t2 = Div_32(t1, alp_h, alp_l, pOverflow); /* abs(t0)/Alpha */ in Levinson()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsics_x86.cpp763 __m128i t0, t1, t2, t3; in rsdIntrinsicBlendSrcOver_K() local
785 t1 = _mm_unpackhi_epi8(out0, _mm_setzero_si128()); in rsdIntrinsicBlendSrcOver_K()
786 t1 = _mm_mullo_epi16(t1, _mm_sub_epi16(all1s, ina)); in rsdIntrinsicBlendSrcOver_K()
787 t1 = _mm_srli_epi16(t1, 8); in rsdIntrinsicBlendSrcOver_K()
788 t1 = _mm_add_epi16(t1, ins); in rsdIntrinsicBlendSrcOver_K()
806 t0 = _mm_packus_epi16(t0, t1); in rsdIntrinsicBlendSrcOver_K()
819 __m128i t0, t1, t2, t3; in rsdIntrinsicBlendDstOver_K() local
842 t1 = _mm_unpackhi_epi8(in0, _mm_setzero_si128()); in rsdIntrinsicBlendDstOver_K()
843 t1 = _mm_mullo_epi16(t1, _mm_sub_epi16(all1s, outa)); in rsdIntrinsicBlendDstOver_K()
844 t1 = _mm_srli_epi16(t1, 8); in rsdIntrinsicBlendDstOver_K()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DTimestampTest.cs57 … var t1 = new Timestamp { Seconds = 1, Nanos = 1000000 + Duration.NanosecondsPerTick - 1 }; in ToDateTimeTruncation()
58 ….AreEqual(new DateTime(1970, 1, 1, 0, 0, 1, DateTimeKind.Utc).AddMilliseconds(1), t1.ToDateTime()); in ToDateTimeTruncation()
97 Timestamp t1 = new Timestamp { Seconds = 10000, Nanos = 5000 }; in Arithmetic()
100 Assert.AreEqual(difference, t1 - t2); in Arithmetic()
101 Assert.AreEqual(-difference, t2 - t1); in Arithmetic()
103 Assert.AreEqual(t1, t2 + difference); in Arithmetic()
104 Assert.AreEqual(t2, t1 - difference); in Arithmetic()
/frameworks/ml/nn/tools/systrace_parser/
Dcontract-between-code-and-parser.txt35 … t0: t_m_w:B|T1|[NN_LR_PP]funcP Add (t1-t0) to total time sp…
36 …NNTRACE_RT(NNTRACE_PHASE_PREPARATION, t1: t_m_w:E|T1 …
46 …NNTRACE_APP(NNTRACE_PHASE_PREPARATION, t1: t_m_w:B|T1|[NN_LR_PP]funcC1 …
48 … t3: t_m_w:E|T1 Add (t2-t1) to total time spent…
68 … t0: t_m_w:B|T1|[NN_LC_PTR]funcC1 Add (t1-t0) to total time sp…
69 …NNTRACE_TRANS("funcC1"); t1: t_m_w:B|T1|[SW][NN_LC_PCO]funcC1 …
71 … t3: t_m_w:E|T1 Add (t2-t1) to total time spent…
82 … t0: t_m_w:B|T1|[NN_LR_PE]funcR2 Add (t2-t1) to total time spent…
83 …NNTRACE_RT(NNTRACE_PHASE_EXECUTION, t1: t_m_w:B|T1|[NN_LC_PCO]funcC2 …
98 …NNTRACE_RT(NNTRACE_PHASE_EXECUTION, t1: t_m_w:B|T1|[NN_LR_PE]funcR4 …
[all …]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dlevinson.c121 Word32 t0, t1, t2; /* temporary variable */ in Levinson() local
130 t1 = ((Rh[1] << 16) + (Rl[1] << 1)); /* R[1] in Q31 */ in Levinson()
131 t2 = L_abs(t1); /* abs R[1] */ in Levinson()
133 if (t1 > 0) in Levinson()
172 t1 = ((Rh[i] << 16) + (Rl[i] << 1)); in Levinson()
173 t0 = vo_L_add(t0, t1); /* add R[i] in Q31 */ in Levinson()
176 t1 = L_abs(t0); in Levinson()
177 t2 = Div_32(t1, alp_h, alp_l); /* abs(t0)/Alpha */ in Levinson()
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
Dlsp_az.cpp520 Word32 t1; in Lsp_Az() local
545 t1 = *(p_f1++) - *(p_f2++); /* f1[i] - f2[i] */ in Lsp_Az()
548 t1 = t1 + ((Word32) 1 << 12); in Lsp_Az()
551 a[j] = (Word16)(t1 >> 13); in Lsp_Az()
/frameworks/base/core/tests/coretests/src/android/util/
DListItemFactory.java247 TextView t1 = new TextView(context); in doubleText() local
248 t1.setHeight(desiredHeight); in doubleText()
249 t1.setText(text); in doubleText()
250 t1.setGravity(Gravity.START | Gravity.CENTER_VERTICAL); in doubleText()
254 ll.addView(t1, lp1); in doubleText()
281 TextView t1 = (TextView) ((LinearLayout) convertView).getChildAt(0); in convertDoubleText() local
283 t1.setText(text); in convertDoubleText()
/frameworks/ml/nn/tools/test_generator/tests/P_vts_internal/
Dadd_internal.mod.py28 t1 = Internal("t1", ("TENSOR_FLOAT32", [2])) variable
44 model.Operation("ADD", i2, t0, act).To(t1)
47 model.Operation("ADD", t1, t3, act).To(t4)
/frameworks/ml/nn/tools/test_generator/tests/P_internal/
Dadd_internal.mod.py28 t1 = Internal("t1", ("TENSOR_FLOAT32", [2])) variable
44 model.Operation("ADD", i2, t0, act).To(t1)
47 model.Operation("ADD", t1, t3, act).To(t4)
/frameworks/base/core/tests/coretests/src/android/content/pm/
DRegisteredServicesCacheTest.java59 private final TestServiceType t1 = new TestServiceType("t1", "value1"); field in RegisteredServicesCacheTest
80 cache.addServiceForQuerying(U0, r1, newServiceInfo(t1, UID1)); in testGetAllServicesHappyPath()
92 cache.addServiceForQuerying(U0, r1, newServiceInfo(t1, UID1)); in testGetAllServicesReplaceUid()
98 cache.addServiceForQuerying(U0, r1, newServiceInfo(t1, UID1)); in testGetAllServicesReplaceUid()
114 cache.addServiceForQuerying(U0, r1, newServiceInfo(t1, UID1)); in testGetAllServicesServiceRemoved()
122 cache.addServiceForQuerying(U0, r1, newServiceInfo(t1, UID1)); in testGetAllServicesServiceRemoved()
129 cache.addServiceForQuerying(U0, r1, newServiceInfo(t1, UID1)); in testGetAllServicesMultiUser()
147 cache.addServiceForQuerying(U0, r1, newServiceInfo(t1, UID1)); in testOnRemove()
182 cache.addServiceForQuerying(0, r1, newServiceInfo(t1, 1)); in testMigration()
/frameworks/base/tests/JankBench/app/src/main/jni/
DBench.cpp204 uint64_t t1 = getTimeMillis(); in runMemoryBandwidthTest() local
208 double dt = getTimeMillis() - t1; in runMemoryBandwidthTest()
254 uint64_t t1 = getTimeNanos(); in runMemoryLatencyTest() local
268 double dt = getTimeNanos() - t1; in runMemoryLatencyTest()
360 uint64_t t1 = getTimeNanos(); in runGFlopsTest() local
362 double dt = getTimeNanos() - t1; in runGFlopsTest()
/frameworks/native/opengl/libagl/
Dmatrix.h80 int32_t t1,t2,t3; in vsquare3()
95 : [res]"=&r"(res),[t1]"=&r"(t1),[t2]"=&r"(t2),[t3]"=&r"(t3) in vsquare3()
166 int32_t t1,t2; in mla3a()
177 : [res]"=&r"(res),[t1]"=&r"(t1),[t2]"=&r"(t2) in mla3a()

123