Home
last modified time | relevance | path

Searched refs:t1 (Results 1 – 25 of 64) 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/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/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()
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()
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()
/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/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/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/util/
DSortedListActivity.java82 public int compare(Item t0, Item t1) { in SortedListAdapter()
83 if (t0.mIsDone != t1.mIsDone) { in SortedListAdapter()
86 int txtComp = t0.mText.compareTo(t1.mText); in SortedListAdapter()
90 if (t0.id < t1.id) { in SortedListAdapter()
92 } else if (t0.id > t1.id) { in SortedListAdapter()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DRegisteredServicesCacheTest.java58 private final TestServiceType t1 = new TestServiceType("t1", "value1"); field in RegisteredServicesCacheTest
79 cache.addServiceForQuerying(U0, r1, newServiceInfo(t1, UID1)); in testGetAllServicesHappyPath()
91 cache.addServiceForQuerying(U0, r1, newServiceInfo(t1, UID1)); in testGetAllServicesReplaceUid()
97 cache.addServiceForQuerying(U0, r1, newServiceInfo(t1, UID1)); in testGetAllServicesReplaceUid()
113 cache.addServiceForQuerying(U0, r1, newServiceInfo(t1, UID1)); in testGetAllServicesServiceRemoved()
121 cache.addServiceForQuerying(U0, r1, newServiceInfo(t1, UID1)); in testGetAllServicesServiceRemoved()
128 cache.addServiceForQuerying(U0, r1, newServiceInfo(t1, UID1)); in testGetAllServicesMultiUser()
146 cache.addServiceForQuerying(U0, r1, newServiceInfo(t1, UID1)); in testOnRemove()
181 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()
/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 …]
/frameworks/compile/slang/tests/P_reduce_general_examples_explicit/
DScriptC_reduce_general_examples_explicit.java.expect302 Type t0, t1;
313 t1 = ain2.getType();
314 if ((t0.getCount() != t1.getCount()) ||
315 (t0.getX() != t1.getX()) ||
316 (t0.getY() != t1.getY()) ||
317 (t0.getZ() != t1.getZ()) ||
318 (t0.hasFaces() != t1.hasFaces()) ||
319 (t0.hasMipmaps() != t1.hasMipmaps())) {
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
DMainActivity.java230 long t1 = result.timingsOld.get(i).second.longValue(); in onPostExecute() local
232 buffer.append(tag + ":" + formatter.format(t1) + ":" + in onPostExecute()
234 String.format("%.02f", (double) t1 / t2) + "\n"); in onPostExecute()
235 sum1 += t1; in onPostExecute()

123