/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);
|
/external/valgrind/main/helgrind/tests/ |
tc06_two_races.c | 9 int unprot1 = 0, unprot2 = 0, prot = 0; variable 16 prot ++; 33 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/valgrind/main/coregrind/ |
pub_core_aspacemgr.h | 79 client with at least the permissions 'prot' ? To find out 81 VKI_PROT_NONE as 'prot'. Will return False if any part of the 86 // ( Addr start, SizeT len, UInt prot ); 93 ( Addr start, SizeT len, UInt prot ); 170 ( Addr a, SizeT len, UInt prot, UInt flags, Int fd, Off64T offset ); 176 extern Bool VG_(am_notify_client_shmat)( Addr a, SizeT len, UInt prot ); 187 extern Bool VG_(am_notify_mprotect)( Addr start, SizeT len, UInt prot ); 203 ( Addr start, SizeT length, UInt prot, UInt flags, Int fd, Off64T offset); 217 ( Addr start, SizeT length, UInt prot, Int fd, Off64T offset ); 219 ( Addr start, SizeT length, UInt prot, Int fd, Off64T offset, const HChar *name ) 384 UInt prot; \/\/ Not used for removed segs. member in struct:__anon30691 [all...] |
/system/core/libutils/ |
FileMap.cpp | 134 int prot, flags, adjust; local 165 prot = PROT_READ; 167 prot |= PROT_WRITE; 169 ptr = mmap(NULL, adjLength, prot, flags, fd, adjOffset);
|
/art/runtime/ |
mem_map.cc | 70 MemMap* MemMap::MapAnonymous(const char* name, byte* addr, size_t byte_count, int prot) { 72 return new MemMap(name, NULL, 0, NULL, 0, prot); 93 byte* actual = reinterpret_cast<byte*>(mmap(addr, page_aligned_byte_count, prot, flags, fd.get(), 0)); 98 << ", " << prot << ", " << flags << ", " << fd.get() << ", 0) failed for " << name 102 return new MemMap(name, actual, byte_count, actual, page_aligned_byte_count, prot); 106 int prot, int flags, int fd, off_t start, bool reuse) { 107 CHECK_NE(0, prot); 110 return new MemMap("file", NULL, 0, NULL, 0, prot); 129 prot, 138 << ", " << prot << ", " << flags << ", " << fd << ", " << page_aligned_offse 191 << prot << ") failed"; local [all...] |
/bionic/libc/bionic/ |
pthread_create.cpp | 139 int prot = PROT_READ | PROT_WRITE; local 141 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/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));
|
op_syscalls.c | 29 unsigned long prot; member in struct:mmap_arg_struct 144 static void out_mmap(ulong addr, ulong len, ulong prot, ulong flags, ulong fd, 167 ulong prot, ulong flags, ulong fd, ulong pgoff) 173 ret = old_sys_mmap2(addr, len, prot, flags, fd, pgoff); 175 if ((prot & PROT_EXEC) && ret >= 0) 176 out_mmap(ret, len, prot, flags, fd, pgoff << PAGE_SHIFT); 199 if (a.prot&PROT_EXEC) 200 out_mmap(ret, a.len, a.prot, a.flags, a.fd, a.offset);
|
/external/tcpdump/ |
print-gre.c | 122 u_int16_t flags, prot; local 134 prot = EXTRACT_16BITS(bp); 197 tok2str(ethertype_values,"unknown",prot), 198 prot); 207 switch (prot) { 229 printf("gre-proto-0x%x", prot); 241 u_int16_t flags, prot; local 253 prot = EXTRACT_16BITS(bp); 290 tok2str(ethertype_values,"unknown",prot), 291 prot); [all...] |
/external/valgrind/main/coregrind/m_ume/ |
elf.c | 186 unsigned prot = 0; local 191 if (ph->p_flags & PF_X) prot |= VKI_PROT_EXEC; 192 if (ph->p_flags & PF_W) prot |= VKI_PROT_WRITE; 193 if (ph->p_flags & PF_R) prot |= VKI_PROT_READ; 213 prot, /*VKI_MAP_FIXED|VKI_MAP_PRIVATE, */ 230 prot 238 // The 'prot' condition allows for a read-only bss 239 if ((prot & VKI_PROT_WRITE) && (bytes > 0)) {
|
/system/core/libion/ |
ion_test.c | 19 int prot = PROT_READ | PROT_WRITE; variable 68 ret = ion_map(fd, handle, len, prot, map_flags, 0, &ptr, &map_fd); 95 ret = ion_map(fd, handle, len, prot, flags, 0, &ptr, &map_fd); 129 ptr = mmap(NULL, len, prot, map_flags, share_fd, 0); 185 ptr = mmap(NULL, len, prot, map_flags, recv_fd, 0); 212 {"prot", required_argument, 0, 'p'}, 238 prot = 0; 239 prot |= strstr(optarg, "MAP_PRIVATE") ? 241 prot |= strstr(optarg, "MAP_SHARED") ? 261 printf("test %d, len %u, align %u, map_flags %d, prot %d, heap_mask %d, [all...] |
/external/chromium_org/v8/src/ |
platform-cygwin.cc | 79 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); local 80 void* mbase = mmap(NULL, msize, prot, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); 323 int prot = is_executable ? PAGE_EXECUTE_READWRITE : PAGE_READWRITE; local 324 if (NULL == VirtualAlloc(base, size, MEM_COMMIT, prot)) {
|
platform-freebsd.cc | 86 int prot = PROT_READ | PROT_WRITE | (executable ? PROT_EXEC : 0); local 87 void* mbase = mmap(NULL, msize, prot, MAP_PRIVATE | MAP_ANON, -1, 0); 299 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); local 302 prot,
|
platform-linux.cc | 138 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); local 140 void* mbase = mmap(addr, msize, prot, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); 408 int prot = PROT_READ | PROT_WRITE; local 410 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); 414 prot,
|
platform-macos.cc | 82 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); local 85 prot, 303 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); local 306 prot,
|
platform-openbsd.cc | 84 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); local 86 void* mbase = mmap(addr, msize, prot, MAP_PRIVATE | MAP_ANON, -1, 0); 331 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); local 334 prot,
|
platform-solaris.cc | 102 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); local 103 void* mbase = mmap(NULL, msize, prot, MAP_PRIVATE | MAP_ANON, -1, 0); 311 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); local 314 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/compiler-rt/lib/tsan/rtl/ |
tsan_platform_linux.cc | 201 uptr start, end, offset, prot; local 203 while (proc_maps.Next(&start, &end, &offset, name, ARRAY_SIZE(name), &prot)) { 205 && (prot & MemoryMappingLayout::kProtectionRead) 206 && (prot & MemoryMappingLayout::kProtectionExecute) 207 && !(prot & MemoryMappingLayout::kProtectionWrite)
|
/external/grub/stage2/ |
vstafs.h | 58 struct prot struct 73 struct prot pprot;
|
/external/kernel-headers/original/asm-mips/ |
pgtable.h | 309 unsigned long prot = pgprot_val(_prot); local 311 prot = (prot & ~_CACHE_MASK) | _CACHE_UNCACHED; 313 return __pgprot(prot); 354 extern int remap_pfn_range(struct vm_area_struct *vma, unsigned long from, unsigned long pfn, unsigned long size, pgprot_t prot); 360 pgprot_t prot) 363 return remap_pfn_range(vma, vaddr, phys_addr_high >> PAGE_SHIFT, size, prot); 366 #define io_remap_pfn_range(vma, vaddr, pfn, size, prot) \ 367 remap_pfn_range(vma, vaddr, pfn, size, prot)
|
/external/linux-tools-perf/util/ |
evlist.c | 267 int idx, int prot, int mask, int fd) 271 evlist->mmap[idx].base = mmap(NULL, evlist->mmap_len, prot, 280 static int perf_evlist__mmap_per_cpu(struct perf_evlist *evlist, int prot, int mask) 295 prot, mask, output) < 0) 321 static int perf_evlist__mmap_per_thread(struct perf_evlist *evlist, int prot, int mask) 335 prot, mask, output) < 0) 382 int prot = PROT_READ | (overwrite ? 0 : PROT_WRITE); local 401 return perf_evlist__mmap_per_thread(evlist, prot, mask); 403 return perf_evlist__mmap_per_cpu(evlist, prot, mask);
|
/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);
|