Home
last modified time | relevance | path

Searched refs:try_catch (Results 1 – 24 of 24) sorted by relevance

/external/v8/src/
Dd8-debug.cc28 TryCatch try_catch; in HandleDebugEvent() local
37 if (try_catch.HasCaught()) { in HandleDebugEvent()
38 Shell::ReportException(isolate, &try_catch); in HandleDebugEvent()
45 if (try_catch.HasCaught()) { in HandleDebugEvent()
46 Shell::ReportException(isolate, &try_catch); in HandleDebugEvent()
63 if (try_catch.HasCaught()) { in HandleDebugEvent()
64 Shell::ReportException(isolate, &try_catch); in HandleDebugEvent()
79 TryCatch try_catch; in HandleDebugEvent() local
84 if (try_catch.HasCaught()) { in HandleDebugEvent()
85 Shell::ReportException(isolate, &try_catch); in HandleDebugEvent()
[all …]
Dmksnapshot.cc379 TryCatch try_catch; in main() local
381 if (try_catch.HasCaught()) { in main()
383 DumpException(try_catch.Message()); in main()
387 if (try_catch.HasCaught()) { in main()
389 DumpException(try_catch.Message()); in main()
Dd8.cc221 TryCatch try_catch; in ExecuteString() local
225 try_catch.SetVerbose(true); in ExecuteString()
233 ReportException(isolate, &try_catch); in ExecuteString()
244 DCHECK(try_catch.HasCaught()); in ExecuteString()
247 ReportException(isolate, &try_catch); in ExecuteString()
250 DCHECK(!try_catch.HasCaught()); in ExecuteString()
264 v8::TryCatch try_catch; in ExecuteString() local
273 if (try_catch.HasCaught()) return true; in ExecuteString()
483 v8::TryCatch try_catch; in Write() local
485 if (try_catch.HasCaught()) { in Write()
[all …]
Dmessages.cc116 v8::TryCatch try_catch; in ReportMessage() local
Dd8.h260 static void ReportException(Isolate* isolate, TryCatch* try_catch);
Dliveedit.cc856 v8::TryCatch try_catch; in GatherCompileInfo() local
857 try_catch.SetVerbose(true); in GatherCompileInfo()
Dapi.cc3287 TryCatch try_catch; in SetPrototype() local
6821 TryCatch try_catch; in Utf8Value() local
6842 TryCatch try_catch; in Value() local
/external/v8/test/cctest/
Dtest-thread-termination.cc64 v8::TryCatch try_catch; in DoLoop() local
80 CHECK(try_catch.HasCaught()); in DoLoop()
81 CHECK(try_catch.Exception()->IsNull()); in DoLoop()
82 CHECK(try_catch.Message().IsEmpty()); in DoLoop()
83 CHECK(!try_catch.CanContinue()); in DoLoop()
89 v8::TryCatch try_catch; in DoLoopNoCall() local
97 CHECK(try_catch.HasCaught()); in DoLoopNoCall()
98 CHECK(try_catch.Exception()->IsNull()); in DoLoopNoCall()
99 CHECK(try_catch.Message().IsEmpty()); in DoLoopNoCall()
100 CHECK(!try_catch.CanContinue()); in DoLoopNoCall()
[all …]
Dtest-global-object.cc40 v8::TryCatch try_catch; in TEST() local
48 CHECK(try_catch.HasCaught()); in TEST()
49 v8::String::Utf8Value exception(try_catch.Exception()); in TEST()
Dtest-api.cc198 v8::TryCatch try_catch; in TestSignature() local
200 CHECK_EQ(expected_to_throw, try_catch.HasCaught()); in TestSignature()
205 try_catch.Exception()->ToString()); in TestSignature()
4258 v8::TryCatch try_catch; in THREADED_TEST() local
4261 CHECK(try_catch.HasCaught()); in THREADED_TEST()
4262 String::Utf8Value exception_value(try_catch.Exception()); in THREADED_TEST()
4270 v8::TryCatch try_catch; in TEST() local
4273 CHECK(try_catch.HasCaught()); in TEST()
4274 CHECK(try_catch.Exception()->ToObject()-> in TEST()
4529 TryCatch try_catch; in THREADED_TEST() local
[all …]
Dtest-log.cc484 v8::TryCatch try_catch; in TEST() local
487 v8::String::Utf8Value exception(try_catch.Exception()); in TEST()
493 v8::String::Utf8Value exception(try_catch.Exception()); in TEST()
Dtest-accessors.cc554 v8::TryCatch try_catch; in THREADED_TEST() local
560 CHECK(!try_catch.HasCaught()); in THREADED_TEST()
Dtest-strings.cc1227 v8::TryCatch try_catch; in UNINITIALIZED_TEST() local
1236 CHECK(try_catch.HasCaught()); in UNINITIALIZED_TEST()
Dtest-debug.cc214 v8::TryCatch try_catch; in SetScriptBreakPointByIdFromJS() local
218 CHECK(!try_catch.HasCaught()); in SetScriptBreakPointByIdFromJS()
243 v8::TryCatch try_catch; in SetScriptBreakPointByNameFromJS() local
247 CHECK(!try_catch.HasCaught()); in SetScriptBreakPointByNameFromJS()
7336 v8::TryCatch try_catch; in RunScriptInANewCFrame() local
7338 CHECK(try_catch.HasCaught()); in RunScriptInANewCFrame()
7516 v8::TryCatch try_catch; in TEST() local
7519 CHECK(try_catch.HasTerminated()); in TEST()
Dtest-parsing.cc1503 v8::TryCatch try_catch; in TEST() local
1512 CHECK(try_catch.HasCaught()); in TEST()
1513 v8::String::Utf8Value exception(try_catch.Exception()); in TEST()
/external/v8/samples/
Dlineprocessor.cc170 v8::TryCatch try_catch; in RunMain() local
176 ReportException(isolate, &try_catch); in RunMain()
182 v8::TryCatch try_catch; in RunMain() local
185 if (try_catch.HasCaught()) { in RunMain()
187 ReportException(isolate, &try_catch); in RunMain()
238 v8::TryCatch try_catch; in RunCppCycle() local
241 if (try_catch.HasCaught()) { in RunCppCycle()
243 ReportException(isolate, &try_catch); in RunCppCycle()
298 void ReportException(v8::Isolate* isolate, v8::TryCatch* try_catch) { in ReportException() argument
300 v8::String::Utf8Value exception(try_catch->Exception()); in ReportException()
[all …]
Dshell.cc327 v8::TryCatch try_catch; in ExecuteString() local
333 ReportException(isolate, &try_catch); in ExecuteString()
338 assert(try_catch.HasCaught()); in ExecuteString()
341 ReportException(isolate, &try_catch); in ExecuteString()
344 assert(!try_catch.HasCaught()); in ExecuteString()
358 void ReportException(v8::Isolate* isolate, v8::TryCatch* try_catch) { in ReportException() argument
360 v8::String::Utf8Value exception(try_catch->Exception()); in ReportException()
362 v8::Handle<v8::Message> message = try_catch->Message(); in ReportException()
387 v8::String::Utf8Value stack_trace(try_catch->StackTrace()); in ReportException()
Dprocess.cc215 TryCatch try_catch; in ExecuteScript() local
220 String::Utf8Value error(try_catch.Exception()); in ExecuteScript()
230 String::Utf8Value error(try_catch.Exception()); in ExecuteScript()
276 TryCatch try_catch; in Process() local
286 String::Utf8Value error(try_catch.Exception()); in Process()
/external/llvm/test/Transforms/LowerInvoke/
D2003-12-10-Crash.ll12 to label %invoke_cont.0 unwind label %try_catch
15 to label %try_exit unwind label %try_catch
16 try_catch: ; preds = %invoke_cont.0, %then
/external/v8/test/cctest/compiler/
Dfunction-tester.h92 TryCatch try_catch; in CheckThrows() local
95 CHECK(try_catch.HasCaught()); in CheckThrows()
103 TryCatch try_catch; in CheckThrowsReturnMessage() local
106 CHECK(try_catch.HasCaught()); in CheckThrowsReturnMessage()
112 return try_catch.Message(); in CheckThrowsReturnMessage()
/external/chromium-libpac/src/
Dproxy_resolver_v8.cc383 v8::TryCatch try_catch; in ResolveProxy() local
387 if (try_catch.HasCaught()) { in ResolveProxy()
389 V8StringToUTF16(try_catch.Message()->Get())); in ResolveProxy()
520 v8::TryCatch try_catch; in RunScript() local
532 if (try_catch.HasCaught()) { in RunScript()
533 HandleError(try_catch.Message()); in RunScript()
/external/skia/experimental/SkV8Example/
DJsContext.cpp119 v8::TryCatch try_catch; in initialize() local
/external/pdfium/fpdfsdk/src/jsapi/
Dfxjs_v8.cpp323 v8::TryCatch try_catch(isolate); in JS_Parse() local
332 v8::String::Utf8Value error(try_catch.Exception()); in JS_Parse()
342 v8::TryCatch try_catch(isolate); in JS_Execute() local
350 v8::String::Utf8Value error(try_catch.Exception()); in JS_Execute()
356 v8::String::Utf8Value error(try_catch.Exception()); in JS_Execute()
/external/llvm/test/Transforms/Inline/
D2006-11-09-InlineCGUpdate-2.ll132 to label %try_exit.0 unwind label %try_catch.0
134 try_catch.0: ; preds = %entry