Home
last modified time | relevance | path

Searched refs:Ctxt (Results 1 – 25 of 68) sorted by relevance

123

/external/clang/unittests/AST/
DASTVectorTest.cpp32 Ctxt(LangOpts, SourceMgr, Idents, Sels, Builtins) {} in ASTVectorTest()
43 ASTContext Ctxt; member in clang::ast::__anon5a53362a0111::ASTVectorTest
49 V.insert(Ctxt, V.begin(), 0); in TEST_F()
56 auto I = V.insert(Ctxt, V.begin(), 5, 1.0); in TEST_F()
60 I = V.insert(Ctxt, V.begin() + 1, 5, 1.0); in TEST_F()
64 I = V.insert(Ctxt, V.end(), 5, 1.0); in TEST_F()
74 auto I = V.insert(Ctxt, V.begin(), IntVec.begin(), IntVec.begin()); in TEST_F()
79 I = V.insert(Ctxt, V.begin(), IntVec.begin(), IntVec.end()); in TEST_F()
83 I = V.insert(Ctxt, V.end(), IntVec.begin(), IntVec.begin()); in TEST_F()
87 I = V.insert(Ctxt, V.end(), IntVec.begin(), IntVec.end()); in TEST_F()
/external/llvm-project/clang/unittests/AST/
DASTVectorTest.cpp32 Ctxt(LangOpts, SourceMgr, Idents, Sels, Builtins) {} in ASTVectorTest()
43 ASTContext Ctxt; member in clang::ast::__anon3983a0380111::ASTVectorTest
49 V.insert(Ctxt, V.begin(), 0); in TEST_F()
56 auto I = V.insert(Ctxt, V.begin(), 5, 1.0); in TEST_F()
60 I = V.insert(Ctxt, V.begin() + 1, 5, 1.0); in TEST_F()
64 I = V.insert(Ctxt, V.end(), 5, 1.0); in TEST_F()
74 auto I = V.insert(Ctxt, V.begin(), IntVec.begin(), IntVec.begin()); in TEST_F()
79 I = V.insert(Ctxt, V.begin(), IntVec.begin(), IntVec.end()); in TEST_F()
83 I = V.insert(Ctxt, V.end(), IntVec.begin(), IntVec.begin()); in TEST_F()
87 I = V.insert(Ctxt, V.end(), IntVec.begin(), IntVec.end()); in TEST_F()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DMakeMemberFunctionConstCheck.cpp39 const ASTContext &Ctxt = Finder->getASTContext(); in AST_MATCHER() local
43 Ctxt.getSourceManager(), Ctxt.getLangOpts()) in AST_MATCHER()
55 ASTContext &Ctxt; member in clang::tidy::readability::FindUsageOfThis
58 FindUsageOfThis(ASTContext &Ctxt) : Ctxt(Ctxt) {} in FindUsageOfThis() argument
62 DynTypedNodeList Parents = Ctxt.getParents(*E); in getParent()
126 if (Member->isBoundMemberFunction(Ctxt)) { in VisitUser()
DConvertMemberFunctionsToStatic.cpp45 const ASTContext &Ctxt = Finder->getASTContext(); in AST_MATCHER() local
49 Ctxt.getSourceManager(), Ctxt.getLangOpts()) in AST_MATCHER()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DWARFLinker/
DDWARFLinkerCompileUnit.cpp76 DeclContext *Ctxt, PatchLocation Attr) { in noteForwardReference() argument
77 ForwardDIEReferences.emplace_back(Die, RefUnit, Ctxt, Attr); in noteForwardReference()
85 DeclContext *Ctxt; in fixupForwardReferences() local
86 std::tie(RefDie, RefUnit, Ctxt, Attr) = Ref; in fixupForwardReferences()
87 if (Ctxt && Ctxt->getCanonicalDIEOffset()) in fixupForwardReferences()
88 Attr.set(Ctxt->getCanonicalDIEOffset()); in fixupForwardReferences()
/external/rust/crates/serde_derive/src/internals/
Dcheck.rs3 use internals::{ungroup, Ctxt, Derive};
8 pub fn check(cx: &Ctxt, cont: &mut Container, derive: Derive) { in check() argument
21 fn check_getter(cx: &Ctxt, cont: &Container) { in check_getter() argument
43 fn check_flatten(cx: &Ctxt, cont: &Container) { in check_flatten() argument
60 fn check_flatten_field(cx: &Ctxt, style: Style, field: &Field) { in check_flatten_field() argument
87 fn check_identifier(cx: &Ctxt, cont: &Container) { in check_identifier() argument
171 fn check_variant_skip_attrs(cx: &Ctxt, cont: &Container) { in check_variant_skip_attrs() argument
248 fn check_internal_tag_field_name_conflict(cx: &Ctxt, cont: &Container) { in check_internal_tag_field_name_conflict() argument
295 fn check_adjacent_tag_conflict(cx: &Ctxt, cont: &Container) { in check_adjacent_tag_conflict() argument
313 fn check_transparent(cx: &Ctxt, cont: &mut Container, derive: Derive) { in check_transparent() argument
[all …]
Dctxt.rs13 pub struct Ctxt { struct
19 impl Ctxt { implementation
24 Ctxt { in new()
56 impl Drop for Ctxt { implementation
Dast.rs5 use internals::{Ctxt, Derive};
64 cx: &Ctxt, in from_ast() argument
139 cx: &Ctxt, in enum_from_ast() argument
161 cx: &Ctxt, in struct_from_ast() argument
184 cx: &Ctxt, in fields_from_ast() argument
Dattr.rs3 use internals::{ungroup, Ctxt};
26 cx: &'c Ctxt,
33 fn none(cx: &'c Ctxt, name: Symbol) -> Self { in none() argument
81 fn none(cx: &'c Ctxt, name: Symbol) -> Self { in none() argument
95 cx: &'c Ctxt,
102 fn none(cx: &'c Ctxt, name: Symbol) -> Self { in none() argument
290 pub fn from_ast(cx: &Ctxt, item: &syn::DeriveInput) -> Self { in from_ast() argument
707 cx: &Ctxt, in decide_tag() argument
789 cx: &Ctxt, in decide_identifier() argument
859 pub fn from_ast(cx: &Ctxt, variant: &syn::Variant) -> Self { in from_ast() argument
[all …]
/external/llvm-project/llvm/lib/DWARFLinker/
DDWARFLinkerCompileUnit.cpp84 DeclContext *Ctxt, PatchLocation Attr) { in noteForwardReference() argument
85 ForwardDIEReferences.emplace_back(Die, RefUnit, Ctxt, Attr); in noteForwardReference()
93 DeclContext *Ctxt; in fixupForwardReferences() local
94 std::tie(RefDie, RefUnit, Ctxt, Attr) = Ref; in fixupForwardReferences()
95 if (Ctxt && Ctxt->getCanonicalDIEOffset()) in fixupForwardReferences()
96 Attr.set(Ctxt->getCanonicalDIEOffset()); in fixupForwardReferences()
DDWARFLinker.cpp292 Info.Prune &= Info.Ctxt && Info.Ctxt->getCanonicalDIEOffset(); in updatePruning()
294 Info.Prune &= Info.Ctxt && Info.Ctxt->getCanonicalDIEOffset() > 0 && in updatePruning()
295 Info.Ctxt->getCanonicalDIEOffset() <= ModulesEndOffset; in updatePruning()
371 Info.Ctxt = in analyzeContextInfo()
373 if (Info.Ctxt) in analyzeContextInfo()
374 Info.Ctxt->setDefinedInClangModule(InClangModule); in analyzeContextInfo()
376 Info.Ctxt = Current.Context = nullptr; in analyzeContextInfo()
689 bool IsModuleRef = Info.Ctxt && Info.Ctxt->getCanonicalDIEOffset() && in lookForRefDIEsToKeep()
690 Info.Ctxt->isDefinedInClangModule(); in lookForRefDIEsToKeep()
702 Info.Ctxt && in lookForRefDIEsToKeep()
[all …]
/external/llvm/tools/dsymutil/
DDebugMap.cpp110 YAMLContext Ctxt; in parseYAMLDebugMap() local
112 Ctxt.PrependPath = PrependPath; in parseYAMLDebugMap()
115 yaml::Input yin((*ErrOrFile)->getBuffer(), &Ctxt); in parseYAMLDebugMap()
186 if (void *Ctxt = io.getContext()) in mapping() local
187 reinterpret_cast<YAMLContext *>(Ctxt)->BinaryTriple = DM.BinaryTriple; in mapping()
197 if (void *Ctxt = io.getContext()) in mapping() local
198 reinterpret_cast<YAMLContext *>(Ctxt)->BinaryTriple = DM->BinaryTriple; in mapping()
214 const auto &Ctxt = *reinterpret_cast<YAMLContext *>(IO.getContext()); in denormalize() local
215 SmallString<80> Path(Ctxt.PrependPath); in denormalize()
223 } else if (auto ErrOrObjectFile = BinHolder.Get(Ctxt.BinaryTriple)) { in denormalize()
DDwarfLinker.cpp142 static unsigned getHashValue(const DeclContext *Ctxt) { in getHashValue()
143 return Ctxt->QualifiedNameHash; in getHashValue()
190 DeclContext *Ctxt; ///< ODR Declaration context. member
276 DeclContext *Ctxt, PatchLocation Attr);
412 DeclContext *Ctxt, PatchLocation Attr) { in noteForwardReference() argument
413 ForwardDIEReferences.emplace_back(Die, RefUnit, Ctxt, Attr); in noteForwardReference()
422 DeclContext *Ctxt; in fixupForwardReferences() local
423 std::tie(RefDie, RefUnit, Ctxt, Attr) = Ref; in fixupForwardReferences()
424 if (Ctxt && Ctxt->getCanonicalDIEOffset()) in fixupForwardReferences()
425 Attr.set(Ctxt->getCanonicalDIEOffset()); in fixupForwardReferences()
[all …]
/external/llvm-project/llvm/tools/dsymutil/
DDebugMap.cpp133 YAMLContext Ctxt; in parseYAMLDebugMap() local
135 Ctxt.PrependPath = PrependPath; in parseYAMLDebugMap()
138 yaml::Input yin((*ErrOrFile)->getBuffer(), &Ctxt); in parseYAMLDebugMap()
209 if (void *Ctxt = io.getContext()) in mapping() local
210 reinterpret_cast<YAMLContext *>(Ctxt)->BinaryTriple = DM.BinaryTriple; in mapping()
220 if (void *Ctxt = io.getContext()) in mapping() local
221 reinterpret_cast<YAMLContext *>(Ctxt)->BinaryTriple = DM->BinaryTriple; in mapping()
238 const auto &Ctxt = *reinterpret_cast<YAMLContext *>(IO.getContext()); in denormalize() local
239 SmallString<80> Path(Ctxt.PrependPath); in denormalize()
250 auto Object = ObjectEntry->getObject(Ctxt.BinaryTriple); in denormalize()
/external/llvm/unittests/MC/
DDwarfLineTables.cpp49 Context Ctxt; variable
56 MCDwarfLineAddr::Encode(Ctxt, Params, LineDelta, AddrDelta, EncodingOS); in verifyEncoding()
63 if (!Ctxt) in TEST()
113 if (!Ctxt) in TEST()
167 if (!Ctxt) in TEST()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DSuspiciousSemicolonCheck.cpp42 ASTContext &Ctxt = *Result.Context; in check() local
43 auto Token = utils::lexer::getPreviousToken(LocStart, Ctxt.getSourceManager(), in check()
44 Ctxt.getLangOpts()); in check()
58 Lexer Lexer(SM.getLocForStartOfFile(FID), Ctxt.getLangOpts(), in check()
/external/llvm-project/llvm/tools/llvm-reduce/
Dllvm-reduce.cpp67 LLVMContext &Ctxt) { in parseInputFile() argument
69 std::unique_ptr<Module> Result = parseIRFile(Filename, Err, Ctxt); in parseInputFile()
/external/llvm-project/llvm/unittests/MC/
DDwarfLineTables.cpp51 static Context Ctxt; in getContext() local
52 return Ctxt; in getContext()
/external/llvm-project/llvm/include/llvm/DWARFLinker/
DDWARFLinkerDeclContext.h153 static unsigned getHashValue(const DeclContext *Ctxt) { in getHashValue()
154 return Ctxt->QualifiedNameHash; in getHashValue()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DWARFLinker/
DDWARFLinkerDeclContext.h152 static unsigned getHashValue(const DeclContext *Ctxt) { in getHashValue()
153 return Ctxt->QualifiedNameHash; in getHashValue()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DYAMLTraits.cpp39 IO::IO(void *Context) : Ctxt(Context) {} in IO()
44 return Ctxt; in getContext()
48 Ctxt = Context; in setContext()
55 Input::Input(StringRef InputContent, void *Ctxt, in Input() argument
57 : IO(Ctxt), Strm(new Stream(InputContent, SrcMgr, false, &EC)) { in Input()
63 Input::Input(MemoryBufferRef Input, void *Ctxt, in Input() argument
65 : IO(Ctxt), Strm(new Stream(Input, SrcMgr, false, &EC)) { in Input()
/external/llvm-project/llvm/lib/Support/
DYAMLTraits.cpp39 IO::IO(void *Context) : Ctxt(Context) {} in IO()
44 return Ctxt; in getContext()
48 Ctxt = Context; in setContext()
59 Input::Input(StringRef InputContent, void *Ctxt, in Input() argument
61 : IO(Ctxt), Strm(new Stream(InputContent, SrcMgr, false, &EC)) { in Input()
67 Input::Input(MemoryBufferRef Input, void *Ctxt, in Input() argument
69 : IO(Ctxt), Strm(new Stream(Input, SrcMgr, false, &EC)) { in Input()
/external/OpenCSD/decoder/tests/snapshots/a57_single_step/pkt_proc_logs/
Dtrc_pkt_lister_a57ss-1.ppl21 Idx:17; ID:10; [0x81 0xf2 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ]; I_CTXT : Context Packet.; Ctxt
29 Idx:49; ID:10; [0x81 0xf2 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ]; I_CTXT : Context Packet.; Ctxt
Dtrc_pkt_lister_a57ss-2.ppl21 Idx:17; ID:10; [0x81 0xf2 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ]; I_CTXT : Context Packet.; Ctxt
29 Idx:49; ID:10; [0x81 0xf2 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ]; I_CTXT : Context Packet.; Ctxt
/external/llvm/tools/bugpoint/
DBugDriver.cpp87 LLVMContext &Ctxt) { in parseInputFile() argument
89 std::unique_ptr<Module> Result = parseIRFile(Filename, Err, Ctxt); in parseInputFile()

123