/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
D | TestClz.rs | 23 char __attribute__((kernel)) testClzCharChar(char inValue) { 24 return clz(inValue); 27 char2 __attribute__((kernel)) testClzChar2Char2(char2 inValue) { 28 return clz(inValue); 31 char3 __attribute__((kernel)) testClzChar3Char3(char3 inValue) { 32 return clz(inValue); 35 char4 __attribute__((kernel)) testClzChar4Char4(char4 inValue) { 36 return clz(inValue); 39 uchar __attribute__((kernel)) testClzUcharUchar(uchar inValue) { 40 return clz(inValue); [all …]
|
D | TestClamp.rs | 25 float __attribute__((kernel)) testClampFloatFloatFloatFloat(float inValue, unsigned int x) { 28 return clamp(inValue, inMinValue, inMaxValue); 31 float2 __attribute__((kernel)) testClampFloat2Float2Float2Float2(float2 inValue, unsigned int x) { 34 return clamp(inValue, inMinValue, inMaxValue); 37 float3 __attribute__((kernel)) testClampFloat3Float3Float3Float3(float3 inValue, unsigned int x) { 40 return clamp(inValue, inMinValue, inMaxValue); 43 float4 __attribute__((kernel)) testClampFloat4Float4Float4Float4(float4 inValue, unsigned int x) { 46 return clamp(inValue, inMinValue, inMaxValue); 49 float2 __attribute__((kernel)) testClampFloat2FloatFloatFloat2(float2 inValue, unsigned int x) { 52 return clamp(inValue, inMinValue, inMaxValue); [all …]
|
D | TestClz.java | 48 public byte inValue; field in TestClz.ArgumentsCharChar 53 …Allocation inValue = createRandomAllocation(mRS, Element.DataType.SIGNED_8, 1, 0xf6f3a15e2f7765afl… in checkClzCharChar() local 56 script.forEach_testClzCharChar(inValue, out); in checkClzCharChar() 57 verifyResultsClzCharChar(inValue, out, false); in checkClzCharChar() 64 scriptRelaxed.forEach_testClzCharChar(inValue, out); in checkClzCharChar() 65 verifyResultsClzCharChar(inValue, out, true); in checkClzCharChar() 70 inValue.destroy(); in checkClzCharChar() 73 private void verifyResultsClzCharChar(Allocation inValue, Allocation out, boolean relaxed) { in verifyResultsClzCharChar() argument 76 inValue.copyTo(arrayInValue); in verifyResultsClzCharChar() 86 args.inValue = arrayInValue[i]; in verifyResultsClzCharChar() [all …]
|
D | TestClamp.java | 48 public float inValue; field in TestClamp.ArgumentsFloatFloatFloatFloat 55 …Allocation inValue = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x7e886d7cc83c447dl… in checkClampFloatFloatFloatFloat() local 63 script.forEach_testClampFloatFloatFloatFloat(inValue, out); in checkClampFloatFloatFloatFloat() 64 verifyResultsClampFloatFloatFloatFloat(inValue, inMinValue, inMaxValue, out, false); in checkClampFloatFloatFloatFloat() 73 scriptRelaxed.forEach_testClampFloatFloatFloatFloat(inValue, out); in checkClampFloatFloatFloatFloat() 74 verifyResultsClampFloatFloatFloatFloat(inValue, inMinValue, inMaxValue, out, true); in checkClampFloatFloatFloatFloat() 79 inValue.destroy(); in checkClampFloatFloatFloatFloat() 84 …private void verifyResultsClampFloatFloatFloatFloat(Allocation inValue, Allocation inMinValue, All… in verifyResultsClampFloatFloatFloatFloat() argument 87 inValue.copyTo(arrayInValue); in verifyResultsClampFloatFloatFloatFloat() 103 args.inValue = arrayInValue[i]; in verifyResultsClampFloatFloatFloatFloat() [all …]
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | CoreMathVerifier.java | 1249 args.out = minI8(args.inMaxValue, maxI8(args.inValue, args.inMinValue)); in computeClamp() 1253 args.out = minU8(args.inMaxValue, maxU8(args.inValue, args.inMinValue)); in computeClamp() 1257 args.out = minI16(args.inMaxValue, maxI16(args.inValue, args.inMinValue)); in computeClamp() 1261 args.out = minU16(args.inMaxValue, maxU16(args.inValue, args.inMinValue)); in computeClamp() 1265 args.out = minI32(args.inMaxValue, maxI32(args.inValue, args.inMinValue)); in computeClamp() 1269 args.out = minU32(args.inMaxValue, maxU32(args.inValue, args.inMinValue)); in computeClamp() 1280 Math.max(args.inValue, args.inMinValue))); in computeClamp() 1284 args.out = minI64(args.inMaxValue, maxI64(args.inValue, args.inMinValue)); in computeClamp() 1288 args.out = minU64(args.inMaxValue, maxU64(args.inValue, args.inMinValue)); in computeClamp() 1292 int x = args.inValue; in computeClz() [all …]
|