/external/v8/src/ |
D | d8-debug.cc | 64 TryCatch try_catch; in HandleDebugEvent() local 71 if (try_catch.HasCaught()) { in HandleDebugEvent() 72 Shell::ReportException(&try_catch); in HandleDebugEvent() 79 if (try_catch.HasCaught()) { in HandleDebugEvent() 80 Shell::ReportException(&try_catch); in HandleDebugEvent() 95 if (try_catch.HasCaught()) { in HandleDebugEvent() 96 Shell::ReportException(&try_catch); in HandleDebugEvent() 111 TryCatch try_catch; in HandleDebugEvent() local 116 if (try_catch.HasCaught()) { in HandleDebugEvent() 117 Shell::ReportException(&try_catch); in HandleDebugEvent() [all …]
|
D | d8.cc | 152 TryCatch try_catch; in ExecuteString() local 156 try_catch.SetVerbose(true); in ExecuteString() 162 ReportException(&try_catch); in ExecuteString() 167 ASSERT(try_catch.HasCaught()); in ExecuteString() 170 ReportException(&try_catch); in ExecuteString() 173 ASSERT(!try_catch.HasCaught()); in ExecuteString() 286 static size_t convertToUint(Local<Value> value_in, TryCatch* try_catch) { in convertToUint() argument 292 if (try_catch->HasCaught()) return 0; in convertToUint() 296 if (try_catch->HasCaught() || int32.IsEmpty()) return 0; in convertToUint() 299 if (try_catch->HasCaught()) return 0; in convertToUint() [all …]
|
/external/chromium_org/v8/src/ |
D | d8-debug.cc | 63 TryCatch try_catch; in HandleDebugEvent() local 72 if (try_catch.HasCaught()) { in HandleDebugEvent() 73 Shell::ReportException(isolate, &try_catch); in HandleDebugEvent() 80 if (try_catch.HasCaught()) { in HandleDebugEvent() 81 Shell::ReportException(isolate, &try_catch); in HandleDebugEvent() 98 if (try_catch.HasCaught()) { in HandleDebugEvent() 99 Shell::ReportException(isolate, &try_catch); in HandleDebugEvent() 114 TryCatch try_catch; in HandleDebugEvent() local 119 if (try_catch.HasCaught()) { in HandleDebugEvent() 120 Shell::ReportException(isolate, &try_catch); in HandleDebugEvent() [all …]
|
D | mksnapshot.cc | 336 TryCatch try_catch; in main() local 338 if (try_catch.HasCaught()) { in main() 340 DumpException(try_catch.Message()); in main() 344 if (try_catch.HasCaught()) { in main() 346 DumpException(try_catch.Message()); in main()
|
/external/chromium_org/v8/test/cctest/ |
D | test-thread-termination.cc | 63 v8::TryCatch try_catch; in DoLoop() local 79 CHECK(try_catch.HasCaught()); in DoLoop() 80 CHECK(try_catch.Exception()->IsNull()); in DoLoop() 81 CHECK(try_catch.Message().IsEmpty()); in DoLoop() 82 CHECK(!try_catch.CanContinue()); in DoLoop() 88 v8::TryCatch try_catch; in DoLoopNoCall() local 96 CHECK(try_catch.HasCaught()); in DoLoopNoCall() 97 CHECK(try_catch.Exception()->IsNull()); in DoLoopNoCall() 98 CHECK(try_catch.Message().IsEmpty()); in DoLoopNoCall() 99 CHECK(!try_catch.CanContinue()); in DoLoopNoCall() [all …]
|
D | test-global-object.cc | 40 v8::TryCatch try_catch; in TEST() local 48 CHECK(try_catch.HasCaught()); in TEST() 49 v8::String::Utf8Value exception(try_catch.Exception()); in TEST()
|
D | test-api.cc | 241 v8::TryCatch try_catch; in TestSignature() local 243 CHECK_EQ(expected_to_throw, try_catch.HasCaught()); in TestSignature() 248 try_catch.Exception()->ToString()); in TestSignature() 3894 v8::TryCatch try_catch; in THREADED_TEST() local 3897 CHECK(try_catch.HasCaught()); in THREADED_TEST() 3898 String::Utf8Value exception_value(try_catch.Exception()); in THREADED_TEST() 3906 v8::TryCatch try_catch; in TEST() local 3909 CHECK(try_catch.HasCaught()); in TEST() 3910 CHECK(try_catch.Exception()->ToObject()-> in TEST() 4166 TryCatch try_catch; in THREADED_TEST() local [all …]
|
/external/v8/test/cctest/ |
D | test-thread-termination.cc | 67 v8::TryCatch try_catch; in DoLoop() local 82 CHECK(try_catch.HasCaught()); in DoLoop() 83 CHECK(try_catch.Exception()->IsNull()); in DoLoop() 84 CHECK(try_catch.Message().IsEmpty()); in DoLoop() 85 CHECK(!try_catch.CanContinue()); in DoLoop() 92 v8::TryCatch try_catch; in DoLoopNoCall() local 99 CHECK(try_catch.HasCaught()); in DoLoopNoCall() 100 CHECK(try_catch.Exception()->IsNull()); in DoLoopNoCall() 101 CHECK(try_catch.Message().IsEmpty()); in DoLoopNoCall() 102 CHECK(!try_catch.CanContinue()); in DoLoopNoCall() [all …]
|
D | test-api.cc | 189 v8::TryCatch try_catch; in THREADED_TEST() local 195 CHECK(try_catch.HasCaught()); in THREADED_TEST() 196 try_catch.Reset(); in THREADED_TEST() 205 CHECK(try_catch.HasCaught()); in THREADED_TEST() 2379 v8::TryCatch try_catch; in THREADED_TEST() local 2382 CHECK(try_catch.HasCaught()); in THREADED_TEST() 2383 String::AsciiValue exception_value(try_catch.Exception()); in THREADED_TEST() 2478 TryCatch try_catch; in THREADED_TEST() local 2482 CHECK(try_catch.HasCaught()); in THREADED_TEST() 2483 String::AsciiValue exception_value(try_catch.Exception()); in THREADED_TEST() [all …]
|
/external/chromium_org/gin/ |
D | runner.cc | 39 void RunnerDelegate::UnhandledException(Runner* runner, TryCatch& try_catch) { in UnhandledException() argument 67 TryCatch try_catch; in Run() local 73 if (try_catch.HasCaught()) in Run() 74 delegate_->UnhandledException(this, try_catch); in Run() 81 TryCatch try_catch; in Call() local 87 if (try_catch.HasCaught()) in Call() 88 delegate_->UnhandledException(this, try_catch); in Call()
|
D | wrappable_unittest.cc | 132 gin::TryCatch try_catch; in TEST_F() local 143 EXPECT_FALSE(try_catch.HasCaught()); in TEST_F() 144 EXPECT_EQ("", try_catch.GetStackTrace()); in TEST_F()
|
/external/chromium_org/chrome/renderer/extensions/ |
D | module_system.cc | 76 virtual void HandleUncaughtException(const v8::TryCatch& try_catch) OVERRIDE { in HandleUncaughtException() argument 79 if (!try_catch.StackTrace().IsEmpty()) { in HandleUncaughtException() 80 v8::String::Utf8Value stack_value(try_catch.StackTrace()); in HandleUncaughtException() 86 Fatal(context_, CreateExceptionString(try_catch) + "{" + stack_trace + "}"); in HandleUncaughtException() 96 const v8::TryCatch& try_catch) { in CreateExceptionString() argument 97 v8::Handle<v8::Message> message(try_catch.Message()); in CreateExceptionString() 182 void ModuleSystem::HandleException(const v8::TryCatch& try_catch) { in HandleException() argument 183 exception_handler_->HandleUncaughtException(try_catch); in HandleException() 261 v8::TryCatch try_catch; in RequireForJsInner() local 262 try_catch.SetCaptureMessage(true); in RequireForJsInner() [all …]
|
D | module_system.h | 53 virtual void HandleUncaughtException(const v8::TryCatch& try_catch) = 0; 57 std::string CreateExceptionString(const v8::TryCatch& try_catch); 157 void HandleException(const v8::TryCatch& try_catch);
|
/external/v8/samples/ |
D | lineprocessor.cc | 241 v8::TryCatch try_catch; in RunMain() local 246 ReportException(&try_catch); in RunMain() 252 v8::TryCatch try_catch; in RunMain() local 255 if (try_catch.HasCaught()) { in RunMain() 257 ReportException(&try_catch); in RunMain() 308 v8::TryCatch try_catch; in RunCppCycle() local 311 if (try_catch.HasCaught()) { in RunCppCycle() 313 ReportException(&try_catch); in RunCppCycle() 360 void ReportException(v8::TryCatch* try_catch) { in ReportException() argument 362 v8::String::Utf8Value exception(try_catch->Exception()); in ReportException() [all …]
|
D | shell.cc | 272 v8::TryCatch try_catch; in ExecuteString() local 277 ReportException(&try_catch); in ExecuteString() 282 assert(try_catch.HasCaught()); in ExecuteString() 285 ReportException(&try_catch); in ExecuteString() 288 assert(!try_catch.HasCaught()); in ExecuteString() 302 void ReportException(v8::TryCatch* try_catch) { in ReportException() argument 304 v8::String::Utf8Value exception(try_catch->Exception()); in ReportException() 306 v8::Handle<v8::Message> message = try_catch->Message(); in ReportException() 331 v8::String::Utf8Value stack_trace(try_catch->StackTrace()); in ReportException()
|
/external/chromium_org/v8/samples/ |
D | lineprocessor.cc | 240 v8::TryCatch try_catch; in RunMain() local 245 ReportException(isolate, &try_catch); in RunMain() 251 v8::TryCatch try_catch; in RunMain() local 254 if (try_catch.HasCaught()) { in RunMain() 256 ReportException(isolate, &try_catch); in RunMain() 310 v8::TryCatch try_catch; in RunCppCycle() local 313 if (try_catch.HasCaught()) { in RunCppCycle() 315 ReportException(isolate, &try_catch); in RunCppCycle() 365 void ReportException(v8::Isolate* isolate, v8::TryCatch* try_catch) { in ReportException() argument 367 v8::String::Utf8Value exception(try_catch->Exception()); in ReportException() [all …]
|
D | shell.cc | 306 v8::TryCatch try_catch; in ExecuteString() local 311 ReportException(isolate, &try_catch); in ExecuteString() 316 assert(try_catch.HasCaught()); in ExecuteString() 319 ReportException(isolate, &try_catch); in ExecuteString() 322 assert(!try_catch.HasCaught()); in ExecuteString() 336 void ReportException(v8::Isolate* isolate, v8::TryCatch* try_catch) { in ReportException() argument 338 v8::String::Utf8Value exception(try_catch->Exception()); in ReportException() 340 v8::Handle<v8::Message> message = try_catch->Message(); in ReportException() 365 v8::String::Utf8Value stack_trace(try_catch->StackTrace()); in ReportException()
|
/external/llvm/test/Transforms/LowerInvoke/ |
D | 2003-12-10-Crash.ll | 12 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/chromium_org/gin/test/ |
D | file_runner.cc | 42 TryCatch& try_catch) { in UnhandledException() argument 43 ModuleRunnerDelegate::UnhandledException(runner, try_catch); in UnhandledException() 44 FAIL() << try_catch.GetStackTrace(); in UnhandledException()
|
/external/chromium_org/chrome/test/base/ |
D | v8_unit_test.cc | 126 v8::TryCatch try_catch; in RunJavascriptTestF() local 222 v8::TryCatch try_catch; in ExecuteScriptInContext() local 226 FAIL() << ExceptionToString(try_catch); in ExecuteScriptInContext() 231 FAIL() << ExceptionToString(try_catch); in ExecuteScriptInContext() 234 std::string V8UnitTest::ExceptionToString(const v8::TryCatch& try_catch) { in ExceptionToString() argument 237 v8::String::Utf8Value exception(try_catch.Exception()); in ExceptionToString() 238 v8::Local<v8::Message> message(try_catch.Message()); in ExceptionToString() 266 v8::TryCatch try_catch; in TestFunction() local 270 FAIL() << ExceptionToString(try_catch); in TestFunction()
|
/external/chromium_org/gin/shell/ |
D | gin_main.cc | 47 TryCatch& try_catch) OVERRIDE { in UnhandledException() argument 48 ModuleRunnerDelegate::UnhandledException(runner, try_catch); in UnhandledException() 49 LOG(ERROR) << try_catch.GetStackTrace(); in UnhandledException()
|
/external/chromium_org/mojo/apps/js/ |
D | mojo_runner_delegate.cc | 69 gin::TryCatch& try_catch) { in UnhandledException() argument 70 gin::ModuleRunnerDelegate::UnhandledException(runner, try_catch); in UnhandledException() 71 LOG(ERROR) << try_catch.GetStackTrace(); in UnhandledException()
|
/external/chromium_org/content/renderer/ |
D | v8_value_converter_impl.cc | 192 v8::TryCatch try_catch; in ToV8Array() local 194 if (try_catch.HasCaught()) in ToV8Array() 212 v8::TryCatch try_catch; in ToV8Object() local 217 if (try_catch.HasCaught()) { in ToV8Object() 333 v8::TryCatch try_catch; in FromV8Array() local 335 if (try_catch.HasCaught()) { in FromV8Array() 428 v8::TryCatch try_catch; in FromV8Object() local 431 if (try_catch.HasCaught()) { in FromV8Object()
|
/external/chromium_org/content/renderer/pepper/ |
D | v8_var_converter.cc | 337 v8::TryCatch try_catch; in ToV8Value() local 339 if (try_catch.HasCaught()) { in ToV8Value() 367 v8::TryCatch try_catch; in ToV8Value() local 373 if (try_catch.HasCaught()) { in ToV8Value() 443 v8::TryCatch try_catch; in FromV8Value() local 445 if (try_catch.HasCaught()) { in FromV8Value() 499 v8::TryCatch try_catch; in FromV8Value() local 501 if (try_catch.HasCaught()) { in FromV8Value()
|
/external/chromium/net/proxy/ |
D | proxy_resolver_v8.cc | 369 v8::TryCatch try_catch; in ResolveProxy() local 373 if (try_catch.HasCaught()) { in ResolveProxy() 374 HandleError(try_catch.Message()); in ResolveProxy() 513 v8::TryCatch try_catch; in RunScript() local 525 if (try_catch.HasCaught()) { in RunScript() 526 HandleError(try_catch.Message()); in RunScript()
|