Home
last modified time | relevance | path

Searched refs:newIndex (Results 1 – 25 of 54) sorted by relevance

123

/external/proguard/src/proguard/obfuscate/
DParameterNameMarker.java64 int newIndex = 0; in visitLocalVariableTableAttribute() local
73 localVariableTableAttribute.localVariableTable[newIndex++] = in visitLocalVariableTableAttribute()
79 localVariableTableAttribute.u2localVariableTableLength = newIndex; in visitLocalVariableTableAttribute()
82 if (newIndex > 0) in visitLocalVariableTableAttribute()
96 int newIndex = 0; in visitLocalVariableTypeTableAttribute() local
105 localVariableTypeTableAttribute.localVariableTypeTable[newIndex++] = in visitLocalVariableTypeTableAttribute()
111 localVariableTypeTableAttribute.u2localVariableTypeTableLength = newIndex; in visitLocalVariableTypeTableAttribute()
114 if (newIndex > 0) in visitLocalVariableTypeTableAttribute()
/external/proguard/src/proguard/classfile/util/
DAllParameterVisitor.java175 int newIndex = index + 1; in visitParameters() local
198 newIndex = descriptor.indexOf(ClassConstants.TYPE_CLASS_END, newIndex) + 1; in visitParameters()
207 while ((c = descriptor.charAt(newIndex++)) == ClassConstants.TYPE_ARRAY) {} in visitParameters()
212 newIndex = descriptor.indexOf(ClassConstants.TYPE_CLASS_END, newIndex) + 1; in visitParameters()
231 descriptor.substring(index, newIndex), in visitParameters()
235 index = newIndex; in visitParameters()
/external/proguard/src/proguard/classfile/editor/
DVariableCleaner.java138 int newIndex = 0; in removeUnusedLocalVariables() local
148 localVariableInfos[newIndex++] = localVariableInfos[index]; in removeUnusedLocalVariables()
153 Arrays.fill(localVariableInfos, newIndex, localVariableInfoCount, null); in removeUnusedLocalVariables()
155 return newIndex; in removeUnusedLocalVariables()
169 int newIndex = 0; in removeUnusedLocalVariableTypes() local
179 localVariableTypeInfos[newIndex++] = localVariableTypeInfos[index]; in removeUnusedLocalVariableTypes()
184 Arrays.fill(localVariableTypeInfos, newIndex, localVariableTypeInfoCount, null); in removeUnusedLocalVariableTypes()
186 return newIndex; in removeUnusedLocalVariableTypes()
DCodeAttributeComposer.java815 int newIndex = 0; in removeEmptyExceptions() local
821 exceptionInfos[newIndex++] = exceptionInfo; in removeEmptyExceptions()
826 Arrays.fill(exceptionInfos, newIndex, exceptionInfoCount, null); in removeEmptyExceptions()
828 return newIndex; in removeEmptyExceptions()
841 int newIndex = 0; in removeEmptyLineNumbers() local
849 lineNumberInfos[newIndex++] = lineNumberInfo; in removeEmptyLineNumbers()
854 Arrays.fill(lineNumberInfos, newIndex, lineNumberInfoCount, null); in removeEmptyLineNumbers()
856 return newIndex; in removeEmptyLineNumbers()
869 int newIndex = 0; in removeEmptyLocalVariables() local
876 localVariableInfos[newIndex++] = localVariableInfo; in removeEmptyLocalVariables()
[all …]
DConstantPoolSorter.java79 int newIndex = 1; in visitProgramClass() local
89 newIndex = newLength; in visitProgramClass()
108 constantIndexMap[comparableConstant.getIndex()] = newIndex; in visitProgramClass()
/external/javassist/src/main/javassist/convert/
DTransformFieldAccess.java30 private int newIndex; field in TransformFieldAccess
47 newIndex = 0; in initialize()
67 if (newIndex == 0) { in transform()
70 newIndex = cp.addFieldrefInfo( in transform()
75 iterator.write16bit(newIndex, pos + 1); in transform()
DTransformCall.java31 protected int newIndex; field in TransformCall
55 newIndex = 0; in initialize()
110 if (newIndex == 0) { in match()
115 newIndex = cp.addInterfaceMethodrefInfo(ci, nt); in match()
120 newIndex = cp.addMethodrefInfo(ci, nt); in match()
126 iterator.write16bit(newIndex, pos + 1); in match()
DTransformBefore.java54 if (newIndex == 0) { in match()
59 newIndex = cp.addMethodrefInfo(ci, nt); in match()
75 iterator.write16bit(newIndex, p + 1); in match2()
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
DExpandedNameTable.java262 int newIndex = e.hash % newCapacity; in rehash() local
263 if (newIndex < 0) in rehash()
264 newIndex = -newIndex; in rehash()
266 e.next = m_table[newIndex]; in rehash()
267 m_table[newIndex] = e; in rehash()
DDTMStringPool.java125 int newIndex=m_intToString.size(); in stringToIndex() local
130 m_hashStart[hashslot]=newIndex; in stringToIndex()
132 m_hashChain.setElementAt(newIndex,hashlast); in stringToIndex()
134 return newIndex; in stringToIndex()
/external/proguard/src/proguard/optimize/evaluation/
DVariableOptimizer.java136 for (int newIndex = startIndex; newIndex < oldIndex; newIndex++) in visitCodeAttribute()
138 if (areNonOverlapping(oldIndex, newIndex, codeLength)) in visitCodeAttribute()
140 variableMap[oldIndex] = newIndex; in visitCodeAttribute()
142 updateLiveness(oldIndex, newIndex, codeLength); in visitCodeAttribute()
/external/javassist/src/main/javassist/expr/
DNewExpr.java167 int newIndex = iterator.u16bitAt(pos + 1); in replace() local
192 jc.recordProceed(new ProceedForNew(newType, newIndex, in replace()
221 int newIndex, methodIndex; field in NewExpr.ProceedForNew
225 newIndex = ni; in ProceedForNew()
233 bytecode.addIndex(newIndex); in doit()
/external/icu/icu4c/source/tools/toolutil/
Dtoolutil.cpp335 int32_t newIndex=oldIndex+1; in utm_alloc() local
336 if(utm_hasCapacity(mem, newIndex)) { in utm_alloc()
338 mem->idx=newIndex; in utm_alloc()
348 int32_t newIndex=oldIndex+n; in utm_allocN() local
349 if(utm_hasCapacity(mem, newIndex)) { in utm_allocN()
351 mem->idx=newIndex; in utm_allocN()
/external/proguard/src/proguard/evaluation/value/
DInstructionOffsetValue.java188 int newIndex = 0; in generalize() local
197 newIndex = thisValues.length; in generalize()
206 newValues[newIndex++] = thisValues[index]; in generalize()
212 System.arraycopy(otherValues, 0, newValues, newIndex, otherValues.length); in generalize()
/external/proguard/src/proguard/optimize/peephole/
DUnreachableExceptionRemover.java144 int newIndex = 0; in removeEmptyExceptions() local
150 exceptionInfos[newIndex++] = exceptionInfo; in removeEmptyExceptions()
154 return newIndex; in removeEmptyExceptions()
/external/dexmaker/src/dx/java/com/android/dx/io/instructions/
DZeroRegisterDecodedInstruction.java39 public DecodedInstruction withIndex(int newIndex) { in withIndex() argument
41 getFormat(), getOpcode(), newIndex, getIndexType(), in withIndex()
DOneRegisterDecodedInstruction.java50 public DecodedInstruction withIndex(int newIndex) { in withIndex() argument
52 getFormat(), getOpcode(), newIndex, getIndexType(), in withIndex()
DRegisterRangeDecodedInstruction.java55 public DecodedInstruction withIndex(int newIndex) { in withIndex() argument
57 getFormat(), getOpcode(), newIndex, getIndexType(), in withIndex()
DTwoRegisterDecodedInstruction.java59 public DecodedInstruction withIndex(int newIndex) { in withIndex() argument
61 getFormat(), getOpcode(), newIndex, getIndexType(), in withIndex()
DThreeRegisterDecodedInstruction.java68 public DecodedInstruction withIndex(int newIndex) { in withIndex() argument
70 getFormat(), getOpcode(), newIndex, getIndexType(), in withIndex()
DFourRegisterDecodedInstruction.java77 public DecodedInstruction withIndex(int newIndex) { in withIndex() argument
79 getFormat(), getOpcode(), newIndex, getIndexType(), in withIndex()
DFiveRegisterDecodedInstruction.java86 public DecodedInstruction withIndex(int newIndex) { in withIndex() argument
88 getFormat(), getOpcode(), newIndex, getIndexType(), in withIndex()
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
DPick.java355 int newIndex = 0; in addTo() local
360 && newIndex < newValue.length() in addTo()
364 newIndex = getChar(newValue, newIndex, mergeBuffer, c < LEAST_SKIP); in addTo()
397 static int getChar(String newValue, int newIndex, StringBuffer mergeBuffer, boolean copy) { in getChar() argument
398 if (newIndex >= newValue.length()) return newIndex; in getChar()
399 int cp = UTF16.charAt(newValue,newIndex); in getChar()
401 return newIndex + UTF16.getCharCount(cp); in getChar()
/external/icu/icu4c/source/common/unicode/
Dparsepos.h64 ParsePosition(int32_t newIndex) in ParsePosition() argument
66 index(newIndex), in ParsePosition()
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/table/
DPropertyTable.java333 int newIndex = index; in navigate() local
335 newIndex = 0; in navigate()
337 newIndex = m_properties.size() - 1; in navigate()
339 newIndex = Math.max(index - m_page + 1, 0); in navigate()
341 newIndex = Math.min(index + m_page - 1, m_properties.size() - 1); in navigate()
343 newIndex = Math.max(index - 1, 0); in navigate()
345 newIndex = Math.min(index + 1, m_properties.size() - 1); in navigate()
348 if (newIndex != index && newIndex < m_properties.size()) { in navigate()
349 setActivePropertyInfo(m_properties.get(newIndex)); in navigate()
351 int y = m_rowHeight * (newIndex - m_selection); in navigate()
[all …]

123