Home
last modified time | relevance | path

Searched refs:CHECK_NULLPOINTER_RETURN_VALUE (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/drivers/peripheral/display/buffer/hdi_service/src/
H A Dmapper_service.cpp116 CHECK_NULLPOINTER_RETURN_VALUE(handle, HDF_FAILURE); in FreeMem()
120 CHECK_NULLPOINTER_RETURN_VALUE(buffer, HDF_FAILURE); in FreeMem()
128 CHECK_NULLPOINTER_RETURN_VALUE(handle, HDF_FAILURE); in Mmap()
132 CHECK_NULLPOINTER_RETURN_VALUE(buffer, HDF_FAILURE); in Mmap()
134 CHECK_NULLPOINTER_RETURN_VALUE(retPtr, HDF_FAILURE); in Mmap()
141 CHECK_NULLPOINTER_RETURN_VALUE(handle, HDF_FAILURE); in Unmap()
145 CHECK_NULLPOINTER_RETURN_VALUE(buffer, HDF_FAILURE); in Unmap()
154 CHECK_NULLPOINTER_RETURN_VALUE(handle, HDF_FAILURE); in FlushCache()
158 CHECK_NULLPOINTER_RETURN_VALUE(buffer, HDF_FAILURE); in FlushCache()
167 CHECK_NULLPOINTER_RETURN_VALUE(handle, HDF_FAILURE); in InvalidateCache()
[all …]
H A Dmetadata_service.cpp117 CHECK_NULLPOINTER_RETURN_VALUE(handle, HDF_FAILURE); in RegisterBuffer()
118 CHECK_NULLPOINTER_RETURN_VALUE(vdiImpl_, HDF_FAILURE); in RegisterBuffer()
121 CHECK_NULLPOINTER_RETURN_VALUE(buffer, HDF_FAILURE); in RegisterBuffer()
130 CHECK_NULLPOINTER_RETURN_VALUE(handle, HDF_FAILURE); in SetMetadata()
134 CHECK_NULLPOINTER_RETURN_VALUE(buffer, HDF_FAILURE); in SetMetadata()
143 CHECK_NULLPOINTER_RETURN_VALUE(handle, HDF_FAILURE); in GetMetadata()
147 CHECK_NULLPOINTER_RETURN_VALUE(buffer, HDF_FAILURE); in GetMetadata()
155 CHECK_NULLPOINTER_RETURN_VALUE(handle, HDF_FAILURE); in ListMetadataKeys()
159 CHECK_NULLPOINTER_RETURN_VALUE(buffer, HDF_FAILURE); in ListMetadataKeys()
168 CHECK_NULLPOINTER_RETURN_VALUE(handle, HDF_FAILURE); in EraseMetadataKey()
[all …]
H A Dallocator_service.cpp93 CHECK_NULLPOINTER_RETURN_VALUE(libHandle_, HDF_FAILURE); in LoadVdi()
140 CHECK_NULLPOINTER_RETURN_VALUE(vdiImpl_, HDF_FAILURE); in AllocMem()
153 CHECK_NULLPOINTER_RETURN_VALUE(buffer, HDF_DEV_ERR_NO_MEMORY); in AllocMem()
/ohos5.0/drivers/peripheral/display/hal/default_standard/src/display_device/
H A Ddisplay_composer_vdi_impl.cpp35 CHECK_NULLPOINTER_RETURN_VALUE(composerModel_, HDF_FAILURE); in RegHotPlugCallback()
42 CHECK_NULLPOINTER_RETURN_VALUE(composerModel_, HDF_FAILURE); in GetDisplayCapability()
50 CHECK_NULLPOINTER_RETURN_VALUE(composerModel_, HDF_FAILURE); in GetDisplaySupportedModes()
69 CHECK_NULLPOINTER_RETURN_VALUE(composerModel_, HDF_FAILURE); in GetDisplayMode()
77 CHECK_NULLPOINTER_RETURN_VALUE(composerModel_, HDF_FAILURE); in SetDisplayMode()
85 CHECK_NULLPOINTER_RETURN_VALUE(composerModel_, HDF_FAILURE); in GetDisplayPowerStatus()
93 CHECK_NULLPOINTER_RETURN_VALUE(composerModel_, HDF_FAILURE); in SetDisplayPowerStatus()
101 CHECK_NULLPOINTER_RETURN_VALUE(composerModel_, HDF_FAILURE); in GetDisplayBacklight()
109 CHECK_NULLPOINTER_RETURN_VALUE(composerModel_, HDF_FAILURE); in SetDisplayBacklight()
124 CHECK_NULLPOINTER_RETURN_VALUE(composerModel_, HDF_FAILURE); in GetDisplayCompChange()
[all …]
/ohos5.0/drivers/peripheral/display/composer/hdi_service/src/
H A Ddisplay_composer_service.cpp164 CHECK_NULLPOINTER_RETURN_VALUE(vdiImpl_, HDF_FAILURE); in LoadVdiV1_0()
166 CHECK_NULLPOINTER_RETURN_VALUE(cacheMgr_, HDF_FAILURE); in LoadVdiV1_0()
198 CHECK_NULLPOINTER_RETURN_VALUE(vdiImpl_, HDF_FAILURE); in LoadVdiV1_1()
259 CHECK_NULLPOINTER_RETURN_VALUE(vdiImpl_, HDF_FAILURE); in RegHotPlugCallback()
268 CHECK_NULLPOINTER_RETURN_VALUE(vdiImpl_, HDF_FAILURE); in SetClientBufferCacheCount()
282 CHECK_NULLPOINTER_RETURN_VALUE(vdiImpl_, HDF_FAILURE); in GetDisplayCapability()
292 CHECK_NULLPOINTER_RETURN_VALUE(vdiImpl_, HDF_FAILURE); in GetDisplaySupportedModes()
302 CHECK_NULLPOINTER_RETURN_VALUE(vdiImpl_, HDF_FAILURE); in GetDisplayMode()
476 CHECK_NULLPOINTER_RETURN_VALUE(buffer, HDF_FAILURE); in SetVirtualDisplayBuffer()
477 CHECK_NULLPOINTER_RETURN_VALUE(fence, HDF_FAILURE); in SetVirtualDisplayBuffer()
[all …]
/ohos5.0/drivers/interface/display/buffer/v1_1/hdi_impl/
H A Ddisplay_buffer_hdi_impl.h51 CHECK_NULLPOINTER_RETURN_VALUE(metadata_, HDF_FAILURE); in RegisterBuffer()
53 CHECK_NULLPOINTER_RETURN_VALUE(hdiBuffer, HDF_FAILURE); in RegisterBuffer()
61 CHECK_NULLPOINTER_RETURN_VALUE(metadata_, HDF_FAILURE); in SetMetadata()
63 CHECK_NULLPOINTER_RETURN_VALUE(hdiBuffer, HDF_FAILURE); in SetMetadata()
71 CHECK_NULLPOINTER_RETURN_VALUE(metadata_, HDF_FAILURE); in GetMetadata()
73 CHECK_NULLPOINTER_RETURN_VALUE(hdiBuffer, HDF_FAILURE); in GetMetadata()
81 CHECK_NULLPOINTER_RETURN_VALUE(metadata_, HDF_FAILURE); in ListMetadataKeys()
83 CHECK_NULLPOINTER_RETURN_VALUE(hdiBuffer, HDF_FAILURE); in ListMetadataKeys()
91 CHECK_NULLPOINTER_RETURN_VALUE(metadata_, HDF_FAILURE); in EraseMetadataKey()
93 CHECK_NULLPOINTER_RETURN_VALUE(hdiBuffer, HDF_FAILURE); in EraseMetadataKey()
/ohos5.0/drivers/interface/display/buffer/v1_0/hdi_impl/
H A Ddisplay_buffer_hdi_impl.h46 #ifndef CHECK_NULLPOINTER_RETURN_VALUE
47 #define CHECK_NULLPOINTER_RETURN_VALUE(pointer, ret) \ macro
126 CHECK_NULLPOINTER_RETURN_VALUE(allocator_, HDF_FAILURE); in AllocMem()
152 CHECK_NULLPOINTER_RETURN_VALUE(mapper_, nullptr); in Mmap()
154 CHECK_NULLPOINTER_RETURN_VALUE(hdiBuffer, nullptr); in Mmap()
163 CHECK_NULLPOINTER_RETURN_VALUE(mapper_, HDF_FAILURE); in Unmap()
165 CHECK_NULLPOINTER_RETURN_VALUE(hdiBuffer, HDF_FAILURE); in Unmap()
173 CHECK_NULLPOINTER_RETURN_VALUE(mapper_, HDF_FAILURE); in FlushCache()
175 CHECK_NULLPOINTER_RETURN_VALUE(hdiBuffer, HDF_FAILURE); in FlushCache()
183 CHECK_NULLPOINTER_RETURN_VALUE(mapper_, HDF_FAILURE); in InvalidateCache()
[all …]
/ohos5.0/drivers/peripheral/display/utils/include/
H A Ddisplay_log.h77 #ifndef CHECK_NULLPOINTER_RETURN_VALUE
78 #define CHECK_NULLPOINTER_RETURN_VALUE(pointer, ret) \ macro
/ohos5.0/drivers/peripheral/display/hal/default_standard/include/
H A Ddisplay_common.h85 #ifndef CHECK_NULLPOINTER_RETURN_VALUE
86 #define CHECK_NULLPOINTER_RETURN_VALUE(pointer, ret) \ macro
/ohos5.0/drivers/interface/display/buffer/v1_2/hdi_impl/
H A Ddisplay_buffer_hdi_impl.h54 CHECK_NULLPOINTER_RETURN_VALUE(mapper_v1_2_, HDF_FAILURE); in GetImageLayout()
56 CHECK_NULLPOINTER_RETURN_VALUE(hdiBuffer, HDF_FAILURE); in GetImageLayout()
/ohos5.0/drivers/peripheral/display/hal/default/
H A Ddisplay_gralloc.c290 CHECK_NULLPOINTER_RETURN_VALUE(buffer, NULL); in Mmap()
323 CHECK_NULLPOINTER_RETURN_VALUE(buffer, DISPLAY_NULL_PTR); in Unmap()
324 CHECK_NULLPOINTER_RETURN_VALUE(buffer->virAddr, DISPLAY_NULL_PTR); in Unmap()
/ohos5.0/drivers/peripheral/display/hal/
H A Ddisp_common.h26 #define CHECK_NULLPOINTER_RETURN_VALUE(pointer, ret) do { \ macro
/ohos5.0/drivers/peripheral/display/composer/vdi_base/src/
H A Dhdi_layer.cpp179 CHECK_NULLPOINTER_RETURN_VALUE(buffer, DISPLAY_NULL_PTR); in DumpLayerBuffer()