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.cc106 UDPWrapBase::~UDPWrapBase() { in ~UDPWrapBase()
110 UDPListener* UDPWrapBase::listener() const { in listener()
115 void UDPWrapBase::set_listener(UDPListener* listener) { in set_listener()
125 UDPWrapBase* UDPWrapBase::FromObject(Local<Object> obj) { in FromObject()
126 CHECK_GT(obj->InternalFieldCount(), UDPWrapBase::kUDPWrapBaseField); in FromObject()
127 return static_cast<UDPWrapBase*>( in FromObject()
128 obj->GetAlignedPointerFromInternalField(UDPWrapBase::kUDPWrapBaseField)); in FromObject()
131 void UDPWrapBase::AddMethods(Environment* env, Local<FunctionTemplate> t) { in AddMethods()
142 UDPWrapBase::kUDPWrapBaseField, static_cast<UDPWrapBase*>(this)); in UDPWrap()
160 UDPWrapBase::kInternalFieldCount); in Initialize()
[all …]
Djs_udp_wrap.cc27 class JSUDPWrap final : public UDPWrapBase, public AsyncWrap {
59 kUDPWrapBaseField, static_cast<UDPWrapBase*>(this)); in JSUDPWrap()
206 ->SetInternalFieldCount(UDPWrapBase::kUDPWrapBaseField + 1); in Initialize()
209 UDPWrapBase::AddMethods(env, t); in Initialize()