/drivers/hdf_core/adapter/uhdf2/hdi/src/ |
D | stub_collector.cpp | 26 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 …]
|
D | hdi_support.cpp | 80 HdiImpl() : handler(nullptr), constructor(nullptr), destructor(nullptr), useCount(0) {} in HdiImpl() 89 void *(*constructor)(void); member 146 auto constructor = g_hdiConstructorMap.find(libName); in LoadHdiImpl() local 147 if (constructor != g_hdiConstructorMap.end()) { in LoadHdiImpl() 148 return constructor->second.constructor(); in LoadHdiImpl() 158 …hdiImpl.constructor = reinterpret_cast<HdiImplInstanceFunc>(dlsym(hdiImpl.handler, symName.data())… in LoadHdiImpl() 159 if (hdiImpl.constructor == nullptr) { in LoadHdiImpl() 171 void *implInstance = hdiImpl.constructor(); in LoadHdiImpl() 194 auto constructor = g_hdiConstructorMap.find(libName); in UnloadHdiImpl() local 195 if (constructor != g_hdiConstructorMap.end() && constructor->second.destructor != nullptr) { in UnloadHdiImpl() [all …]
|
D | object_collector.cpp | 32 …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/interfaces/inner_api/hdi/ |
D | stub_collector.h | 52 struct HdfRemoteService **(*constructor)(void *); member 63 void StubConstructorRegister(const char *ifDesc, struct StubConstructor *constructor); 71 void StubConstructorUnregister(const char *ifDesc, const struct StubConstructor *constructor);
|
D | object_collector.h | 63 bool ConstructorRegister(const std::u16string &interfaceName, const Constructor &constructor);
|
/drivers/external_device_manager/frameworks/js/napi/driver_extension_context/ |
D | driver_extension_context.js | 19 constructor(obj) { method in DriverExtensionContext
|
D | driver_extension_context_module.cpp | 23 extern "C" __attribute__((constructor)) void NAPI_application_DriverExtensionContext_AutoRegister() in NAPI_application_DriverExtensionContext_AutoRegister()
|
/drivers/hdf_core/framework/utils/src/ |
D | hdf_sbuf.c | 311 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/external_device_manager/frameworks/js/napi/driver_extension_ability/ |
D | driver_extension_ability_module.cpp | 23 extern "C" __attribute__((constructor)) void NAPI_app_ability_DriverExtensionAbility_AutoRegister() in NAPI_app_ability_DriverExtensionAbility_AutoRegister()
|
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/engine/ |
D | XTools.js | 16 constructor() {} method in XTools
|
D | XDefine.js | 18 constructor() {} method in Scr
|
D | GLFrame.js | 153 constructor() {} method in GLFrame
|
/drivers/hdf_core/adapter/uhdf2/hdi/test/stub_collector/ |
D | stub_collector_test.cpp | 41 .constructor = TestConstruct, 83 .constructor = nullptr,
|
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/message/ |
D | XMessage.js | 20 constructor() { method in XMessage
|
D | mock.js | 60 constructor() {} method in MockMessage
|
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/hcs/ |
D | NapiLog.js | 17 constructor() {} method in NapiLog
|
D | parser.js | 33 constructor() { method in Parser
|
D | ast.js | 61 constructor(name, type, value, bindToken, jinzhi) { method in AstObject 356 constructor(name, nodeType, refName) { method in ConfigNode 580 constructor(name, value) { method in ConfigTerm 684 constructor(array) { method in ConfigArray 771 constructor(astRoot) { method in Ast
|
D | Generator.js | 22 constructor() { method in Generator
|
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/engine/control/ |
D | XButton.js | 19 constructor(x, y, w, h, name) { method in XButton
|
D | XSelect.js | 20 constructor(list, default_) { method in XSelect
|
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/engine/graphics/ |
D | XShader.js | 27 constructor() { method in XShader
|
D | XMat4.js | 19 constructor() { method in XMat4
|
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/attr/ |
D | AttributeArea.js | 19 constructor() { method in AttributeArea
|
/drivers/external_device_manager/services/native/driver_extension_manager/src/bus_extension/usb/ |
D | usb_bus_extension.cpp | 197 __attribute__ ((constructor)) static void RegBusExtension() in RegBusExtension()
|