Lines Matching defs:repn
40 private byte[] repn;
63 repn = new byte[(length + BITS_PER_UNIT - 1)/BITS_PER_UNIT];
95 repn = new byte[repLength];
96 System.arraycopy(a, 0, repn, 0, repLength);
98 repn[repLength - 1] &= bitMask;
108 repn = new byte[(length + 7)/8];
121 repn = ba.repn.clone();
132 return (repn[subscript(index)] & position(index)) != 0;
147 repn[idx] |= bit;
149 repn[idx] &= ~bit;
170 return repn.clone();
181 for (int i = 0; i < repn.length; i += 1) {
182 if (repn[i] != ba.repn[i]) return false;
207 for (int i = 0; i < repn.length; i++)
208 hashCode = 31*hashCode + repn[i];
246 for (int i = 0; i < repn.length - 1; i++) {
247 out.write(NYBBLE[(repn[i] >> 4) & 0x0F], 0, 4);
248 out.write(NYBBLE[repn[i] & 0x0F], 0, 4);
257 // in last byte of repn, use only the valid bits
258 for (int i = BITS_PER_UNIT * (repn.length - 1); i < length; i++) {
269 return new BitArray(i+1, Arrays.copyOf(repn, (i + BITS_PER_UNIT)/BITS_PER_UNIT));