Home
last modified time | relevance | path

Searched full:finally (Results 1 – 25 of 13268) sorted by relevance

12345678910>>...531

/external/javassist/src/test/test2/
DFinally.classFinally.java package test2 public test2.Finally extends java.lang.Object { int a String ...
/external/python/cpython2/Tools/pybench/
DWith.py61 # actions in finally blocks usually don't have parameters.
71 finally: cm.__exit__()
75 finally: cm.__exit__()
79 finally: cm.__exit__()
83 finally: cm.__exit__()
87 finally: cm.__exit__()
91 finally: cm.__exit__()
95 finally: cm.__exit__()
99 finally: cm.__exit__()
103 finally: cm.__exit__()
[all …]
/external/python/cpython3/Lib/test/
Dtest_exception_variations.py16 finally:
34 finally:
49 finally:
63 finally:
122 finally:
137 finally:
139 finally:
166 finally:
194 finally:
222 finally:
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/terminal/
DLaunchFlow.kt26 internal var finally: Handler<Throwable?>? = null in <lambda>() variable in kotlinx.coroutines.flow.LaunchFlowBuilder
33 check(finally == null) { "onEach block should be registered before finally block" } in <lambda>()
39 … check(finally == null) { "exceptionHandlers block should be registered before finally block" } in <lambda>()
44 public fun finally(action: suspend CoroutineScope.(cause: Throwable?) -> Unit) { in <lambda>() method in kotlinx.coroutines.flow.LaunchFlowBuilder
45 check(finally == null) { "Finally block is already registered" } in <lambda>()
46 check(onEach != null) { "onEach block should be registered before finally block" } in <lambda>()
47 if (finally == null) finally = action in <lambda>()
51 Handlers(onEach ?: error("onEach is not registered"), exceptionHandlers, finally) in <lambda>()
60 internal var finally: Handler<Throwable?>? variable in kotlinx.coroutines.flow.Handlers
88 } finally { in launchFlow()
[all …]
/external/nullaway/nullaway/src/test/resources/com/uber/nullaway/testdata/
DNullAwayTryFinallyCases.java29 // This code tests our, admitedly quite unsound, handling of try{ ... }finally{ ... } blocks.
34 } finally { in tryFinallyMininal()
43 } finally { in tryFinallyMininalRet()
52 } finally { in tryFinallyMininalThrow()
62 } finally { in tryFinallyThrowWFix()
76 } finally { in tryFinallyThrowWFix2()
84 } finally { in tryFinallyPassThrough()
124 } finally { in derefOnFinallyReturn()
136 } finally { in derefOnFinallyThrow()
149 } finally { in derefOnFinallyThrowFixBefore()
[all …]
/external/clang/test/Rewriter/
Dfinally.m7 …rewriter doesn't support user-specified control flow semantics for @try/@finally (code may not exe…
8 } @finally {
9 printf("executing finally");
15 } @finally {
16 printf("executing finally");
18 printf("executing after finally block");
22 } @finally {
23 printf("executing finally");
31 return; // The rewriter knows how to generate code for implicit finally
37 return; // The rewriter knows how to generate code for implicit finally
Drewrite-modern-try-catch-finally.m14 @finally {
20 } @finally {
21 printf("executing finally");
23 printf("executing after finally block");
27 } @finally {
28 printf("executing finally");
41 void FINALLY(); function
59 @finally {
60 FINALLY();
Drewrite-modern-try-finally.m9 void FINALLY(); function
23 @finally {
24 FINALLY();
30 @finally {
34 @finally {
37 FINALLY();
/external/swiftshader/third_party/marl/include/marl/
Dfinally.h15 // Finally can be used to execute a lambda or function when the final reference
16 // to the Finally is dropped.
18 // The purpose of a finally is to perform cleanup or termination logic and is
21 // A moveable Finally can be constructed with marl::make_finally().
22 // A sharable Finally can be constructed with marl::make_shared_finally().
35 // Finally is a pure virtual base class, implemented by the templated
37 class Finally {
39 virtual ~Finally() = default;
42 // FinallyImpl implements a Finally.
43 // The template parameter F is the function type to be called when the finally
[all …]
/external/jacoco/org.jacoco.core.test.validation.java5/src/org/jacoco/core/test/validation/java5/targets/
DFinallyTarget.java28 * } finally {
39 } finally { // assertFinally() tag("example.0") in example()
52 * GOTO instructions at the end of duplicates of finally block might have
53 * line number of a last instruction of finally block and hence lead to
70 } finally { in breakStatement()
71 nop("finally"); // assertFullyCovered() tag("breakStatement.1") in breakStatement()
81 } finally { // assertEmpty() in catchNotExecuted()
82 nop("finally"); // assertFullyCovered() tag("catchNotExecuted.1") in catchNotExecuted()
91 } finally { // assertEmpty() in emptyCatch()
92 nop("finally"); // assertFullyCovered() tag("emptyCatch.1") in emptyCatch()
[all …]
/external/tensorflow/tensorflow/java/src/main/java/org/tensorflow/
DGraphOperationBuilder.java28 } finally { in GraphOperationBuilder()
45 } finally { in build()
59 } finally { in addControlInput()
70 } finally { in addInput()
87 } finally { in addInputList()
98 } finally { in setDevice()
115 } finally { in setAttr()
126 } finally { in setAttr()
137 } finally { in setAttr()
148 } finally { in setAttr()
[all …]
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/
DJimfsFileChannel.java163 } finally { in read()
168 } finally { in read()
200 } finally { in read()
205 } finally { in read()
233 } finally { in read()
238 } finally { in read()
268 } finally { in write()
273 } finally { in write()
306 } finally { in write()
311 } finally { in write()
[all …]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/filter/
DFinallyFilterTest.java49 * } finally {
71 m.visitInsn(Opcodes.NOP); // finally block in should_analyze_control_flow()
78 m.visitInsn(Opcodes.NOP); // finally block in should_analyze_control_flow()
85 m.visitInsn(Opcodes.NOP); // finally block in should_analyze_control_flow()
95 // === try/catch/finally ===
114 m.visitInsn(Opcodes.NOP); // finally body in javac_try_catch_finally()
122 m.visitInsn(Opcodes.NOP); // finally body in javac_try_catch_finally()
129 m.visitInsn(Opcodes.NOP); // finally body in javac_try_catch_finally()
165 m.visitInsn(Opcodes.NOP); // finally body in ecj_try_catch_finally()
173 m.visitInsn(Opcodes.NOP); // finally body in ecj_try_catch_finally()
[all …]
/external/python/cpython2/Lib/test/
Dtest_exception_variations.py17 finally:
35 finally:
50 finally:
64 finally:
123 finally:
138 finally:
140 finally:
167 finally:
/external/python/cpython2/Modules/
DcPickle.c825 goto finally; in put2()
836 goto finally; in put2()
839 goto finally; in put2()
842 goto finally; in put2()
850 goto finally; in put2()
862 goto finally; in put2()
881 goto finally; in put2()
886 goto finally; in put2()
890 finally: in put2()
1105 if (i < 0) goto finally; in save_long()
[all …]
Dsvmodule.c156 goto finally; in svc_GetFields()
159 goto finally; in svc_GetFields()
162 finally: in svc_GetFields()
534 goto finally; in sv_CaptureBurst()
538 goto finally; in sv_CaptureBurst()
544 goto finally; in sv_CaptureBurst()
548 goto finally; in sv_CaptureBurst()
555 goto finally; in sv_CaptureBurst()
559 goto finally; in sv_CaptureBurst()
562 goto finally; in sv_CaptureBurst()
[all …]
/external/cronet/base/test/android/junit/src/org/chromium/base/test/util/
DDisableIfTest.java95 } finally { in testSupportedAbiIncludesAndCpuAbiMatches()
112 } finally { in testSupportedAbiIncludesAndCpuAbi2Matches()
129 } finally { in testSupportedAbiIncludesButNoMatch()
145 } finally { in testHardwareIsMatches()
161 } finally { in testHardwareIsDoesntMatch()
189 } finally { in testDisableClass()
201 } finally { in testDisableSuperClass()
218 } finally { in testTwoConditionsBothMet()
235 } finally { in testTwoConditionsFirstMet()
252 } finally { in testTwoConditionsSecondMet()
[all …]
/external/llvm/test/CodeGen/X86/
D2010-04-30-LocalAlloc-LandingPad.ll30 br label %finally
69 br label %finally
73 br label %finally
91 br label %finally
96 br label %finally
98 finally: ; preds = %catch.next, %cleanup.end, %cleanup.pad…
101 cleanup.switch9: ; preds = %finally
104 i32 1, label %finally.end
105 i32 2, label %finally.throw
109 br label %finally.end
[all …]
/external/antlr/runtime/Ruby/test/functional/parser/
Dactions.rb73 finally { say('finally') }
98 finally
118 grammar Finally;
130 finally { events << 'finally'}
141 lexer = Finally::Lexer.new( 'foobar' )
142 parser = Finally::Parser.new lexer
143 parser.prog.should == %w(catch finally)
/external/clang/test/CodeGenObjC/
Dexceptions.m34 } @finally {
78 // Test that the cleanup destination is saved when entering a finally
99 } @finally {
107 } @finally {
113 // duplicating the finally block.
144 // The finally cleanup has two threaded entrypoints after optimization:
146 // finally.no-call-exit: Predecessor is when the catch throws.
152 // finally.call-exit: Predecessors are the @try and @catch fallthroughs
169 // -> next, finally.no-call-exit
171 // -> finally.call-exit, match
[all …]
/external/python/setuptools/setuptools/_distutils/tests/
Dtest_text_file.py59 finally:
66 finally:
73 finally:
80 finally:
86 finally:
93 finally:
100 finally:
/external/python/cpython2/Lib/distutils/tests/
Dtest_text_file.py59 finally:
66 finally:
73 finally:
80 finally:
86 finally:
93 finally:
100 finally:
/external/python/cpython3/Lib/distutils/tests/
Dtest_text_file.py59 finally:
66 finally:
73 finally:
80 finally:
86 finally:
93 finally:
100 finally:
/external/doclava/src/com/google/doclava/parser/
DJavaParser.java174 …NTINUE", "DEFAULT", "DO", "DOUBLE", "ELSE", "ENUM", "EXTENDS", "FINAL", "FINALLY", "FLOAT", "FOR",…
219 public static final int FINALLY=46; field in JavaParser
494 } finally {dbg.exitDecision(2);} in compilationUnit()
513 } finally {dbg.exitDecision(1);} in compilationUnit()
532 } finally {dbg.exitSubRule(1);} in compilationUnit()
545 } finally {dbg.exitSubRule(2);} in compilationUnit()
563 } finally {dbg.exitDecision(3);} in compilationUnit()
585 } finally {dbg.exitSubRule(3);} in compilationUnit()
603 } finally {dbg.exitDecision(4);} in compilationUnit()
625 } finally {dbg.exitSubRule(4);} in compilationUnit()
[all …]
/external/dexmaker/dexmaker-mockito-inline-extended-tests/src/main/java/com/android/dx/mockito/inline/extended/tests/
DMockStatic.java113 } finally { in spyStatic()
130 } finally { in spyStaticOnObjectWithNoDefaultConstructor()
150 } finally { in mockStatic()
180 } finally { in mockOverriddenStaticMethod()
211 } finally { in mockSuperMethod()
236 } finally { in resetMock()
252 } finally { in resetSpy()
277 } finally { in staticMockingIsSeparateFromNonStaticMocking()
300 } finally { in mockWithTwoClasses()
315 } finally { in doReturnMockWithTwoClasses()
[all …]

12345678910>>...531