Home
last modified time | relevance | path

Searched refs:Prot (Results 1 – 14 of 14) sorted by relevance

/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DMmapWriteExecChecker.cpp52 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 DCOFFLinkGraphBuilder.cpp145 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 DELFLinkGraphBuilder.h338 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 DJITLinkMemoryManager.cpp284 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 DMachOLinkGraphBuilder.cpp181 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 Dlinux.cpp85 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 Dfuchsia.cpp159 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 DJITLink.h672 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 DUSRGeneration.h57 void generateUSRForObjCProtocol(StringRef Prot, raw_ostream &OS,
/openbsd-src/gnu/llvm/llvm/tools/llvm-readobj/
H A DMachODumper.cpp333 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 DUSRGeneration.cpp886 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 DMachObjectWriter.cpp889 uint32_t Prot = in writeObject() local
892 SectionDataSize, Prot, Prot); in writeObject()
/openbsd-src/gnu/lib/libstdc++/libstdc++/libio/
H A Dfileops.c53 # define open(Name, Flags, Prot) __open (Name, Flags, Prot) argument
/openbsd-src/gnu/llvm/clang/tools/libclang/
H A DCIndex.cpp6607 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()