Lines Matching refs:arr
422 int[] arr = new int[numColors+numAlpha];
424 arr[i] = countBits(colorMaskArray[i]);
425 if (arr[i] < 0) {
432 arr[numColors] = countBits(alphaMask);
433 if (arr[numColors] < 0) {
438 return arr;
443 int[] arr = new int[3 + (amask == 0 ? 0 : 1)];
444 arr[0] = countBits(rmask);
445 arr[1] = countBits(gmask);
446 arr[2] = countBits(bmask);
447 if (arr[0] < 0) {
451 else if (arr[1] < 0) {
455 else if (arr[2] < 0) {
460 arr[3] = countBits(amask);
461 if (arr[3] < 0) {
466 return arr;