Home
last modified time | relevance | path

Searched refs:UDPWrapBase (Results 1 – 3 of 3) sorted by relevance

/third_party/node/src/
Dudp_wrap.h35 class UDPWrapBase; variable
69 inline UDPWrapBase* udp() const { return wrap_; } in udp()
72 UDPWrapBase* wrap_ = nullptr;
74 friend class UDPWrapBase; variable
77 class UDPWrapBase {
85 virtual ~UDPWrapBase();
108 static UDPWrapBase* FromObject(v8::Local<v8::Object> obj);
119 public UDPWrapBase,
Dudp_wrap.cc82 UDPWrapBase::~UDPWrapBase() { in ~UDPWrapBase()
86 UDPListener* UDPWrapBase::listener() const { in listener()
91 void UDPWrapBase::set_listener(UDPListener* listener) { in set_listener()
101 UDPWrapBase* UDPWrapBase::FromObject(Local<Object> obj) { in FromObject()
102 CHECK_GT(obj->InternalFieldCount(), UDPWrapBase::kUDPWrapBaseField); in FromObject()
103 return static_cast<UDPWrapBase*>( in FromObject()
104 obj->GetAlignedPointerFromInternalField(UDPWrapBase::kUDPWrapBaseField)); in FromObject()
107 void UDPWrapBase::AddMethods(Environment* env, Local<FunctionTemplate> t) { in AddMethods()
118 UDPWrapBase::kUDPWrapBaseField, static_cast<UDPWrapBase*>(this)); in UDPWrap()
135 UDPWrapBase::kInternalFieldCount); in Initialize()
[all …]
Djs_udp_wrap.cc23 class JSUDPWrap final : public UDPWrapBase, public AsyncWrap {
55 kUDPWrapBaseField, static_cast<UDPWrapBase*>(this)); in JSUDPWrap()
198 ->SetInternalFieldCount(UDPWrapBase::kUDPWrapBaseField + 1); in Initialize()
201 UDPWrapBase::AddMethods(env, t); in Initialize()