/ohos5.0/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 %zu failed", handleSize); in AllocExtDataHandle() 33 auto ret = memset_s(handle, handleSize, 0, handleSize); in AllocExtDataHandle()
|
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/src/utils/ |
H A D | camera_buffer_handle_utils.cpp | 35 size_t handleSize = sizeof(BufferHandle) + (sizeof(int32_t) * (reserveFds + reserveInts)); in CameraAllocateBufferHandle() local 36 BufferHandle *handle = static_cast<BufferHandle *>(malloc(handleSize)); in CameraAllocateBufferHandle() 38 (void)memset_s(handle, handleSize, 0, handleSize); in CameraAllocateBufferHandle() 46 MEDIA_ERR_LOG("InitBufferHandle malloc %zu failed", handleSize); in CameraAllocateBufferHandle()
|
/ohos5.0/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("InitBufferHandle malloc %zu failed", handleSize); in AllocateBufferHandle()
|
/ohos5.0/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()
|
/ohos5.0/drivers/hdf_core/adapter/uhdf2/hdi/src/ |
H A D | buffer_util.c | 31 size_t handleSize = sizeof(BufferHandle) + (sizeof(int32_t) * (reserveFds + reserveInts)); in AllocateNativeBufferHandle() local 32 BufferHandle *handle = (BufferHandle *)(OsalMemCalloc(handleSize)); in AllocateNativeBufferHandle() 41 HDF_LOGE("BufferHandle malloc %zu failed", handleSize); in AllocateNativeBufferHandle()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/js/src/ |
H A D | picture_handle_client.cpp | 316 size_t handleSize = sizeof(BufferHandle) + (sizeof(int32_t) * (reserveFds + reserveInts)); in ReadBufferHandle() local 317 BufferHandle *handle = static_cast<BufferHandle *>(malloc(handleSize)); in ReadBufferHandle() 322 memset_s(handle, handleSize, 0, handleSize); in ReadBufferHandle()
|
/ohos5.0/docs/zh-cn/application-dev/dfx/ |
H A D | hiappevent-watcher-freeze-events-ndk.md | 94 auto handleSize = params["event_handler"].size(); 112 …OG_INFO(LogType::LOG_APP, "HiAppEvent eventInfo.params.event_handler.size=%{public}d", handleSize); 173 auto handleSize = eventInfo["event_handler"].size(); 191 …OG_INFO(LogType::LOG_APP, "HiAppEvent eventInfo.params.event_handler.size=%{public}d", handleSize);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/image/ |
H A D | image_pattern.cpp | 305 SizeF handleSize = { in CalAndUpdateSelectOverlay() local 308 info.firstHandle.paintRect = RectF(rect.GetOffset(), handleSize); in CalAndUpdateSelectOverlay() 310 OffsetF offset(rect.Width() - handleSize.Width(), rect.Height() - handleSize.Height()); in CalAndUpdateSelectOverlay() 311 info.secondHandle.paintRect = RectF(rect.GetOffset() + offset, handleSize); in CalAndUpdateSelectOverlay() 1229 SizeF handleSize = { in OpenSelectOverlay() local 1232 info.firstHandle.paintRect = RectF(rect.GetOffset(), handleSize); in OpenSelectOverlay() 1233 OffsetF offset(rect.Width() - handleSize.Width(), rect.Height() - handleSize.Height()); in OpenSelectOverlay() 1234 info.secondHandle.paintRect = RectF(rect.GetOffset() + offset, handleSize); in OpenSelectOverlay()
|
/ohos5.0/docs/en/application-dev/dfx/ |
H A D | hiappevent-watcher-freeze-events-ndk.md | 94 auto handleSize = params["event_handler"].size(); 112 …OG_INFO(LogType::LOG_APP, "HiAppEvent eventInfo.params.event_handler.size=%{public}d", handleSize); 173 auto handleSize = eventInfo["event_handler"].size(); 191 …OG_INFO(LogType::LOG_APP, "HiAppEvent eventInfo.params.event_handler.size=%{public}d", handleSize);
|
/ohos5.0/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()
|
/ohos5.0/drivers/peripheral/codec/test/benchmarktest/ |
H A D | codec_benchmark_omx_test.cpp | 465 size_t handleSize = in BENCHMARK_F() local 469 omxBuffer->allocLen = handleSize; in BENCHMARK_F()
|
/ohos5.0/drivers/peripheral/codec/test/demo/v2.0/src/ |
H A D | codec_hdi_decode.cpp | 458 size_t handleSize = in UseBufferHandle() local 460 omxBuffer->bufferLen = handleSize; in UseBufferHandle()
|