Home
last modified time | relevance | path

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

12

/external/llvm-project/clang/test/SemaObjC/
Dunguarded-availability-category-protocol-use.m4 @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}}
Dproperty-assign-on-object-type.m4 @protocol Prot @end protocol
11 @property(assign) Class<Prot> classWithProtocolProperty;
/external/llvm-project/llvm/lib/ExecutionEngine/JITLink/
DJITLinkGeneric.cpp234 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 …]
DJITLinkMemoryManager.cpp62 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()
DELF_x86_64.cpp212 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 &section = G->createSection(*Name, Prot); in createNormalizedSections()
357 auto &Section = G->createSection(*Name, Prot); in createNormalizedSections()
DMachOLinkGraphBuilder.cpp97 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/
Dindex-refs.m4 @protocol Prot protocol
12 Protocol *p = @protocol(Prot);
27 // CHECK: [indexEntityReference]: kind: objc-protocol | name: Prot | {{.*}} | loc: 12:27
/external/clang/test/Index/
Dindex-refs.m4 @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/
DJITLinkGeneric.cpp192 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()
DJITLinkMemoryManager.cpp62 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()
DJITLinkGeneric.h152 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()
DMachOLinkGraphBuilder.cpp92 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/
DOrcRPCTPCServer.h70 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/
Dworking_set.cpp163 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/
DMmapWriteExecChecker.cpp52 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/
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()
197 TargetAllocs[orcrpctpc::fromWireProtectionFlags(E.Prot)] = { in allocate()
/external/clang/include/clang/Index/
DUSRGeneration.h50 void generateUSRForObjCProtocol(StringRef Prot, raw_ostream &OS);
/external/scudo/standalone/
Dfuchsia.cpp141 const zx_vm_option_t Prot = in setMemoryPermission() local
145 if (_zx_vmar_protect(Data->Vmar, Prot, Addr, Size) != ZX_OK) in setMemoryPermission()
Dlinux.cpp88 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/
DMachODumper.cpp296 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/
DJITLink.h545 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/
DJITLink.h536 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/
DUSRGeneration.h57 void generateUSRForObjCProtocol(StringRef Prot, raw_ostream &OS,
/external/llvm-project/llvm/tools/llvm-readobj/
DMachODumper.cpp317 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/
DUSRGeneration.cpp716 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()

12