Lines Matching refs:b
60 public static final int testDotProdSimple(short[] a, short[] b) { in testDotProdSimple() argument
62 for (int i = 0; i < b.length; i++) { in testDotProdSimple()
63 int temp = a[i] * b[i]; in testDotProdSimple()
110 public static final int testDotProdComplex(short[] a, short[] b) { in testDotProdComplex() argument
112 for (int i = 0; i < b.length; i++) { in testDotProdComplex()
113 int temp = ((short)(a[i] + 1)) * ((short)(b[i] + 1)); in testDotProdComplex()
153 public static final int testDotProdSimpleUnsigned(char[] a, char[] b) { in testDotProdSimpleUnsigned() argument
155 for (int i = 0; i < b.length; i++) { in testDotProdSimpleUnsigned()
156 int temp = a[i] * b[i]; in testDotProdSimpleUnsigned()
203 public static final int testDotProdComplexUnsigned(char[] a, char[] b) { in testDotProdComplexUnsigned() argument
205 for (int i = 0; i < b.length; i++) { in testDotProdComplexUnsigned()
206 int temp = ((char)(a[i] + 1)) * ((char)(b[i] + 1)); in testDotProdComplexUnsigned()
253 public static final int testDotProdComplexUnsignedCastToSigned(char[] a, char[] b) { in testDotProdComplexUnsignedCastToSigned() argument
255 for (int i = 0; i < b.length; i++) { in testDotProdComplexUnsignedCastToSigned()
256 int temp = ((short)(a[i] + 1)) * ((short)(b[i] + 1)); in testDotProdComplexUnsignedCastToSigned()
303 public static final int testDotProdComplexSignedCastToUnsigned(short[] a, short[] b) { in testDotProdComplexSignedCastToUnsigned() argument
305 for (int i = 0; i < b.length; i++) { in testDotProdComplexSignedCastToUnsigned()
306 int temp = ((char)(a[i] + 1)) * ((char)(b[i] + 1)); in testDotProdComplexSignedCastToUnsigned()
323 public static final int testDotProdSignedToInt(short[] a, short[] b) { in testDotProdSignedToInt() argument
325 for (int i = 0; i < b.length; i++) { in testDotProdSignedToInt()
326 int temp = ((int)(a[i])) * ((int)(b[i])); in testDotProdSignedToInt()
343 public static final int testDotProdParamSigned(int x, short[] b) { in testDotProdParamSigned() argument
345 for (int i = 0; i < b.length; i++) { in testDotProdParamSigned()
346 int temp = (short)(x) * b[i]; in testDotProdParamSigned()
363 public static final int testDotProdParamUnsigned(int x, char[] b) { in testDotProdParamUnsigned() argument
365 for (int i = 0; i < b.length; i++) { in testDotProdParamUnsigned()
366 int temp = (char)(x) * b[i]; in testDotProdParamUnsigned()
374 public static final int testDotProdIntParam(int x, short[] b) { in testDotProdIntParam() argument
376 for (int i = 0; i < b.length; i++) { in testDotProdIntParam()
377 int temp = b[i] * (x); in testDotProdIntParam()
394 public static final int testDotProdSignedToChar(short[] a, short[] b) { in testDotProdSignedToChar() argument
396 for (int i = 0; i < b.length; i++) { in testDotProdSignedToChar()
397 int temp = ((char)(a[i])) * ((char)(b[i])); in testDotProdSignedToChar()
407 public static final int testDotProdSimpleMulCastToSigned(short[] a, short[] b) { in testDotProdSimpleMulCastToSigned() argument
409 for (int i = 0; i < b.length; i++) { in testDotProdSimpleMulCastToSigned()
410 short temp = (short)(a[i] * b[i]); in testDotProdSimpleMulCastToSigned()
418 public static final int testDotProdSimpleMulCastToUnsigned(short[] a, short[] b) { in testDotProdSimpleMulCastToUnsigned() argument
420 for (int i = 0; i < b.length; i++) { in testDotProdSimpleMulCastToUnsigned()
421 char temp = (char)(a[i] * b[i]); in testDotProdSimpleMulCastToUnsigned()
429 public static final int testDotProdSimpleUnsignedMulCastToSigned(char[] a, char[] b) { in testDotProdSimpleUnsignedMulCastToSigned() argument
431 for (int i = 0; i < b.length; i++) { in testDotProdSimpleUnsignedMulCastToSigned()
432 short temp = (short)(a[i] * b[i]); in testDotProdSimpleUnsignedMulCastToSigned()
440 public static final int testDotProdSimpleUnsignedMulCastToUnsigned(char[] a, char[] b) { in testDotProdSimpleUnsignedMulCastToUnsigned() argument
442 for (int i = 0; i < b.length; i++) { in testDotProdSimpleUnsignedMulCastToUnsigned()
443 char temp = (char)(a[i] * b[i]); in testDotProdSimpleUnsignedMulCastToUnsigned()
451 public static final int testDotProdSimpleCastToShort(short[] a, short[] b) { in testDotProdSimpleCastToShort() argument
453 for (int i = 0; i < b.length; i++) { in testDotProdSimpleCastToShort()
454 short temp = (short)(a[i] * b[i]); in testDotProdSimpleCastToShort()
462 public static final int testDotProdSimpleCastToChar(short[] a, short[] b) { in testDotProdSimpleCastToChar() argument
464 for (int i = 0; i < b.length; i++) { in testDotProdSimpleCastToChar()
465 char temp = (char)(a[i] * b[i]); in testDotProdSimpleCastToChar()
473 public static final int testDotProdSimpleUnsignedCastToShort(char[] a, char[] b) { in testDotProdSimpleUnsignedCastToShort() argument
475 for (int i = 0; i < b.length; i++) { in testDotProdSimpleUnsignedCastToShort()
476 short temp = (short)(a[i] * b[i]); in testDotProdSimpleUnsignedCastToShort()
484 public static final int testDotProdSimpleUnsignedCastToChar(char[] a, char[] b) { in testDotProdSimpleUnsignedCastToChar() argument
486 for (int i = 0; i < b.length; i++) { in testDotProdSimpleUnsignedCastToChar()
487 char temp = (char)(a[i] * b[i]); in testDotProdSimpleUnsignedCastToChar()
495 public static final int testDotProdSimpleUnsignedCastToLong(char[] a, char[] b) { in testDotProdSimpleUnsignedCastToLong() argument
497 for (int i = 0; i < b.length; i++) { in testDotProdSimpleUnsignedCastToLong()
498 long temp = (long)(a[i] * b[i]); in testDotProdSimpleUnsignedCastToLong()
508 public static final int testDotProdSignedNarrowerSigned(short[] a, short[] b) { in testDotProdSignedNarrowerSigned() argument
510 for (int i = 0; i < b.length; i++) { in testDotProdSignedNarrowerSigned()
511 int temp = ((byte)(a[i])) * ((byte)(b[i])); in testDotProdSignedNarrowerSigned()
519 public static final int testDotProdSignedNarrowerUnsigned(short[] a, short[] b) { in testDotProdSignedNarrowerUnsigned() argument
521 for (int i = 0; i < b.length; i++) { in testDotProdSignedNarrowerUnsigned()
522 int temp = (a[i] & 0xff) * (b[i] & 0xff); in testDotProdSignedNarrowerUnsigned()
530 public static final int testDotProdUnsignedNarrowerSigned(char[] a, char[] b) { in testDotProdUnsignedNarrowerSigned() argument
532 for (int i = 0; i < b.length; i++) { in testDotProdUnsignedNarrowerSigned()
533 int temp = ((byte)(a[i])) * ((byte)(b[i])); in testDotProdUnsignedNarrowerSigned()
541 public static final int testDotProdUnsignedNarrowerUnsigned(char[] a, char[] b) { in testDotProdUnsignedNarrowerUnsigned() argument
543 for (int i = 0; i < b.length; i++) { in testDotProdUnsignedNarrowerUnsigned()
544 int temp = (a[i] & 0xff) * (b[i] & 0xff); in testDotProdUnsignedNarrowerUnsigned()
552 public static final int testDotProdUnsignedSigned(char[] a, short[] b) { in testDotProdUnsignedSigned() argument
554 for (int i = 0; i < b.length; i++) { in testDotProdUnsignedSigned()
555 int temp = a[i] * b[i]; in testDotProdUnsignedSigned()