Home
last modified time | relevance | path

Searched refs:codeLength (Results 1 – 25 of 32) 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/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/aac/libAACenc/src/
Dbit_cnt.cpp728 INT codeWord, codeLength; in FDKaacEnc_codeValues() local
744 codeLength = HI_LTAB(FDKaacEnc_huff_ltab1_2[t0][t1][t2][t3]); in FDKaacEnc_codeValues()
745 FDKwriteBits(hBitstream, codeWord, codeLength); in FDKaacEnc_codeValues()
756 codeLength = LO_LTAB(FDKaacEnc_huff_ltab1_2[t0][t1][t2][t3]); in FDKaacEnc_codeValues()
757 FDKwriteBits(hBitstream, codeWord, codeLength); in FDKaacEnc_codeValues()
774 codeLength = HI_LTAB( in FDKaacEnc_codeValues()
777 codeLength + signLength); in FDKaacEnc_codeValues()
794 codeLength = LO_LTAB( in FDKaacEnc_codeValues()
797 codeLength + signLength); in FDKaacEnc_codeValues()
808 codeLength = in FDKaacEnc_codeValues()
[all …]
/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/pdfium/fxbarcode/oned/
DBC_OneDimWriter.cpp289 int32_t codeLength) { in RenderResult() argument
290 if (codeLength < 1) in RenderResult()
294 const int32_t codeOldLength = codeLength; in RenderResult()
297 codeLength += leftPadding; in RenderResult()
298 codeLength += rightPadding; in RenderResult()
300 m_Width > 0 ? static_cast<float>(m_Width) / static_cast<float>(codeLength) in RenderResult()
304 const int32_t outputWidth = codeLength; in RenderResult()
DBC_OnedCodaBarWriter.cpp204 int32_t codeLength) { in RenderResult() argument
206 encodedContents(contents).AsStringView(), code, codeLength); in RenderResult()
DBC_OnedCodaBarWriter.h29 int32_t codeLength) override;
DBC_OnedCode39Writer.h27 int32_t codeLength) override;
DBC_OnedCode39Writer.cpp252 int32_t codeLength) { in RenderResult() argument
257 codeLength); in RenderResult()
/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/skia/third_party/gif/
DSkGifImageReader.cpp248 unsigned short codeLength = 0; in doLZW() local
252 codeLength = suffixLength[code]; in doLZW()
253 rowIter += codeLength; in doLZW()
258 codeLength = suffixLength[oldcode] + 1; in doLZW()
259 rowIter += codeLength; in doLZW()
293 rowIter += codeLength; in doLZW()
/external/skqp/third_party/gif/
DSkGifImageReader.cpp248 unsigned short codeLength = 0; in doLZW() local
252 codeLength = suffixLength[code]; in doLZW()
253 rowIter += codeLength; in doLZW()
258 codeLength = suffixLength[oldcode] + 1; in doLZW()
259 rowIter += codeLength; in doLZW()
293 rowIter += codeLength; in doLZW()
/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