Home
last modified time | relevance | path

Searched refs:ToChecked (Results 1 - 21 of 21) sorted by relevance

/third_party/node/deps/v8/src/objects/
H A Dtemplate-objects.cc58 JSObject::SetIntegrityLevel(raw_object, FROZEN, kThrowOnError).ToChecked(); in GetTemplateObject()
69 .ToChecked(); in GetTemplateObject()
73 .ToChecked(); in GetTemplateObject()
H A Dvalue-serializer.cc1113 DCHECK(result.ToChecked()); in WriteHostObject()
1204 ReadTag().ToChecked(); in ReadHeader()
1226 SerializationTag actual_tag = ReadTag().ToChecked(); in ConsumeTag()
1257 T expected_value = ReadVarintLoop<T>().ToChecked(); in ReadVarint()
H A Dmodule.cc356 JSObject::PreventExtensions(ns, kThrowOnError).ToChecked(); in GetModuleNamespace()
/third_party/node/deps/v8/src/extensions/
H A Dgc-extension.cc56 if (maybe_type.ToChecked()) { in Parse()
64 if (maybe_execution.ToChecked()) { in Parse()
125 resolver->Resolve(ctx, v8::Undefined(isolate_)).ToChecked();
154 GCOptions options = maybe_options.ToChecked(); in GC()
H A Dcputracemark-extension.cc32 args[0]->Uint32Value(args.GetIsolate()->GetCurrentContext()).ToChecked(); in Mark()
/third_party/node/src/crypto/
H A Dcrypto_keys.cc149 if (config.type_.ToChecked() == kKeyEncodingPKCS1) { in ParsePublicKey()
152 CHECK_EQ(config.type_.ToChecked(), kKeyEncodingSPKI); in ParsePublicKey()
232 if (config.type_.ToChecked() == kKeyEncodingPKCS1) { in ParsePrivateKey()
235 } else if (config.type_.ToChecked() == kKeyEncodingPKCS8) { in ParsePrivateKey()
252 CHECK_EQ(config.type_.ToChecked(), kKeyEncodingSEC1); in ParsePrivateKey()
325 PKEncodingType encoding_type = config.type_.ToChecked(); in WritePrivateKey()
397 if (config.type_.ToChecked() == kKeyEncodingPKCS1) { in WritePublicKeyInner()
410 CHECK_EQ(config.type_.ToChecked(), kKeyEncodingSPKI); in WritePublicKeyInner()
785 switch (config.type_.ToChecked()) { in GetPublicOrPrivateKeyFromJs()
H A Dcrypto_scrypt.cc94 params->maxmem = args[offset + 5]->IntegerValue(env->context()).ToChecked(); in AdditionalConfig()
/third_party/node/src/
H A Dnode_http2.cc346 int32_t parent_ = parent->Int32Value(context).ToChecked(); in Http2Priority()
347 int32_t weight_ = weight->Int32Value(context).ToChecked(); in Http2Priority()
2556 uint32_t val = args[0]->Uint32Value(env->context()).ToChecked(); in HttpErrorString()
2585 int32_t id = args[0]->Int32Value(env->context()).ToChecked(); in SetNextStreamID()
2603 int32_t window_size = args[0]->Int32Value(env->context()).ToChecked(); in SetLocalWindowSize()
2664 args[0]->Int32Value(env->context()).ToChecked()); in New()
2686 uint32_t code = args[0]->Uint32Value(context).ToChecked(); in Destroy()
2698 int32_t options = args[1]->Int32Value(env->context()).ToChecked(); in Request()
2747 uint32_t code = args[0]->Uint32Value(context).ToChecked(); in Goaway()
2748 int32_t lastStreamID = args[1]->Int32Value(context).ToChecked(); in Goaway()
[all...]
H A Dmodule_wrap.cc265 .ToChecked(); in createImportAttributesContainer()
580 .ToChecked(); in ImportModuleDynamically()
700 resolver->Resolve(context, Undefined(isolate)).ToChecked(); in SyntheticModuleEvaluationStepsCallback()
H A Dnode_i18n.cc413 int flags = args[1]->Uint32Value(env->context()).ToChecked(); in Create()
453 int flags = args[2]->Uint32Value(env->context()).ToChecked(); in Decode()
H A Dnode_perf.cc354 attr).ToChecked(); in Initialize()
H A Dnode_process_methods.cc469 .ToChecked(); in BindingData()
/third_party/node/test/addons/callback-scope/
H A Dbinding.cc44 v8::Undefined(isolate)).ToChecked(); in Callback()
/third_party/node/deps/v8/include/v8-include/
H A Dv8-maybe.h17 // Called when ToChecked is called on an empty Maybe.
40 V8_INLINE T ToChecked() const { return FromJust(); } in ToChecked() function in v8::Maybe
43 * Short-hand for ToChecked(), which doesn't return a value. To be used, where
/third_party/node/deps/v8/include/
H A Dv8-maybe.h14 // Called when ToChecked is called on an empty Maybe.
37 V8_INLINE T ToChecked() const { return FromJust(); } in ToChecked() function in v8::Maybe
40 * Short-hand for ToChecked(), which doesn't return a value. To be used, where
/third_party/node/deps/v8/src/d8/
H A Dasync-hooks-wrapper.cc192 .ToChecked()); in ShellPromiseHook()
H A Dd8.cc1149 resolver->Resolve(context, Undefined(isolate)).ToChecked(); in JSONModuleEvaluationSteps()
1205 resolver->Resolve(realm, module_namespace).ToChecked(); in ModuleResolutionSuccessCallback()
1224 resolver->Reject(realm, info[0]).ToChecked(); in ModuleResolutionFailureCallback()
1243 .ToChecked(); in HostImportModuleDynamically()
1269 meta->CreateDataProperty(context, url_key, url).ToChecked(); in HostInitializeImportMetaObject()
1305 resolver->Reject(realm, try_catch.Exception()).ToChecked(); in DoHostImportModuleDynamically()
1325 resolver->Reject(realm, try_catch.Exception()).ToChecked(); in DoHostImportModuleDynamically()
1340 resolver->Reject(realm, try_catch.Exception()).ToChecked(); in DoHostImportModuleDynamically()
/third_party/node/deps/v8/src/runtime/
H A Druntime-test.cc855 args[0]->NumberValue(args.GetIsolate()->GetCurrentContext()).ToChecked(); in call_as_function()
857 args[1]->NumberValue(args.GetIsolate()->GetCurrentContext()).ToChecked(); in call_as_function()
/third_party/node/deps/v8/src/debug/
H A Ddebug-scopes.cc1060 CHECK(Object::SetDataProperty(&it, new_value).ToChecked()); in SetContextExtensionValue()
/third_party/node/deps/v8/src/execution/
H A Dmessages.cc566 if (has_cause.ToChecked()) { in Construct()
/third_party/node/deps/v8/src/wasm/
H A Dc-api.cc2138 if (i::JSObject::HasProperty(&module_it).ToChecked()) { in make()

Completed in 41 milliseconds