Home
last modified time | relevance | path

Searched refs:HasInstance (Results 1 – 25 of 32) sorted by relevance

12

/third_party/node/src/
Dnode_buffer.h36 NODE_EXTERN bool HasInstance(v8::Local<v8::Value> val);
37 NODE_EXTERN bool HasInstance(v8::Local<v8::Object> val);
Dnode_sockaddr.cc599 CHECK(SocketAddressBase::HasInstance(env, args[0])); in AddAddress()
614 CHECK(SocketAddressBase::HasInstance(env, args[0])); in AddRange()
615 CHECK(SocketAddressBase::HasInstance(env, args[1])); in AddRange()
639 CHECK(SocketAddressBase::HasInstance(env, args[0])); in AddSubnet()
665 CHECK(SocketAddressBase::HasInstance(env, args[0])); in Check()
691 bool SocketAddressBlockListWrap::HasInstance( in HasInstance() function in node::SocketAddressBlockListWrap
694 return GetConstructorTemplate(env)->HasInstance(value); in HasInstance()
747 bool SocketAddressBase::HasInstance(Environment* env, Local<Value> value) { in HasInstance() function in node::SocketAddressBase
748 return GetConstructorTemplate(env)->HasInstance(value); in HasInstance()
Dnode_blob.cc70 bool Blob::HasInstance(Environment* env, v8::Local<v8::Value> object) { in HasInstance() function in node::Blob
71 return GetConstructorTemplate(env)->HasInstance(object); in HasInstance()
104 CHECK(entry->IsArrayBufferView() || Blob::HasInstance(env, entry)); in New()
242 CHECK(Blob::HasInstance(env, args[1])); // Blob in StoreDataObject()
377 CHECK(Blob::HasInstance(env, args[0])); in New()
Dnode_messaging.cc182 if (env->message_port_constructor_template()->HasInstance(obj)) { in Deserialize()
304 if (env_->base_object_ctor_template()->HasInstance(object)) { in WriteHostObject()
312 env_proxy_ctor_template->HasInstance(object)) { in WriteHostObject()
493 } else if (env->base_object_ctor_template()->HasInstance(entry)) { in Serialize()
504 if (env->message_port_constructor_template()->HasInstance(entry) && in Serialize()
1057 GetMessagePortConstructorTemplate(env)->HasInstance(args[0])); in CheckType()
1069 !env->message_port_constructor_template()->HasInstance(args[0])) { in ReceiveMessage()
1091 !env->message_port_constructor_template()->HasInstance(args[0])) { in MoveToContext()
1260 if (env()->base_object_ctor_template()->HasInstance(value)) in NestedTransferables()
1314 !env->base_object_ctor_template()->HasInstance(ret)) { in Deserialize()
Dnode_sockaddr.h153 static bool HasInstance(Environment* env, v8::Local<v8::Value> value);
340 static bool HasInstance(Environment* env, v8::Local<v8::Value> value);
Dnode_blob.h52 static bool HasInstance(Environment* env, v8::Local<v8::Value> object);
Dstream_base.cc160 CHECK(Buffer::HasInstance(args[0])); in UseUserBuffer()
209 if (Buffer::HasInstance(chunk)) in Writev()
258 if (Buffer::HasInstance(chunk)) { in Writev()
Dstring_bytes.cc385 bool is_buffer = Buffer::HasInstance(val); in StorageSize()
436 if (Buffer::HasInstance(val) && (encoding == BUFFER || encoding == LATIN1)) in Size()
Dnode_zlib.cc325 CHECK(Buffer::HasInstance(args[1])); in Write()
334 CHECK(Buffer::HasInstance(args[4])); in Write()
616 if (Buffer::HasInstance(args[6])) { in Init()
Dnode_errors.h225 if (!Buffer::HasInstance(val)) \
Dstream_wrap.cc166 CHECK(!sw.IsEmpty() && sw->HasInstance(object)); in From()
Dnode_buffer.cc236 bool HasInstance(Local<Value> val) { in HasInstance() function
241 bool HasInstance(Local<Object> obj) { in HasInstance() function
685 if (Buffer::HasInstance(args[1])) { in Fill()
Dnode_contextify.cc383 env->microtask_queue_ctor_template()->HasInstance(args[5])) { in MakeContext()
961 env->script_context_constructor_template()->HasInstance(value); in InstanceOf()
Dnode_file.cc2024 CHECK(Buffer::HasInstance(args[1])); in WriteBuffer()
2088 CHECK(Buffer::HasInstance(chunk)); in WriteBuffers()
2229 CHECK(Buffer::HasInstance(args[1])); in Read()
2295 CHECK(Buffer::HasInstance(buffer)); in ReadBuffers()
/third_party/node/src/crypto/
Dcrypto_x509.cc105 bool X509Certificate::HasInstance(Environment* env, Local<Object> object) { in HasInstance() function in node::crypto::X509Certificate
106 return GetConstructorTemplate(env)->HasInstance(object); in HasInstance()
392 CHECK(X509Certificate::HasInstance(env, args[0].As<Object>())); in CheckIssued()
Dcrypto_context.h38 static bool HasInstance(Environment* env, const v8::Local<v8::Value>& value);
Dcrypto_x509.h49 static bool HasInstance(Environment* env, v8::Local<v8::Object> object);
Dcrypto_keys.h166 static bool HasInstance(Environment* env, v8::Local<v8::Value> value);
Dcrypto_tls.cc1349 if (!env->secure_context_constructor_template()->HasInstance(ctx)) { in SelectSNIContextCallback()
1547 if (cons->HasInstance(ctx)) { in CertCbDone()
1583 if (args.Length() < 1 || !Buffer::HasInstance(args[0])) in SetALPNProtocols()
1805 if (args.Length() >= 1 && Buffer::HasInstance(args[0])) { in LoadSession()
Dcrypto_context.cc258 bool SecureContext::HasInstance(Environment* env, const Local<Value>& value) { in HasInstance() function in node::crypto::SecureContext
259 return GetConstructorTemplate(env)->HasInstance(value); in HasInstance()
Dcrypto_keys.cc892 bool KeyObjectHandle::HasInstance(Environment* env, Local<Value> value) { in HasInstance() function in node::crypto::KeyObjectHandle
894 return !t.IsEmpty() && t->HasInstance(value); in HasInstance()
Dcrypto_util.cc440 return Buffer::HasInstance(value) ? FromBuffer(value, true) in SetFipsCrypto()
/third_party/node/src/quic/
Dtlscontext.cc283 if (crypto::KeyObjectHandle::HasInstance(env, item)) { in SetOption()
303 if (crypto::KeyObjectHandle::HasInstance(env, value)) { in SetOption()
/third_party/node/deps/v8/src/d8/
Dasync-hooks-wrapper.cc28 if (!hooks->async_hook_ctor.Get(isolate)->HasInstance(hook)) { in UnwrapHook()
/third_party/node/deps/v8/include/
Dv8-template.h592 bool HasInstance(Local<Value> object);

12