Home
last modified time | relevance | path

Searched refs:in1 (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dverify.rs34 static bool verify_float4(rs_allocation in1, rs_allocation in2) {
35 uint32_t w = rsAllocationGetDimX(in1);
36 uint32_t h = rsAllocationGetDimY(in1);
39 float4 pref = rsGetElementAt_float4(in1, x, y);
55 static bool verify_float3(rs_allocation in1, rs_allocation in2) {
56 uint32_t w = rsAllocationGetDimX(in1);
57 uint32_t h = rsAllocationGetDimY(in1);
60 float3 pref = rsGetElementAt_float3(in1, x, y);
75 static bool verify_float2(rs_allocation in1, rs_allocation in2) {
76 uint32_t w = rsAllocationGetDimX(in1);
[all …]
DFloat16ArithmeticTest.java138 short in1 = Float16TestData.input[x]; in checkFloat16Output() local
154 if (!isFloat16FiniteNonZero(in1) || !isFloat16FiniteNonZero(in2)) in checkFloat16Output()
165 message.append("\nInput 1: " + Short.toString(in1)); in checkFloat16Output()
DScriptGroupTest.java213 Allocation in1, in2, out, resultAlloc; in testScriptGroupTorture() local
214 in1 = Allocation.createTyped(mRS, connect); in testScriptGroupTorture()
221 node1.forEach_memset(in1); in testScriptGroupTorture()
252 group.setInput(node1.getKernelID_arith(), in1); in testScriptGroupTorture() local
/cts/tests/tests/rscpp/src/android/cts/rscpp/
Dverify.rs37 static bool verify_float4(rs_allocation in1, rs_allocation in2)
39 uint32_t w = rsAllocationGetDimX(in1);
40 uint32_t h = rsAllocationGetDimY(in1);
43 float4 pref = rsGetElementAt_float4(in1, x, y);
59 static bool verify_float3(rs_allocation in1, rs_allocation in2)
61 uint32_t w = rsAllocationGetDimX(in1);
62 uint32_t h = rsAllocationGetDimY(in1);
65 float3 pref = rsGetElementAt_float3(in1, x, y);
80 static bool verify_float2(rs_allocation in1, rs_allocation in2)
82 uint32_t w = rsAllocationGetDimX(in1);
[all …]
/cts/suite/audio_quality/test/
DSignalProcessingInterfaceTest.cpp58 android::sp<Buffer> in1(new Buffer(8, 8, false)); in TEST_F() local
59 char* data1 = in1->getData(); in TEST_F()
60 for (size_t i = 0; i < in1->getSize(); i++) { in TEST_F()
65 void* inputs[4] = { &in0, &in1, &in2, &in3 }; in TEST_F()
85 ASSERT_TRUE(*(in1.get()) == *(out1.get())); in TEST_F()
98 TaskCase::Value in1((int64_t)100); in TEST_F() local
99 void* inputs[2] = { &in0, &in1 }; in TEST_F()
107 ASSERT_TRUE(out0.getInt64() == (in0.getInt64() + in1.getInt64())); in TEST_F()
123 TaskCase::Value in1((int64_t)100); in TEST_F() local
124 void* inputs[2] = { &in0, &in1 }; in TEST_F()
[all …]
/cts/tests/tests/os/src/android/os/cts/
DParcelFileDescriptorTest.java195 AutoCloseInputStream in1 = new AutoCloseInputStream(pf); in testClose() local
197 assertEquals(0, in1.read()); in testClose()
199 in1.close(); in testClose()