/ohos5.0/drivers/peripheral/display/buffer/hdi_service/src/ |
H A D | mapper_service.cpp | 116 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 D | metadata_service.cpp | 117 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 D | allocator_service.cpp | 93 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 D | display_composer_vdi_impl.cpp | 35 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 D | display_composer_service.cpp | 164 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 D | display_buffer_hdi_impl.h | 51 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 D | display_buffer_hdi_impl.h | 46 #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 D | display_log.h | 77 #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 D | display_common.h | 85 #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 D | display_buffer_hdi_impl.h | 54 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 D | display_gralloc.c | 290 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 D | disp_common.h | 26 #define CHECK_NULLPOINTER_RETURN_VALUE(pointer, ret) do { \ macro
|
/ohos5.0/drivers/peripheral/display/composer/vdi_base/src/ |
H A D | hdi_layer.cpp | 179 CHECK_NULLPOINTER_RETURN_VALUE(buffer, DISPLAY_NULL_PTR); in DumpLayerBuffer()
|