Searched refs:handleSize (Results 1 - 7 of 7) sorted by relevance
/foundation/graphic/graphic_surface/surface/src/ |
H A D | surface_tunnel_handle.cpp | 27 size_t handleSize = sizeof(GraphicExtDataHandle) + (sizeof(int32_t) * reserveInts); in AllocExtDataHandle() local 28 GraphicExtDataHandle *handle = static_cast<GraphicExtDataHandle *>(malloc(handleSize)); in AllocExtDataHandle() 30 BLOGE("malloc %{public}zu failed", handleSize); in AllocExtDataHandle() 33 auto ret = memset_s(handle, handleSize, 0, handleSize); in AllocExtDataHandle()
|
/foundation/multimedia/camera_framework/frameworks/native/camera/src/utils/ |
H A D | camera_buffer_handle_utils.cpp | 37 size_t handleSize = sizeof(BufferHandle) + (sizeof(int32_t) * (reserveFds + reserveInts)); in CameraAllocateBufferHandle() local 38 BufferHandle *handle = static_cast<BufferHandle *>(malloc(handleSize)); in CameraAllocateBufferHandle() 40 (void)memset_s(handle, handleSize, 0, handleSize); in CameraAllocateBufferHandle() 48 MEDIA_ERR_LOG("InitBufferHandle malloc %zu failed", handleSize); in CameraAllocateBufferHandle()
|
/foundation/graphic/graphic_surface/buffer_handle/src/ |
H A D | buffer_handle.cpp | 43 size_t handleSize = sizeof(BufferHandle) + (sizeof(int32_t) * (reserveFds + reserveInts)); in AllocateBufferHandle() local 44 BufferHandle *handle = static_cast<BufferHandle *>(malloc(handleSize)); in AllocateBufferHandle() 46 errno_t ret = memset_s(handle, handleSize, 0, handleSize); in AllocateBufferHandle() 59 UTILS_LOGE("AllocateBufferHandle malloc %{public}zu failed", handleSize); in AllocateBufferHandle()
|
/foundation/graphic/graphic_surface/surface/test/systemtest/ |
H A D | native_window_buffer_test.cpp | 58 size_t handleSize = sizeof(OHExtDataHandle) + (sizeof(int32_t) * reserveInts); in SetData() local 59 OHExtDataHandle *handle = static_cast<OHExtDataHandle *>(malloc(handleSize)); in SetData() 63 int32_t ret = memset_s(handle, handleSize, 0, handleSize); in SetData()
|
/foundation/multimedia/media_library/frameworks/js/src/ |
H A D | picture_handle_client.cpp | 312 size_t handleSize = sizeof(BufferHandle) + (sizeof(int32_t) * (reserveFds + reserveInts));
in ReadBufferHandle() local 313 BufferHandle *handle = static_cast<BufferHandle *>(malloc(handleSize));
in ReadBufferHandle() 318 memset_s(handle, handleSize, 0, handleSize);
in ReadBufferHandle()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/image/ |
H A D | image_pattern.cpp | 268 SizeF handleSize = { 271 info.firstHandle.paintRect = RectF(rect.GetOffset(), handleSize); 273 OffsetF offset(rect.Width() - handleSize.Width(), rect.Height() - handleSize.Height()); 274 info.secondHandle.paintRect = RectF(rect.GetOffset() + offset, handleSize); 1235 SizeF handleSize = { 1238 info.firstHandle.paintRect = RectF(rect.GetOffset(), handleSize); 1239 OffsetF offset(rect.Width() - handleSize.Width(), rect.Height() - handleSize.Height()); 1240 info.secondHandle.paintRect = RectF(rect.GetOffset() + offset, handleSize); [all...] |
/foundation/graphic/graphic_surface/surface/test/unittest/ |
H A D | native_window_test.cpp | 42 size_t handleSize = sizeof(OHExtDataHandle) + (sizeof(int32_t) * reserveInts); in AllocOHExtDataHandle() local 43 OHExtDataHandle *handle = static_cast<OHExtDataHandle *>(malloc(handleSize)); in AllocOHExtDataHandle() 45 BLOGE("AllocOHExtDataHandle malloc %zu failed", handleSize); in AllocOHExtDataHandle() 48 auto ret = memset_s(handle, handleSize, 0, handleSize); in AllocOHExtDataHandle()
|
Completed in 7 milliseconds