HomeSort by relevance Sort by last modified time
    Searched full:prot (Results 1 - 25 of 728) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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/clang/test/Index/
index-refs.m 4 @protocol Prot
12 Protocol *p = @protocol(Prot);
25 // CHECK: [indexEntityReference]: kind: objc-protocol | name: Prot | {{.*}} | loc: 12:27
  /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...]
  /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/valgrind/main/helgrind/tests/
tc06_two_races.c 9 int unprot1 = 0, unprot2 = 0, prot = 0; variable
16 prot ++;
33 prot ++;
  /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)
  /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...]
  /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)
  /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);
  /prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/asm/
pgtable-2level.h 29 #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot))
30 #define pfn_pmd(pfn, prot) __pmd(((pfn) << PAGE_SHIFT) | pgprot_val(prot))
  /prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/asm/
pgtable-2level.h 29 #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot))
30 #define pfn_pmd(pfn, prot) __pmd(((pfn) << PAGE_SHIFT) | pgprot_val(prot))
  /prebuilts/ndk/6/platforms/android-9/arch-x86/usr/include/asm/
pgtable-2level.h 29 #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot))
30 #define pfn_pmd(pfn, prot) __pmd(((pfn) << PAGE_SHIFT) | pgprot_val(prot))
  /prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/asm/
pgtable-2level.h 29 #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot))
30 #define pfn_pmd(pfn, prot) __pmd(((pfn) << PAGE_SHIFT) | pgprot_val(prot))
  /prebuilts/ndk/7/platforms/android-9/arch-x86/usr/include/asm/
pgtable-2level.h 29 #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot))
30 #define pfn_pmd(pfn, prot) __pmd(((pfn) << PAGE_SHIFT) | pgprot_val(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...]
  /external/llvm/lib/Support/Windows/
Memory.inc 200 DWORD prot = getProtection(Addr);
201 if (!prot)
204 if (prot == PAGE_EXECUTE || prot == PAGE_EXECUTE_READ) {
205 prot = PAGE_EXECUTE_READWRITE;
206 } else if (prot == PAGE_NOACCESS || prot == PAGE_READONLY) {
207 prot = PAGE_READWRITE;
212 return ::VirtualProtect(const_cast<LPVOID>(Addr), Size, prot, &oldProt)
217 DWORD prot = getProtection(Addr)
    [all...]
  /bionic/linker/
linker_allocator.h 39 void protect_all(int prot);
65 void protect_all(int prot) { block_allocator_.protect_all(prot); }
  /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...]
  /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));
  /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/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);

Completed in 700 milliseconds

1 2 3 4 5 6 7 8 91011>>