| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | MmapWriteExecChecker.cpp | 52 int64_t Prot = ProtLoc.getValue().getSExtValue(); in checkPreCall() local 62 if ((Prot & (ProtWrite | ProtExec)) == (ProtWrite | ProtExec)) { in checkPreCall()
|
| /openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | COFFLinkGraphBuilder.cpp | 145 orc::MemProt Prot = orc::MemProt::Read; in graphifySections() local 147 Prot |= orc::MemProt::Exec; in graphifySections() 149 Prot |= orc::MemProt::Read; in graphifySections() 151 Prot |= orc::MemProt::Write; in graphifySections() 156 GraphSec = &G->createSection(SectionName, Prot); in graphifySections() 157 if (GraphSec->getMemProt() != Prot) in graphifySections()
|
| H A D | ELFLinkGraphBuilder.h | 338 orc::MemProt Prot; in graphifySections() local 340 Prot = orc::MemProt::Read | orc::MemProt::Exec; in graphifySections() 342 Prot = orc::MemProt::Read | orc::MemProt::Write; in graphifySections() 347 GraphSec = &G->createSection(*Name, Prot); in graphifySections() 348 assert(GraphSec->getMemProt() == Prot && "MemProt should match"); in graphifySections()
|
| H A D | JITLinkMemoryManager.cpp | 284 auto Prot = toSysMemoryProtectionFlags(AG.getMemProt()); in applyProtections() local 289 if (auto EC = sys::Memory::protectMappedMemory(MB, Prot)) in applyProtections() 291 if (Prot & sys::Memory::MF_EXEC) in applyProtections()
|
| H A D | MachOLinkGraphBuilder.cpp | 181 orc::MemProt Prot; in createNormalizedSections() local 183 Prot = orc::MemProt::Read | orc::MemProt::Exec; in createNormalizedSections() 185 Prot = orc::MemProt::Read | orc::MemProt::Write; in createNormalizedSections() 190 StringRef(FullyQualifiedName.data(), FullyQualifiedName.size()), Prot); in createNormalizedSections()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/ |
| H A D | linux.cpp | 85 int Prot = (Flags & MAP_NOACCESS) ? PROT_NONE : (PROT_READ | PROT_WRITE); in setMemoryPermission() local 86 if (mprotect(reinterpret_cast<void *>(Addr), Size, Prot) != 0) in setMemoryPermission()
|
| H A D | fuchsia.cpp | 159 const zx_vm_option_t Prot = in setMemoryPermission() local 163 if (_zx_vmar_protect(Data->Vmar, Prot, Addr, Size) != ZX_OK) in setMemoryPermission()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ExecutionEngine/JITLink/ |
| H A D | JITLink.h | 672 Section(StringRef Name, orc::MemProt Prot, SectionOrdinal SecOrdinal) in Section() argument 673 : Name(Name), Prot(Prot), SecOrdinal(SecOrdinal) {} in Section() 697 orc::MemProt getMemProt() const { return Prot; } in getMemProt() 700 void setMemProt(orc::MemProt Prot) { this->Prot = Prot; } in setMemProt() argument 770 orc::MemProt Prot; variable 1008 Section &createSection(StringRef Name, orc::MemProt Prot) { in createSection() argument 1014 std::unique_ptr<Section> Sec(new Section(Name, Prot, Sections.size())); in createSection()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Index/ |
| H A D | USRGeneration.h | 57 void generateUSRForObjCProtocol(StringRef Prot, raw_ostream &OS,
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-readobj/ |
| H A D | MachODumper.cpp | 333 std::string Prot; in getMask() local 334 Prot = ""; in getMask() 335 Prot += (prot & MachO::VM_PROT_READ) ? "r" : "-"; in getMask() 336 Prot += (prot & MachO::VM_PROT_WRITE) ? "w" : "-"; in getMask() 337 Prot += (prot & MachO::VM_PROT_EXECUTE) ? "x" : "-"; in getMask() 338 return Prot; in getMask()
|
| /openbsd-src/gnu/llvm/clang/lib/Index/ |
| H A D | USRGeneration.cpp | 886 for (auto *Prot : OIT->getProtocols()) in VisitType() local 887 VisitObjCProtocolDecl(Prot); in VisitType() 1115 void clang::index::generateUSRForObjCProtocol(StringRef Prot, raw_ostream &OS, in generateUSRForObjCProtocol() argument 1119 OS << "objc(pl)" << Prot; in generateUSRForObjCProtocol()
|
| /openbsd-src/gnu/llvm/llvm/lib/MC/ |
| H A D | MachObjectWriter.cpp | 889 uint32_t Prot = in writeObject() local 892 SectionDataSize, Prot, Prot); in writeObject()
|
| /openbsd-src/gnu/lib/libstdc++/libstdc++/libio/ |
| H A D | fileops.c | 53 # define open(Name, Flags, Prot) __open (Name, Flags, Prot) argument
|
| /openbsd-src/gnu/llvm/clang/tools/libclang/ |
| H A D | CIndex.cpp | 6607 const ObjCProtocolDecl *Prot = getCursorObjCProtocolRef(C).first; in clang_getCursorReferenced() local 6608 if (const ObjCProtocolDecl *Def = Prot->getDefinition()) in clang_getCursorReferenced() 6611 return MakeCXCursor(Prot, tu); in clang_getCursorReferenced()
|