Home
last modified time | relevance | path

Searched refs:SetProtoMethod (Results 1 – 25 of 40) sorted by relevance

12

/third_party/node/src/
Dudp_wrap.cc108 env->SetProtoMethod(t, "recvStart", RecvStart); in AddMethods()
109 env->SetProtoMethod(t, "recvStop", RecvStop); in AddMethods()
154 env->SetProtoMethod(t, "open", Open); in Initialize()
155 env->SetProtoMethod(t, "bind", Bind); in Initialize()
156 env->SetProtoMethod(t, "connect", Connect); in Initialize()
157 env->SetProtoMethod(t, "send", Send); in Initialize()
158 env->SetProtoMethod(t, "bind6", Bind6); in Initialize()
159 env->SetProtoMethod(t, "connect6", Connect6); in Initialize()
160 env->SetProtoMethod(t, "send6", Send6); in Initialize()
161 env->SetProtoMethod(t, "disconnect", Disconnect); in Initialize()
[all …]
Dnode_serdes.cc464 env->SetProtoMethod(ser, "writeHeader", SerializerContext::WriteHeader); in Initialize()
465 env->SetProtoMethod(ser, "writeValue", SerializerContext::WriteValue); in Initialize()
466 env->SetProtoMethod(ser, "releaseBuffer", SerializerContext::ReleaseBuffer); in Initialize()
467 env->SetProtoMethod(ser, in Initialize()
470 env->SetProtoMethod(ser, "writeUint32", SerializerContext::WriteUint32); in Initialize()
471 env->SetProtoMethod(ser, "writeUint64", SerializerContext::WriteUint64); in Initialize()
472 env->SetProtoMethod(ser, "writeDouble", SerializerContext::WriteDouble); in Initialize()
473 env->SetProtoMethod(ser, "writeRawBytes", SerializerContext::WriteRawBytes); in Initialize()
474 env->SetProtoMethod(ser, in Initialize()
488 env->SetProtoMethod(des, "readHeader", DeserializerContext::ReadHeader); in Initialize()
[all …]
Dnode_wasi.cc1684 env->SetProtoMethod(tmpl, "args_get", WASI::ArgsGet); in Initialize()
1685 env->SetProtoMethod(tmpl, "args_sizes_get", WASI::ArgsSizesGet); in Initialize()
1686 env->SetProtoMethod(tmpl, "clock_res_get", WASI::ClockResGet); in Initialize()
1687 env->SetProtoMethod(tmpl, "clock_time_get", WASI::ClockTimeGet); in Initialize()
1688 env->SetProtoMethod(tmpl, "environ_get", WASI::EnvironGet); in Initialize()
1689 env->SetProtoMethod(tmpl, "environ_sizes_get", WASI::EnvironSizesGet); in Initialize()
1690 env->SetProtoMethod(tmpl, "fd_advise", WASI::FdAdvise); in Initialize()
1691 env->SetProtoMethod(tmpl, "fd_allocate", WASI::FdAllocate); in Initialize()
1692 env->SetProtoMethod(tmpl, "fd_close", WASI::FdClose); in Initialize()
1693 env->SetProtoMethod(tmpl, "fd_datasync", WASI::FdDatasync); in Initialize()
[all …]
Dtcp_wrap.cc87 env->SetProtoMethod(t, "open", Open); in Initialize()
88 env->SetProtoMethod(t, "bind", Bind); in Initialize()
89 env->SetProtoMethod(t, "listen", Listen); in Initialize()
90 env->SetProtoMethod(t, "connect", Connect); in Initialize()
91 env->SetProtoMethod(t, "bind6", Bind6); in Initialize()
92 env->SetProtoMethod(t, "connect6", Connect6); in Initialize()
93 env->SetProtoMethod(t, "getsockname", in Initialize()
95 env->SetProtoMethod(t, "getpeername", in Initialize()
97 env->SetProtoMethod(t, "setNoDelay", SetNoDelay); in Initialize()
98 env->SetProtoMethod(t, "setKeepAlive", SetKeepAlive); in Initialize()
[all …]
Dpipe_wrap.cc76 env->SetProtoMethod(t, "bind", Bind); in Initialize()
77 env->SetProtoMethod(t, "listen", Listen); in Initialize()
78 env->SetProtoMethod(t, "connect", Connect); in Initialize()
79 env->SetProtoMethod(t, "open", Open); in Initialize()
82 env->SetProtoMethod(t, "setPendingInstances", SetPendingInstances); in Initialize()
85 env->SetProtoMethod(t, "fchmod", Fchmod); in Initialize()
Dstream_base.cc398 env->SetProtoMethod(t, "readStart", JSMethod<&StreamBase::ReadStartJS>); in AddMethods()
399 env->SetProtoMethod(t, "readStop", JSMethod<&StreamBase::ReadStopJS>); in AddMethods()
400 env->SetProtoMethod(t, "shutdown", JSMethod<&StreamBase::Shutdown>); in AddMethods()
401 env->SetProtoMethod(t, in AddMethods()
404 env->SetProtoMethod(t, "writev", JSMethod<&StreamBase::Writev>); in AddMethods()
405 env->SetProtoMethod(t, "writeBuffer", JSMethod<&StreamBase::WriteBuffer>); in AddMethods()
406 env->SetProtoMethod( in AddMethods()
408 env->SetProtoMethod( in AddMethods()
410 env->SetProtoMethod( in AddMethods()
412 env->SetProtoMethod( in AddMethods()
Dhandle_wrap.cc162 env->SetProtoMethod(tmpl, "close", HandleWrap::Close); in GetConstructorTemplate()
164 env->SetProtoMethod(tmpl, "ref", HandleWrap::Ref); in GetConstructorTemplate()
165 env->SetProtoMethod(tmpl, "unref", HandleWrap::Unref); in GetConstructorTemplate()
Djs_stream.cc206 env->SetProtoMethod(t, "finishWrite", Finish<WriteWrap>); in Initialize()
207 env->SetProtoMethod(t, "finishShutdown", Finish<ShutdownWrap>); in Initialize()
208 env->SetProtoMethod(t, "readBuffer", ReadBuffer); in Initialize()
209 env->SetProtoMethod(t, "emitEOF", EmitEOF); in Initialize()
Dnode_http_parser.cc990 env->SetProtoMethod(t, "close", Parser::Close); in InitializeHttpParser()
991 env->SetProtoMethod(t, "free", Parser::Free); in InitializeHttpParser()
992 env->SetProtoMethod(t, "execute", Parser::Execute); in InitializeHttpParser()
993 env->SetProtoMethod(t, "finish", Parser::Finish); in InitializeHttpParser()
994 env->SetProtoMethod(t, "initialize", Parser::Initialize); in InitializeHttpParser()
995 env->SetProtoMethod(t, "pause", Parser::Pause<true>); in InitializeHttpParser()
996 env->SetProtoMethod(t, "resume", Parser::Pause<false>); in InitializeHttpParser()
997 env->SetProtoMethod(t, "consume", Parser::Consume); in InitializeHttpParser()
998 env->SetProtoMethod(t, "unconsume", Parser::Unconsume); in InitializeHttpParser()
999 env->SetProtoMethod(t, "getCurrentBuffer", Parser::GetCurrentBuffer); in InitializeHttpParser()
Dhistogram.cc192 env->SetProtoMethod(tmpl, "reset", DoReset); in GetConstructorTemplate()
193 env->SetProtoMethod(tmpl, "record", Record); in GetConstructorTemplate()
194 env->SetProtoMethod(tmpl, "recordDelta", RecordDelta); in GetConstructorTemplate()
235 env->SetProtoMethod(tmpl, "reset", DoReset); in GetConstructorTemplate()
236 env->SetProtoMethod(tmpl, "start", Start); in GetConstructorTemplate()
237 env->SetProtoMethod(tmpl, "stop", Stop); in GetConstructorTemplate()
Dtls_wrap.cc1297 env->SetProtoMethod(t, "receive", Receive); in Initialize()
1298 env->SetProtoMethod(t, "start", Start); in Initialize()
1299 env->SetProtoMethod(t, "setVerifyMode", SetVerifyMode); in Initialize()
1300 env->SetProtoMethod(t, "enableSessionCallbacks", EnableSessionCallbacks); in Initialize()
1301 env->SetProtoMethod(t, "enableKeylogCallback", EnableKeylogCallback); in Initialize()
1302 env->SetProtoMethod(t, "enableTrace", EnableTrace); in Initialize()
1303 env->SetProtoMethod(t, "destroySSL", DestroySSL); in Initialize()
1304 env->SetProtoMethod(t, "enableCertCb", EnableCertCb); in Initialize()
1307 env->SetProtoMethod(t, "setPskIdentityHint", SetPskIdentityHint); in Initialize()
1308 env->SetProtoMethod(t, "enablePskCallback", EnablePskCallback); in Initialize()
[all …]
Dnode_crypto.cc481 env->SetProtoMethod(t, "init", Init); in Initialize()
482 env->SetProtoMethod(t, "setKey", SetKey); in Initialize()
484 env->SetProtoMethod(t, "setEngineKey", SetEngineKey); in Initialize()
486 env->SetProtoMethod(t, "setCert", SetCert); in Initialize()
487 env->SetProtoMethod(t, "addCACert", AddCACert); in Initialize()
488 env->SetProtoMethod(t, "addCRL", AddCRL); in Initialize()
489 env->SetProtoMethod(t, "addRootCerts", AddRootCerts); in Initialize()
490 env->SetProtoMethod(t, "setCipherSuites", SetCipherSuites); in Initialize()
491 env->SetProtoMethod(t, "setCiphers", SetCiphers); in Initialize()
492 env->SetProtoMethod(t, "setSigalgs", SetSigalgs); in Initialize()
[all …]
Dnode_http2.cc3095 env->SetProtoMethod(stream, "id", Http2Stream::GetID); in Initialize()
3096 env->SetProtoMethod(stream, "destroy", Http2Stream::Destroy); in Initialize()
3097 env->SetProtoMethod(stream, "priority", Http2Stream::Priority); in Initialize()
3098 env->SetProtoMethod(stream, "pushPromise", Http2Stream::PushPromise); in Initialize()
3099 env->SetProtoMethod(stream, "info", Http2Stream::Info); in Initialize()
3100 env->SetProtoMethod(stream, "trailers", Http2Stream::Trailers); in Initialize()
3101 env->SetProtoMethod(stream, "respond", Http2Stream::Respond); in Initialize()
3102 env->SetProtoMethod(stream, "rstStream", Http2Stream::RstStream); in Initialize()
3103 env->SetProtoMethod(stream, "refreshState", Http2Stream::RefreshState); in Initialize()
3116 env->SetProtoMethod(session, "origin", Http2Session::Origin); in Initialize()
[all …]
Dstream_pipe.cc295 env->SetProtoMethod(pipe, "unpipe", StreamPipe::Unpipe); in InitializeStreamPipe()
296 env->SetProtoMethod(pipe, "start", StreamPipe::Start); in InitializeStreamPipe()
297 env->SetProtoMethod(pipe, "isClosed", StreamPipe::IsClosed); in InitializeStreamPipe()
298 env->SetProtoMethod(pipe, "pendingWrites", StreamPipe::PendingWrites); in InitializeStreamPipe()
Dnode_worker.cc857 env->SetProtoMethod(w, "startThread", Worker::StartThread); in InitWorker()
858 env->SetProtoMethod(w, "stopThread", Worker::StopThread); in InitWorker()
859 env->SetProtoMethod(w, "ref", Worker::Ref); in InitWorker()
860 env->SetProtoMethod(w, "unref", Worker::Unref); in InitWorker()
861 env->SetProtoMethod(w, "getResourceLimits", Worker::GetResourceLimits); in InitWorker()
862 env->SetProtoMethod(w, "takeHeapSnapshot", Worker::TakeHeapSnapshot); in InitWorker()
863 env->SetProtoMethod(w, "loopIdleTime", Worker::LoopIdleTime); in InitWorker()
864 env->SetProtoMethod(w, "loopStartTime", Worker::LoopStartTime); in InitWorker()
Djs_udp_wrap.cc202 env->SetProtoMethod(t, "emitReceived", EmitReceived); in Initialize()
203 env->SetProtoMethod(t, "onSendDone", OnSendDone); in Initialize()
204 env->SetProtoMethod(t, "onAfterBind", OnAfterBind); in Initialize()
Dsignal_wrap.cc59 env->SetProtoMethod(constructor, "start", Start); in Initialize()
60 env->SetProtoMethod(constructor, "stop", Stop); in Initialize()
Dcares_wrap.cc1936 env->SetProtoMethod(channel_wrap, "queryAny", Query<QueryAnyWrap>); in Initialize()
1937 env->SetProtoMethod(channel_wrap, "queryA", Query<QueryAWrap>); in Initialize()
1938 env->SetProtoMethod(channel_wrap, "queryAaaa", Query<QueryAaaaWrap>); in Initialize()
1939 env->SetProtoMethod(channel_wrap, "queryCaa", Query<QueryCaaWrap>); in Initialize()
1940 env->SetProtoMethod(channel_wrap, "queryCname", Query<QueryCnameWrap>); in Initialize()
1941 env->SetProtoMethod(channel_wrap, "queryMx", Query<QueryMxWrap>); in Initialize()
1942 env->SetProtoMethod(channel_wrap, "queryNs", Query<QueryNsWrap>); in Initialize()
1943 env->SetProtoMethod(channel_wrap, "queryTxt", Query<QueryTxtWrap>); in Initialize()
1944 env->SetProtoMethod(channel_wrap, "querySrv", Query<QuerySrvWrap>); in Initialize()
1945 env->SetProtoMethod(channel_wrap, "queryPtr", Query<QueryPtrWrap>); in Initialize()
[all …]
Dnode_trace_events.cc135 env->SetProtoMethod(category_set, "enable", NodeCategorySet::Enable); in Initialize()
136 env->SetProtoMethod(category_set, "disable", NodeCategorySet::Disable); in Initialize()
Dnode_sockaddr.cc703 env->SetProtoMethod(tmpl, "addAddress", AddAddress); in GetConstructorTemplate()
704 env->SetProtoMethod(tmpl, "addRange", AddRange); in GetConstructorTemplate()
705 env->SetProtoMethod(tmpl, "addSubnet", AddSubnet); in GetConstructorTemplate()
706 env->SetProtoMethod(tmpl, "check", Check); in GetConstructorTemplate()
707 env->SetProtoMethod(tmpl, "getRules", GetRules); in GetConstructorTemplate()
757 env->SetProtoMethod(tmpl, "detail", Detail); in GetConstructorTemplate()
758 env->SetProtoMethod(tmpl, "legacyDetail", LegacyDetail); in GetConstructorTemplate()
Dnode_util.cc341 env->SetProtoMethod(weak_ref, "get", WeakReference::Get); in Initialize()
342 env->SetProtoMethod(weak_ref, "incRef", WeakReference::IncRef); in Initialize()
343 env->SetProtoMethod(weak_ref, "decRef", WeakReference::DecRef); in Initialize()
Dnode_blob.cc46 env->SetProtoMethod(tmpl, "toArrayBuffer", ToArrayBuffer); in GetConstructorTemplate()
47 env->SetProtoMethod(tmpl, "slice", ToSlice); in GetConstructorTemplate()
282 env->SetProtoMethod(job, "run", Run); in Initialize()
Dnode_zlib.cc1259 env->SetProtoMethod(z, "write", Stream::template Write<true>); in Make()
1260 env->SetProtoMethod(z, "writeSync", Stream::template Write<false>); in Make()
1261 env->SetProtoMethod(z, "close", Stream::Close); in Make()
1263 env->SetProtoMethod(z, "init", Stream::Init); in Make()
1264 env->SetProtoMethod(z, "params", Stream::Params); in Make()
1265 env->SetProtoMethod(z, "reset", Stream::Reset); in Make()
Dnode_watchdog.cc129 env->SetProtoMethod(constructor, "start", Start); in Init()
130 env->SetProtoMethod(constructor, "stop", Stop); in Init()
Dnode_stat_watcher.cc53 env->SetProtoMethod(t, "start", StatWatcher::Start); in Initialize()

12