Home
last modified time | relevance | path

Searched refs:AshmemSetProt (Results 1 – 25 of 29) sorted by relevance

12

/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/src/
H A Dav_sync_utils.cpp39 int result = AshmemSetProt(fd, static_cast<int>(prot)); in CreateAVTransSharedMemory()
93 int result = AshmemSetProt(memory.fd, static_cast<int>(prot)); in WriteClockUnitToMemory()
134 int result = AshmemSetProt(memory.fd, static_cast<int>(prot)); in ReadClockUnitFromMemory()
179 int result = AshmemSetProt(memory.fd, static_cast<int>(prot)); in WriteFrameInfoToMemory()
209 int result = AshmemSetProt(memory.fd, static_cast<int>(prot)); in ReadFrameInfoFromMemory()
240 int result = AshmemSetProt(memory.fd, static_cast<int>(prot)); in ResetSharedMemory()
/ohos5.0/drivers/hdf_core/adapter/uhdf2/utils/src/
H A Dshared_mem.cpp26 return OHOS::AshmemSetProt(fd, prot); in SharedMemSetProt()
/ohos5.0/commonlibrary/c_utils/base/src/
H A Dashmem.cpp138 int AshmemSetProt(int fd, int prot) in AshmemSetProt() function
176 int result = AshmemSetProt(memoryFd_, protectionType); in SetProtection()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/platform/utils/
H A Dashmem.h48 int AshmemSetProt(int fd, int prot);
/ohos5.0/commonlibrary/c_utils/base/include/
H A Dashmem.h62 int AshmemSetProt(int fd, int prot);
/ohos5.0/base/web/webview/ohos_adapter/flowbuffer_adapter/src/
H A Dflowbuffer_adapter_impl.cpp74 int result = AshmemSetProt(fd, PROT_READ | PROT_WRITE); in CreateAshmem()
/ohos5.0/commonlibrary/c_utils/base/src/rust/
H A Dashmem.rs43 pub fn AshmemSetProt(fd: i32, prot: i32) -> i32; in AshmemSetProt() function
/ohos5.0/foundation/multimedia/media_foundation/src/buffer/avbuffer/
H A Dav_shared_memory_ext.cpp197 int result = AshmemSetProt(fd_, static_cast<int>(prot)); in MapMemoryAddr()
/ohos5.0/commonlibrary/memory_utils/libpurgeablemem/cpp/src/
H A Dpurgeable_ashmem.cpp123 if (AshmemSetProt(fd, PROT_READ | PROT_WRITE) < 0) { in CreatePurgeableData()
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libheifplugin/src/
H A Dheif_decoder.cpp169 int result = AshmemSetProt(fd, PROT_READ | PROT_WRITE); in AllocShareMem()
/ohos5.0/foundation/multimedia/media_foundation/src/buffer/avsharedmemory/
H A Davsharedmemorybase.cpp128 int result = AshmemSetProt(fd_, static_cast<int>(prot)); in MapMemory()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/
H A Drs_ashmem_helper.cpp48 int result = AshmemSetProt(fd, PROT_READ | PROT_WRITE); in CreateAshmemAllocator()
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/
H A Dmemory_manager.cpp109 if (AshmemSetProt(*fdPtr, PROT_READ | PROT_WRITE) < LINUX_SUCCESS) { in Create()
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/effect/manager/memory_manager/
H A Deffect_memory.cpp206 if (AshmemSetProt(fd, PROT_READ | PROT_WRITE) < 0) { in Alloc()
/ohos5.0/foundation/filemanagement/user_file_service/interfaces/kits/js/src/common/
H A Dfile_info_shared_memory.h161 int ret = AshmemSetProt(memInfo.memFd, PROT_READ | PROT_WRITE); in CreateSharedMemory()
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libbmpplugin/src/
H A Dbmp_decoder.cpp122 int result = AshmemSetProt(fd, PROT_READ | PROT_WRITE); in SetShareMemBuffer()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_surface_capture_task.cpp192 int result = AshmemSetProt(fd, PROT_READ | PROT_WRITE); in CopyDataToPixelMap()
H A Drs_uni_ui_capture.cpp127 int result = AshmemSetProt(fd, PROT_READ | PROT_WRITE); in CopyDataToPixelMap()
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dpicture_handle_service.cpp73 int result = AshmemSetProt(fd, PROT_READ | PROT_WRITE); in OpenPicture()
/ohos5.0/foundation/communication/ipc/ipc/native/src/core/source/
H A Dmessage_parcel.cpp399 int result = AshmemSetProt(fd, PROT_READ | PROT_WRITE); in WriteRawData()
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libwebpplugin/src/
H A Dwebp_decoder.cpp406 int result = AshmemSetProt(fd, PROT_READ | PROT_WRITE); in SharedMemoryCreate()
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libsvgplugin/src/
H A Dsvg_decoder.cpp71 int result = AshmemSetProt(fd, PROT_READ | PROT_WRITE); in AllocShareBufferInner()
/ohos5.0/commonlibrary/memory_utils/libpurgeablemem/test/
H A Dpurgeableashmem_test.cpp172 if (AshmemSetProt(fd, PROT_READ | PROT_WRITE) < 0) {
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libgifplugin/src/
H A Dgif_decoder.cpp632 if (AshmemSetProt(*fdPtr, PROT_READ | PROT_WRITE) < 0) { in SharedMemoryCreate()
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libpngplugin/src/
H A Dpng_decoder.cpp229 int result = AshmemSetProt(fd, PROT_READ | PROT_WRITE); in AllocBufferForShareType()

12