Home
last modified time | relevance | path

Searched refs:munmap (Results 1 - 25 of 60) sorted by relevance

123

/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/
H A Ddrawing_sample_replayer.cpp63 munmap(mapFile, statbuf.st_size); in ReadCmds()
71 munmap(mapFile, statbuf.st_size); in ReadCmds()
74 munmap(mapFile, statbuf.st_size); in ReadCmds()
/foundation/multimedia/media_foundation/src/buffer/avbuffer/
H A Dav_hardware_memory.cpp85 (void)::munmap(allocBase_, static_cast<size_t>(capacity_)); in Free()
126 (void)::munmap(allocBase_, static_cast<size_t>(capacity_)); in MapMemoryAddr()
155 (void)::munmap(base_, static_cast<size_t>(capacity_)); in ~AVHardwareMemory()
H A Dav_shared_memory_ext.cpp172 (void)::munmap(base_, static_cast<size_t>(capacity_));
/foundation/distributedhardware/distributed_camera/common/src/utils/
H A Ddcamera_buffer_handle.cpp49 int ret = munmap(buffer->virAddr, buffer->size); in DCameraMemoryUnmap()
51 DHLOGE("munmap failed err: %{public}s", strerror(errno)); in DCameraMemoryUnmap()
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/benchmarks/benchmark_dcl/
H A Ddrawing_playback.cpp432 if (::munmap(mapFile_, size_) == -1) { in Dealloc()
433 std::cout << "munmap failed!" <<std::endl; in Dealloc()
495 munmap(mapFile, statbuf.st_size); in LoadDrawCmdList()
505 munmap(mapFile, statbuf.st_size); in LoadDrawCmdList()
511 munmap(mapFile, statbuf.st_size); in LoadDrawCmdList()
/foundation/communication/ipc/ipc/native/src/core/source/
H A Dmessage_parcel.cpp105 ::munmap(kernelMappedWrite_, rawDataSize_); in ~MessageParcel()
109 ::munmap(kernelMappedRead_, rawDataSize_); in ~MessageParcel()
411 ::munmap(ptr, size); in WriteRawData()
416 ::munmap(ptr, size); in WriteRawData()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/
H A Dpixel_map_parcel.cpp49 ::munmap(addr, size); in ReleaseMemory()
81 ::munmap(ptr, bufferSize); in ReadAshmemDataFromParcel()
/foundation/communication/ipc/ipc/native/src/mock/source/
H A Dbinder_connector.cpp61 munmap(vmAddr_, IPC_MMAP_SIZE); in ~BinderConnector()
160 munmap(vmAddr_, IPC_MMAP_SIZE); in MapMemory()
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dmemory_manager.cpp66 auto unmapResult = munmap(const_cast<void*>(memory.data), memory.length); in UnMapMemory()
H A Dnntensor.cpp268 auto unmapResult = munmap(m_data, m_size); in ReleaseMemory()
/foundation/ability/ability_runtime/frameworks/native/ability/native/recovery/
H A Dability_recovery.cpp221 munmap(mapFile, statbuf.st_size); in ReadSerializeDataFromFile()
232 munmap(mapFile, statbuf.st_size); in ReadSerializeDataFromFile()
238 munmap(mapFile, statbuf.st_size); in ReadSerializeDataFromFile()
/foundation/ability/ability_base/interfaces/kits/native/extractortool/src/
H A Dfile_mapper.cpp39 munmap(basePtr_, baseLen_); in ~FileMapper()
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/hardware/imagecodec/
H A Dimage_codec_buffer.cpp59 (void)::munmap(addr_, static_cast<size_t>(capacity_)); in ~ImageDmaBuffer()
/foundation/multimedia/av_codec/test/unittest/video_test/video_test/sample/yuv_viewer/
H A Dyuv_viewer.cpp126 ret = munmap(bufferAddr, bufferHandle->size); in InputThread()
/foundation/multimedia/camera_framework/services/camera_service/src/avcodec/
H A Dcamera_server_photo_proxy.cpp181 munmap(fileDataAddr_, bufferHandle_->size); in Release()
183 MEDIA_ERR_LOG("~CameraServerPhotoProxy munmap failed"); in Release()
/foundation/multimedia/camera_framework/frameworks/native/camera/src/output/
H A Ddeferred_photo_proxy.cpp98 munmap(fileDataAddr_, fileSize_); in ~DeferredPhotoProxy()
/foundation/multimedia/media_library/frameworks/js/src/
H A Dpicture_handle_client.cpp80 munmap(msgLenAddr, UINT32_LEN); in ReadPicture()
130 munmap(addr, msgLen); in ReadPicture()
/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/src/EGL/
H A Degl_blob_cache.cpp370 munmap(buf, filesize); in ReadFromDisk()
392 munmap(buf, filesize); in ReadFromDisk()
/foundation/multimedia/image_framework/plugins/common/libs/image/libheifplugin/src/
H A Dheif_decoder.cpp183 ::munmap(ptr, byteCount); in AllocShareMem()
/foundation/multimedia/media_foundation/src/buffer/avsharedmemory/
H A Davsharedmemorybase.cpp142 (void)::munmap(base_, static_cast<size_t>(capacity_));
/foundation/multimedia/camera_framework/frameworks/native/camera/src/deferred_proc_session/
H A Ddeferred_photo_proc_session.cpp50 munmap(addr, bytes); in OnProcessImageDone()
/foundation/multimedia/av_codec/test/unittest/video_test/video_test/sample/encoder/
H A Dvideo_encoder_sample.cpp117 ret = munmap(bufferAddr, bufferHandle->size); in SurfaceInputThread()
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_uni_ui_capture.cpp141 ::munmap(ptr, size); in CopyDataToPixelMap()
147 ::munmap(ptr, size); in CopyDataToPixelMap()
/foundation/graphic/graphic_2d/rosen/samples/opengl/test_xComponentContext/entry/src/main/cpp/samples/
H A Dsample_bitmap.cpp171 int result = munmap(mappedAddr_, bufferHandle_->size); in DisPlay()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/
H A Drs_ashmem_helper.cpp161 ::munmap(data_, size_); in Dealloc()

Completed in 14 milliseconds

123