Home
last modified time | relevance | path

Searched refs:gapLength (Results 1 – 7 of 7) sorted by relevance

/external/javassist/src/main/javassist/bytecode/
DCodeIterator.java706 public void appendGap(int gapLength) { in appendGap() argument
709 byte[] newcode = new byte[codeLength + gapLength]; in appendGap()
715 for (i = codeLength; i < codeLength + gapLength; ++i) in appendGap()
816 static byte[] insertGapCore0(byte[] code, int where, int gapLength, in insertGapCore0() argument
820 if (gapLength <= 0) in insertGapCore0()
824 return insertGapCore1(code, where, gapLength, exclusive, etable, ca); in insertGapCore0()
828 return insertGapCore1(code, where, (gapLength + 3) & ~3, in insertGapCore0()
837 private static byte[] insertGapCore1(byte[] code, int where, int gapLength, in insertGapCore1() argument
843 byte[] newcode = new byte[codeLength + gapLength]; in insertGapCore1()
844 insertGap2(code, where, gapLength, codeLength, newcode, exclusive); in insertGapCore1()
[all …]
DExceptionTable.java243 void shiftPc(int where, int gapLength, boolean exclusive) { in shiftPc() argument
245 e.startPc = shiftPc(e.startPc, where, gapLength, exclusive); in shiftPc()
246 e.endPc = shiftPc(e.endPc, where, gapLength, exclusive); in shiftPc()
247 e.handlerPc = shiftPc(e.handlerPc, where, gapLength, exclusive); in shiftPc()
251 private static int shiftPc(int pc, int where, int gapLength, in shiftPc() argument
254 pc += gapLength; in shiftPc()
DLineNumberAttribute.java174 void shiftPc(int where, int gapLength, boolean exclusive) { in shiftPc() argument
180 ByteArray.write16bit(pc + gapLength, info, pos); in shiftPc()
DLocalVariableAttribute.java184 void shiftPc(int where, int gapLength, boolean exclusive) { in shiftPc() argument
194 ByteArray.write16bit(pc + gapLength, info, pos); in shiftPc()
196 ByteArray.write16bit(len + gapLength, info, pos + 2); in shiftPc()
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/draft/
DGapString.java18 private int gapLength = 10; field in GapString
30 return buffer[index < pastLength ? index : index + gapLength]; in charAt()
38 return buffer.length - gapLength; in length()
52 final int futureStart = pastLength + gapLength; in toString()
65 final int growthNeeded = gapNeeded - gapLength; in insert()
73 gapLength -= gapNeeded; in insert()
90 final int growthNeeded = gapNeeded - gapLength; in insert()
97 gapLength -= gapNeeded; in insert()
110 final int growthNeeded = gapNeeded - gapLength; in insert()
117 gapLength -= gapNeeded; in insert()
[all …]
/external/cronet/third_party/icu/source/tools/toolutil/
Ddenseranges.cpp32 void add(int32_t gapStart, int64_t gapLength) { in add() argument
34 while(i>0 && gapLength>gapLengths[i-1]) { in add()
48 gapLengths[i]=gapLength; in add()
60 int64_t gapLength(int32_t i) const { return gapLengths[i]; } in gapLength() function in __anon79639e040111::LargestGaps
144 maxLength-=gaps.gapLength(i); in uprv_makeDenseRanges()
156 ranges[i+1][0]=minValue=(int32_t)(gapStart+gaps.gapLength(gapIndex)); in uprv_makeDenseRanges()
/external/icu/icu4c/source/tools/toolutil/
Ddenseranges.cpp32 void add(int32_t gapStart, int64_t gapLength) { in add() argument
34 while(i>0 && gapLength>gapLengths[i-1]) { in add()
48 gapLengths[i]=gapLength; in add()
60 int64_t gapLength(int32_t i) const { return gapLengths[i]; } in gapLength() function in __anonec7ab1580111::LargestGaps
144 maxLength-=gaps.gapLength(i); in uprv_makeDenseRanges()
156 ranges[i+1][0]=minValue=(int32_t)(gapStart+gaps.gapLength(gapIndex)); in uprv_makeDenseRanges()