Home
last modified time | relevance | path

Searched refs:InstructionSubject (Results 1 – 6 of 6) sorted by relevance

/external/r8/src/test/java/com/android/tools/r8/utils/
DDexInspector.java522 public Iterator<InstructionSubject> iterateInstructions() { in iterateInstructions()
526 public <T extends InstructionSubject> Iterator<T> iterateInstructions( in iterateInstructions()
527 Predicate<InstructionSubject> filter) { in iterateInstructions()
661 public Iterator<InstructionSubject> iterateInstructions() { in iterateInstructions()
666 public <T extends InstructionSubject> Iterator<T> iterateInstructions( in iterateInstructions()
667 Predicate<InstructionSubject> filter) { in iterateInstructions()
807 InstructionSubject create(Instruction instruction) { in create()
813 return new InstructionSubject(this, instruction); in create()
893 public class InstructionSubject { class in DexInspector
898 protected InstructionSubject(InstructionSubjectFactory factory, Instruction instruction) { in InstructionSubject() method in DexInspector.InstructionSubject
[all …]
/external/r8/src/test/java/com/android/tools/r8/memberrebinding/
DMemberRebindingTest.java17 import com.android.tools.r8.utils.DexInspector.InstructionSubject;
98 private static boolean coolInvokes(InstructionSubject instruction) { in coolInvokes()
170 main.iterateInstructions(InstructionSubject::isFieldAccess); in inspectOriginalMain2()
186 main.iterateInstructions(InstructionSubject::isFieldAccess); in inspectMain2()
204 main.iterateInstructions(InstructionSubject::isInvoke); in inspectOriginal3()
214 main.iterateInstructions(InstructionSubject::isInvoke); in inspect3()
224 main.iterateInstructions(InstructionSubject::isInvoke); in inspectOriginal4()
233 main.iterateInstructions(InstructionSubject::isInvoke); in inspect4()
/external/r8/src/test/java/com/android/tools/r8/
DRunExamplesAndroidOTest.java19 import com.android.tools.r8.utils.DexInspector.InstructionSubject;
73 <T extends InstructionSubject> TestRunner
74 withInstructionCheck(Predicate<InstructionSubject> filter, Consumer<T> check) { in withInstructionCheck()
302 .withInstructionCheck(InstructionSubject::isInvoke, in testTryWithResourcesDesugared()
/external/r8/src/test/java/com/android/tools/r8/rewrite/longcompare/
DLongCompare.java13 import com.android.tools.r8.utils.DexInspector.InstructionSubject;
69 methodSubject.iterateInstructions(InstructionSubject::isInvoke); in testLongCompareIsRewritten()
DRequireNonNullRewriteTest.java15 import com.android.tools.r8.utils.DexInspector.InstructionSubject;
87 methodSubject.iterateInstructions(InstructionSubject::isInvoke); in runTest()
/external/r8/src/test/java/com/android/tools/r8/shaking/
DTreeShakingTest.java24 import com.android.tools.r8.utils.DexInspector.InstructionSubject;
352 testMethod.iterateInstructions(InstructionSubject::isFieldAccess); in shaking13EnsureFieldWritesCorrect()