/external/clang/test/CodeGen/ |
H A D | 2003-11-18-CondExprLValue.c | 5 void split_large_page(unsigned long addr, pgprot_t prot) argument 7 (addr ? prot : ((pgprot_t) { 0x001 } )).pgprot;
|
/external/strace/tests/ |
H A D | remap_file_pages.c | 44 const unsigned long prot = PROT_READ|PROT_WRITE|PROT_EXEC; local 48 long rc = syscall(__NR_remap_file_pages, addr, size, prot, pgoff, flags);
|
/external/strace/tests-m32/ |
H A D | remap_file_pages.c | 44 const unsigned long prot = PROT_READ|PROT_WRITE|PROT_EXEC; local 48 long rc = syscall(__NR_remap_file_pages, addr, size, prot, pgoff, flags);
|
/external/strace/tests-mx32/ |
H A D | remap_file_pages.c | 44 const unsigned long prot = PROT_READ|PROT_WRITE|PROT_EXEC; local 48 long rc = syscall(__NR_remap_file_pages, addr, size, prot, pgoff, flags);
|
/external/valgrind/helgrind/tests/ |
H A D | tc06_two_races.c | 9 int unprot1 = 0, unprot2 = 0, prot = 0; variable 16 prot ++; 33 prot ++;
|
/external/mesa3d/src/gallium/auxiliary/os/ |
H A D | os_mman.h | 64 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 D | dfsan_interceptors.cc | 19 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/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_libignore.cc | 59 uptr b, e, off, prot; local 60 while (proc_maps.Next(&b, &e, &off, module.data(), module.size(), &prot)) { 61 if ((prot & MemoryMappingLayout::kProtectionExecute) == 0)
|
H A D | sanitizer_linux_s390.cc | 30 uptr internal_mmap(void *addr, uptr length, int prot, int flags, int fd, argument 35 unsigned long prot; member in struct:__sanitizer::s390_mmap_params 42 (unsigned long)prot,
|
H A D | sanitizer_procmaps_mac.cc | 161 uptr cur_beg, cur_end, prot; local 164 module_name.size(), &prot); 178 cur_module->addAddressRange(cur_beg, cur_end, prot & kProtectionExecute);
|
/external/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_platform_posix.cc | 118 uptr p, end, prot; local 119 while (proc_maps.Next(&p, &end, 0, 0, 0, &prot)) { 125 if (prot == 0) // Zero page or mprotected.
|
/external/libdrm/ |
H A D | libdrm_macros.h | 49 static inline void *drm_mmap(void *addr, size_t length, int prot, int flags, argument 58 return mmap64(addr, length, prot, flags, fd, offset); 68 # define drm_mmap(addr, length, prot, flags, fd, offset) \ 69 mmap(addr, length, prot, flags, fd, offset)
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/ |
H A D | 5-1.c | 9 * The prot shall be either PROT_NONE or the bitwise-inclusive OR of 17 * specified by prot, the call to mmap() shall fail. 37 int prot; member in struct:testcase 42 {.flags = MAP_SHARED,.prot = PROT_NONE}, 43 {.flags = MAP_SHARED,.prot = PROT_READ}, 44 {.flags = MAP_SHARED,.prot = PROT_WRITE}, 45 {.flags = MAP_SHARED,.prot = PROT_EXEC}, 46 {.flags = MAP_SHARED,.prot = PROT_READ | PROT_WRITE}, 47 {.flags = MAP_SHARED,.prot = PROT_READ | PROT_EXEC}, 48 {.flags = MAP_SHARED,.prot [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/munmap/ |
H A D | 3-1.c | 43 int prot; local 72 prot = PROT_READ | PROT_WRITE; 73 pa = mmap(addr, len, prot, flag, fd, off);
|
H A D | 4-1.c | 52 int prot; local 74 prot = PROT_READ | PROT_WRITE; 76 pa = mmap(addr, size, prot, flag, fd, off); 97 pa = mmap(addr, size, prot, flag, fd, off);
|
H A D | 9-1.c | 40 int prot; local 67 prot = PROT_READ | PROT_WRITE; 68 pa = mmap(addr, len, prot, flag, fd, off);
|
H A D | 1-1.c | 56 int prot; local 91 prot = PROT_READ | PROT_WRITE; 92 pa = mmap(addr, len, prot, flag, fd, off);
|
H A D | 1-2.c | 56 int prot; local 91 prot = PROT_READ | PROT_WRITE; 92 pa = mmap(addr, len, prot, flag, fd, off);
|
/external/syslinux/gpxe/src/interface/efi/ |
H A D | efi_init.c | 59 struct efi_protocol *prot; local 85 for_each_table_entry ( prot, EFI_PROTOCOLS ) { 86 if ( ( efirc = bs->LocateProtocol ( &prot->u.guid, NULL, 87 prot->protocol ) ) == 0 ) { 89 uuid_ntoa ( &prot->u.uuid ), *(prot->protocol)); 92 uuid_ntoa ( &prot->u.uuid ) );
|
/external/clang/test/CXX/class.access/class.access.base/ |
H A D | 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 112 int prot; // expected-note {{declared protected here}} \\ member in class:test2::Base 133 Base::prot++; member in class:test2::Test::Base [all...] |
/external/compiler-rt/lib/profile/ |
H A D | WindowsMMap.c | 32 void *mmap(void *start, size_t length, int prot, int flags, int fd, off_t offset) argument 34 if (prot & ~(PROT_READ | PROT_WRITE | PROT_EXEC)) 43 if (prot & PROT_WRITE) { 44 if (prot & PROT_EXEC) 48 } else if (prot & PROT_EXEC) { 49 if (prot & PROT_READ) 51 else if (prot & PROT_EXEC) 67 if (prot & PROT_WRITE) 71 if (prot & PROT_EXEC)
|
/external/valgrind/coregrind/ |
H A D | pub_core_aspacemgr.h | 82 valgrind with at least the permissions 'prot' ? To find out 84 VKI_PROT_NONE as 'prot'. Will return False if any part of the 88 ( Addr start, SizeT len, UInt prot ); 95 ( Addr start, SizeT len, UInt prot ); 173 ( Addr a, SizeT len, UInt prot, UInt flags, Int fd, Off64T offset ); 179 extern Bool VG_(am_notify_client_shmat)( Addr a, SizeT len, UInt prot ); 190 extern Bool VG_(am_notify_mprotect)( Addr start, SizeT len, UInt prot ); 206 ( Addr start, SizeT length, UInt prot, UInt flags, Int fd, Off64T offset); 220 ( Addr start, SizeT length, UInt prot, Int fd, Off64T offset ); 222 ( Addr start, SizeT length, UInt prot, UIn 371 UInt prot; // Not used for removed segs. member in struct:__anon23181 [all...] |
/external/ltp/testcases/kernel/mem/vma/ |
H A D | vma03.c | 62 static void *mmap2(void *addr, size_t length, int prot, 113 static void *mmap2(void *addr, size_t length, int prot, argument 116 return (void *)syscall(SYS_mmap2, addr, length, prot,
|
/external/ltp/testcases/kernel/syscalls/mprotect/ |
H A D | mprotect01.c | 53 int prot; member in struct:test_case 99 TEST(mprotect(TC[i].addr, TC[i].len, TC[i].prot));
|
/external/strace/ |
H A D | mem.c | 62 const kernel_ulong_t prot = u_arg[2]; local 68 printflags64(mmap_prot, prot, "PROT_???"); 311 const kernel_ulong_t prot = tcp->u_arg[2]; local 317 printflags64(mmap_prot, prot, "PROT_???");
|