Home
last modified time | relevance | path

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

12

/third_party/node/deps/v8/include/v8-include/
H A Dv8-maybe.h35 V8_INLINE bool IsJust() const { return has_value_; } in IsJust() function in v8::Maybe
47 if (V8_UNLIKELY(!IsJust())) api_internal::FromJustIsNothing(); in Check()
55 if (V8_LIKELY(IsJust())) *out = value_; in To()
56 return IsJust(); in To()
64 if (V8_UNLIKELY(!IsJust())) api_internal::FromJustIsNothing(); in FromJust()
73 if (V8_UNLIKELY(!IsJust())) api_internal::FromJustIsNothing(); in FromJust()
86 return (IsJust() == other.IsJust()) && in operator ==()
87 (!IsJust() || FromJust() == other.FromJust()); in operator ==()
133 V8_INLINE bool IsJust() cons in IsNothing() function in v8::Maybe
[all...]
/third_party/node/deps/v8/include/
H A Dv8-maybe.h32 V8_INLINE bool IsJust() const { return has_value_; } in IsJust() function in v8::Maybe
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()) && in operator ==()
75 (!IsJust() || FromJust() == other.FromJust()); in operator ==()
110 V8_INLINE bool IsJust() const { return is_valid_; } in IsJust() function in v8::Maybe
113 return IsJust() in operator ==()
[all...]
/third_party/node/deps/v8/src/codegen/
H A 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/
H A 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/
H A Druntime-proxy.cc110 if (!result.IsJust()) return ReadOnlyRoots(isolate).exception(); in RUNTIME_FUNCTION()
122 if (!result.IsJust()) return ReadOnlyRoots(isolate).exception(); in RUNTIME_FUNCTION()
H A 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/
H A Daddress-map.cc30 if (maybe_index.IsJust()) { in RootIndexMap()
H A Daddress-map.h64 if (maybe_index.IsJust()) { in Lookup()
/third_party/node/test/addons/zlib-binding/
H A Dbinding.cc53 assert(exports->Set(context, key, value).IsJust()); in Initialize()
/third_party/node/deps/v8/src/api/
H A Dapi-arguments.cc21 if (should_throw.IsJust()) { in PropertyCallbackArguments()
/third_party/node/src/quic/
H A 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/src/
H A Dnode_main_instance.cc174 CHECK(InitializeContextRuntime(context).IsJust()); in CreateMainEnvironment()
H A Dtty_wrap.cc74 target->Set(context, ttyString, func).IsJust()) { in Initialize()
H A Dnode_perf.cc140 entry.details.kind)).IsJust()) { in GetDetails()
149 entry.details.flags)).IsJust()) { in GetDetails()
H A 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()
H A Dnode_serdes.cc193 if (ret.IsJust()) args.GetReturnValue().Set(ret.FromJust()); in WriteValue()
346 if (ret.IsJust()) args.GetReturnValue().Set(ret.FromJust()); in ReadHeader()
H A Dtcp_wrap.cc347 CHECK(args[2]->Uint32Value(env->context()).IsJust()); in Connect()
H A Dnode_worker.cc313 !InitializeContextRuntime(context).IsJust()) { in Run()
367 if (exit_code_ == 0 && exit_code.IsJust()) { in Run()
/third_party/node/deps/v8/src/objects/
H A 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()
H A Dproperty-descriptor.cc118 CHECK(result.IsJust() && result.FromJust()); in CreateDataProperty()
/third_party/node/src/crypto/
H A Dcrypto_keygen.h103 if (ret.IsJust() && ret.FromJust()) {
H A 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()
H A Dcrypto_util.h377 if (!ret.IsJust()) {
423 if (result.IsJust() && result.FromJust()) { in Run()
H A Dcrypto_hash.cc128 if (xof_md_len.IsJust() && xof_md_len.FromJust() != md_len_) { in HashInit()
/third_party/node/deps/v8/src/snapshot/
H A Dserializer.cc489 if (max_byte_length.IsJust()) { in SerializeBackingStore()
496 if (max_byte_length.IsJust()) { in SerializeBackingStore()

Completed in 26 milliseconds

12