Lines Matching defs:iw
490 * @param iw NUB for input
494 private static byte[] pack(byte[] in, int ioffset, int ilength, int iw, int ow) {
495 assert (iw > 0 && iw <= 8): "input NUB must be between 1 and 8";
498 if (iw == ow) {
502 int bits = ilength * iw; // number of all used bits
512 int count = iw - ipos%iw; // unpacked bits in current input byte
518 (((in[ioffset+ipos/iw]+256) // locate the byte (+256 so that it's never negative)
519 >> (iw-ipos%iw-count)) // move to the end of a byte