Home
last modified time | relevance | path

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

123

/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_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/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/base/cmds/statsd/tests/utils/
DMultiConditionTrigger_test.cpp36 string t1 = "t1", t2 = "t2", t3 = "t3", t4 = "t4", t5 = "t5"; in TEST() local
37 set<string> conditionNames = {t1, t2, t3, t4, t5}; in TEST()
99 string t1 = "t1", t2 = "t2"; in TEST() local
100 set<string> conditionNames = {t1, t2}; in TEST()
114 trigger.markComplete(t1); in TEST()
115 trigger.markComplete(t1); in TEST()
130 string t1 = "t1"; in TEST() local
131 set<string> conditionNames = {t1}; in TEST()
147 trigger.markComplete(t1); in TEST()
158 trigger.markComplete(t1); in TEST()
/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/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/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/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/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DMaterial.java263 float t1 = 1 - t2; in buildMaterialProp() local
266 int red = (int) (m[k].mRed * t1 + m[k + 1].mRed * t2); in buildMaterialProp()
267 int green = (int) (m[k].mGreen * t1 + m[k + 1].mGreen * t2); in buildMaterialProp()
268 int blue = (int) (m[k].mBlue * t1 + m[k + 1].mBlue * t2); in buildMaterialProp()
270 float diffuse = m[k].mDiffuse * t1 + m[k + 1].mDiffuse * t2; in buildMaterialProp()
271 float specular = m[k].mSpecular * t1 + m[k + 1].mSpecular * t2; in buildMaterialProp()
272 float ambient = m[k].mAmbient * t1 + m[k + 1].mAmbient * t2; in buildMaterialProp()
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
Dortho.h20 const T t1 = static_cast<T>(1); in OrthoMatrix() local
24 0, 0, 0, t1; in OrthoMatrix()
/frameworks/base/core/tests/coretests/src/android/os/
DTraceTest.java89 Thread t1 = new aThread(); in topMethod() local
90 t1.start(); in topMethod()
96 t1.join(); in topMethod()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DCodecTest.java115 long t1=0; in getCurrentPosition() local
123 t1=SystemClock.uptimeMillis(); in getCurrentPosition()
134 Log.v(TAG, "mp currentPositon = " + currentPosition + " play duration = " + (t2-t1)); in getCurrentPosition()
141 if ((currentPosition < ((t2-t1) *1.2)) && (currentPosition > 0)) in getCurrentPosition()
174 long t1 =0; in setLooping() local
187 t1=SystemClock.uptimeMillis(); in setLooping()
195 Log.v(TAG, "looping position " + currentPosition + "duration = " + (t2-t1)); in setLooping()
203 if ((currentPosition < ((t2-t1-5000)*1.2)) && currentPosition > 0) in setLooping()
213 long t1=0; in pause() local
220 t1=SystemClock.uptimeMillis(); in pause()
[all …]

123