Home
last modified time | relevance | path

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

12

/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Ddsymbol.h97 struct Prot struct
102 Prot(); argument
103 Prot(PROTKIND kind);
105 bool isMoreRestrictiveThan(const Prot other) const;
106 bool operator==(const Prot& other) const;
107 bool isSubsetOf(const Prot& other) const;
111 void protectionToBuffer(OutBuffer *buf, Prot prot);
225 virtual Prot prot();
309 virtual void importScope(Dsymbol *s, Prot protection);
310 void addAccessiblePackage(Package *p, Prot protection);
[all …]
H A Daccess.c40 Prot getAccess(AggregateDeclaration *ad, Dsymbol *smember) in getAccess()
42 Prot access_ret = Prot(PROTnone); in getAccess()
59 Prot access = getAccess(b->sym, smember); in getAccess()
66 access_ret = Prot(PROTnone); // private members of base class not accessible in getAccess()
75 access = Prot(PROTpublic); in getAccess()
116 Prot access = getAccess(b->sym, smember); in isAccessible()
163 Prot access; in checkAccess()
395 if (sc->scopesym && sc->scopesym->isPackageAccessible(p, Prot(PROTprivate))) in checkAccess()
H A Ddsymbol.c868 Prot Dsymbol::prot() in prot()
870 return Prot(PROTpublic); in prot()
1020 void ForwardingScopeDsymbol::importScope(Dsymbol *s, Prot protection) in importScope()
1274 void ScopeDsymbol::importScope(Dsymbol *s, Prot protection) in importScope()
1334 void ScopeDsymbol::addAccessiblePackage(Package *p, Prot protection) in addAccessiblePackage()
1342 bool ScopeDsymbol::isPackageAccessible(Package *p, Prot protection, int) in isPackageAccessible()
1828 Prot::Prot() in Prot() function
1834 Prot::Prot(PROTKIND kind) in Prot() function
1844 bool Prot::isMoreRestrictiveThan(const Prot other) const in isMoreRestrictiveThan()
1852 bool Prot::operator==(const Prot& other) const
[all …]
H A Dimport.h31 Prot protection;
46 Prot prot();
H A Denum.h36 Prot protection;
56 Prot prot();
H A Dattrib.h34 StorageClass newstc, LINK linkage, CPPMANGLE cppmangle, Prot protection,
114 Prot protection;
117 ProtDeclaration(Loc loc, Prot p, Dsymbols *decl);
H A Daggregate.h92 Prot protection;
153 Prot prot();
H A Ddenum.c40 protection = Prot(PROTundefined); in EnumDeclaration()
472 Prot EnumDeclaration::prot() in prot()
553 protection = ed->isAnonymous() ? ed->protection : Prot(PROTpublic); in semantic()
H A Ddimport.c38 this->protection = Prot(PROTprivate); // default to private in Import()
77 Prot Import::prot() in prot()
H A Dscope.h111 Prot protection; // protection for class members
H A Dtemplate.h76 Prot protection;
89 Prot prot();
H A Dmodule.h132 bool isPackageAccessible(Package *p, Prot protection, int flags = 0);
H A Ddstruct.c190 protection = Prot(PROTpublic); in AggregateDeclaration()
215 Prot AggregateDeclaration::prot() in prot()
231 sc2->protection = Prot(PROTpublic); in newScope()
928 vthis->protection = Prot(PROTpublic); in makeNested()
H A Dnspace.c53 sds2->importScope(this, Prot(PROTpublic)); in addMember()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/JITLink/
H A DJITLinkGeneric.cpp245 auto &Prot = KV.first; in allocateSegments() local
267 Segments[Prot] = {SegAlign, SegContentSize, in allocateSegments()
272 << static_cast<sys::Memory::ProtectionFlags>(Prot) in allocateSegments()
289 auto Prot = static_cast<sys::Memory::ProtectionFlags>(KV.first); in allocateSegments()
290 dbgs() << " " << Prot << ": " in allocateSegments()
291 << (const void *)Alloc->getWorkingMemory(Prot).data() << " -> " in allocateSegments()
292 << formatv("{0:x16}", Alloc->getTargetMemory(Prot)) << "\n"; in allocateSegments()
298 auto &Prot = KV.first; in allocateSegments() local
302 Alloc->getTargetMemory(static_cast<sys::Memory::ProtectionFlags>(Prot)); in allocateSegments()
359 auto &Prot = KV.first; in copyBlockContentToWorkingMemory() local
[all …]
H A DJITLinkMemoryManager.cpp63 auto &Prot = KV.first; in allocate() local
65 if (auto EC = sys::Memory::protectMappedMemory(Block, Prot)) in allocate()
67 if (Prot & sys::Memory::MF_EXEC) in allocate()
H A DMachOLinkGraphBuilder.cpp100 auto Prot = static_cast<sys::Memory::ProtectionFlags>( in getCommonSection() local
102 CommonSection = &G->createSection(CommonSectionName, Prot); in getCommonSection()
173 sys::Memory::ProtectionFlags Prot; in createNormalizedSections() local
175 Prot = static_cast<sys::Memory::ProtectionFlags>(sys::Memory::MF_READ | in createNormalizedSections()
178 Prot = static_cast<sys::Memory::ProtectionFlags>(sys::Memory::MF_READ | in createNormalizedSections()
186 Prot); in createNormalizedSections()
H A DELF_x86_64.cpp254 auto Prot = static_cast<sys::Memory::ProtectionFlags>( in getCommonSection() local
256 CommonSection = &G->createSection(CommonSectionName, Prot); in getCommonSection()
369 sys::Memory::ProtectionFlags Prot; in createNormalizedSections() local
371 Prot = static_cast<sys::Memory::ProtectionFlags>(sys::Memory::MF_READ | in createNormalizedSections()
374 Prot = static_cast<sys::Memory::ProtectionFlags>(sys::Memory::MF_READ | in createNormalizedSections()
406 auto &section = G->createSection(*Name, Prot); in createNormalizedSections()
414 auto &Section = G->createSection(*Name, Prot); in createNormalizedSections()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/
H A DOrcRPCTPCServer.h69 WireProtectionFlags Prot = WPF_None; member
77 WireProtectionFlags Prot = WPF_None; member
85 WireProtectionFlags Prot = WPF_None; member
193 return serializeSeq(C, static_cast<uint8_t>(E.Prot), E.Size, E.Alignment); in serialize()
198 return deserializeSeq(C, *reinterpret_cast<uint8_t *>(&E.Prot), E.Size, in deserialize()
208 return serializeSeq(C, static_cast<uint8_t>(E.Prot), E.Address, in serialize()
213 return deserializeSeq(C, *reinterpret_cast<uint8_t *>(&E.Prot), E.Address, in deserialize()
225 return serializeSeq(C, static_cast<uint8_t>(E.Prot), E.Address, E.Size); in serialize()
230 return deserializeSeq(C, *reinterpret_cast<uint8_t *>(&E.Prot), E.Address, in deserialize()
505 Allocs.push_back({E.Prot, in reserveMemory()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/
H A DOrcRPCTargetProcessControl.h91 auto Prot = FMRI->Prot; in finalizeAsync()
94 << " bytes to " << ((Prot & orcrpctpc::WPF_Read) ? 'R' : '-') in finalizeAsync()
95 << ((Prot & orcrpctpc::WPF_Write) ? 'W' : '-') in finalizeAsync()
96 << ((Prot & orcrpctpc::WPF_Exec) ? 'X' : '-') in finalizeAsync()
198 TargetAllocs[orcrpctpc::fromWireProtectionFlags(E.Prot)] = { in allocate()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/JITLink/
H A DJITLink.h580 Section(StringRef Name, sys::Memory::ProtectionFlags Prot, in Section() argument
582 : Name(Name), Prot(Prot), SecOrdinal(SecOrdinal) {} in Section()
606 sys::Memory::ProtectionFlags getProtectionFlags() const { return Prot; } in getProtectionFlags()
609 void setProtectionFlags(sys::Memory::ProtectionFlags Prot) { in setProtectionFlags() argument
610 this->Prot = Prot; in setProtectionFlags()
661 sys::Memory::ProtectionFlags Prot; variable
883 Section &createSection(StringRef Name, sys::Memory::ProtectionFlags Prot) { in createSection() argument
889 std::unique_ptr<Section> Sec(new Section(Name, Prot, Sections.size())); in createSection()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-readobj/
H A DMachODumper.cpp320 std::string Prot; in getMask() local
321 Prot = ""; in getMask()
322 Prot += (prot & MachO::VM_PROT_READ) ? "r" : "-"; in getMask()
323 Prot += (prot & MachO::VM_PROT_WRITE) ? "w" : "-"; in getMask()
324 Prot += (prot & MachO::VM_PROT_EXECUTE) ? "x" : "-"; in getMask()
325 return Prot; in getMask()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Index/
H A DUSRGeneration.h57 void generateUSRForObjCProtocol(StringRef Prot, raw_ostream &OS,
/netbsd-src/external/apache2/llvm/dist/clang/lib/Index/
H A DUSRGeneration.cpp844 for (auto *Prot : OIT->getProtocols()) in VisitType() local
845 VisitObjCProtocolDecl(Prot); in VisitType()
1061 void clang::index::generateUSRForObjCProtocol(StringRef Prot, raw_ostream &OS, in generateUSRForObjCProtocol() argument
1065 OS << "objc(pl)" << Prot; in generateUSRForObjCProtocol()

12