Lines Matching refs:gapLength

685     public void appendGap(int gapLength) {  in appendGap()  argument
688 byte[] newcode = new byte[codeLength + gapLength]; in appendGap()
694 for (i = codeLength; i < codeLength + gapLength; ++i) in appendGap()
796 static byte[] insertGapCore0(byte[] code, int where, int gapLength, in insertGapCore0() argument
800 if (gapLength <= 0) in insertGapCore0()
804 return insertGapCore1(code, where, gapLength, exclusive, etable, ca); in insertGapCore0()
808 return insertGapCore1(code, where, (gapLength + 3) & ~3, in insertGapCore0()
817 private static byte[] insertGapCore1(byte[] code, int where, int gapLength, in insertGapCore1() argument
823 byte[] newcode = new byte[codeLength + gapLength]; in insertGapCore1()
824 insertGap2(code, where, gapLength, codeLength, newcode, exclusive); in insertGapCore1()
825 etable.shiftPc(where, gapLength, exclusive); in insertGapCore1()
829 na.shiftPc(where, gapLength, exclusive); in insertGapCore1()
834 va.shiftPc(where, gapLength, exclusive); in insertGapCore1()
840 vta.shiftPc(where, gapLength, exclusive); in insertGapCore1()
844 smt.shiftPc(where, gapLength, exclusive); in insertGapCore1()
848 sm.shiftPc(where, gapLength, exclusive); in insertGapCore1()
853 private static void insertGap2(byte[] code, int where, int gapLength, in insertGap2() argument
862 int j2 = j + gapLength; in insertGap2()
874 offset = newOffset(i, offset, where, gapLength, exclusive); in insertGap2()
882 offset = newOffset(i, offset, where, gapLength, exclusive); in insertGap2()
888 if (i != j && (gapLength & 3) != 0) in insertGap2()
901 where, gapLength, exclusive); in insertGap2()
912 where, gapLength, exclusive); in insertGap2()
919 if (i != j && (gapLength & 3) != 0) in insertGap2()
933 where, gapLength, exclusive); in insertGap2()
944 where, gapLength, exclusive); in insertGap2()
974 int gapLength, boolean exclusive) { in newOffset() argument
978 offset += gapLength; in newOffset()
984 offset -= gapLength; in newOffset()
988 offset -= gapLength; in newOffset()
1014 void shiftPc(int where, int gapLength, boolean exclusive) throws BadBytecode { in shiftPc() argument
1016 cursor += gapLength; in shiftPc()
1019 mark += gapLength; in shiftPc()
1022 mark0 += gapLength; in shiftPc()
1024 etable.shiftPc(where, gapLength, exclusive); in shiftPc()
1026 line.shiftPc(where, gapLength, exclusive); in shiftPc()
1029 vars.shiftPc(where, gapLength, exclusive); in shiftPc()
1032 types.shiftPc(where, gapLength, exclusive); in shiftPc()
1035 stack.shiftPc(where, gapLength, exclusive); in shiftPc()
1038 stack2.shiftPc(where, gapLength, exclusive); in shiftPc()
1086 private byte[] insertGapCore0w(byte[] code, int where, int gapLength, boolean exclusive, in insertGapCore0w() argument
1090 if (gapLength <= 0) in insertGapCore0w()
1095 byte[] r = insertGap2w(code, where, gapLength, exclusive, jumps, pointers); in insertGapCore0w()
1100 currentPos += gapLength; in insertGapCore0w()
1103 where2 -= gapLength; in insertGapCore0w()
1106 newWhere.length = gapLength; in insertGapCore0w()
1110 private static byte[] insertGap2w(byte[] code, int where, int gapLength, in insertGap2w() argument
1115 if (gapLength > 0) { in insertGap2w()
1116 ptrs.shiftPc(where, gapLength, exclusive); in insertGap2w()
1118 ((Branch)jumps.get(i)).shift(where, gapLength, exclusive); in insertGap2w()
1151 return makeExapndedCode(code, jumps, where, gapLength); in insertGap2w()
1216 int where, int gapLength) in makeExapndedCode() argument
1220 int size = code.length + gapLength; in makeExapndedCode()
1242 int pos2 = dest + gapLength; in makeExapndedCode()
1270 void shift(int where, int gapLength, boolean exclusive) { in shift() argument
1272 pos += gapLength; in shift()
1276 int gapLength, boolean exclusive) { in shiftOffset() argument
1280 offset += gapLength; in shiftOffset()
1286 offset -= gapLength; in shiftOffset()
1288 offset += gapLength; in shiftOffset()
1292 offset -= gapLength; in shiftOffset()
1347 void shift(int where, int gapLength, boolean exclusive) { in shift() argument
1348 offset = shiftOffset(pos, offset, where, gapLength, exclusive); in shift()
1349 super.shift(where, gapLength, exclusive); in shift()
1435 void shift(int where, int gapLength, boolean exclusive) { in shift() argument
1436 offset = shiftOffset(pos, offset, where, gapLength, exclusive); in shift()
1437 super.shift(where, gapLength, exclusive); in shift()
1458 void shift(int where, int gapLength, boolean exclusive) { in shift() argument
1460 defaultByte = shiftOffset(p, defaultByte, where, gapLength, exclusive); in shift()
1463 offsets[i] = shiftOffset(p, offsets[i], where, gapLength, exclusive); in shift()
1465 super.shift(where, gapLength, exclusive); in shift()