Home
last modified time | relevance | path

Searched refs:in2 (Results 1 – 18 of 18) sorted by relevance

/frameworks/compile/slang/tests/P_reduce_general_inputs/
DScriptC_reduce_general_inputs.java.expect122 // in2 = "b"
123 public result_int reduce_my_half_half_0(short[] in1, short[] in2) {
131 // Verify that "in2" is non-null.
132 if (in2 == null) {
133 throw new RSIllegalArgumentException("Array \"in2\" is null!");
136 if (in1.length != in2.length) {
137 … throw new RSRuntimeException("Array length mismatch between parameters \"in1\" and \"in2\"!");
139 Allocation ain2 = Allocation.createSized(mRSLocal, __F16, in2.length);
141 ain2.copyFrom(in2);
186 // in2 = "b"
[all …]
/frameworks/rs/
DrsCppUtils.h204 T rsMin(T in1, T in2) in rsMin() argument
206 if (in1 > in2) { in rsMin()
207 return in2; in rsMin()
213 T rsMax(T in1, T in2) { in rsMax() argument
214 if (in1 < in2) { in rsMax()
215 return in2; in rsMax()
/frameworks/compile/slang/tests/P_reduce_general_examples_explicit/
DScriptC_reduce_general_examples_explicit.java.expect264 // in2 = "in2"
265 public result_float reduce_dp_init(float[] in1, float[] in2) {
273 // Verify that "in2" is non-null.
274 if (in2 == null) {
275 throw new RSIllegalArgumentException("Array \"in2\" is null!");
278 if (in1.length != in2.length) {
279 … throw new RSRuntimeException("Array length mismatch between parameters \"in1\" and \"in2\"!");
281 Allocation ain2 = Allocation.createSized(mRSLocal, __F32, in2.length);
283 ain2.copyFrom(in2);
291 // ain2 = "float in2"
[all …]
Dreduce_general_examples_explicit.rs46 static void dpiAccum(float *accum, float in1, float in2) {
47 *accum += in1*in2;
/frameworks/compile/slang/tests/F_too_many_inputs/
Dtoo_many_inputs.rs5 int RS_KERNEL good(int in0, int in1, int in2, int in3, int in4, int in5, int in6, int in7) {
9 int RS_KERNEL bad(int in0, int in1, int in2, int in3, int in4, int in5, int in6, int in7, int in8) {
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/
DScriptC_reduce_general_examples_backward.java.expect269 // in2 = "in2"
270 public result_float reduce_dp(float[] in1, float[] in2) {
278 // Verify that "in2" is non-null.
279 if (in2 == null) {
280 throw new RSIllegalArgumentException("Array \"in2\" is null!");
283 if (in1.length != in2.length) {
284 … throw new RSRuntimeException("Array length mismatch between parameters \"in1\" and \"in2\"!");
286 Allocation ain2 = Allocation.createSized(mRSLocal, __F32, in2.length);
288 ain2.copyFrom(in2);
296 // ain2 = "float in2"
[all …]
Dreduce_general_examples_backward.rs28 static void dpAccum(float *accum, float in1, float in2) {
29 *accum += in1*in2;
/frameworks/compile/slang/tests/P_reduce_general_examples/
DScriptC_reduce_general_examples.java.expect269 // in2 = "in2"
270 public result_float reduce_dp(float[] in1, float[] in2) {
278 // Verify that "in2" is non-null.
279 if (in2 == null) {
280 throw new RSIllegalArgumentException("Array \"in2\" is null!");
283 if (in1.length != in2.length) {
284 … throw new RSRuntimeException("Array length mismatch between parameters \"in1\" and \"in2\"!");
286 Allocation ain2 = Allocation.createSized(mRSLocal, __F32, in2.length);
288 ain2.copyFrom(in2);
296 // ain2 = "float in2"
[all …]
Dreduce_general_examples.rs31 static void dpAccum(float *accum, float in1, float in2) {
32 *accum += in1*in2;
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
Dforeach_multi.rs58 uint32_t RS_KERNEL sum3(uint32_t in0, uint32_t in1, uint32_t in2, uint32_t x) {
61 _RS_ASSERT(in2 == x);
63 return in0 + in1 + in2;
DUT_reduce.java823 private long sumgcd(final int in1[], final int in2[]) { in sumgcd() argument
824 assertEquals("sumgcd input lengths", in1.length, in2.length); in sumgcd()
828 int a = in1[i], b = in2[i]; in sumgcd()
/frameworks/base/tools/aapt/tests/
DPseudolocales_test.cpp36 static void compound_helper(const char* in1, const char* in2, const char *in3, in compound_helper() argument
41 pseudo.text(String16(String8(in2))) + \ in compound_helper()
/frameworks/base/tools/aapt2/compile/
DPseudolocalizer_test.cpp39 static ::testing::AssertionResult compoundHelper(const char* in1, const char* in2, const char *in3, in compoundHelper() argument
45 pseudo.text(util::utf8ToUtf16(in2)) + in compoundHelper()
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
Dmotion_comp.cpp1306 void eDiagonalInterpMC(uint8 *in1, uint8 *in2, int inpitch, in eDiagonalInterpMC() argument
1464 if (((intptr_t)in2)&0x3) in eDiagonalInterpMC()
1466 eCreateAlign(in2, inpitch, -2, &tmp_in[0][0], blkwidth, blkheight + 5); in eDiagonalInterpMC()
1467 in2 = &tmp_in[2][0]; in eDiagonalInterpMC()
1477 for (j = 0; j < blkwidth; j += 4, in2 += 4) in eDiagonalInterpMC()
1480 p_ref = in2; in eDiagonalInterpMC()
1574 p_ref = in2 + i; in eDiagonalInterpMC()
Davcenc_lib.h451 void eDiagonalInterpMC(uint8 *in1, uint8 *in2, int inpitch,
/frameworks/compile/libbcc/tests/libbcc/
Dtest_reduce_general_metadata.ll71 define internal void @dpAccum(float* nocapture %accum, float %in1, float %in2) #0 {
72 %1 = fmul float %in1, %in2
Dtest_reduce_general_cleanup.ll60 define internal void @dpAccum(float* nocapture %accum, float %in1, float %in2) #0 {
61 %1 = fmul float %in1, %in2
/frameworks/compile/slang/tests/F_reduce_general_bad_function/
Dreduce_general_bad_function.rs160 static void accum_2in(int *accum, int in1, int in2) { }