Home
last modified time | relevance | path

Searched refs:opcodeValue (Results 1 – 3 of 3) sorted by relevance

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/
DOpcodes.java106 Short opcodeValue = versionToValueMap.get(version); in Opcodes() local
107 if (opcodeValue != null && (!opcode.isExperimental() || experimental)) { in Opcodes()
109 opcodesByValue[opcodeValue] = opcode; in Opcodes()
111 opcodeValues.put(opcode, opcodeValue); in Opcodes()
123 public Opcode getOpcodeByValue(int opcodeValue) { in getOpcodeByValue() argument
124 switch (opcodeValue) { in getOpcodeByValue()
132 if (opcodeValue >= 0 && opcodeValue < opcodesByValue.length) { in getOpcodeByValue()
133 return opcodesByValue[opcodeValue]; in getOpcodeByValue()
DOpcode.java363 Opcode(int opcodeValue, String opcodeName, int referenceType, Format format) { in Opcode() argument
364 this(opcodeValue, opcodeName, referenceType, format, 0); in Opcode()
367 Opcode(int opcodeValue, String opcodeName, int referenceType, Format format, int flags) { in Opcode() argument
368 this(allVersions(opcodeValue), opcodeName, referenceType, format, flags); in Opcode()
377 … apiToValueBuilder.put(versionConstraint.apiRange, (short)versionConstraint.opcodeValue); in Opcode()
380 …VersionToValueBuilder.put(versionConstraint.artVersionRange, (short)versionConstraint.opcodeValue); in Opcode()
392 private static List<VersionConstraint> firstApi(int opcodeValue, int api) { in firstApi() argument
393 …Lists.newArrayList(new VersionConstraint(Range.atLeast(api), Range.openClosed(0, 0), opcodeValue)); in firstApi()
396 private static List<VersionConstraint> lastApi(int opcodeValue, int api) { in lastApi() argument
398 … Lists.newArrayList(new VersionConstraint(Range.atMost(api), Range.openClosed(0, 0), opcodeValue)); in lastApi()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/instruction/
DDexBackedInstruction.java61 int opcodeValue = reader.peekUbyte(); in readFrom() local
63 if (opcodeValue == 0) { in readFrom()
64 opcodeValue = reader.peekUshort(); in readFrom()
67 Opcode opcode = reader.dexBuf.getOpcodes().getOpcodeByValue(opcodeValue); in readFrom()