Home
last modified time | relevance | path

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

12

/external/proguard/src/proguard/classfile/editor/
DCodeAttributeEditor.java69 private int codeLength; field in CodeAttributeEditor
118 public void reset(int codeLength) in reset() argument
121 if (preInsertions.length < codeLength) in reset()
123 preInsertions = new Instruction[codeLength]; in reset()
124 replacements = new Instruction[codeLength]; in reset()
125 postInsertions = new Instruction[codeLength]; in reset()
126 deleted = new boolean[codeLength]; in reset()
130 Arrays.fill(preInsertions, 0, codeLength, null); in reset()
131 Arrays.fill(replacements, 0, codeLength, null); in reset()
132 Arrays.fill(postInsertions, 0, codeLength, null); in reset()
[all …]
DCodeAttributeComposer.java68 private int codeLength; field in CodeAttributeComposer
128 codeLength = 0; in reset()
176 codeFragmentOffsets[level] = codeLength; in beginCodeFragment()
200 println("["+codeLength+"] <- ", instruction.toString(oldInstructionOffset)); in appendInstruction()
204 int newCodeLength = codeLength + instruction.length(codeLength); in appendInstruction()
209 oldInstructionOffsets[codeLength] = oldInstructionOffset; in appendInstruction()
212 instructionOffsetMap[level][oldInstructionOffset] = codeLength; in appendInstruction()
219 codeLength, in appendInstruction()
224 codeLength = newCodeLength; in appendInstruction()
238 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.java325 int codeLength = codeAttribute.u4codeLength; in visitCodeAttribute() local
326 if (subroutineStarts.length < codeLength) in visitCodeAttribute()
329 instructionMarks = new short[codeLength + 1]; in visitCodeAttribute()
330 subroutineStarts = new int[codeLength]; in visitCodeAttribute()
331 subroutineEnds = new int[codeLength]; in visitCodeAttribute()
332 creationOffsets = new int[codeLength]; in visitCodeAttribute()
333 initializationOffsets = new int[codeLength]; in visitCodeAttribute()
336 Arrays.fill(subroutineStarts, 0, codeLength, UNKNOWN); in visitCodeAttribute()
337 Arrays.fill(subroutineEnds, 0, codeLength, UNKNOWN); in visitCodeAttribute()
338 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()
/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.java192 int codeLength = codeAttribute.u4codeLength; in visitCodeAttribute0() local
195 codeAttributeEditor.reset(codeLength); in visitCodeAttribute0()
200 for (int offset = 0; offset < codeLength; offset++) in visitCodeAttribute0()
227 for (int offset = 0; offset < codeLength; offset++) in visitCodeAttribute0()
308 for (int offset = 0; offset < codeLength; offset++) in visitCodeAttribute0()
325 maxMarkedOffset = codeLength - 1; in visitCodeAttribute0()
362 for (int offset = 0; offset < codeLength; offset++) in visitCodeAttribute0()
384 for (int offset = 0; offset < codeLength; offset++) in visitCodeAttribute0()
424 while (offset < codeLength); in visitCodeAttribute0()
479 while (offset < codeLength); in visitCodeAttribute0()
[all …]
DPartialEvaluator.java1114 int codeLength = codeAttribute.u4codeLength;
1117 if (variablesAfter.length < codeLength)
1120 branchOriginValues = new InstructionOffsetValue[codeLength];
1121 branchTargetValues = new InstructionOffsetValue[codeLength];
1122 variablesBefore = new TracedVariables[codeLength];
1123 stacksBefore = new TracedStack[codeLength];
1124 variablesAfter = new TracedVariables[codeLength];
1125 stacksAfter = new TracedStack[codeLength];
1126 generalizedContexts = new boolean[codeLength];
1127 evaluationCounts = new int[codeLength];
[all …]
DSimpleEnumUseSimplifier.java118 int codeLength = codeAttribute.u4codeLength; in visitCodeAttribute() local
121 codeAttributeEditor.reset(codeLength); in visitCodeAttribute()
124 for (int offset = 0; offset < codeLength; offset++) in visitCodeAttribute()
/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/pdfium/xfa/src/fxbarcode/oned/
DBC_OneDimWriter.cpp370 int32_t codeLength, in RenderResult() argument
373 if (codeLength < 1) { in RenderResult()
379 int32_t codeOldLength = codeLength; in RenderResult()
388 codeLength += leftPadding; in RenderResult()
389 codeLength += rightPadding; in RenderResult()
392 m_outputHScale = (FX_FLOAT)m_Width / (FX_FLOAT)codeLength; in RenderResult()
417 int32_t outputWidth = codeLength; in RenderResult()
419 outputWidth = (int32_t)(codeLength * m_multiple / dataLengthScale); in RenderResult()
423 m_barWidth = codeLength * m_multiple; in RenderResult()
DBC_OnedCodaBarWriter.cpp224 int32_t codeLength, in RenderResult() argument
227 CBC_OneDimWriter::RenderResult(encodedContents(contents), code, codeLength, in RenderResult()
DBC_OnedUPCAWriter.h38 int32_t codeLength,
DBC_OnedEAN13Writer.h35 int32_t codeLength,
DBC_OnedEAN8Writer.h35 int32_t codeLength,
DBC_OnedCodaBarWriter.h43 int32_t codeLength,
DBC_OnedCode39Writer.h33 int32_t codeLength,
/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/proguard/src/proguard/classfile/util/
DDynamicClassReferenceInitializer.java418 int codeLength) in isDotClassMethodCode() argument
421 if (codeAttribute.u4codeLength < codeLength) in isDotClassMethodCode()
428 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()

12