Home
last modified time | relevance | path

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

12

/frameworks/compile/slang/tests/P_reduce_general_accumulator/
DScriptC_reduce_general_accumulator.java.expect84 // in1 = "val"
85 public result_int reduce_my_half(int[] in1) {
86 // Verify that "in1" is non-null.
87 if (in1 == null) {
88 throw new RSIllegalArgumentException("Array \"in1\" is null!");
90 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
92 ain1.copyFrom(in1);
117 // in1 = "val"
118 public result_int reduce_my_half2(int[] in1) {
119 // Verify that "in1" is non-null.
[all …]
/frameworks/compile/slang/tests/P_reduce_general_input/
DScriptC_reduce_general_input.java.expect152 // in1 = "in"
153 public result_int reduce_my_half_0(short[] in1) {
154 // Verify that "in1" is non-null.
155 if (in1 == null) {
156 throw new RSIllegalArgumentException("Array \"in1\" is null!");
158 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length);
160 ain1.copyFrom(in1);
185 // in1 = "in"
186 public result_int reduce_my_half_1(short[] in1) {
187 // Verify that "in1" is non-null.
[all …]
/frameworks/compile/slang/tests/P_reduce_general_result/
DScriptC_reduce_general_result.java.expect2719 // in1 = "val"
2720 public result_half reduce_my_half(short[] in1) {
2721 // Verify that "in1" is non-null.
2722 if (in1 == null) {
2723 throw new RSIllegalArgumentException("Array \"in1\" is null!");
2725 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length);
2727 ain1.copyFrom(in1);
2752 // in1 = "val", flattened 2-vectors
2753 public result_half2 reduce_my_half2(short[] in1) {
2754 // Verify that "in1" is non-null.
[all …]
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/
DScriptC_reduce_general_examples_backward.java.expect205 // in1 = "val"
206 public result_int reduce_addint(int[] in1) {
207 // Verify that "in1" is non-null.
208 if (in1 == null) {
209 throw new RSIllegalArgumentException("Array \"in1\" is null!");
211 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
213 ain1.copyFrom(in1);
238 // in1 = "val"
239 public result_int reduce_mpyint(int[] in1) {
240 // Verify that "in1" is non-null.
[all …]
/frameworks/compile/slang/tests/P_reduce_general_examples/
DScriptC_reduce_general_examples.java.expect205 // in1 = "val"
206 public result_int reduce_addint(int[] in1) {
207 // Verify that "in1" is non-null.
208 if (in1 == null) {
209 throw new RSIllegalArgumentException("Array \"in1\" is null!");
211 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
213 ain1.copyFrom(in1);
238 // in1 = "val"
239 public result_int reduce_mpyint(int[] in1) {
240 // Verify that "in1" is non-null.
[all …]
/frameworks/compile/slang/tests/P_reduce_general_inputs/
DScriptC_reduce_general_inputs.java.expect124 // in1 = "a"
126 public result_int reduce_my_half_half_0(short[] in1, short[] in2) {
127 // Verify that "in1" is non-null.
128 if (in1 == null) {
129 throw new RSIllegalArgumentException("Array \"in1\" is null!");
131 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length);
133 ain1.copyFrom(in1);
139 if (in1.length != in2.length) {
140 … throw new RSRuntimeException("Array length mismatch between parameters \"in1\" and \"in2\"!");
188 // in1 = "a"
[all …]
/frameworks/compile/slang/tests/P_reduce_general_examples_explicit/
DScriptC_reduce_general_examples_explicit.java.expect167 // in1 = "val"
168 public result_int reduce_addint_init(int[] in1) {
169 // Verify that "in1" is non-null.
170 if (in1 == null) {
171 throw new RSIllegalArgumentException("Array \"in1\" is null!");
173 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
175 ain1.copyFrom(in1);
200 // in1 = "val"
201 public result_int reduce_addint_comb(int[] in1) {
202 // Verify that "in1" is non-null.
[all …]
Dreduce_general_examples_explicit.rscript46 static void dpiAccum(float *accum, float in1, float in2) {
47 *accum += in1*in2;
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dforeach_multi.rscript49 uint32_t RS_KERNEL sum2(uint32_t in0, uint32_t in1, uint32_t x) {
51 _RS_ASSERT(in1 == x);
53 return in0 + in1;
57 sum2_struct(uint32_t in0, uint32_t in1, uint32_t x) {
60 _RS_ASSERT(in1 == x);
64 retval.i0 = in0 + in1;
65 retval.i1 = in0 + in1;
66 retval.i2 = in0 + in1;
67 retval.i3 = in0 + in1;
68 retval.i4 = in0 + in1;
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dforeach_multi.rscript47 uint32_t RS_KERNEL sum2(uint32_t in0, uint32_t in1, uint32_t x) {
49 _RS_ASSERT(in1 == x);
51 return in0 + in1;
55 sum2_struct(uint32_t in0, uint32_t in1, uint32_t x) {
58 _RS_ASSERT(in1 == x);
62 retval.i0 = in0 + in1;
63 retval.i1 = in0 + in1;
64 retval.i2 = in0 + in1;
65 retval.i3 = in0 + in1;
66 retval.i4 = in0 + in1;
[all …]
/frameworks/compile/slang/tests/P_reduce_general_duplicate_array/
DScriptC_reduce_general_duplicate_array.java.expect84 // in1 = "val"
85 public resultArray4_int reduce_sumDec(int[] in1) {
86 // Verify that "in1" is non-null.
87 if (in1 == null) {
88 throw new RSIllegalArgumentException("Array \"in1\" is null!");
90 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
92 ain1.copyFrom(in1);
117 // in1 = "val"
118 public resultArray4_int reduce_sumInc(int[] in1) {
119 // Verify that "in1" is non-null.
[all …]
/frameworks/compile/slang/tests/P_reduce_general_examples_halter/
DScriptC_reduce_general_examples_halter.java.expect122 // in1 = "inVal"
123 public result_int reduce_fz(int[] in1) {
124 // Verify that "in1" is non-null.
125 if (in1 == null) {
126 throw new RSIllegalArgumentException("Array \"in1\" is null!");
128 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
130 ain1.copyFrom(in1);
155 // in1 = "inVal"
156 public result_int2 reduce_fz2(int[] in1) {
157 // Verify that "in1" is non-null.
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DConversationStoreTest.java187 ConversationInfo in1 = buildConversationInfo(SHORTCUT_ID, LOCUS_ID, CONTACT_URI, in testDataPersistenceAndRestoration() local
193 mConversationStore.addOrUpdate(in1); in testDataPersistenceAndRestoration()
214 assertEquals(in1, out1); in testDataPersistenceAndRestoration()
221 ConversationInfo in1 = buildConversationInfo(SHORTCUT_ID, LOCUS_ID, CONTACT_URI, in testDelayedDiskWrites() local
228 mConversationStore.addOrUpdate(in1); in testDelayedDiskWrites()
240 assertEquals(in1, out1); in testDelayedDiskWrites()
254 assertEquals(in1, out1); in testDelayedDiskWrites()
264 ConversationInfo in1 = buildConversationInfo(SHORTCUT_ID, LOCUS_ID, CONTACT_URI, in testMimicDevicePowerOff() local
269 mConversationStore.addOrUpdate(in1); in testMimicDevicePowerOff()
282 assertEquals(in1, out1); in testMimicDevicePowerOff()
[all …]
/frameworks/rs/
DrsCppUtils.h103 T rsMin(T in1, T in2) in rsMin() argument
105 if (in1 > in2) { in rsMin()
108 return in1; in rsMin()
112 T rsMax(T in1, T in2) { in rsMax() argument
113 if (in1 < in2) { in rsMax()
116 return in1; in rsMax()
/frameworks/rs/toolkit/
Dx86.cpp765 __m128i in0, in1, out0, out1; in rsdIntrinsicBlendSrcOver_K() local
773 in1 = _mm_loadu_si128((const __m128i *)src + 1); in rsdIntrinsicBlendSrcOver_K()
793 ins = _mm_unpacklo_epi8(in1, _mm_setzero_si128()); in rsdIntrinsicBlendSrcOver_K()
801 ins = _mm_unpackhi_epi8(in1, _mm_setzero_si128()); in rsdIntrinsicBlendSrcOver_K()
821 __m128i in0, in1, out0, out1; in rsdIntrinsicBlendDstOver_K() local
829 in1 = _mm_loadu_si128((const __m128i *)src + 1); in rsdIntrinsicBlendDstOver_K()
853 t2 = _mm_unpacklo_epi8(in1, _mm_setzero_si128()); in rsdIntrinsicBlendDstOver_K()
861 t3 = _mm_unpackhi_epi8(in1, _mm_setzero_si128()); in rsdIntrinsicBlendDstOver_K()
878 __m128i in0, in1, out0, out1; in rsdIntrinsicBlendSrcIn_K() local
884 in1 = _mm_loadu_si128((const __m128i *)src + 1); in rsdIntrinsicBlendSrcIn_K()
[all …]
/frameworks/rs/cpu_ref/
DrsCpuIntrinsics_x86.cpp762 __m128i in0, in1, out0, out1; in rsdIntrinsicBlendSrcOver_K() local
770 in1 = _mm_loadu_si128((const __m128i *)src + 1); in rsdIntrinsicBlendSrcOver_K()
790 ins = _mm_unpacklo_epi8(in1, _mm_setzero_si128()); in rsdIntrinsicBlendSrcOver_K()
798 ins = _mm_unpackhi_epi8(in1, _mm_setzero_si128()); in rsdIntrinsicBlendSrcOver_K()
818 __m128i in0, in1, out0, out1; in rsdIntrinsicBlendDstOver_K() local
826 in1 = _mm_loadu_si128((const __m128i *)src + 1); in rsdIntrinsicBlendDstOver_K()
850 t2 = _mm_unpacklo_epi8(in1, _mm_setzero_si128()); in rsdIntrinsicBlendDstOver_K()
858 t3 = _mm_unpackhi_epi8(in1, _mm_setzero_si128()); in rsdIntrinsicBlendDstOver_K()
875 __m128i in0, in1, out0, out1; in rsdIntrinsicBlendSrcIn_K() local
881 in1 = _mm_loadu_si128((const __m128i *)src + 1); in rsdIntrinsicBlendSrcIn_K()
[all …]
/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/base/services/tests/uiservicestests/src/com/android/server/notification/
DScheduleCalendarTest.java561 Calendar in1 = getDaylightSavingsForwardDay(); in testIsInSchedule_daylightSavingsForward_startDuringChange() local
562 in1.set(Calendar.HOUR_OF_DAY, 2); in testIsInSchedule_daylightSavingsForward_startDuringChange()
563 in1.set(Calendar.MINUTE, 45); in testIsInSchedule_daylightSavingsForward_startDuringChange()
564 in1.set(Calendar.SECOND, 0); in testIsInSchedule_daylightSavingsForward_startDuringChange()
565 in1.set(Calendar.MILLISECOND, 0); in testIsInSchedule_daylightSavingsForward_startDuringChange()
596 assertTrue(mScheduleCalendar.isInSchedule(in1.getTimeInMillis())); in testIsInSchedule_daylightSavingsForward_startDuringChange()
633 Calendar in1 = getDaylightSavingsForwardDay(); in testIsInSchedule_daylightSavingsForward_endDuringChange() local
634 in1.set(Calendar.HOUR_OF_DAY, 23); in testIsInSchedule_daylightSavingsForward_endDuringChange()
635 in1.set(Calendar.MINUTE, 30); in testIsInSchedule_daylightSavingsForward_endDuringChange()
636 in1.set(Calendar.SECOND, 0); in testIsInSchedule_daylightSavingsForward_endDuringChange()
[all …]
/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
40 pseudo.text(String16(String8(in1))) + \ in compound_helper()
/frameworks/compile/slang/tests/P_kernel_multi_in/
Dkernel_multi_in.rscript5 int RS_KERNEL multi_in(uint32_t in0, uint32_t in1) {
/frameworks/compile/slang/tests/P_multi_in_target_version/
Dmulti_in_target_version.rscript5 int RS_KERNEL root(uint32_t in0, uint32_t in1, int x, int y) {
/frameworks/compile/slang/tests/F_multi_in_target_version/
Dstderr.txt.expect1 multi_in_target_version.rscript:5:43: error: Invalid parameter 'in1' for compute kernel root(). Ker…
Dmulti_in_target_version.rscript5 int RS_KERNEL root(uint32_t in0, uint32_t in1, int x, int y) {
/frameworks/av/media/module/codecs/amrwb/enc/src/
Dwb_vad.c83 Word16 * in1, /* i/o : input values; output high-pass part */ in filter5() argument
93 temp0 = vo_sub(*in1, vo_mult(COEFF5_2, data[1])); in filter5()
98 *in1 = extract_h((vo_L_sub(temp1, temp2) << 15)); in filter5()
111 Word16 * in1, /* i/o : input values; output high-pass part */ in filter3() argument
117 temp1 = vo_sub(*in1, vo_mult(COEFF3, *data)); in filter3()
121 *in1 = extract_h((vo_L_sub(*in0, temp2) << 15)); in filter3()
/frameworks/compile/slang/tests/F_reflection3264_multifile/
Dreflection3264_multifile_2.rscript16 void RS_KERNEL m(int in1, size_t in2) { }

12