Home
last modified time | relevance | path

Searched defs:SourceRange (Results 1 – 25 of 28) sorted by relevance

12

/external/pytorch/torch/csrc/jit/frontend/
Dsource_range.h304 struct TORCH_API SourceRange { struct
305 SourceRange(std::shared_ptr<Source> source_view, size_t start_, size_t end_) in SourceRange() function
312 SourceRange() : source_view_(nullptr), start_(0), end_(0) {} in SourceRange() function
314 SourceRange( in SourceRange() argument
323 const c10::string_view token_text() const { in token_text()
328 const StringCordView text() const { in text()
331 size_t size() const { in size()
334 static const size_t CONTEXT = 3;
344 const std::shared_ptr<Source>& source() const { in source()
347 size_t start() const { in start()
[all …]
/external/rust/android-crates-io/crates/pdl-compiler/src/
Dast.rs40 pub struct SourceRange { struct
49 pub loc: SourceRange, argument
245 impl SourceRange { impl
254 impl fmt::Display for SourceRange { implementation
268 impl fmt::Debug for SourceRange { implementation
274 impl ops::Add<SourceRange> for SourceRange { implementation
277 fn add(self, rhs: SourceRange) -> SourceRange { in add()
328 pub fn loc(&self) -> &SourceRange { in loc()
Danalyzer.rs738 tags_by_id: &mut HashMap<&'a str, SourceRange>, in check_enum_declarations() argument
800 tags_by_id: &mut HashMap<&'a str, SourceRange>, in check_enum_declarations() argument
851 tags_by_id: &mut HashMap<&'a str, SourceRange>, in check_enum_declarations() argument
852 tag_other: &mut Option<SourceRange>, in check_enum_declarations()
Dparser.rs187 fn as_loc(&self, context: &Context) -> ast::SourceRange; in as_loc()
207 fn as_loc(&self, context: &Context) -> ast::SourceRange { in as_loc()
/external/clang/include/clang/ASTMatchers/Dynamic/
DDiagnostics.h37 struct SourceRange { struct
46 SourceRange Range; argument
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/CodeGen/
DMIRYamlMapping.h36 SMRange SourceRange; member
/external/llvm/include/llvm/CodeGen/
DMIRYamlMapping.h30 SMRange SourceRange; member
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMIRYamlMapping.h36 SMRange SourceRange; member
/external/clang/unittests/AST/
DSourceLocationTest.cpp248 TEST(CXXFunctionalCastExpr, SourceRange) { in TEST() argument
258 TEST(CXXConstructExpr, SourceRange) { in TEST() argument
268 TEST(CXXTemporaryObjectExpr, SourceRange) { in TEST() argument
277 TEST(CXXUnresolvedConstructExpr, SourceRange) { in TEST() argument
290 TEST(UsingDecl, SourceRange) { in TEST() argument
299 TEST(UnresolvedUsingValueDecl, SourceRange) { in TEST() argument
/external/clang/include/clang/Basic/
DSourceLocation.h197 SourceRange(): B(SourceLocation()), E(SourceLocation()) {} in SourceRange() function
198 SourceRange(SourceLocation loc) : B(loc), E(loc) {} in SourceRange() function
199 SourceRange(SourceLocation begin, SourceLocation end) : B(begin), E(end) {} in SourceRange() function
/external/clang/lib/AST/
DMicrosoftMangle.cpp1775 SourceRange) { in mangleType() argument
1788 Qualifiers, SourceRange) { in mangleType() argument
2063 SourceRange) { in mangleType() argument
2067 SourceRange) { in mangleType() argument
2103 SourceRange) { in mangleType() argument
2107 SourceRange) { in mangleType() argument
2111 Qualifiers, SourceRange) { in mangleType() argument
2115 Qualifiers, SourceRange) { in mangleType() argument
2310 SourceRange) { in mangleType() argument
2335 Qualifiers, SourceRange) { in mangleType() argument
/external/llvm/lib/CodeGen/MIRParser/
DMIRParser.cpp185 bool MIRParserImpl::error(const SMDiagnostic &Error, SMRange SourceRange) { in error()
670 SMRange SourceRange) { in diagFromMIStringDiag()
686 SMRange SourceRange) { in diagFromBlockStringDiag()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/MIRParser/
DMIRParser.cpp194 bool MIRParserImpl::error(const SMDiagnostic &Error, SMRange SourceRange) { in error()
878 SMRange SourceRange) { in diagFromMIStringDiag()
894 SMRange SourceRange) { in diagFromBlockStringDiag()
/external/clang/lib/Sema/
DSemaStmtAttr.cpp57 SourceRange) { in handleLoopHintAttr() argument
/external/swiftshader/third_party/llvm-16.0/llvm/lib/CodeGen/MIRParser/
DMIRParser.cpp204 bool MIRParserImpl::error(const SMDiagnostic &Error, SMRange SourceRange) { in error()
1005 SMRange SourceRange) { in diagFromMIStringDiag()
1021 SMRange SourceRange) { in diagFromBlockStringDiag()
/external/rust/android-crates-io/crates/pdl-compiler/scripts/pdl/
Dast.py39 class SourceRange: class
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Target/
DTargetMachine.h141 SMRange &SourceRange) const { in parseMachineFunctionInfo()
/external/llvm/include/llvm/Support/
DYAMLParser.h158 SMRange SourceRange; variable
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DYAMLParser.h161 SMRange SourceRange; variable
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DYAMLParser.h176 SMRange SourceRange; variable
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/Support/
DYAMLParser.h182 SMRange SourceRange; variable
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/Target/
DTargetMachine.h165 SMRange &SourceRange) const { in parseMachineFunctionInfo()
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/AMDGPU/
DSIMachineFunctionInfo.cpp658 PerFunctionMIParsingState &PFS, SMDiagnostic &Error, SMRange &SourceRange) { in initializeBaseYamlFields()
/external/pytorch/torch/
D_jit_internal.py1244 loc: Optional[torch._C._jit_tree_views.SourceRange] = None,
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DPathDiagnostic.h126 : SourceRange(R), isPoint(isP) {} in SourceRange() function

12