/external/llvm-project/clang/test/SemaObjC/ |
D | unguarded-availability-category-protocol-use.m | 4 @protocol Prot // expected-note {{here}} protocol 12 @interface A (Cat) <Prot> // No error. 17 @interface B (Cat) <Prot> // expected-error {{'Prot' is unavailable: not available on iOS}}
|
D | property-assign-on-object-type.m | 4 @protocol Prot @end protocol 11 @property(assign) Class<Prot> classWithProtocolProperty;
|
/external/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
D | JITLinkGeneric.cpp | 234 auto &Prot = KV.first; in allocateSegments() local 256 Segments[Prot] = {SegAlign, SegContentSize, in allocateSegments() 261 << static_cast<sys::Memory::ProtectionFlags>(Prot) in allocateSegments() 277 auto Prot = static_cast<sys::Memory::ProtectionFlags>(KV.first); in allocateSegments() 278 dbgs() << " " << Prot << ": " in allocateSegments() 279 << (const void *)Alloc->getWorkingMemory(Prot).data() << " -> " in allocateSegments() 280 << formatv("{0:x16}", Alloc->getTargetMemory(Prot)) << "\n"; in allocateSegments() 286 auto &Prot = KV.first; in allocateSegments() local 290 Alloc->getTargetMemory(static_cast<sys::Memory::ProtectionFlags>(Prot)); in allocateSegments() 347 auto &Prot = KV.first; in copyBlockContentToWorkingMemory() local [all …]
|
D | JITLinkMemoryManager.cpp | 62 auto &Prot = KV.first; in allocate() local 64 if (auto EC = sys::Memory::protectMappedMemory(Block, Prot)) in allocate() 66 if (Prot & sys::Memory::MF_EXEC) in allocate()
|
D | ELF_x86_64.cpp | 212 auto Prot = static_cast<sys::Memory::ProtectionFlags>( in getCommonSection() local 214 CommonSection = &G->createSection(CommonSectionName, Prot); in getCommonSection() 312 sys::Memory::ProtectionFlags Prot; in createNormalizedSections() local 314 Prot = static_cast<sys::Memory::ProtectionFlags>(sys::Memory::MF_READ | in createNormalizedSections() 317 Prot = static_cast<sys::Memory::ProtectionFlags>(sys::Memory::MF_READ | in createNormalizedSections() 349 auto §ion = G->createSection(*Name, Prot); in createNormalizedSections() 357 auto &Section = G->createSection(*Name, Prot); in createNormalizedSections()
|
D | MachOLinkGraphBuilder.cpp | 97 auto Prot = static_cast<sys::Memory::ProtectionFlags>( in getCommonSection() local 99 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() 182 NSec.GraphSection = &G->createSection(*Name, Prot); in createNormalizedSections()
|
/external/llvm-project/clang/test/Index/ |
D | index-refs.m | 4 @protocol Prot protocol 12 Protocol *p = @protocol(Prot); 27 // CHECK: [indexEntityReference]: kind: objc-protocol | name: Prot | {{.*}} | loc: 12:27
|
/external/clang/test/Index/ |
D | index-refs.m | 4 @protocol Prot protocol 12 Protocol *p = @protocol(Prot); 27 // CHECK: [indexEntityReference]: kind: objc-protocol | name: Prot | {{.*}} | loc: 12:27
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/JITLink/ |
D | JITLinkGeneric.cpp | 192 auto &Prot = KV.first; in allocateSegments() local 214 Segments[Prot] = {SegAlign, SegContentSize, in allocateSegments() 219 << static_cast<sys::Memory::ProtectionFlags>(Prot) in allocateSegments() 235 auto Prot = static_cast<sys::Memory::ProtectionFlags>(KV.first); in allocateSegments() 236 dbgs() << " " << Prot << ": " in allocateSegments() 237 << (const void *)Alloc->getWorkingMemory(Prot).data() << "\n"; in allocateSegments() 243 auto &Prot = KV.first; in allocateSegments() local 247 Alloc->getTargetMemory(static_cast<sys::Memory::ProtectionFlags>(Prot)); in allocateSegments()
|
D | JITLinkMemoryManager.cpp | 62 auto &Prot = KV.first; in allocate() local 64 if (auto EC = sys::Memory::protectMappedMemory(Block, Prot)) in allocate() 66 if (Prot & sys::Memory::MF_EXEC) in allocate()
|
D | JITLinkGeneric.h | 152 auto &Prot = KV.first; in copyAndFixUpBlocks() local 156 static_cast<sys::Memory::ProtectionFlags>(Prot)); in copyAndFixUpBlocks() 162 << static_cast<sys::Memory::ProtectionFlags>(Prot) << " [ " in copyAndFixUpBlocks()
|
D | MachOLinkGraphBuilder.cpp | 92 auto Prot = static_cast<sys::Memory::ProtectionFlags>( in getCommonSection() local 94 CommonSection = &G->createSection(CommonSectionName, Prot); in getCommonSection() 157 sys::Memory::ProtectionFlags Prot; in createNormalizedSections() local 159 Prot = static_cast<sys::Memory::ProtectionFlags>(sys::Memory::MF_READ | in createNormalizedSections() 162 Prot = static_cast<sys::Memory::ProtectionFlags>(sys::Memory::MF_READ | in createNormalizedSections() 165 NSec.GraphSection = &G->createSection(*Name, Prot); in createNormalizedSections()
|
/external/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/ |
D | OrcRPCTPCServer.h | 70 WireProtectionFlags Prot = WPF_None; member 78 WireProtectionFlags Prot = WPF_None; member 86 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() 500 Allocs.push_back({E.Prot, in reserveMemory() [all …]
|
/external/compiler-rt/lib/esan/ |
D | working_set.cpp | 163 uptr Start, End, Prot; in computeWorkingSizeAndReset() local 165 0/*file size*/, &Prot)) { in computeWorkingSizeAndReset() 167 __FUNCTION__, Start, End, Prot, isAppMem(Start), in computeWorkingSizeAndReset() 169 if (isShadowMem(Start) && (Prot & MemoryMappingLayout::kProtectionWrite)) { in computeWorkingSizeAndReset()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | MmapWriteExecChecker.cpp | 52 int64_t Prot = ProtLoc->getValue().getSExtValue(); in checkPreCall() local 62 if ((Prot & (ProtWrite | ProtExec)) == (ProtWrite | ProtExec)) { in checkPreCall()
|
/external/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
D | OrcRPCTargetProcessControl.h | 91 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() 197 TargetAllocs[orcrpctpc::fromWireProtectionFlags(E.Prot)] = { in allocate()
|
/external/clang/include/clang/Index/ |
D | USRGeneration.h | 50 void generateUSRForObjCProtocol(StringRef Prot, raw_ostream &OS);
|
/external/scudo/standalone/ |
D | fuchsia.cpp | 141 const zx_vm_option_t Prot = in setMemoryPermission() local 145 if (_zx_vmar_protect(Data->Vmar, Prot, Addr, Size) != ZX_OK) in setMemoryPermission()
|
D | linux.cpp | 88 int Prot = (Flags & MAP_NOACCESS) ? PROT_NONE : (PROT_READ | PROT_WRITE); in setMemoryPermission() local 89 if (mprotect(reinterpret_cast<void *>(Addr), Size, Prot) != 0) in setMemoryPermission()
|
/external/llvm/tools/llvm-readobj/ |
D | MachODumper.cpp | 296 std::string Prot; in getMask() local 297 Prot = ""; in getMask() 298 Prot += (prot & MachO::VM_PROT_READ) ? "r" : "-"; in getMask() 299 Prot += (prot & MachO::VM_PROT_WRITE) ? "w" : "-"; in getMask() 300 Prot += (prot & MachO::VM_PROT_EXECUTE) ? "x" : "-"; in getMask() 301 return Prot; in getMask()
|
/external/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/ |
D | JITLink.h | 545 Section(StringRef Name, sys::Memory::ProtectionFlags Prot, in Section() argument 547 : Name(Name), Prot(Prot), SecOrdinal(SecOrdinal) {} in Section() 565 sys::Memory::ProtectionFlags getProtectionFlags() const { return Prot; } in getProtectionFlags() 615 sys::Memory::ProtectionFlags Prot; variable 816 Section &createSection(StringRef Name, sys::Memory::ProtectionFlags Prot) { in createSection() argument 817 std::unique_ptr<Section> Sec(new Section(Name, Prot, Sections.size())); in createSection()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/JITLink/ |
D | JITLink.h | 536 Section(StringRef Name, sys::Memory::ProtectionFlags Prot, in Section() argument 538 : Name(Name), Prot(Prot), SecOrdinal(SecOrdinal) {} in Section() 556 sys::Memory::ProtectionFlags getProtectionFlags() const { return Prot; } in getProtectionFlags() 606 sys::Memory::ProtectionFlags Prot; variable 796 Section &createSection(StringRef Name, sys::Memory::ProtectionFlags Prot) { in createSection() argument 797 std::unique_ptr<Section> Sec(new Section(Name, Prot, Sections.size())); in createSection()
|
/external/llvm-project/clang/include/clang/Index/ |
D | USRGeneration.h | 57 void generateUSRForObjCProtocol(StringRef Prot, raw_ostream &OS,
|
/external/llvm-project/llvm/tools/llvm-readobj/ |
D | MachODumper.cpp | 317 std::string Prot; in getMask() local 318 Prot = ""; in getMask() 319 Prot += (prot & MachO::VM_PROT_READ) ? "r" : "-"; in getMask() 320 Prot += (prot & MachO::VM_PROT_WRITE) ? "w" : "-"; in getMask() 321 Prot += (prot & MachO::VM_PROT_EXECUTE) ? "x" : "-"; in getMask() 322 return Prot; in getMask()
|
/external/clang/lib/Index/ |
D | USRGeneration.cpp | 716 for (auto *Prot : OIT->getProtocols()) in VisitType() local 717 VisitObjCProtocolDecl(Prot); in VisitType() 871 void clang::index::generateUSRForObjCProtocol(StringRef Prot, raw_ostream &OS) { in generateUSRForObjCProtocol() argument 872 OS << "objc(pl)" << Prot; in generateUSRForObjCProtocol()
|