/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/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);
|
/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);
|
/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:__anon16382 [all...] |
/system/core/libutils/ |
FileMap.cpp | 133 int prot, flags, adjust; local 164 prot = PROT_READ; 166 prot |= PROT_WRITE; 168 ptr = mmap(NULL, adjLength, prot, flags, fd, adjOffset);
|
/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));
|
/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) { 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/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)) {
|
/external/wpa_supplicant_8/src/ap/ |
gas_serv.h | 51 int prot; /* whether Protected Dual of Public Action frame is used */ member in struct:gas_dialog_info
|
/ndk/sources/android/crazy_linker/src/ |
crazy_linker_proc_maps_unittest.cpp | 74 int prot; member in struct:crazy::__anon22755 86 int prot; local 90 EXPECT_EQ(kData[n].success, FindProtectionFlagsForAddress(address, &prot)); 93 EXPECT_EQ(kData[n].prot, prot);
|
/system/core/libion/ |
ion_test.c | 34 int prot = PROT_READ | PROT_WRITE; variable 83 ret = ion_map(fd, handle, len, prot, map_flags, 0, &ptr, &map_fd); 110 ret = ion_map(fd, handle, len, prot, flags, 0, &ptr, &map_fd); 144 ptr = mmap(NULL, len, prot, map_flags, share_fd, 0); 200 ptr = mmap(NULL, len, prot, map_flags, recv_fd, 0); 227 {"prot", required_argument, 0, 'p'}, 249 prot = 0; 250 prot |= strstr(optarg, "MAP_PRIVATE") ? MAP_PRIVATE : 0; 251 prot |= strstr(optarg, "MAP_SHARED") ? MAP_PRIVATE : 0; 270 printf("test %d, len %zu, align %zu, map_flags %d, prot %d, heap_mask %d, [all...] |
/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,
|