Home
last modified time | relevance | path

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

/frameworks/compile/slang/tests/P_reduce_general_inputs/
DScriptC_reduce_general_inputs.java.expect125 // in2 = "b"
126 public result_int reduce_my_half_half_0(short[] in1, short[] in2) {
134 // Verify that "in2" is non-null.
135 if (in2 == null) {
136 throw new RSIllegalArgumentException("Array \"in2\" is null!");
139 if (in1.length != in2.length) {
140 … throw new RSRuntimeException("Array length mismatch between parameters \"in1\" and \"in2\"!");
142 Allocation ain2 = Allocation.createSized(mRSLocal, __F16, in2.length);
144 ain2.copyFrom(in2);
189 // in2 = "b"
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DConversationStoreTest.java189 ConversationInfo in2 = buildConversationInfo(SHORTCUT_ID_2, LOCUS_ID_2, CONTACT_URI_2, in testDataPersistenceAndRestoration() local
194 mConversationStore.addOrUpdate(in2); in testDataPersistenceAndRestoration()
215 assertEquals(in2, out2); in testDataPersistenceAndRestoration()
223 ConversationInfo in2 = buildConversationInfo(SHORTCUT_ID_2, LOCUS_ID_2, CONTACT_URI_2, in testDelayedDiskWrites() local
234 mConversationStore.addOrUpdate(in2); in testDelayedDiskWrites()
243 mConversationStore.addOrUpdate(in2); in testDelayedDiskWrites()
255 assertEquals(in2, out2); in testDelayedDiskWrites()
266 ConversationInfo in2 = buildConversationInfo(SHORTCUT_ID_2, LOCUS_ID_2, CONTACT_URI_2, in testMimicDevicePowerOff() local
270 mConversationStore.addOrUpdate(in2); in testMimicDevicePowerOff()
283 assertEquals(in2, out2); in testMimicDevicePowerOff()
[all …]
/frameworks/rs/
DrsCppUtils.h103 T rsMin(T in1, T in2) in rsMin() argument
105 if (in1 > in2) { in rsMin()
106 return in2; in rsMin()
112 T rsMax(T in1, T in2) { in rsMax() argument
113 if (in1 < in2) { in rsMax()
114 return in2; in rsMax()
/frameworks/compile/slang/tests/P_reduce_general_examples_explicit/
DScriptC_reduce_general_examples_explicit.java.expect267 // in2 = "in2"
268 public result_float reduce_dp_init(float[] in1, float[] in2) {
276 // Verify that "in2" is non-null.
277 if (in2 == null) {
278 throw new RSIllegalArgumentException("Array \"in2\" is null!");
281 if (in1.length != in2.length) {
282 … throw new RSRuntimeException("Array length mismatch between parameters \"in1\" and \"in2\"!");
284 Allocation ain2 = Allocation.createSized(mRSLocal, __F32, in2.length);
286 ain2.copyFrom(in2);
294 // ain2 = "float in2"
[all …]
Dreduce_general_examples_explicit.rscript46 static void dpiAccum(float *accum, float in1, float in2) {
47 *accum += in1*in2;
/frameworks/compile/slang/tests/F_reflection3264_multifile/
Dreflection3264_multifile_2.rscript15 // error: 'in2' has different types for 32-bit and 64-bit targets
16 void RS_KERNEL m(int in1, size_t in2) { }
/frameworks/compile/slang/tests/F_too_many_inputs/
Dtoo_many_inputs.rscript5 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/rs/tests/lldb/java/SingleSource/src/com/android/rs/singlesource/
DMainActivity.java57 float [] in2 = new float[]{ 5.f, 6.f, 7.f, 8.f }; in onCreate() local
58 mAllocIn2.copyFrom(in2); in onCreate()
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/
DScriptC_reduce_general_examples_backward.java.expect272 // in2 = "in2"
273 public result_float reduce_dp(float[] in1, float[] in2) {
281 // Verify that "in2" is non-null.
282 if (in2 == null) {
283 throw new RSIllegalArgumentException("Array \"in2\" is null!");
286 if (in1.length != in2.length) {
287 … throw new RSRuntimeException("Array length mismatch between parameters \"in1\" and \"in2\"!");
289 Allocation ain2 = Allocation.createSized(mRSLocal, __F32, in2.length);
291 ain2.copyFrom(in2);
299 // ain2 = "float in2"
[all …]
Dreduce_general_examples_backward.rscript28 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.expect272 // in2 = "in2"
273 public result_float reduce_dp(float[] in1, float[] in2) {
281 // Verify that "in2" is non-null.
282 if (in2 == null) {
283 throw new RSIllegalArgumentException("Array \"in2\" is null!");
286 if (in1.length != in2.length) {
287 … throw new RSRuntimeException("Array length mismatch between parameters \"in1\" and \"in2\"!");
289 Allocation ain2 = Allocation.createSized(mRSLocal, __F32, in2.length);
291 ain2.copyFrom(in2);
299 // ain2 = "float in2"
[all …]
Dreduce_general_examples.rscript31 static void dpAccum(float *accum, float in1, float in2) {
32 *accum += in1*in2;
/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/rs/tests/lldb/java/SingleSource/src/rs/
Drs_single_source.rscript48 void script_invoke_1(rs_allocation out, rs_allocation in1, rs_allocation in2)
56 rsForEach(kernel_2, out, in1, in2);
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dforeach_multi.rscript74 uint32_t RS_KERNEL sum3(uint32_t in0, uint32_t in1, uint32_t in2, uint32_t x) {
77 _RS_ASSERT(in2 == x);
79 return in0 + in1 + in2;
DUT_reduce.java948 private long sumgcd(final int in1[], final int in2[]) { in sumgcd() argument
949 assertEquals("sumgcd input lengths", in1.length, in2.length); in sumgcd()
953 int a = in1[i], b = in2[i]; in sumgcd()
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dforeach_multi.rscript76 uint32_t RS_KERNEL sum3(uint32_t in0, uint32_t in1, uint32_t in2, uint32_t x) {
79 _RS_ASSERT(in2 == x);
81 return in0 + in1 + in2;
DUT_reduce.java950 private long sumgcd(final int in1[], final int in2[]) { in sumgcd() argument
951 assertEquals("sumgcd input lengths", in1.length, in2.length); in sumgcd()
955 int a = in1[i], b = in2[i]; in sumgcd()
/frameworks/base/tools/aapt2/compile/
DPseudolocalizer_test.cpp41 const char* in1, const char* in2, const char* in3, const char* expected, in CompoundHelper() argument
44 std::string result = pseudo.Start() + pseudo.Text(in1) + pseudo.Text(in2) + in CompoundHelper()
/frameworks/base/native/graphics/jni/fuzz/
Dpng_mutator.h313 std::stringstream in2( in LLVMFuzzerCustomCrossOver()
316 PngMutator p2(in2); in LLVMFuzzerCustomCrossOver()
/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.rscript160 static void accum_2in(int *accum, int in1, int in2) { }