/aosp12/art/runtime/jit/ |
H A D | jit_scoped_code_cache_write.h | 45 int prot = region.HasDualCodeMapping() ? kProtRW : kProtRWX; in ScopedCodeCacheWrite() local 56 int prot = region_.HasDualCodeMapping() ? kProtR : kProtRX; in ~ScopedCodeCacheWrite() local
|
/aosp12/frameworks/base/core/java/android/os/ |
H A D | SharedMemory.java | 99 private static void validateProt(int prot) { in validateProt() 130 public boolean setProtect(int prot) { in setProtect() 216 public @NonNull ByteBuffer map(int prot, int offset, int length) throws ErrnoException { in map() 382 private static native int nSetProt(FileDescriptor fd, int prot); in nSetProt()
|
/aosp12/bionic/libc/bionic/ |
H A D | mmap.cpp | 44 void* mmap64(void* addr, size_t size, int prot, int flags, int fd, off64_t offset) { in mmap64() 75 void* mmap(void* addr, size_t size, int prot, int flags, int fd, off_t offset) { in mmap()
|
/aosp12/packages/modules/NeuralNetworks/common/ |
H A D | SharedMemoryAndroid.cpp | 51 GeneralResult<SharedMemory> createSharedMemoryFromUniqueFd(size_t size, int prot, in createSharedMemoryFromUniqueFd() 158 constexpr int prot = PROT_READ | PROT_WRITE; in allocateSharedMemory() local 188 int prot; member 268 GeneralResult<SharedMemory> createSharedMemoryFromFd(size_t size, int prot, int fd, size_t offset) { in createSharedMemoryFromFd() 312 const int prot = mmapFdMapping->prot; in flush() local
|
/aosp12/system/libbase/ |
H A D | mapped_file.cpp | 39 int prot) { in FromFd() 48 int prot) { in FromOsHandle()
|
H A D | abi_compatibility.cpp | 72 int prot) { in MAPPEDFILE_FROMFD()
|
/aosp12/art/libartbase/base/ |
H A D | mem_map.h | 142 int prot, in MapAnonymous() 156 int prot, in MapAnonymous() 181 int prot, in MapFile()
|
H A D | mem_map_unix.cc | 27 void* MemMap::TargetMMap(void* start, size_t len, int prot, int flags, int fd, off_t fd_off) { in TargetMMap()
|
H A D | mem_map.cc | 260 int prot, in TryMemMapLow4GB() 307 int prot, in MapAnonymous() 483 int prot, in MapFileAtAddress() 681 size_t base_size, int prot, bool reuse, size_t redzone_size) in MemMap() 859 bool MemMap::Protect(int prot) { in Protect() 1039 int prot, in MapInternalArtLow4GBAllocator() 1133 int prot, in MapInternal()
|
H A D | mem_map_windows.cc | 45 void* MemMap::TargetMMap(void* start, size_t len, int prot, int flags, int fd, off_t fd_off) { in TargetMMap()
|
H A D | mem_map_fuchsia.cc | 61 void* MemMap::TargetMMap(void* start, size_t len, int prot, int flags, int fd, off_t fd_off) { in TargetMMap()
|
/aosp12/system/core/libcutils/ |
H A D | ashmem_test.cpp | 32 void TestCreateRegion(size_t size, unique_fd &fd, int prot) { in TestCreateRegion() 45 void TestMmap(const unique_fd& fd, size_t size, int prot, void** region, off_t off = 0) { in TestMmap() 52 void TestProtDenied(const unique_fd &fd, size_t size, int prot) { in TestProtDenied() 58 void TestProtIs(const unique_fd& fd, int prot) { in TestProtIs()
|
H A D | ashmem-dev.cpp | 402 static int memfd_set_prot_region(int fd, int prot) { in memfd_set_prot_region() 417 int ashmem_set_prot_region(int fd, int prot) in ashmem_set_prot_region()
|
/aosp12/bionic/libc/private/ |
H A D | WriteProtected.h | 76 void set_protection(int prot) { in set_protection()
|
/aosp12/bionic/linker/ |
H A D | linker_block_allocator.h | 91 void protect_all(int prot) { block_allocator_.protect_all(prot); } in protect_all()
|
H A D | linker_block_allocator.cpp | 111 void LinkerBlockAllocator::protect_all(int prot) { in protect_all()
|
/aosp12/system/extras/ioshark/ |
H A D | ioshark_bench_mmap.c | 106 mmap_do_io(void *db_node, int prot, off_t offset, size_t len, in mmap_do_io() 172 int prot = file_op->mmap_prot; in ioshark_handle_mmap() local
|
/aosp12/frameworks/base/native/android/ |
H A D | sharedmem.cpp | 60 int ASharedMemory_setProt(int fd, int prot) { in ASharedMemory_setProt()
|
/aosp12/hardware/google/graphics/common/libacryl/ |
H A D | acrylic.cpp | 119 bool prot = false; in validateAllLayers() local
|
/aosp12/system/memory/libmemunreachable/ |
H A D | PtracerThread.cpp | 43 int prot = PROT_READ | PROT_WRITE; in Stack() local
|
/aosp12/frameworks/base/core/jni/ |
H A D | android_os_SharedMemory.cpp | 73 jint SharedMemory_nSetProt(JNIEnv* env, jobject, jobject fileDescriptor, jint prot) { in SharedMemory_nSetProt()
|
/aosp12/system/extras/simpleperf/ |
H A D | environment.h | 59 uint32_t prot; member
|
/aosp12/system/core/libutils/include/utils/ |
H A D | Compat.h | 32 static inline void* mmap64(void* addr, size_t length, int prot, int flags, int fd, off64_t offset) { in mmap64()
|
/aosp12/system/libartpalette/ |
H A D | palette_android.cc | 216 palette_status_t PaletteAshmemSetProtRegion(int fd, int prot) { in PaletteAshmemSetProtRegion()
|
/aosp12/frameworks/native/libs/binder/ |
H A D | MemoryHeapBase.cpp | 119 int prot = PROT_READ; in mapfd() local
|