Home
last modified time | relevance | path

Searched refs:t (Results 1 – 25 of 971) sorted by relevance

12345678910>>...39

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DCoreMathVerifier.java224 static private Target.Floaty pi(Target t) { in pi() argument
225 return t.newFloaty(Math.PI); in pi()
228 static private Target.Floaty pi32(Target t) { in pi32() argument
229 return t.new32((float) Math.PI); in pi32()
232 static private Target.Floaty any(Target t) { in any() argument
233 return t.newFloaty(Double.NEGATIVE_INFINITY, Double.NaN, Double.POSITIVE_INFINITY); in any()
236 static private Target.Floaty any32(Target t) { in any32() argument
237 return t.new32(Float.NEGATIVE_INFINITY, Float.NaN, Float.POSITIVE_INFINITY); in any32()
240 static private Target.Floaty acos(double d, Target t) { in acos() argument
241 Target.Floaty in = t.newFloaty(d); in acos()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rsub_int/
DTest_rsub_int.java36 T_rsub_int_1 t = new T_rsub_int_1(); in testN1() local
37 assertEquals("Subtest_1 is failed", -4, t.run(8)); in testN1()
38 assertEquals("Subtest_2 is failed",45, t.run1(15)); in testN1()
39 assertEquals("Subtest_3 is failed",0, t.run2(20)); in testN1()
40 assertEquals("Subtest_4 is failed",-35, t.run3(10)); in testN1()
41 assertEquals("Subtest_5 is failed",-20, t.run4(-50)); in testN1()
42 assertEquals("Subtest_6 is failed",20, t.run5(-70)); in testN1()
49 T_rsub_int_2 t = new T_rsub_int_2(); in testN2() local
50 assertEquals("Subtest_1 is failed",255, t.run(0)); in testN2()
51 assertEquals("Subtest_2 is failed",-32768, t.run1(0)); in testN2()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rsub_int_lit8/
DTest_rsub_int_lit8.java36 T_rsub_int_lit8_1 t = new T_rsub_int_lit8_1(); in testN1() local
37 assertEquals("Subtest_1 is failed", -4, t.run(8)); in testN1()
38 assertEquals("Subtest_2 is failed",45, t.run1(15)); in testN1()
39 assertEquals("Subtest_3 is failed",0, t.run2(20)); in testN1()
40 assertEquals("Subtest_4 is failed",-35, t.run3(10)); in testN1()
41 assertEquals("Subtest_5 is failed",-20, t.run4(-50)); in testN1()
42 assertEquals("Subtest_6 is failed",20, t.run5(-70)); in testN1()
49 T_rsub_int_lit8_2 t = new T_rsub_int_lit8_2(); in testN2() local
50 assertEquals("Subtest_1 is failed",123, t.run(0)); in testN2()
51 assertEquals("Subtest_2 is failed",-123, t.run1(0)); in testN2()
[all …]
/cts/tests/tests/text/src/android/text/format/cts/
DTimeTest.java186 Time t = new Time(); in testParseNull() local
187 t.parse(null); in testParseNull()
192 Time t = new Time(); in testParse3339Null() local
193 t.parse3339(null); in testParse3339Null()
201 Time t = new Time(); in testBug16002() local
204 t.parse3339("xxx"); in testBug16002()
216 Time t = new Time(); in testBug22225() local
219 t.parse("xxx"); in testBug22225()
487 Time t = new Time(originalTz); in testSwitchTimezone_simpleUtc() local
488 Fields.set(t, 2006, 9, 5, 12, 0, 0, -1 /* isDst */, 0, 0, 0); in testSwitchTimezone_simpleUtc()
[all …]
/cts/tests/tests/text/src/android/text/style/cts/
DTtsSpanTest.java48 TtsSpan t = new TtsSpan("test.type.one", mBundle); in testGetArgs() local
49 final PersistableBundle args = t.getArgs(); in testGetArgs()
59 TtsSpan t = new TtsSpan("test.type.two", mBundle); in testGetType() local
60 assertEquals("test.type.two", t.getType()); in testGetType()
83 TtsSpan t = new TtsSpan(p); in testWriteAndReadParcel() local
85 assertEquals("test.type.five", t.getType()); in testWriteAndReadParcel()
86 final PersistableBundle args = t.getArgs(); in testWriteAndReadParcel()
99 final TtsSpan t = new TtsSpan.Builder<>("test.type.builder") in testBuilder() local
104 assertEquals("test.type.builder", t.getType()); in testBuilder()
105 final PersistableBundle args = t.getArgs(); in testBuilder()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/int_to_byte/
DTest_int_to_byte.java30 T_int_to_byte_1 t = new T_int_to_byte_1(); in testN1() local
31 assertEquals(1, t.run(1)); in testN1()
38 T_int_to_byte_1 t = new T_int_to_byte_1(); in testN2() local
39 assertEquals(-1, t.run(-1)); in testN2()
46 T_int_to_byte_1 t = new T_int_to_byte_1(); in testN3() local
47 assertEquals(16, t.run(16)); in testN3()
54 T_int_to_byte_1 t = new T_int_to_byte_1(); in testN4() local
55 assertEquals(-32, t.run(-32)); in testN4()
62 T_int_to_byte_1 t = new T_int_to_byte_1(); in testN5() local
63 assertEquals(-122, t.run(134)); in testN5()
[all …]
/cts/tests/tests/rscpp/librscpptest/
Drs_jni_foreach.cpp49 sp<const Type> t = Type::create(mRS, Element::I8(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach() local
52 sp<Allocation> in = Allocation::createTyped(mRS, t); in Java_android_cts_rscpp_RSForEachTest_testForEach()
53 t = Type::create(mRS, Element::U8(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach()
54 sp<Allocation> out = Allocation::createTyped(mRS, t); in Java_android_cts_rscpp_RSForEachTest_testForEach()
59 t = Type::create(mRS, Element::I8_2(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach()
60 in = Allocation::createTyped(mRS, t); in Java_android_cts_rscpp_RSForEachTest_testForEach()
61 t = Type::create(mRS, Element::U8_2(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach()
62 out = Allocation::createTyped(mRS, t); in Java_android_cts_rscpp_RSForEachTest_testForEach()
67 t = Type::create(mRS, Element::I8_3(mRS), x, 0, 0); in Java_android_cts_rscpp_RSForEachTest_testForEach()
68 in = Allocation::createTyped(mRS, t); in Java_android_cts_rscpp_RSForEachTest_testForEach()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_float_2addr/
DTest_sub_float_2addr.java29 T_sub_float_2addr_1 t = new T_sub_float_2addr_1(); in testN1() local
30 assertEquals(-0.44000006f, t.run(2.7f, 3.14f)); in testN1()
37 T_sub_float_2addr_1 t = new T_sub_float_2addr_1(); in testN2() local
38 assertEquals(3.14f, t.run(0, -3.14f)); in testN2()
45 T_sub_float_2addr_1 t = new T_sub_float_2addr_1(); in testN3() local
46 assertEquals(-0.44000006f, t.run(-3.14f, -2.7f)); in testN3()
53 T_sub_float_2addr_1 t = new T_sub_float_2addr_1(); in testB1() local
54 assertEquals(Float.NaN, t.run(Float.MAX_VALUE, Float.NaN)); in testB1()
62 T_sub_float_2addr_1 t = new T_sub_float_2addr_1(); in testB2() local
63 assertEquals(Float.POSITIVE_INFINITY, t.run(Float.POSITIVE_INFINITY, in testB2()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_float/
DTest_sub_float.java31 T_sub_float_1 t = new T_sub_float_1(); in testN1() local
32 assertEquals(-0.44000006f, t.run(2.7f, 3.14f)); in testN1()
39 T_sub_float_1 t = new T_sub_float_1(); in testN2() local
40 assertEquals(3.14f, t.run(0, -3.14f)); in testN2()
47 T_sub_float_1 t = new T_sub_float_1(); in testN3() local
48 assertEquals(-0.44000006f, t.run(-3.14f, -2.7f)); in testN3()
55 T_sub_float_1 t = new T_sub_float_1(); in testB1() local
56 assertEquals(Float.NaN, t.run(Float.MAX_VALUE, Float.NaN)); in testB1()
64 T_sub_float_1 t = new T_sub_float_1(); in testB2() local
65 assertEquals(Float.POSITIVE_INFINITY, t.run(Float.POSITIVE_INFINITY, in testB2()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/format/f1/
DTest_f1.java32 } catch (Throwable t) { in testVFE1()
33 DxUtil.checkVerifyException(t); in testVFE1()
45 } catch (Throwable t) { in testVFE2()
46 DxUtil.checkVerifyException(t); in testVFE2()
58 } catch (Throwable t) { in testVFE3()
59 DxUtil.checkVerifyException(t); in testVFE3()
71 } catch (Throwable t) { in testVFE4()
72 DxUtil.checkVerifyException(t); in testVFE4()
84 } catch (Throwable t) { in testVFE5()
85 DxUtil.checkVerifyException(t); in testVFE5()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_double_2addr/
DTest_sub_double_2addr.java29 T_sub_double_2addr_1 t = new T_sub_double_2addr_1(); in testN1() local
30 assertEquals(-0.43999999999999995d, t.run(2.7d, 3.14d)); in testN1()
37 T_sub_double_2addr_1 t = new T_sub_double_2addr_1(); in testN2() local
38 assertEquals(3.14d, t.run(0, -3.14d)); in testN2()
45 T_sub_double_2addr_1 t = new T_sub_double_2addr_1(); in testN3() local
46 assertEquals(-0.43999999999999995d, t.run(-3.14d, -2.7d)); in testN3()
53 T_sub_double_2addr_1 t = new T_sub_double_2addr_1(); in testB1() local
54 assertEquals(Double.NaN, t.run(Double.MAX_VALUE, Double.NaN)); in testB1()
62 T_sub_double_2addr_1 t = new T_sub_double_2addr_1(); in testB2() local
63 assertEquals(Double.POSITIVE_INFINITY, t.run(Double.POSITIVE_INFINITY, in testB2()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_int/
DTest_sub_int.java30 T_sub_int_1 t = new T_sub_int_1(); in testN1() local
31 assertEquals(4, t.run(8, 4)); in testN1()
38 T_sub_int_1 t = new T_sub_int_1(); in testN2() local
39 assertEquals(-255, t.run(0, 255)); in testN2()
46 T_sub_int_1 t = new T_sub_int_1(); in testN3() local
47 assertEquals(65536, t.run(0, -65536)); in testN3()
54 T_sub_int_1 t = new T_sub_int_1(); in testN4() local
55 assertEquals(Integer.MAX_VALUE, t.run(0, -2147483647)); in testN4()
62 T_sub_int_1 t = new T_sub_int_1(); in testB1() local
63 assertEquals(-2147483647, t.run(0, Integer.MAX_VALUE)); in testB1()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_double/
DTest_sub_double.java30 T_sub_double_1 t = new T_sub_double_1(); in testN1() local
31 assertEquals(-0.43999999999999995d, t.run(2.7d, 3.14d)); in testN1()
38 T_sub_double_1 t = new T_sub_double_1(); in testN2() local
39 assertEquals(3.14d, t.run(0, -3.14d)); in testN2()
46 T_sub_double_1 t = new T_sub_double_1(); in testN3() local
47 assertEquals(-0.43999999999999995d, t.run(-3.14d, -2.7d)); in testN3()
54 T_sub_double_1 t = new T_sub_double_1(); in testB1() local
55 assertEquals(Double.NaN, t.run(Double.MAX_VALUE, Double.NaN)); in testB1()
63 T_sub_double_1 t = new T_sub_double_1(); in testB2() local
64 assertEquals(Double.POSITIVE_INFINITY, t.run(Double.POSITIVE_INFINITY, in testB2()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_int_2addr/
DTest_sub_int_2addr.java29 T_sub_int_2addr_1 t = new T_sub_int_2addr_1(); in testN1() local
30 assertEquals(4, t.run(8, 4)); in testN1()
37 T_sub_int_2addr_1 t = new T_sub_int_2addr_1(); in testN2() local
38 assertEquals(-255, t.run(0, 255)); in testN2()
45 T_sub_int_2addr_1 t = new T_sub_int_2addr_1(); in testN3() local
46 assertEquals(65536, t.run(0, -65536)); in testN3()
53 T_sub_int_2addr_1 t = new T_sub_int_2addr_1(); in testN4() local
54 assertEquals(Integer.MAX_VALUE, t.run(0, -2147483647)); in testN4()
61 T_sub_int_2addr_1 t = new T_sub_int_2addr_1(); in testB1() local
62 assertEquals(-2147483647, t.run(0, Integer.MAX_VALUE)); in testB1()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_int_2addr/
DTest_add_int_2addr.java29 T_add_int_2addr_1 t = new T_add_int_2addr_1(); in testN1() local
30 assertEquals(12, t.run(8, 4)); in testN1()
37 T_add_int_2addr_1 t = new T_add_int_2addr_1(); in testN2() local
38 assertEquals(255, t.run(0, 255)); in testN2()
45 T_add_int_2addr_1 t = new T_add_int_2addr_1(); in testN3() local
46 assertEquals(-65536, t.run(0, -65536)); in testN3()
53 T_add_int_2addr_1 t = new T_add_int_2addr_1(); in testN4() local
54 assertEquals(-2147483647, t.run(0, -2147483647)); in testN4()
61 T_add_int_2addr_1 t = new T_add_int_2addr_1(); in testN5() local
62 assertEquals(-2147483648, t.run(0x7ffffffe, 2)); in testN5()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_long/
DTest_rem_long.java30 T_rem_long_1 t = new T_rem_long_1(); in testN1() local
31 assertEquals(2000000000l, t.run(10000000000l, 4000000000l)); in testN1()
38 T_rem_long_1 t = new T_rem_long_1(); in testN2() local
39 assertEquals(123l, t.run(1234567890123l, 123456789l)); in testN2()
46 T_rem_long_1 t = new T_rem_long_1(); in testN3() local
47 assertEquals(0l, t.run(0l, 1234567890123l)); in testN3()
54 T_rem_long_1 t = new T_rem_long_1(); in testN4() local
55 assertEquals(-2000000000l, t.run(-10000000000l, 4000000000l)); in testN4()
62 T_rem_long_1 t = new T_rem_long_1(); in testN5() local
63 assertEquals(2000000000l, t.run(10000000000l, -4000000000l)); in testN5()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_long_2addr/
DTest_rem_long_2addr.java30 T_rem_long_2addr_1 t = new T_rem_long_2addr_1(); in testN1() local
31 assertEquals(2000000000l, t.run(10000000000l, 4000000000l)); in testN1()
38 T_rem_long_2addr_1 t = new T_rem_long_2addr_1(); in testN2() local
39 assertEquals(123l, t.run(1234567890123l, 123456789l)); in testN2()
46 T_rem_long_2addr_1 t = new T_rem_long_2addr_1(); in testN3() local
47 assertEquals(0l, t.run(0l, 1234567890123l)); in testN3()
54 T_rem_long_2addr_1 t = new T_rem_long_2addr_1(); in testN4() local
55 assertEquals(-2000000000l, t.run(-10000000000l, 4000000000l)); in testN4()
62 T_rem_long_2addr_1 t = new T_rem_long_2addr_1(); in testN5() local
63 assertEquals(2000000000l, t.run(10000000000l, -4000000000l)); in testN5()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_int/
DTest_rem_int.java30 T_rem_int_1 t = new T_rem_int_1(); in testN1() local
31 assertEquals(0, t.run(8, 4)); in testN1()
38 T_rem_int_1 t = new T_rem_int_1(); in testN2() local
39 assertEquals(3, t.run(1073741823, 4)); in testN2()
46 T_rem_int_1 t = new T_rem_int_1(); in testN3() local
47 assertEquals(0, t.run(0, 4)); in testN3()
54 T_rem_int_1 t = new T_rem_int_1(); in testN4() local
55 assertEquals(-1, t.run(-10, 3)); in testN4()
62 T_rem_int_1 t = new T_rem_int_1(); in testN5() local
63 assertEquals(1, t.run(1073741824, -3)); in testN5()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_int_2addr/
DTest_rem_int_2addr.java30 T_rem_int_2addr_1 t = new T_rem_int_2addr_1(); in testN1() local
31 assertEquals(0, t.run(8, 4)); in testN1()
38 T_rem_int_2addr_1 t = new T_rem_int_2addr_1(); in testN2() local
39 assertEquals(3, t.run(1073741823, 4)); in testN2()
46 T_rem_int_2addr_1 t = new T_rem_int_2addr_1(); in testN3() local
47 assertEquals(0, t.run(0, 4)); in testN3()
54 T_rem_int_2addr_1 t = new T_rem_int_2addr_1(); in testN4() local
55 assertEquals(-1, t.run(-10, 3)); in testN4()
62 T_rem_int_2addr_1 t = new T_rem_int_2addr_1(); in testN5() local
63 assertEquals(1, t.run(1073741824, -3)); in testN5()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_long_2addr/
DTest_div_long_2addr.java29 T_div_long_2addr_1 t = new T_div_long_2addr_1(); in testN1() local
30 assertEquals(2l, t.run(100000000000l, 40000000000l)); in testN1()
37 T_div_long_2addr_1 t = new T_div_long_2addr_1(); in testN2() local
38 assertEquals(8l, t.run(98765432123456l, 12345678912345l)); in testN2()
45 T_div_long_2addr_1 t = new T_div_long_2addr_1(); in testN3() local
46 assertEquals(0l, t.run(0l, 98765432123456l)); in testN3()
53 T_div_long_2addr_1 t = new T_div_long_2addr_1(); in testN4() local
54 assertEquals(-8, t.run(-98765432123456l, 12345678912345l)); in testN4()
61 T_div_long_2addr_1 t = new T_div_long_2addr_1(); in testN5() local
62 assertEquals(-8, t.run(98765432123456l, -12345678912345l)); in testN5()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_long/
DTest_div_long.java30 T_div_long_1 t = new T_div_long_1(); in testN1() local
31 assertEquals(2l, t.run(100000000000l, 40000000000l)); in testN1()
38 T_div_long_1 t = new T_div_long_1(); in testN2() local
39 assertEquals(8l, t.run(98765432123456l, 12345678912345l)); in testN2()
46 T_div_long_1 t = new T_div_long_1(); in testN3() local
47 assertEquals(0l, t.run(0l, 98765432123456l)); in testN3()
54 T_div_long_1 t = new T_div_long_1(); in testN4() local
55 assertEquals(-8, t.run(-98765432123456l, 12345678912345l)); in testN4()
62 T_div_long_1 t = new T_div_long_1(); in testN5() local
63 assertEquals(-8, t.run(98765432123456l, -12345678912345l)); in testN5()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_int/
DTest_add_int.java29 T_add_int_1 t = new T_add_int_1(); in testN1() local
30 assertEquals(12, t.run(8, 4)); in testN1()
37 T_add_int_1 t = new T_add_int_1(); in testN2() local
38 assertEquals(255, t.run(0, 255)); in testN2()
45 T_add_int_1 t = new T_add_int_1(); in testN3() local
46 assertEquals(-65536, t.run(0, -65536)); in testN3()
53 T_add_int_1 t = new T_add_int_1(); in testN4() local
54 assertEquals(-2147483647, t.run(0, -2147483647)); in testN4()
61 T_add_int_1 t = new T_add_int_1(); in testN5() local
62 assertEquals(-2147483648, t.run(0x7ffffffe, 2)); in testN5()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/not_int/
DTest_not_int.java30 T_not_int_1 t = new T_not_int_1(); in testN1() local
31 assertEquals(-6, t.run(5)); in testN1()
32 assertEquals(-257, t.run(256)); in testN1()
39 T_not_int_1 t = new T_not_int_1(); in testN2() local
40 assertEquals(4, t.run(-5)); in testN2()
41 assertEquals(255, t.run(-256)); in testN2()
48 T_not_int_1 t = new T_not_int_1(); in testN3() local
49 assertEquals(-0xcaff, t.run(0xcafe)); in testN3()
50 assertEquals(-0x12d, t.run(0x12c)); in testN3()
57 T_not_int_1 t = new T_not_int_1(); in testB1() local
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_double_2addr/
DTest_div_double_2addr.java30 T_div_double_2addr_1 t = new T_div_double_2addr_1(); in testN1() local
31 assertEquals(0.8598726114649682d, t.run(2.7d, 3.14d)); in testN1()
38 T_div_double_2addr_1 t = new T_div_double_2addr_1(); in testN2() local
39 assertEquals(0d, t.run(0, 3.14d)); in testN2()
47 T_div_double_2addr_1 t = new T_div_double_2addr_1(); in testN3() local
48 assertEquals(-1.162962962962963d, t.run(-3.14d, 2.7d)); in testN3()
56 T_div_double_2addr_1 t = new T_div_double_2addr_1(); in testN4() local
57 assertEquals(-1.162962962962963d, t.run(-3.14d, 2.7d)); in testN4()
65 T_div_double_2addr_1 t = new T_div_double_2addr_1(); in testB2() local
66 assertEquals(Double.NaN, t.run(Double.POSITIVE_INFINITY, in testB2()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_int/
DTest_div_int.java30 T_div_int_1 t = new T_div_int_1(); in testN1() local
31 assertEquals(2, t.run(8, 4)); in testN1()
38 T_div_int_1 t = new T_div_int_1(); in testN2() local
39 assertEquals(268435455, t.run(1073741823, 4)); in testN2()
46 T_div_int_1 t = new T_div_int_1(); in testN3() local
47 assertEquals(0, t.run(0, 4)); in testN3()
54 T_div_int_1 t = new T_div_int_1(); in testN4() local
55 assertEquals(-3, t.run(-10, 3)); in testN4()
62 T_div_int_1 t = new T_div_int_1(); in testN5() local
63 assertEquals(-357913941, t.run(1073741824, -3)); in testN5()
[all …]

12345678910>>...39