/third_party/node/deps/v8/src/wasm/ |
D | wasm-js.cc | 182 ErrorThrower* thrower) { \ 185 thrower->TypeError("Argument 0 must be a WebAssembly." #Type); \ 197 const v8::FunctionCallbackInfo<v8::Value>& args, ErrorThrower* thrower, in GET_FIRST_ARGUMENT_AS() 222 thrower->TypeError("Argument 0 must be a buffer source"); in GET_FIRST_ARGUMENT_AS() 226 thrower->CompileError("BufferSource argument is empty"); in GET_FIRST_ARGUMENT_AS() 230 thrower->RangeError("buffer source exceeds maximum size of %zu (is %zu)", in GET_FIRST_ARGUMENT_AS() 233 if (thrower->error()) return i::wasm::ModuleWireBytes(nullptr, nullptr); in GET_FIRST_ARGUMENT_AS() 238 const v8::FunctionCallbackInfo<v8::Value>& args, ErrorThrower* thrower) { in GetFirstArgumentAsJSFunction() argument 241 thrower->TypeError("Argument 0 must be a function"); in GetFirstArgumentAsJSFunction() 248 ErrorThrower* thrower) { in GetValueAsImports() argument [all …]
|
D | sync-streaming-decoder.cc | 63 ErrorThrower thrower(isolate_, api_method_name_for_errors_); in Finish() local 65 GetWasmEngine()->SyncCompile(isolate_, enabled_, &thrower, wire_bytes); in Finish() 66 if (thrower.error()) { in Finish() 67 resolver_->OnCompilationFailed(thrower.Reify()); in Finish()
|
D | wasm-engine.cc | 485 Isolate* isolate, ErrorThrower* thrower, const ModuleWireBytes& bytes, in SyncCompileTranslatedAsmJs() argument 516 isolate, WasmFeatures::ForAsmjs(), thrower, std::move(result).value(), in SyncCompileTranslatedAsmJs() 537 Isolate* isolate, const WasmFeatures& enabled, ErrorThrower* thrower, in SyncCompile() argument 548 thrower->CompileFailed(result.error()); in SyncCompile() 556 isolate, enabled, thrower, std::move(result).value(), bytes, in SyncCompile() 590 Isolate* isolate, ErrorThrower* thrower, in SyncInstantiate() argument 594 return InstantiateToInstanceObject(isolate, thrower, module_object, imports, in SyncInstantiate() 601 ErrorThrower thrower(isolate, "WebAssembly.instantiate()"); in AsyncInstantiate() local 612 isolate, &thrower, module_object, imports, Handle<JSArrayBuffer>::null()); in AsyncInstantiate() 626 thrower.Reset(); in AsyncInstantiate() [all …]
|
D | module-compiler.cc | 1071 void SetCompileError(ErrorThrower* thrower, ModuleWireBytes wire_bytes, in SetCompileError() argument 1076 thrower->CompileError("Compiling function #%d failed: %s @+%u", in SetCompileError() 1081 thrower->CompileError("Compiling function #%d:\"%.*s\" failed: %s @+%u", in SetCompileError() 1108 AccountingAllocator* allocator, ErrorThrower* thrower, bool lazy_module, in ValidateSequentially() argument 1110 DCHECK(!thrower->error()); in ValidateSequentially() 1131 SetCompileError(thrower, wire_bytes, func, module, result.error()); in ValidateSequentially() 1195 ErrorThrower thrower(isolate, nullptr); in CompileLazy() local 1202 SetCompileError(&thrower, ModuleWireBytes(native_module->wire_bytes()), in CompileLazy() 1807 ErrorThrower* thrower, const WasmModule* wasm_module, in CompileNativeModule() argument 1820 isolate->allocator(), thrower, lazy_module, in CompileNativeModule() [all …]
|
D | wasm-engine.h | 161 Isolate* isolate, ErrorThrower* thrower, const ModuleWireBytes& bytes, 172 ErrorThrower* thrower, 179 Isolate* isolate, ErrorThrower* thrower,
|
D | module-instantiate.h | 36 Isolate* isolate, ErrorThrower* thrower,
|
D | module-instantiate.cc | 272 ErrorThrower* thrower, Handle<WasmModuleObject> module_object, 419 Isolate* isolate, ErrorThrower* thrower, in InstantiateToInstanceObject() argument 424 InstanceBuilder builder(isolate, context_id, thrower, module_object, imports, in InstantiateToInstanceObject() 430 DCHECK(isolate->has_pending_exception() || thrower->error()); in InstantiateToInstanceObject() 436 ErrorThrower* thrower, in InstanceBuilder() argument 444 thrower_(thrower), in InstanceBuilder() 903 ErrorThrower* thrower) { in EvaluateInitExpression() argument 942 thrower->RuntimeError("%s", decoder.interface().runtime_error_msg()); in EvaluateInitExpression() 2026 ErrorThrower thrower(isolate, "LoadElemSegment"); in LoadElemSegmentImpl() local 2039 isolate, instance, &thrower); in LoadElemSegmentImpl() [all …]
|
D | module-compiler.h | 54 Isolate* isolate, const WasmFeatures& enabled, ErrorThrower* thrower,
|
D | c-api.cc | 1139 i::wasm::ErrorThrower thrower(isolate, "ignored"); in make() local 1142 ->SyncCompile(isolate, features, &thrower, bytes) in make() 1144 thrower.Reset(); // The API provides no way to expose the error. in make() 2149 i::wasm::ErrorThrower thrower(isolate, "instantiation"); in make() local 2152 isolate, &thrower, module->v8_object(), imports_obj, in make() 2155 if (thrower.error()) { in make() 2157 store, GetProperException(isolate, thrower.Reify())); in make() 2158 DCHECK(!thrower.error()); // Reify() called Reset(). in make() 2171 thrower.Reset(); in make()
|
D | wasm-module.cc | 550 Handle<String> name, ErrorThrower* thrower) { in GetCustomSections() argument 575 thrower->RangeError("out of memory allocating custom section data"); in GetCustomSections()
|
D | wasm-module.h | 662 Handle<String> name, ErrorThrower* thrower);
|
/third_party/skia/third_party/externals/abseil-cpp/absl/types/ |
D | optional_exception_safety_test.cc | 146 auto thrower = Thrower(kUpdatedInteger, testing::nothrow_ctor); in TEST() local 147 optional_ptr->emplace(thrower); in TEST() 217 auto thrower = Thrower(kUpdatedInteger, testing::nothrow_ctor); in TEST() local 218 *optional_ptr = thrower; in TEST() 249 auto thrower = Thrower(kUpdatedInteger, testing::nothrow_ctor); in TEST() local 250 *optional_ptr = std::move(thrower); in TEST() 275 auto thrower = MoveThrower(kUpdatedInteger); in TEST() local 277 EXPECT_TRUE(testing::TestNothrowOp([&]() { empty = std::move(thrower); })); in TEST() 280 auto thrower = MoveThrower(kUpdatedInteger); in TEST() local 283 testing::TestNothrowOp([&]() { nonempty = std::move(thrower); })); in TEST()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/memory/ |
D | memory_exception_safety_test.cc | 39 EXPECT_TRUE(tester.Test([](Thrower* thrower) { in TEST() argument 40 static_cast<void>(absl::make_unique<Thrower>(*thrower)); in TEST() 43 EXPECT_TRUE(tester.Test([](Thrower* thrower) { in TEST() argument 44 static_cast<void>(absl::make_unique<Thrower>(std::move(*thrower))); in TEST()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/ |
D | fixed_array_exception_safety_test.cc | 154 for (const auto& thrower : *fixed_arr) { in ReadMemory() 155 sum += thrower.Get(); in ReadMemory() 164 auto thrower = in TEST() local 166 fixed_arr_ptr->fill(thrower); in TEST() 181 auto thrower = in TEST() local 183 fixed_arr_ptr->fill(thrower); in TEST()
|
/third_party/node/test/parallel/ |
D | test-assert.js | 114 function thrower(errorConstructor) { function 119 assert.throws(() => thrower(a.AssertionError), a.AssertionError, 'message'); 120 assert.throws(() => thrower(a.AssertionError), a.AssertionError); 121 assert.throws(() => thrower(a.AssertionError)); 124 assert.throws(() => thrower(TypeError)); 128 () => a.throws(() => thrower(TypeError), a.AssertionError), 145 a.doesNotThrow(() => thrower(TypeError), a.AssertionError); 157 a.doesNotThrow(() => thrower(TypeError), TypeError); 167 () => a.doesNotThrow(() => thrower(Error), 'user message'), 178 () => a.doesNotThrow(() => thrower(Error)), [all …]
|
D | test-stream2-readable-non-empty-end.js | 43 test.on('end', thrower); 44 function thrower() { function 63 test.removeListener('end', thrower);
|
D | test-util-promisify.js | 175 const thrower = promisify(function(a, b, c, cb) { constant 179 thrower(1, 2, 3)
|
/third_party/node/deps/v8/src/asmjs/ |
D | asm-js.cc | 267 wasm::ErrorThrower thrower(isolate, "AsmJs::Compile"); in FinalizeJobImpl() local 271 isolate, &thrower, in FinalizeJobImpl() 276 DCHECK(!thrower.error()); in FinalizeJobImpl() 388 wasm::ErrorThrower thrower(isolate, "AsmJs::Instantiate"); in InstantiateAsmWasm() local 390 wasm_engine->SyncInstantiate(isolate, &thrower, module, foreign, memory); in InstantiateAsmWasm() 395 if (thrower.error()) { in InstantiateAsmWasm() 397 SNPrintF(error_reason, "Internal wasm failure: %s", thrower.error_msg()); in InstantiateAsmWasm() 402 thrower.Reset(); // Ensure exceptions do not propagate. in InstantiateAsmWasm() 405 DCHECK(!thrower.error()); in InstantiateAsmWasm()
|
/third_party/node/test/fixtures/source-map/ |
D | enclosing-call-site.js | 21 const thrower = functionA constant 24 thrower()
|
D | enclosing-call-site-min.js | 1 …nD()},functionD=function(){if(0<Math.random())throw Error("an error!");},thrower=functionA;try{fun…
|
D | enclosing-call-site.js.map | 7 "names":["functionA","functionB","functionC","functionD","Math","random","Error","thrower","err"]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/base/ |
D | exception_safety_testing_test.cc | 193 auto thrower = Thrower(123); in TEST() 194 thrower.~Thrower(); in TEST() 202 auto thrower = Thrower(234); in TEST() 203 thrower.~Thrower(); in TEST() 212 auto thrower = Thrower(345); in TEST() 213 thrower.~Thrower(); in TEST() 221 auto thrower = Thrower(456); in TEST() 222 thrower.~Thrower(); in TEST()
|
/third_party/node/deps/v8/src/builtins/ |
D | promise-finally.tq | 78 // 7. Let thrower be equivalent to a function that throws reason. 80 const thrower = CreateThrowerFunction(nativeContext, reason); 82 // 8. Return ? Invoke(promise, "then", « thrower »). 83 return UnsafeCast<JSAny>(InvokeThen(nativeContext, promise, thrower));
|
/third_party/node/src/api/ |
D | environment.cc | 658 Local<Value> thrower; in InitializeContextRuntime() local 660 .ToLocal(&thrower)) { in InitializeContextRuntime() 664 PropertyDescriptor descriptor(thrower, thrower); in InitializeContextRuntime()
|
/third_party/jerryscript/jerry-core/ |
D | BUILD.gn | 104 "ecma/builtin-objects/ecma-builtin-type-error-thrower.c",
|