Home
last modified time | relevance | path

Searched refs:constructor (Results 1 – 24 of 24) sorted by relevance

/drivers/hdf_core/adapter/uhdf2/hdi/src/
Dstub_collector.cpp26 void StubConstructorRegister(const char *ifDesc, struct StubConstructor *constructor) in StubConstructorRegister() argument
28 if (ifDesc == nullptr || constructor == nullptr) { in StubConstructorRegister()
37 g_constructorMap.emplace(std::make_pair(ifDesc, constructor)); in StubConstructorRegister()
41 void StubConstructorUnregister(const char *ifDesc, const struct StubConstructor *constructor) in StubConstructorUnregister() argument
43 if (ifDesc == nullptr || constructor == nullptr) { in StubConstructorUnregister()
69 auto constructor = g_constructorMap.find(ifDesc); in StubCollectorGetOrNewObject() local
70 if (constructor == g_constructorMap.end()) { in StubCollectorGetOrNewObject()
75 if (constructor->second->constructor == nullptr) { in StubCollectorGetOrNewObject()
80 HdfRemoteService **stubObject = constructor->second->constructor(servPtr); in StubCollectorGetOrNewObject()
101 auto constructor = g_constructorMap.find(ifDesc); in StubCollectorRemoveObject() local
[all …]
Dhdi_support.cpp70 HdiImpl() : handler(nullptr), constructor(nullptr), destructor(nullptr), useCount(0) {} in HdiImpl()
79 void *(*constructor)(void); member
147 auto constructor = g_hdiConstructorMap.find(libpath); in LoadHdiImpl() local
148 if (constructor != g_hdiConstructorMap.end()) { in LoadHdiImpl()
149 return constructor->second.constructor(); in LoadHdiImpl()
159 …hdiImpl.constructor = reinterpret_cast<HdiImplInstanceFunc>(dlsym(hdiImpl.handler, symName.data())… in LoadHdiImpl()
160 if (hdiImpl.constructor == nullptr) { in LoadHdiImpl()
171 void *implInstance = hdiImpl.constructor(); in LoadHdiImpl()
194 auto constructor = g_hdiConstructorMap.find(libpath); in UnloadHdiImpl() local
195 if (constructor != g_hdiConstructorMap.end() && constructor->second.destructor != nullptr) { in UnloadHdiImpl()
[all …]
Dobject_collector.cpp32 …Collector::ConstructorRegister(const std::u16string &interfaceName, const Constructor &constructor) in ConstructorRegister() argument
38 constructorMapper_.emplace(interfaceName, std::move(constructor)); in ConstructorRegister()
54 auto constructor = constructorMapper_.find(interfaceName); in NewObjectLocked() local
55 if (constructor != constructorMapper_.end()) { in NewObjectLocked()
56 return constructor->second(interface); in NewObjectLocked()
/drivers/hdf_core/adapter/uhdf2/ipc/include/
Dstub_collector.h26 struct HdfRemoteService **(*constructor)(void *); member
29 void StubConstructorRegister(const char *ifDesc, struct StubConstructor *constructor);
30 void StubConstructorUnregister(const char *ifDesc, const struct StubConstructor *constructor);
Dobject_collector.h34 bool ConstructorRegister(const std::u16string &interfaceName, const Constructor &constructor);
/drivers/hdf_core/framework/utils/src/
Dhdf_sbuf.c311 const struct HdfSbufConstructor *constructor = HdfSbufConstructorGet(type); in HdfSbufTypedObtainCapacity() local
312 if (constructor == NULL) { in HdfSbufTypedObtainCapacity()
316 if (constructor->obtain == NULL) { in HdfSbufTypedObtainCapacity()
334 sbuf->impl = constructor->obtain(capacity); in HdfSbufTypedObtainCapacity()
372 const struct HdfSbufConstructor *constructor = HdfSbufConstructorGet(type); in HdfSbufTypedBind() local
373 if (constructor == NULL) { in HdfSbufTypedBind()
378 if (constructor->bind == NULL) { in HdfSbufTypedBind()
396 sbuf->impl = constructor->bind(base, size); in HdfSbufTypedBind()
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/message/
DXMessage.js20 constructor() { method in XMessage
Dmock.js59 constructor() { method in MockMessage
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/engine/
DXDefine.js18 constructor() { method in Scr
DGLFrame.js75 constructor() { method in GLFrame
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/engine/control/
DXButton.js19 constructor(x, y, w, h, name) { method in XButton
DXSelect.js19 constructor(list, default_) { method in XSelect
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/hcs/
DNapiLog.js17 constructor() { method in NapiLog
Dparser.js25 constructor() { method in Parser
Dast.js61 constructor(name, type, value, bindToken, jinzhi) { method in AstObject
354 constructor(name, nodeType, refName) { method in ConfigNode
567 constructor(name, value) { method in ConfigTerm
652 constructor(array) { method in ConfigArray
738 constructor(astRoot) { method in Ast
DGenerator.js22 constructor() { method in Generator
Dlexer.js59 constructor() { method in Lexer
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/engine/graphics/
DXShader.js25 constructor() { method in XShader
DXMat4.js18 constructor() method in XMat4
DXTexture.js23 constructor() { method in XTexture
DX2DFast.js29 constructor() { method in X2DFast
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/attr/
DAttributeArea.js17 constructor() { method in AttributeArea
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/
DAttrEditor.js22 constructor() { method in AttrEditor
DMainEditor.js32 constructor() { method in MainEditor