/external/clang/test/CodeGen/ |
2003-11-18-CondExprLValue.c | 5 void split_large_page(unsigned long addr, pgprot_t prot) 7 (addr ? prot : ((pgprot_t) { 0x001 } )).pgprot;
|
/external/chromium_org/components/nacl/loader/nonsfi/ |
irt_memory.cc | 19 int prot = 0; local 24 prot |= PROT_READ; 26 prot |= PROT_WRITE; 28 prot |= PROT_EXEC; 29 return prot; 48 int IrtMMap(void** addr, size_t len, int prot, int flags, 50 const int host_prot = NaClProtToProt(prot); 73 int IrtMProtect(void* addr, size_t len, int prot) { 74 return CheckError(mprotect(addr, len, NaClProtToProt(prot)));
|
/external/clang/test/CXX/class.access/class.access.base/ |
p1.cpp | 12 protected: int prot; static int sprot; // expected-note 4 {{declared protected here}} member in class:test0::Base 20 prot++; 27 Base::prot++; member in class:test0::Test::Base 37 t->prot++; // expected-error {{protected member}} 44 t->Base::prot++; // expected-error {{protected member}} 61 protected: int prot; static int sprot; // expected-note 4 {{declared protected here}} member in class:test1::Base 69 prot++; 76 Base::prot++; member in class:test1::Test::Base 86 t->prot++; // expected-error {{protected member}} expected-error {{protected base class}} 94 t->Base::prot++; // expected-error 2 {{protected member}} expected-error {{protected base class} 112 int prot; \/\/ expected-note {{declared protected here}} \\ member in class:test2::Base 133 Base::prot++; member in class:test2::Test::Base [all...] |
/bionic/linker/ |
linker_allocator.h | 39 void protect_all(int prot); 65 void protect_all(int prot) { block_allocator_.protect_all(prot); }
|
/external/valgrind/main/helgrind/tests/ |
tc06_two_races.c | 9 int unprot1 = 0, unprot2 = 0, prot = 0; variable 16 prot ++; 33 prot ++;
|
/bionic/libc/bionic/ |
mmap.cpp | 42 void* mmap64(void* addr, size_t size, int prot, int flags, int fd, off64_t offset) { 49 void* result = __mmap2(addr, size, prot, flags, fd, offset >> MMAP2_SHIFT); 62 void* mmap(void* addr, size_t size, int prot, int flags, int fd, off_t offset) { 63 return mmap64(addr, size, prot, flags, fd, static_cast<off64_t>(offset));
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/os/ |
os_mman.h | 64 static INLINE void *os_mmap(void *addr, size_t length, int prot, int flags, int fd, loff_t offset) 72 return __mmap2(addr, length, prot, flags, fd, (size_t) (offset >> 12)); 77 # define os_mmap(addr, length, prot, flags, fd, offset) mmap(addr, length, prot, flags, fd, offset)
|
/external/compiler-rt/lib/dfsan/ |
dfsan_interceptors.cc | 19 INTERCEPTOR(void *, mmap, void *addr, SIZE_T length, int prot, int flags, 21 void *res = REAL(mmap)(addr, length, prot, flags, fd, offset); 27 INTERCEPTOR(void *, mmap64, void *addr, SIZE_T length, int prot, int flags, 29 void *res = REAL(mmap64)(addr, length, prot, flags, fd, offset);
|
/external/mesa3d/src/gallium/auxiliary/os/ |
os_mman.h | 64 static INLINE void *os_mmap(void *addr, size_t length, int prot, int flags, int fd, loff_t offset) 72 return __mmap2(addr, length, prot, flags, fd, (size_t) (offset >> 12)); 77 # define os_mmap(addr, length, prot, flags, fd, offset) mmap(addr, length, prot, flags, fd, offset)
|
/frameworks/rs/cpu_ref/linkloader/include/impl/ |
ELFSectionBits.hxx | 55 int prot = PROT_READ; local 58 prot |= PROT_WRITE; 62 prot |= PROT_EXEC; 65 return chunk.protect(prot);
|
/ndk/tests/abcc/jni/mman-win32/ |
mman.c | 21 static DWORD __map_mmap_prot_page(const int prot)
25 if (prot == PROT_NONE)
28 if ((prot & PROT_EXEC) != 0)
30 protect = ((prot & PROT_WRITE) != 0) ?
35 protect = ((prot & PROT_WRITE) != 0) ?
42 static DWORD __map_mmap_prot_file(const int prot)
46 if (prot == PROT_NONE)
49 if ((prot & PROT_READ) != 0)
51 if ((prot & PROT_WRITE) != 0)
53 if ((prot & PROT_EXEC) != 0) [all...] |
mman.h | 44 void* mmap(void *addr, size_t len, int prot, int flags, int fildes, off_t off); 46 int mprotect(void *addr, size_t len, int prot);
|
/external/valgrind/main/coregrind/ |
pub_core_aspacemgr.h | 80 client with at least the permissions 'prot' ? To find out 82 VKI_PROT_NONE as 'prot'. Will return False if any part of the 87 // ( Addr start, SizeT len, UInt prot ); 91 the protection 'prot'. */ 93 ( Addr start, SizeT len, UInt prot ); 100 ( Addr start, SizeT len, UInt prot ); 177 ( Addr a, SizeT len, UInt prot, UInt flags, Int fd, Off64T offset ); 183 extern Bool VG_(am_notify_client_shmat)( Addr a, SizeT len, UInt prot ); 194 extern Bool VG_(am_notify_mprotect)( Addr start, SizeT len, UInt prot ); 210 ( Addr start, SizeT length, UInt prot, UInt flags, Int fd, Off64T offset) 376 UInt prot; \/\/ Not used for removed segs. member in struct:__anon36408 [all...] |
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
malloc_hook_mmap_linux.h | 79 int prot, int flags, 83 return (void *)syscall(SYS_mmap, start, length, prot, flags, fd, offset); 92 int prot, int flags, 110 start, length, prot, flags, fd, 130 int32 args[6] = { (int32) start, (int32) length, prot, flags, fd, 163 void* mmap64(void *start, size_t length, int prot, int flags, 166 void* mmap(void *start, size_t length,int prot, int flags, 180 extern "C" void* mmap64(void *start, size_t length, int prot, int flags, 182 MallocHook::InvokePreMmapHook(start, length, prot, flags, fd, offset); 185 start, length, prot, flags, fd, offset, &result)) [all...] |
malloc_hook_mmap_freebsd.h | 59 void* mmap(void *start, size_t length,int prot, int flags, 69 int prot, int flags, 72 start, length, prot, flags, fd, offset); 116 extern "C" void* mmap(void *start, size_t length, int prot, int flags, 118 MallocHook::InvokePreMmapHook(start, length, prot, flags, fd, offset); 121 start, length, prot, flags, fd, offset, &result)) { 122 result = do_mmap(start, length, prot, flags, fd, 125 MallocHook::InvokeMmapHook(result, start, length, prot, flags, fd, offset); 146 /*static*/void* MallocHook::UnhookedMMap(void *start, size_t length, int prot, 150 start, length, prot, flags, fd, offset, &result)) [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
malloc_hook_mmap_linux.h | 57 int prot, int flags, 59 return sys_mmap(start, length, prot, flags, fd, offset); 68 int prot, int flags, 86 start, length, prot, flags, fd, 106 int32 args[6] = { (int32) start, (int32) length, prot, flags, fd, 139 void* mmap64(void *start, size_t length, int prot, int flags, 142 void* mmap(void *start, size_t length,int prot, int flags, 154 extern "C" void* mmap64(void *start, size_t length, int prot, int flags, 156 MallocHook::InvokePreMmapHook(start, length, prot, flags, fd, offset); 159 start, length, prot, flags, fd, offset, &result)) [all...] |
malloc_hook_mmap_freebsd.h | 59 void* mmap(void *start, size_t length,int prot, int flags, 69 int prot, int flags, 72 start, length, prot, flags, fd, offset); 116 extern "C" void* mmap(void *start, size_t length, int prot, int flags, 118 MallocHook::InvokePreMmapHook(start, length, prot, flags, fd, offset); 121 start, length, prot, flags, fd, offset, &result)) { 122 result = do_mmap(start, length, prot, flags, fd, 125 MallocHook::InvokeMmapHook(result, start, length, prot, flags, fd, offset); 146 /*static*/void* MallocHook::UnhookedMMap(void *start, size_t length, int prot, 150 start, length, prot, flags, fd, offset, &result)) [all...] |
/external/linux-tools-perf/perf-3.12.0/arch/ia64/include/asm/ |
unistd.h | 40 int prot, int flags, 44 int prot, int flags,
|
/external/chromium_org/third_party/android_crazy_linker/src/src/ |
crazy_linker_memory_mapping.h | 34 // |prot| are the desired protection bit flags. 37 bool Allocate(void* address, size_t size, Protection prot, int fd) { 43 map_ = ::mmap(address, size_, static_cast<int>(prot), flags, fd, 0); 54 bool SetProtection(Protection prot) { 55 if (!map_ || ::mprotect(map_, size_, static_cast<int>(prot)) < 0)
|
/ndk/sources/android/crazy_linker/src/ |
crazy_linker_memory_mapping.h | 34 // |prot| are the desired protection bit flags. 37 bool Allocate(void* address, size_t size, Protection prot, int fd) { 43 map_ = ::mmap(address, size_, static_cast<int>(prot), flags, fd, 0); 54 bool SetProtection(Protection prot) { 55 if (!map_ || ::mprotect(map_, size_, static_cast<int>(prot)) < 0)
|
/art/runtime/ |
mem_map.h | 63 static MemMap* MapAnonymous(const char* ashmem_name, byte* addr, size_t byte_count, int prot, 70 static MemMap* MapFile(size_t byte_count, int prot, int flags, int fd, off_t start, 72 return MapFileAtAddress(NULL, byte_count, prot, flags, fd, start, false, filename, error_msg); 83 static MemMap* MapFileAtAddress(byte* addr, size_t byte_count, int prot, int flags, int fd, 94 bool Protect(int prot); 146 int prot, bool reuse) LOCKS_EXCLUDED(Locks::mem_maps_lock_);
|
/external/lldb/tools/debugserver/source/MacOSX/ |
MachVMRegion.cpp | 55 MachVMRegion::SetProtections(mach_vm_address_t addr, mach_vm_size_t size, vm_prot_t prot) 66 if (prot == (m_curr_protection & VM_PROT_ALL)) 68 DNBLogThreadedIf(LOG_MEMORY_PROTECTIONS | LOG_VERBOSE, "MachVMRegion::%s: protections (%u) already sufficient for task 0x%4.4x at address 0x%8.8llx) ", __FUNCTION__, prot, m_task, (uint64_t)addr); 74 m_err = ::mach_vm_protect (m_task, addr, prot_size, 0, prot); 76 m_err.LogThreaded("::mach_vm_protect ( task = 0x%4.4x, addr = 0x%8.8llx, size = %llu, set_max = %i, prot = %u )", m_task, (uint64_t)addr, (uint64_t)prot_size, 0, prot); 80 m_err = ::mach_vm_protect (m_task, addr, prot_size, 0, prot | VM_PROT_COPY); 82 m_err.LogThreaded("::mach_vm_protect ( task = 0x%4.4x, addr = 0x%8.8llx, size = %llu, set_max = %i, prot = %u )", m_task, (uint64_t)addr, (uint64_t)prot_size, 0, prot | VM_PROT_COPY); 86 m_curr_protection = prot; [all...] |
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/ |
bcmip.h | 108 uint8 prot; /* Protocol */ member in struct:ipv4_hdr 155 #define IPV6_EXTHDR(prot) (((prot) == IPV6_EXTHDR_HOP) || \ 156 ((prot) == IPV6_EXTHDR_ROUTING) || \ 157 ((prot) == IPV6_EXTHDR_FRAGMENT) || \ 158 ((prot) == IPV6_EXTHDR_AUTH) || \ 159 ((prot) == IPV6_EXTHDR_NONE) || \ 160 ((prot) == IPV6_EXTHDR_DEST))
|
/development/ndk/platforms/android-9/arch-x86/include/asm/ |
pgtable-2level.h | 37 #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) 39 #define pfn_pmd(pfn, prot) __pmd(((pfn) << PAGE_SHIFT) | pgprot_val(prot))
|
/external/chromium_org/ppapi/tests/ |
test_file_mapping.h | 27 std::string MapAndCheckResults(uint32_t prot, uint32_t flags);
|