Home
last modified time | relevance | path

Searched refs:IsJust (Results 1 – 25 of 42) sorted by relevance

12

/third_party/node/deps/v8/include/
Dv8-maybe.h32 V8_INLINE bool IsJust() const { return has_value_; } in IsJust() function
44 if (V8_UNLIKELY(!IsJust())) api_internal::FromJustIsNothing(); in Check()
52 if (V8_LIKELY(IsJust())) *out = value_; in To()
53 return IsJust(); in To()
61 if (V8_UNLIKELY(!IsJust())) api_internal::FromJustIsNothing(); in FromJust()
74 return (IsJust() == other.IsJust()) &&
75 (!IsJust() || FromJust() == other.FromJust());
110 V8_INLINE bool IsJust() const { return is_valid_; } in IsJust() function
113 return IsJust() == other.IsJust();
/third_party/node/deps/v8/src/codegen/
Dexternal-reference-encoder.cc31 DCHECK(map_->Get(addr).IsJust()); in ExternalReferenceEncoder()
41 DCHECK(map_->Get(addr).IsJust()); in ExternalReferenceEncoder()
51 DCHECK(map_->Get(addr).IsJust()); in ~ExternalReferenceEncoder()
/third_party/node/test/addons/openssl-binding/
Dbinding.cc47 assert(exports->Set(context, key, value).IsJust()); in Initialize()
56 assert(exports->Set(context, key, value).IsJust()); in Initialize()
/third_party/node/deps/v8/src/runtime/
Druntime-proxy.cc110 if (!result.IsJust()) return ReadOnlyRoots(isolate).exception(); in RUNTIME_FUNCTION()
122 if (!result.IsJust()) return ReadOnlyRoots(isolate).exception(); in RUNTIME_FUNCTION()
Druntime-object.cc373 if (!result.IsJust()) return ReadOnlyRoots(isolate).exception(); in RUNTIME_FUNCTION()
939 DCHECK(result.IsJust()); in RUNTIME_FUNCTION()
1176 .IsJust()); in RUNTIME_FUNCTION()
/third_party/node/deps/v8/src/utils/
Daddress-map.cc30 if (maybe_index.IsJust()) { in RootIndexMap()
Daddress-map.h64 if (maybe_index.IsJust()) { in Lookup()
/third_party/node/test/addons/zlib-binding/
Dbinding.cc53 assert(exports->Set(context, key, value).IsJust()); in Initialize()
/third_party/node/src/quic/
Dtlscontext.cc195 if (!addCert(cert).IsJust()) { in InitializeSecureContext()
209 if (!addKey(key).IsJust()) { in InitializeSecureContext()
224 if (!addCRL(crl).IsJust()) { in InitializeSecureContext()
/third_party/node/deps/v8/src/api/
Dapi-arguments.cc21 if (should_throw.IsJust()) { in PropertyCallbackArguments()
/third_party/node/src/
Dnode_sockaddr.cc825 if (detail->Set(env->context(), env->address_string(), address).IsJust() && in Detail()
829 Int32::New(env->isolate(), base->address_->port())).IsJust() && in Detail()
833 Int32::New(env->isolate(), base->address_->family())).IsJust() && in Detail()
838 .IsJust()) { in Detail()
Dnode_perf.cc140 entry.details.kind)).IsJust()) { in GetDetails()
149 entry.details.flags)).IsJust()) { in GetDetails()
Dtty_wrap.cc74 target->Set(context, ttyString, func).IsJust()) { in Initialize()
Dnode_main_instance.cc174 CHECK(InitializeContextRuntime(context).IsJust()); in CreateMainEnvironment()
Dnode_serdes.cc193 if (ret.IsJust()) args.GetReturnValue().Set(ret.FromJust()); in WriteValue()
346 if (ret.IsJust()) args.GetReturnValue().Set(ret.FromJust()); in ReadHeader()
Dnode_worker.cc313 !InitializeContextRuntime(context).IsJust()) { in Run()
367 if (exit_code_ == 0 && exit_code.IsJust()) { in Run()
Dtcp_wrap.cc347 CHECK(args[2]->Uint32Value(env->context()).IsJust()); in Connect()
Dnode_env_var.cc129 if (value.IsJust()) { in Get()
/third_party/node/deps/v8/src/objects/
Dobjects-inl.h1025 if (result.IsJust()) { in GreaterThan()
1042 if (result.IsJust()) { in GreaterThanOrEqual()
1059 if (result.IsJust()) { in LessThan()
1076 if (result.IsJust()) { in LessThanOrEqual()
Dproperty-descriptor.cc118 CHECK(result.IsJust() && result.FromJust()); in CreateDataProperty()
/third_party/node/src/crypto/
Dcrypto_ec.cc840 degree_bytes).IsJust() ? JustVoid() : Nothing<void>(); in ExportJWKEcKey()
892 !target->Set(env->context(), env->jwk_d_string(), encoded).IsJust()) { in ExportJWKEdKey()
904 !target->Set(env->context(), env->jwk_x_string(), encoded).IsJust()) { in ExportJWKEdKey()
Dcrypto_keygen.h103 if (ret.IsJust() && ret.FromJust()) { in ToResult()
Dcrypto_util.h377 if (!ret.IsJust()) { in AfterThreadPoolWork()
423 if (result.IsJust() && result.FromJust()) { in Run()
Dcrypto_hash.cc128 if (xof_md_len.IsJust() && xof_md_len.FromJust() != md_len_) { in HashInit()
/third_party/node/deps/v8/src/snapshot/
Dserializer.cc489 if (max_byte_length.IsJust()) { in SerializeBackingStore()
496 if (max_byte_length.IsJust()) { in SerializeBackingStore()

12