| /llvm-project-15.0.7/clang/test/CXX/class.access/class.access.base/ |
| H A D | p1.cpp | 20 prot++; in test() 27 Base::prot++; in test() 37 t->prot++; // expected-error {{protected member}} in test() 44 t->Base::prot++; // expected-error {{protected member}} in test() 69 prot++; in test() 76 Base::prot++; in test() 86 t->prot++; // expected-error {{protected member}} in test() 112 int prot; // expected-note {{declared protected here}} \ member in test2::Base 126 prot++; in test() 133 Base::prot++; in test() [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/profile/ |
| H A D | WindowsMMap.c | 28 void *mmap(void *start, size_t length, int prot, int flags, int fd, off_t offset) in mmap() argument 30 if (prot & ~(PROT_READ | PROT_WRITE | PROT_EXEC)) in mmap() 39 if (prot & PROT_WRITE) { in mmap() 40 if (prot & PROT_EXEC) in mmap() 44 } else if (prot & PROT_EXEC) { in mmap() 45 if (prot & PROT_READ) in mmap() 47 else if (prot & PROT_EXEC) in mmap() 63 if (prot & PROT_WRITE) in mmap() 67 if (prot & PROT_EXEC) in mmap()
|
| /llvm-project-15.0.7/compiler-rt/lib/safestack/ |
| H A D | safestack_platform.h | 93 inline void *Mmap(void *addr, size_t length, int prot, int flags, int fd, in Mmap() argument 96 return __mmap(addr, length, prot, flags, fd, 0, offset); in Mmap() 98 return (void *)__syscall(SYS_mmap, addr, length, prot, flags, fd, offset); in Mmap() 100 return (void *)syscall(SYS_mmap, addr, length, prot, flags, fd, offset); in Mmap() 113 inline int Mprotect(void *addr, size_t length, int prot) { in Mprotect() argument 116 return _REAL(mprotect, addr, length, prot); in Mprotect() 118 return syscall(SYS_mprotect, addr, length, prot); in Mprotect()
|
| /llvm-project-15.0.7/compiler-rt/lib/dfsan/ |
| H A D | dfsan_interceptors.cpp | 132 INTERCEPTOR(void *, mmap, void *addr, SIZE_T length, int prot, int flags, in INTERCEPTOR() argument 135 ReportMmapWriteExec(prot, flags); in INTERCEPTOR() 137 return (void *)internal_mmap(addr, length, prot, flags, fd, offset); in INTERCEPTOR() 138 COMMON_INTERCEPTOR_ENTER(mmap, addr, length, prot, flags, fd, offset); in INTERCEPTOR() 139 void *res = REAL(mmap)(addr, length, prot, flags, fd, offset); in INTERCEPTOR() 146 INTERCEPTOR(void *, mmap64, void *addr, SIZE_T length, int prot, int flags, in INTERCEPTOR() argument 149 ReportMmapWriteExec(prot, flags); in INTERCEPTOR() 151 return (void *)internal_mmap(addr, length, prot, flags, fd, offset); in INTERCEPTOR() 152 COMMON_INTERCEPTOR_ENTER(mmap64, addr, length, prot, flags, fd, offset); in INTERCEPTOR() 153 void *res = REAL(mmap64)(addr, length, prot, flags, fd, offset); in INTERCEPTOR()
|
| /llvm-project-15.0.7/lldb/tools/debugserver/source/MacOSX/ |
| H A D | MachVMRegion.cpp | 45 vm_prot_t prot) { in SetProtections() argument 53 if (prot == (m_curr_protection & VM_PROT_ALL)) { in SetProtections() 57 __FUNCTION__, prot, m_task, (uint64_t)addr); in SetProtections() 61 m_err = ::mach_vm_protect(m_task, addr, prot_size, 0, prot); in SetProtections() 66 prot); in SetProtections() 70 prot | VM_PROT_COPY); in SetProtections() 76 prot | VM_PROT_COPY); in SetProtections() 79 m_curr_protection = prot; in SetProtections()
|
| /llvm-project-15.0.7/flang/test/Semantics/ |
| H A D | modifiable01.f90 | 5 real, protected :: prot variable 13 prot = 0. ! ok 19 use prot 57 prot = 0.
|
| H A D | resolve57.f90 | 26 real, protected :: prot variable 33 do concurrent (i=1:5) local(prot) 43 do concurrent (i=1:5) local(prot) 110 real, protected :: prot variable
|
| /llvm-project-15.0.7/clang/test/CodeCompletion/ |
| H A D | accessibility.cpp | 5 int prot; member in X 14 static int prot; member in Unrelated 79 static int prot; member in Outer
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/Utility/ |
| H A D | InferiorCallPOSIX.cpp | 38 addr_t addr, addr_t length, unsigned prot, in InferiorCallMmap() argument 69 if (prot == eMmapProtNone) in InferiorCallMmap() 73 if (prot & eMmapProtExec) in InferiorCallMmap() 75 if (prot & eMmapProtRead) in InferiorCallMmap() 77 if (prot & eMmapProtWrite) in InferiorCallMmap()
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | 2003-11-18-CondExprLValue.c | 5 void split_large_page(unsigned long addr, pgprot_t prot) in split_large_page() argument 7 (addr ? prot : ((pgprot_t) { 0x001 } )).pgprot; in split_large_page()
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | std-c-library-posix-crash.c | 12 void *mmap(void *addr, size_t length, int prot, int flags, int fd, off_t offset); 13 void *mmap64(void *addr, size_t length, int prot, int flags, int fd, off64_t offset);
|
| H A D | mmap-writeexec.c | 35 int prot = PROT_WRITE | PROT_EXEC; in f2() local 36 …(void)callm(NULL, 1024, prot, MAP_PRIVATE | MAP_ANON, -1, 0); // expected-warning{{Both PROT_WRITE… in f2()
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | warn-thread-safety-negative.cpp | 124 void prot() EXCLUSIVE_LOCKS_REQUIRED(!protectedMutex); 128 prot(); in test() 144 x.prot(); in testStaticMembers()
|
| /llvm-project-15.0.7/libc/src/sys/mman/linux/ |
| H A D | mmap.cpp | 23 (void *addr, size_t size, int prot, int flags, int fd, 44 prot, flags, fd, offset);
|
| /llvm-project-15.0.7/clang/test/CXX/class.access/ |
| H A D | p4.cpp | 68 void test(A &a, Public &pub, Protected &prot, Private &priv) { in test() argument 70 a + prot; // expected-error {{'operator+' is a protected member}} in test() 73 a[prot]; // expected-error {{'operator[]' is a protected member}} in test() 76 a(prot); // expected-error {{'operator()' is a protected member}} in test() 82 ca + prot; in test() 87 ca(prot); // expected-error {{'operator void (*)(Protected &)' is a protected member}} in test()
|
| H A D | p6.cpp | 48 Protected prot = a; // expected-error {{'operator Protected' is a protected member}} in test() local 51 A aprot = prot; // expected-error {{protected constructor}} in test()
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_linux_s390.cpp | 30 uptr internal_mmap(void *addr, uptr length, int prot, int flags, int fd, in internal_mmap() argument 35 unsigned long prot; in internal_mmap() member 42 (unsigned long)prot, in internal_mmap()
|
| H A D | sanitizer_solaris.cpp | 65 int prot, int flags, int fd, OFF_T offset) { in DECLARE__REAL_AND_INTERNAL64() argument 66 return (uptr)_REAL64(mmap)(addr, length, prot, flags, fd, offset); in DECLARE__REAL_AND_INTERNAL64() 73 DECLARE__REAL_AND_INTERNAL(int, mprotect, void *addr, uptr length, int prot) { in DECLARE__REAL_AND_INTERNAL() argument 74 return _REAL(mprotect)(addr, length, prot); in DECLARE__REAL_AND_INTERNAL()
|
| H A D | sanitizer_posix.h | 37 uptr internal_mmap(void *addr, uptr length, int prot, int flags, 44 int internal_mprotect(void *addr, uptr length, int prot); 113 uptr MmapNamed(void *addr, uptr length, int prot, int flags, const char *name);
|
| /llvm-project-15.0.7/lldb/test/API/linux/aarch64/mte_tag_access/ |
| H A D | main.c | 14 char *checked_mmap(size_t page_size, int prot) { in checked_mmap() argument 15 char *ptr = mmap(0, page_size, prot, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in checked_mmap()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | phi-immediate-factoring.ll | 2 ; RUN: llc < %s -disable-preheader-prot=true -stats 2>&1 | grep "Number of blocks eliminated" | gr… 3 ; RUN: llc < %s -disable-preheader-prot=true -stats -cgp-freq-ratio-to-skip-merge=10 2>&1 | grep "… 4 ; RUN: llc < %s -disable-preheader-prot=false -stats 2>&1 | grep "Number of blocks eliminated" | gr…
|
| /llvm-project-15.0.7/lldb/source/Plugins/Platform/QemuUser/ |
| H A D | PlatformQemuUser.h | 52 lldb::addr_t length, unsigned prot, in GetMmapArgumentList() argument 56 arch, addr, length, prot, flags, fd, offset); in GetMmapArgumentList()
|
| /llvm-project-15.0.7/bolt/runtime/ |
| H A D | common.h | 162 void *__mmap(uint64_t addr, uint64_t size, uint64_t prot, uint64_t flags, in __mmap() argument 176 : "D"(addr), "S"(size), "d"(prot), "r"(r10), "r"(r8), in __mmap() 415 int __mprotect(void *addr, size_t len, int prot) { in __mprotect() argument 420 : "D"(addr), "S"(len), "d"(prot) in __mprotect()
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/symbolizer/ |
| H A D | sanitizer_wrappers.cpp | 31 unsigned long internal_mmap(void *addr, uintptr_t length, int prot, int flags, 156 void *mmap(void *addr, size_t length, int prot, int flags, int fd, in mmap() argument 159 __sanitizer::internal_mmap(addr, length, prot, flags, fd, offset); in mmap()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Platform/OpenBSD/ |
| H A D | PlatformOpenBSD.cpp | 159 unsigned prot, unsigned flags, in GetMmapArgumentList() argument 168 MmapArgList args({addr, length, prot, flags_platform, fd, offset}); in GetMmapArgumentList()
|