Home
last modified time | relevance | path

Searched defs:prot (Results 1 – 25 of 59) sorted by relevance

123

/aosp12/art/runtime/jit/
H A Djit_scoped_code_cache_write.h45 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 DSharedMemory.java99 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 Dmmap.cpp44 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 DSharedMemoryAndroid.cpp51 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 Dmapped_file.cpp39 int prot) { in FromFd()
48 int prot) { in FromOsHandle()
H A Dabi_compatibility.cpp72 int prot) { in MAPPEDFILE_FROMFD()
/aosp12/art/libartbase/base/
H A Dmem_map.h142 int prot, in MapAnonymous()
156 int prot, in MapAnonymous()
181 int prot, in MapFile()
H A Dmem_map_unix.cc27 void* MemMap::TargetMMap(void* start, size_t len, int prot, int flags, int fd, off_t fd_off) { in TargetMMap()
H A Dmem_map.cc260 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 Dmem_map_windows.cc45 void* MemMap::TargetMMap(void* start, size_t len, int prot, int flags, int fd, off_t fd_off) { in TargetMMap()
H A Dmem_map_fuchsia.cc61 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 Dashmem_test.cpp32 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 Dashmem-dev.cpp402 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 DWriteProtected.h76 void set_protection(int prot) { in set_protection()
/aosp12/bionic/linker/
H A Dlinker_block_allocator.h91 void protect_all(int prot) { block_allocator_.protect_all(prot); } in protect_all()
H A Dlinker_block_allocator.cpp111 void LinkerBlockAllocator::protect_all(int prot) { in protect_all()
/aosp12/system/extras/ioshark/
H A Dioshark_bench_mmap.c106 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 Dsharedmem.cpp60 int ASharedMemory_setProt(int fd, int prot) { in ASharedMemory_setProt()
/aosp12/hardware/google/graphics/common/libacryl/
H A Dacrylic.cpp119 bool prot = false; in validateAllLayers() local
/aosp12/system/memory/libmemunreachable/
H A DPtracerThread.cpp43 int prot = PROT_READ | PROT_WRITE; in Stack() local
/aosp12/frameworks/base/core/jni/
H A Dandroid_os_SharedMemory.cpp73 jint SharedMemory_nSetProt(JNIEnv* env, jobject, jobject fileDescriptor, jint prot) { in SharedMemory_nSetProt()
/aosp12/system/extras/simpleperf/
H A Denvironment.h59 uint32_t prot; member
/aosp12/system/core/libutils/include/utils/
H A DCompat.h32 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 Dpalette_android.cc216 palette_status_t PaletteAshmemSetProtRegion(int fd, int prot) { in PaletteAshmemSetProtRegion()
/aosp12/frameworks/native/libs/binder/
H A DMemoryHeapBase.cpp119 int prot = PROT_READ; in mapfd() local

123