Lines Matching refs:a

61   public static final int testDotProdSimple(byte[] a, byte[] b) {  in testDotProdSimple()  argument
64 int temp = a[i] * b[i]; in testDotProdSimple()
102 public static final int testDotProdComplex(byte[] a, byte[] b) { in testDotProdComplex() argument
105 int temp = ((byte)(a[i] + 1)) * ((byte)(b[i] + 1)); in testDotProdComplex()
145 public static final int testDotProdSimpleUnsigned(byte[] a, byte[] b) { in testDotProdSimpleUnsigned() argument
148 int temp = (a[i] & 0xff) * (b[i] & 0xff); in testDotProdSimpleUnsigned()
186 public static final int testDotProdComplexUnsigned(byte[] a, byte[] b) { in testDotProdComplexUnsigned() argument
189 int temp = (((a[i] & 0xff) + 1) & 0xff) * (((b[i] & 0xff) + 1) & 0xff); in testDotProdComplexUnsigned()
227 public static final int testDotProdComplexUnsignedCastedToSigned(byte[] a, byte[] b) { in testDotProdComplexUnsignedCastedToSigned() argument
230 int temp = ((byte)((a[i] & 0xff) + 1)) * ((byte)((b[i] & 0xff) + 1)); in testDotProdComplexUnsignedCastedToSigned()
268 public static final int testDotProdComplexSignedCastedToUnsigned(byte[] a, byte[] b) { in testDotProdComplexSignedCastedToUnsigned() argument
271 int temp = ((a[i] + 1) & 0xff) * ((b[i] + 1) & 0xff); in testDotProdComplexSignedCastedToUnsigned()
279 public static final int testDotProdSignedWidening(byte[] a, byte[] b) { in testDotProdSignedWidening() argument
282 int temp = ((short)(a[i])) * ((short)(b[i])); in testDotProdSignedWidening()
325 public static final int testDotProdSignedToChar(byte[] a, byte[] b) { in testDotProdSignedToChar() argument
328 int temp = ((char)(a[i])) * ((char)(b[i])); in testDotProdSignedToChar()
338 public static final int testDotProdSimpleCastedToSignedByte(byte[] a, byte[] b) { in testDotProdSimpleCastedToSignedByte() argument
341 byte temp = (byte)(a[i] * b[i]); in testDotProdSimpleCastedToSignedByte()
349 public static final int testDotProdSimpleCastedToUnsignedByte(byte[] a, byte[] b) { in testDotProdSimpleCastedToUnsignedByte() argument
352 s += (a[i] * b[i]) & 0xff; in testDotProdSimpleCastedToUnsignedByte()
359 public static final int testDotProdSimpleUnsignedCastedToSignedByte(byte[] a, byte[] b) { in testDotProdSimpleUnsignedCastedToSignedByte() argument
362 byte temp = (byte)((a[i] & 0xff) * (b[i] & 0xff)); in testDotProdSimpleUnsignedCastedToSignedByte()
370 public static final int testDotProdSimpleUnsignedCastedToUnsignedByte(byte[] a, byte[] b) { in testDotProdSimpleUnsignedCastedToUnsignedByte() argument
373 s += ((a[i] & 0xff) * (b[i] & 0xff)) & 0xff; in testDotProdSimpleUnsignedCastedToUnsignedByte()
380 public static final int testDotProdSimpleCastedToShort(byte[] a, byte[] b) { in testDotProdSimpleCastedToShort() argument
383 short temp = (short)(a[i] * b[i]); in testDotProdSimpleCastedToShort()
391 public static final int testDotProdSimpleCastedToChar(byte[] a, byte[] b) { in testDotProdSimpleCastedToChar() argument
394 char temp = (char)(a[i] * b[i]); in testDotProdSimpleCastedToChar()
402 public static final int testDotProdSimpleUnsignedCastedToShort(byte[] a, byte[] b) { in testDotProdSimpleUnsignedCastedToShort() argument
405 short temp = (short)((a[i] & 0xff) * (b[i] & 0xff)); in testDotProdSimpleUnsignedCastedToShort()
413 public static final int testDotProdSimpleUnsignedCastedToChar(byte[] a, byte[] b) { in testDotProdSimpleUnsignedCastedToChar() argument
416 char temp = (char)((a[i] & 0xff) * (b[i] & 0xff)); in testDotProdSimpleUnsignedCastedToChar()
424 public static final int testDotProdSimpleUnsignedCastedToLong(byte[] a, byte[] b) { in testDotProdSimpleUnsignedCastedToLong() argument
427 long temp = (long)((a[i] & 0xff) * (b[i] & 0xff)); in testDotProdSimpleUnsignedCastedToLong()
435 public static final int testDotProdUnsignedSigned(byte[] a, byte[] b) { in testDotProdUnsignedSigned() argument
438 int temp = (a[i] & 0xff) * b[i]; in testDotProdUnsignedSigned()