Searched refs:prot (Results 1 - 25 of 180) sorted by relevance

12345678

/external/clang/test/CodeGen/
H A D2003-11-18-CondExprLValue.c5 void split_large_page(unsigned long addr, pgprot_t prot) argument
7 (addr ? prot : ((pgprot_t) { 0x001 } )).pgprot;
/external/chromium_org/components/nacl/loader/nonsfi/
H A Dirt_memory.cc19 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, argument
50 const int host_prot = NaClProtToProt(prot);
73 int IrtMProtect(void* addr, size_t len, int prot) { argument
74 return CheckError(mprotect(addr, len, NaClProtToProt(prot)));
/external/clang/test/CXX/class.access/class.access.base/
H A Dp1.cpp12 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
112 int prot; // expected-note {{declared protected here}} \\ member in class:test2::Base
133 Base::prot++; member in class:test2::Test::Base
[all...]
/external/valgrind/main/helgrind/tests/
H A Dtc06_two_races.c9 int unprot1 = 0, unprot2 = 0, prot = 0; variable
16 prot ++;
33 prot ++;
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/os/
H A Dos_mman.h64 static INLINE void *os_mmap(void *addr, size_t length, int prot, int flags, int fd, loff_t offset) argument
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/
H A Ddfsan_interceptors.cc19 INTERCEPTOR(void *, mmap, void *addr, SIZE_T length, int prot, int flags, argument
21 void *res = REAL(mmap)(addr, length, prot, flags, fd, offset);
27 INTERCEPTOR(void *, mmap64, void *addr, SIZE_T length, int prot, int flags, argument
29 void *res = REAL(mmap64)(addr, length, prot, flags, fd, offset);
/external/mesa3d/src/gallium/auxiliary/os/
H A Dos_mman.h64 static INLINE void *os_mmap(void *addr, size_t length, int prot, int flags, int fd, loff_t offset) argument
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/valgrind/main/coregrind/
H A Dpub_core_aspacemgr.h80 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, UIn
376 UInt prot; // Not used for removed segs. member in struct:__anon32691
[all...]
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dmalloc_hook_mmap_linux.h79 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, flag
248 UnhookedMMap(void *start, size_t length, int prot, int flags, int fd, off_t offset) argument
[all...]
H A Dmalloc_hook_mmap_freebsd.h59 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, argument
150 start, length, prot, flag
[all...]
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dmalloc_hook_mmap_linux.h57 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, flag
214 UnhookedMMap(void *start, size_t length, int prot, int flags, int fd, off_t offset) argument
[all...]
H A Dmalloc_hook_mmap_freebsd.h59 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, argument
150 start, length, prot, flag
[all...]
/external/linux-tools-perf/perf-3.12.0/arch/ia64/include/asm/
H A Dunistd.h40 int prot, int flags,
44 int prot, int flags,
/external/chromium_org/third_party/android_crazy_linker/src/src/
H A Dcrazy_linker_memory_mapping.h34 // |prot| are the desired protection bit flags.
37 bool Allocate(void* address, size_t size, Protection prot, int fd) { argument
43 map_ = ::mmap(address, size_, static_cast<int>(prot), flags, fd, 0);
54 bool SetProtection(Protection prot) { argument
55 if (!map_ || ::mprotect(map_, size_, static_cast<int>(prot)) < 0)
H A Dcrazy_linker_ashmem.cpp44 bool AshmemRegion::SetProtectionFlags(int prot) { argument
45 return ioctl(fd_, ASHMEM_SET_PROT_MASK, prot) == 0;
/external/lldb/tools/debugserver/source/MacOSX/
H A DMachVMRegion.cpp55 MachVMRegion::SetProtections(mach_vm_address_t addr, mach_vm_size_t size, vm_prot_t prot) argument
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...]
/external/chromium_org/third_party/ashmem/
H A Dashmem.h20 int ashmem_set_prot_region(int fd, int prot);
H A Dashmem-dev.c70 int ashmem_set_prot_region(int fd, int prot) argument
72 return ioctl(fd, ASHMEM_SET_PROT_MASK, prot);
/external/chromium_org/third_party/npapi/npspy/extern/nspr/
H A Dprshma.h154 ** prot -- How the shared memory is mapped. See prio.h
167 PRFileMapProtect prot
/external/tcpdump/
H A Dprint-gre.c122 u_int16_t flags, prot; local
134 prot = EXTRACT_16BITS(bp);
197 tok2str(ethertype_values,"unknown",prot),
198 prot);
207 switch (prot) {
232 printf("gre-proto-0x%x", prot);
244 u_int16_t flags, prot; local
256 prot = EXTRACT_16BITS(bp);
293 tok2str(ethertype_values,"unknown",prot),
294 prot);
[all...]
/external/oprofile/module/x86/
H A Dop_fixmap.c43 pgprot_t prot; local
51 prot = PAGE_KERNEL;
53 pgprot_val(prot) |= _PAGE_PCD;
55 pgprot_val(prot) |= _PAGE_GLOBAL;
56 set_pte(pte, mk_pte_phys(phys, prot));
/external/chromium_org/ppapi/tests/
H A Dtest_file_mapping.h27 std::string MapAndCheckResults(uint32_t prot, uint32_t flags);
/external/compiler-rt/SDKs/darwin/usr/include/sys/
H A Dmman.h37 void *mmap(void *addr, size_t len, int prot, int flags, int fd,
/external/compiler-rt/SDKs/linux/usr/include/sys/
H A Dmman.h37 extern void *mmap(void *addr, size_t len, int prot, int flags, int fd,
/external/lldb/source/Plugins/Process/Utility/
H A DInferiorCallPOSIX.h34 lldb::addr_t addr, lldb::addr_t length, unsigned prot,

Completed in 923 milliseconds

12345678