Searched refs:theSwitch (Results 1 – 4 of 4) sorted by relevance
/external/skia/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/ |
D | StateAdapter.java | 104 Switch theSwitch = (Switch) view.findViewById(R.id.theSwitch); in getView() local 105 theSwitch.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener(){ in getView()
|
/external/r8/src/main/java/com/android/tools/r8/ir/optimize/ |
D | CodeRewriter.java | 334 Switch theSwitch = instruction.asSwitch(); in rewriteSwitch() local 335 if (theSwitch.numberOfKeys() == 1) { in rewriteSwitch() 337 int fallthroughBlockIndex = theSwitch.getFallthroughBlockIndex(); in rewriteSwitch() 338 int caseBlockIndex = theSwitch.targetBlockIndices()[0]; in rewriteSwitch() 342 if (theSwitch.getFirstKey() == 0) { in rewriteSwitch() 343 iterator.replaceCurrentInstruction(new If(Type.EQ, theSwitch.value())); in rewriteSwitch() 345 ConstNumber labelConst = code.createIntConstant(theSwitch.getFirstKey()); in rewriteSwitch() 349 assert dummy == theSwitch; in rewriteSwitch() local 350 If theIf = new If(Type.EQ, ImmutableList.of(theSwitch.value(), labelConst.dest())); in rewriteSwitch()
|
/external/llvm/examples/ExceptionDemo/ |
D | ExceptionDemo.cpp | 1052 llvm::SwitchInst *theSwitch = builder.CreateSwitch(builder.CreateLoad( in createFinallyBlock() local 1056 theSwitch->addCase(ourExceptionCaughtState, &terminatorBlock); in createFinallyBlock() 1057 theSwitch->addCase(ourExceptionThrownState, &unwindResumeBlock); in createFinallyBlock() 1455 llvm::SwitchInst *theSwitch = builder.CreateSwitch(exceptionType, in createThrowExceptionFunction() local 1459 theSwitch->addCase(llvm::ConstantInt::get(llvm::Type::getInt32Ty(context), in createThrowExceptionFunction()
|
/external/swiftshader/third_party/LLVM/examples/ExceptionDemo/ |
D | ExceptionDemo.cpp | 1037 llvm::SwitchInst *theSwitch = builder.CreateSwitch(builder.CreateLoad( in createFinallyBlock() local 1041 theSwitch->addCase(ourExceptionCaughtState, &terminatorBlock); in createFinallyBlock() 1042 theSwitch->addCase(ourExceptionThrownState, &unwindResumeBlock); in createFinallyBlock() 1499 llvm::SwitchInst *theSwitch = builder.CreateSwitch(exceptionType, in createThrowExceptionFunction() local 1503 theSwitch->addCase(llvm::ConstantInt::get(llvm::Type::getInt32Ty(context), in createThrowExceptionFunction()
|