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

1 2

  /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/compiler-rt/lib/sanitizer_common/
sanitizer_libignore.cc 63 uptr b, e, off, prot; local
64 while (proc_maps.Next(&b, &e, &off, module.data(), module.size(), &prot)) {
65 if ((prot & MemoryMappingLayout::kProtectionExecute) == 0)
sanitizer_procmaps_mac.cc 162 uptr cur_beg, cur_end, prot; local
167 module_name.size(), &prot);
183 cur_module->addAddressRange(cur_beg, cur_end, prot & kProtectionExecute);
sanitizer_coverage_libcdep.cc 284 uptr mb, me, off, prot; local
288 proc_maps.Next(&mb, &me, &off, module.data(), module.size(), &prot);
290 if ((prot & MemoryMappingLayout::kProtectionExecute) == 0)
sanitizer_posix.cc 49 uptr end, prot; local
52 /*filename_size*/0, &prot)) {
54 && (prot & MemoryMappingLayout::kProtectionWrite) != 0)
323 uptr s, e, off, prot; local
326 while (proc_maps.Next(&s, &e, &off, buff.data(), buff.size(), &prot)) {
327 if ((prot & MemoryMappingLayout::kProtectionExecute) != 0
sanitizer_procmaps_linux.cc 247 uptr cur_beg, cur_end, cur_offset, prot; local
252 module_name.size(), &prot);
273 cur_module->addAddressRange(cur_beg, cur_end, prot & kProtectionExecute);
  /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/lldb/source/Core/
DataBufferMemoryMap.cpp 194 int prot = PROT_READ; local
196 prot |= PROT_WRITE;
202 m_mmap_addr = (uint8_t *)::mmap(NULL, length, prot, flags, fd, offset);
214 m_mmap_addr = (uint8_t *)::mmap(NULL, length + page_offset, prot, flags, fd, offset - page_offset);
  /bionic/libc/bionic/
pthread_create.cpp 106 int prot = PROT_READ | PROT_WRITE; local
108 void* stack = mmap(NULL, thread->attr.stack_size, prot, flags, -1, 0);
  /dalvik/libdex/
SysUtil.cpp 263 int prot = wantReadWrite ? (PROT_READ|PROT_WRITE) : (PROT_READ); local
264 if (mprotect(alignAddr, alignLength, prot) != 0) {
267 alignAddr, alignLength, prot, strerror(errno));
  /external/chromium_org/third_party/android_crazy_linker/src/src/
crazy_linker_proc_maps_unittest.cpp 74 int prot; member in struct:crazy::__anon16113
86 int prot; local
90 EXPECT_EQ(kData[n].success, FindProtectionFlagsForAddress(address, &prot));
93 EXPECT_EQ(kData[n].prot, prot);
crazy_linker_rdebug.cpp 250 int prot = self_maps.GetProtectionFlagsForAddress(r_debug_->r_map); local
251 readonly_entries_ = (prot & PROT_WRITE) == 0;
  /external/oprofile/module/x86/
op_fixmap.c 43 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));
  /bionic/libc/kernel/uapi/linux/
agpgart.h 71 int prot; member in struct:_agp_segment
  /development/ndk/platforms/android-L/include/linux/
agpgart.h 71 int prot; member in struct:_agp_segment
  /external/chromium_org/v8/src/base/platform/
platform-cygwin.cc 54 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); local
55 void* mbase = mmap(NULL, msize, prot, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
269 int prot = is_executable ? PAGE_EXECUTE_READWRITE : PAGE_READWRITE; local
270 if (NULL == VirtualAlloc(base, size, MEM_COMMIT, prot)) {
platform-freebsd.cc 62 int prot = PROT_READ | PROT_WRITE | (executable ? PROT_EXEC : 0); local
63 void* mbase = mmap(NULL, msize, prot, MAP_PRIVATE | MAP_ANON, -1, 0);
274 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); local
277 prot,
platform-linux.cc 136 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); local
138 void* mbase = mmap(addr, msize, prot, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
407 int prot = PROT_READ | PROT_WRITE; local
409 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0);
413 prot,
platform-macos.cc 58 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); local
61 prot,
278 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); local
281 prot,
platform-openbsd.cc 60 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); local
62 void* mbase = mmap(addr, msize, prot, MAP_PRIVATE | MAP_ANON, -1, 0);
305 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); local
308 prot,
platform-qnx.cc 111 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); local
113 void* mbase = mmap(addr, msize, prot, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
341 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); local
344 prot,
platform-solaris.cc 77 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); local
78 void* mbase = mmap(NULL, msize, prot, MAP_PRIVATE | MAP_ANON, -1, 0);
246 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); local
249 prot,
  /external/clang/test/CXX/class.access/
p6.cpp 48 Protected prot = a; // expected-error {{'operator Protected' is a protected member}} local
51 A aprot = prot; // expected-error {{protected constructor}}
  /external/kernel-headers/original/uapi/linux/
agpgart.h 77 * The "prot" down below needs still a "sleep" flag somehow ...
82 int prot; /* prot flags for mmap */ member in struct:_agp_segment
  /external/oprofile/module/ia64/
op_syscalls.c 36 unsigned long prot; member in struct:mmap_arg_struct
182 static void out_mmap(ulong addr, ulong len, ulong prot, ulong flags,
210 ulong prot, ulong flags, ulong fd, ulong pgoff)
215 if ((prot & PROT_EXEC) && ret >= 0)
216 out_mmap(ret, len, prot, flags, fd, pgoff << PAGE_SHIFT);
223 ulong prot, ulong flags, ulong fd, ulong off)
228 if ((prot & PROT_EXEC) && ret >= 0)
229 out_mmap(ret, len, prot, flags, fd, off);

Completed in 446 milliseconds

1 2