Home
last modified time | relevance | path

Searched refs:codeLength (Results 1 – 25 of 31) sorted by relevance

12

/external/proguard/src/proguard/classfile/editor/
DCodeAttributeEditor.java62 private int codeLength; field in CodeAttributeEditor
111 public void reset(int codeLength) in reset() argument
114 if (preInsertions.length < codeLength) in reset()
116 preInsertions = new Instruction[codeLength]; in reset()
117 replacements = new Instruction[codeLength]; in reset()
118 postInsertions = new Instruction[codeLength]; in reset()
119 deleted = new boolean[codeLength]; in reset()
123 Arrays.fill(preInsertions, 0, codeLength, null); in reset()
124 Arrays.fill(replacements, 0, codeLength, null); in reset()
125 Arrays.fill(postInsertions, 0, codeLength, null); in reset()
[all …]
DCodeAttributeComposer.java67 private int codeLength; field in CodeAttributeComposer
121 codeLength = 0; in reset()
167 codeFragmentOffsets[level] = codeLength; in beginCodeFragment()
191 println("["+codeLength+"] <- ", instruction.toString(oldInstructionOffset)); in appendInstruction()
195 int newCodeLength = codeLength + instruction.length(codeLength); in appendInstruction()
200 oldInstructionOffsets[codeLength] = oldInstructionOffset; in appendInstruction()
203 instructionOffsetMap[level][oldInstructionOffset] = codeLength; in appendInstruction()
210 codeLength, in appendInstruction()
215 codeLength = newCodeLength; in appendInstruction()
229 println("["+codeLength+"] <- ", "[" + oldInstructionOffset + "] (label)"); in appendLabel()
[all …]
DInstructionWriter.java50 private int codeLength; field in InstructionWriter
59 public void reset(int codeLength) in reset() argument
61 this.codeLength = codeLength; in reset()
65 codeAttributeEditor.reset(codeLength); in reset()
74 public void extend(int codeLength) in extend() argument
76 this.codeLength = codeLength; in extend()
80 codeAttributeEditor.extend(codeLength); in extend()
317 codeAttributeEditor.reset(codeLength); in ensureCodeAttributeEditor()
/external/aac/libAACenc/src/
Dbit_cnt.cpp549 INT codeLength; in FDKaacEnc_countValues() local
563 codeLength = HI_LTAB(FDKaacEnc_huff_ltab1_2[t0+1][t1+1][t2+1][t3+1]); in FDKaacEnc_countValues()
564 bitCnt+= codeLength; in FDKaacEnc_countValues()
574 codeLength = LO_LTAB(FDKaacEnc_huff_ltab1_2[t0+1][t1+1][t2+1][t3+1]); in FDKaacEnc_countValues()
575 bitCnt+= codeLength; in FDKaacEnc_countValues()
603 codeLength = HI_LTAB(FDKaacEnc_huff_ltab3_4[t0][t1][t2][t3]); in FDKaacEnc_countValues()
604 bitCnt+=codeLength+signLength; in FDKaacEnc_countValues()
631 codeLength = LO_LTAB(FDKaacEnc_huff_ltab3_4[t0][t1][t2][t3]); in FDKaacEnc_countValues()
632 bitCnt+=codeLength+signLength; in FDKaacEnc_countValues()
640 codeLength = HI_LTAB(FDKaacEnc_huff_ltab5_6[t0+4][t1+4]); in FDKaacEnc_countValues()
[all …]
/external/proguard/src/proguard/optimize/peephole/
DBranchTargetFinder.java320 int codeLength = codeAttribute.u4codeLength; in visitCodeAttribute() local
321 if (subroutineStarts.length < codeLength) in visitCodeAttribute()
324 instructionMarks = new short[codeLength + 1]; in visitCodeAttribute()
325 subroutineStarts = new int[codeLength]; in visitCodeAttribute()
326 subroutineEnds = new int[codeLength]; in visitCodeAttribute()
327 creationOffsets = new int[codeLength]; in visitCodeAttribute()
328 initializationOffsets = new int[codeLength]; in visitCodeAttribute()
331 Arrays.fill(subroutineStarts, 0, codeLength, UNKNOWN); in visitCodeAttribute()
332 Arrays.fill(subroutineEnds, 0, codeLength, UNKNOWN); in visitCodeAttribute()
333 Arrays.fill(creationOffsets, 0, codeLength, NONE); in visitCodeAttribute()
[all …]
DReachableCodeMarker.java87 int codeLength = codeAttribute.u4codeLength; in visitCodeAttribute() local
88 if (isReachable.length < codeLength) in visitCodeAttribute()
91 isReachable = new boolean[codeLength]; in visitCodeAttribute()
96 Arrays.fill(isReachable, 0, codeLength, false); in visitCodeAttribute()
/external/javassist/src/main/javassist/bytecode/
DCodeAnalyzer.java74 int codeLength = stack.length; in visitBytecode() local
87 if (processBranch(op, ci, index, codeLength, stack, stackDepth, jsrDepth)) in visitBytecode()
99 int codeLength, int[] stack, int stackDepth, int[] jsrDepth) in processBranch() argument
105 checkTarget(index, target, codeLength, stack, stackDepth); in processBranch()
112 checkTarget(index, target, codeLength, stack, stackDepth); in processBranch()
116 checkTarget(index, target, codeLength, stack, stackDepth); in processBranch()
125 checkTarget(index, target, codeLength, stack, stackDepth); in processBranch()
158 checkTarget(index, target, codeLength, stack, stackDepth); in processBranch()
164 checkTarget(index, target, codeLength, in processBranch()
176 checkTarget(index, target, codeLength, in processBranch()
[all …]
DCodeIterator.java687 int codeLength = code.length; in appendGap() local
688 byte[] newcode = new byte[codeLength + gapLength]; in appendGap()
691 for (i = 0; i < codeLength; ++i) in appendGap()
694 for (i = codeLength; i < codeLength + gapLength; ++i) in appendGap()
822 int codeLength = code.length; in insertGapCore1() local
823 byte[] newcode = new byte[codeLength + gapLength]; in insertGapCore1()
824 insertGap2(code, where, gapLength, codeLength, newcode, exclusive); in insertGapCore1()
DLocalVariableAttribute.java173 public int codeLength(int i) { in codeLength() method in LocalVariableAttribute
/external/proguard/src/proguard/optimize/evaluation/
DVariableOptimizer.java121 int codeLength = codeAttribute.u4codeLength; in visitCodeAttribute() local
138 if (areNonOverlapping(oldIndex, newIndex, codeLength)) in visitCodeAttribute()
142 updateLiveness(oldIndex, newIndex, codeLength); in visitCodeAttribute()
250 int codeLength = codeAttribute.u4codeLength; in initializeArrays() local
253 if (variableMap.length < codeLength) in initializeArrays()
255 variableMap = new int[codeLength]; in initializeArrays()
265 int codeLength) in areNonOverlapping() argument
268 for (int offset = 0; offset < codeLength; offset++) in areNonOverlapping()
293 int codeLength) in updateLiveness() argument
296 for (int offset = 0; offset < codeLength; offset++) in updateLiveness()
DLivenessAnalyzer.java207 int codeLength = codeAttribute.u4codeLength; in visitCodeAttribute() local
223 for (int offset = codeLength - 1; offset >= 0; offset--) in visitCodeAttribute()
264 for (int offset = 0; offset < codeLength; offset++) in visitCodeAttribute()
307 for (int offset = 0; offset < codeLength; offset++) in visitCodeAttribute()
421 int codeLength = codeAttribute.u4codeLength;
424 if (isAliveBefore.length < codeLength)
426 isAliveBefore = new long[codeLength];
427 isAliveAfter = new long[codeLength];
428 isCategory2 = new long[codeLength];
432 for (int index = 0; index < codeLength; index++)
DEvaluationShrinker.java196 int codeLength = codeAttribute.u4codeLength; in visitCodeAttribute0() local
199 codeAttributeEditor.reset(codeLength); in visitCodeAttribute0()
204 for (int offset = 0; offset < codeLength; offset++) in visitCodeAttribute0()
231 for (int offset = 0; offset < codeLength; offset++) in visitCodeAttribute0()
312 for (int offset = 0; offset < codeLength; offset++) in visitCodeAttribute0()
329 maxMarkedOffset = codeLength - 1; in visitCodeAttribute0()
366 for (int offset = 0; offset < codeLength; offset++) in visitCodeAttribute0()
388 for (int offset = 0; offset < codeLength; offset++) in visitCodeAttribute0()
428 while (offset < codeLength); in visitCodeAttribute0()
483 while (offset < codeLength); in visitCodeAttribute0()
[all …]
DPartialEvaluator.java1107 int codeLength = codeAttribute.u4codeLength;
1110 if (variablesAfter.length < codeLength)
1113 branchOriginValues = new InstructionOffsetValue[codeLength];
1114 branchTargetValues = new InstructionOffsetValue[codeLength];
1115 variablesBefore = new TracedVariables[codeLength];
1116 stacksBefore = new TracedStack[codeLength];
1117 variablesAfter = new TracedVariables[codeLength];
1118 stacksAfter = new TracedStack[codeLength];
1119 generalizedContexts = new boolean[codeLength];
1120 evaluationCounts = new int[codeLength];
[all …]
DEvaluationSimplifier.java138 int codeLength = codeAttribute.u4codeLength; in visitCodeAttribute0() local
141 codeAttributeEditor.reset(codeLength); in visitCodeAttribute0()
144 for (int offset = 0; offset < codeLength; offset++) in visitCodeAttribute0()
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DBase64.java104 int codeLength = ((src.length + 2) / 3) * 4; in encode() local
107 codeLength += (codeLength - 1) / lineFeed; in encode()
110 byte[] dst = new byte[codeLength]; in encode()
134 if (didx < codeLength && lineFeed > 0 && lf % lineFeed == 0) in encode()
/external/javassist/src/main/javassist/expr/
DNewArray.java177 int codeLength; in replace2() local
185 codeLength = 2; in replace2()
195 codeLength = 3; in replace2()
201 codeLength = 4; in replace2()
235 replace0(pos, bytecode, codeLength); in replace2()
/external/proguard/src/proguard/classfile/attribute/visitor/
DStackSizeComputer.java137 int codeLength = codeAttribute.u4codeLength; in visitCodeAttribute0() local
138 if (evaluated.length < codeLength) in visitCodeAttribute0()
140 evaluated = new boolean[codeLength]; in visitCodeAttribute0()
141 stackSizes = new int[codeLength]; in visitCodeAttribute0()
145 Arrays.fill(evaluated, 0, codeLength, false); in visitCodeAttribute0()
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/gif/
DGIFImageReader.cpp239 unsigned short codeLength = 0; in doLZW() local
243 codeLength = suffixLength[code]; in doLZW()
244 rowIter += codeLength; in doLZW()
249 codeLength = suffixLength[oldcode] + 1; in doLZW()
250 rowIter += codeLength; in doLZW()
284 rowIter += codeLength; in doLZW()
/external/proguard/src/proguard/classfile/util/
DDynamicClassReferenceInitializer.java417 int codeLength) in isDotClassMethodCode() argument
420 if (codeAttribute.u4codeLength < codeLength) in isDotClassMethodCode()
427 codeAttribute.instructionsAccept(clazz, method, 0, codeLength, codeMatcher); in isDotClassMethodCode()
/external/proguard/src/proguard/preverify/
DCodePreverifier.java105 int codeLength = codeAttribute.u4codeLength; in visitCodeAttribute0() local
112 codeAttributeEditor.reset(codeLength); in visitCodeAttribute0()
117 for (int offset = 0; offset < codeLength; offset++) in visitCodeAttribute0()
/external/javassist/src/main/javassist/bytecode/analysis/
DAnalyzer.java130 int codeLength = codeAttribute.getCodeLength(); in analyze() local
139 frames = new Frame[codeLength]; in analyze()
/external/mockito/cglib-and-asm/src/org/mockito/asm/
DClassReader.java867 int codeLength = readInt(v + 4); in accept() local
871 int codeEnd = v + codeLength; in accept()
877 Label[] labels = new Label[codeLength + 2]; in accept()
878 readLabel(codeLength + 1, labels); in accept()
/external/javassist/src/main/javassist/compiler/
DJavac.java281 int len = va.codeLength(i); in recordLocalVariables()
/external/robolectric/lib/main/
Djavassist-3.14.0-GA.jarMETA-INF/ META-INF/MANIFEST.MF javassist/ javassist/bytecode/ javassist/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.equinox.p2.repository.tools_2.0.1.R36x_v20100823.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...

12