Home
last modified time | relevance | path

Searched refs:hdfAllocatorHost (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/drivers/peripheral/display/buffer/hdi_service/src/
H A Dallocator_driver.cpp41 auto* hdfAllocatorHost = in AllocatorDriverDispatch() local
69 auto* hdfAllocatorHost = new (std::nothrow) HdfAllocatorHost; in HdfAllocatorDriverBind() local
70 if (hdfAllocatorHost == nullptr) { in HdfAllocatorDriverBind()
76 hdfAllocatorHost->ioService.Open = NULL; in HdfAllocatorDriverBind()
78 hdfAllocatorHost->ioService.Release = NULL; in HdfAllocatorDriverBind()
83 delete hdfAllocatorHost; in HdfAllocatorDriverBind()
87 hdfAllocatorHost->stub = in HdfAllocatorDriverBind()
89 if (hdfAllocatorHost->stub == nullptr) { in HdfAllocatorDriverBind()
91 delete hdfAllocatorHost; in HdfAllocatorDriverBind()
95 deviceObject->service = &hdfAllocatorHost->ioService; in HdfAllocatorDriverBind()
[all …]
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/display_buffer_v1_0/cpp_target/display/buffer/v1_0/
H A Dallocator_driver.cpp.txt61 auto *hdfAllocatorHost = new (std::nothrow) HdfAllocatorHost;
62 if (hdfAllocatorHost == nullptr) {
67 hdfAllocatorHost->ioService.Dispatch = AllocatorDriverDispatch;
68 hdfAllocatorHost->ioService.Open = NULL;
69 hdfAllocatorHost->ioService.Release = NULL;
74 delete hdfAllocatorHost;
80 if (hdfAllocatorHost->stub == nullptr) {
82 delete hdfAllocatorHost;
86 deviceObject->service = &hdfAllocatorHost->ioService;
98 if (hdfAllocatorHost != nullptr) {
[all …]