Searched refs:getLocation (Results 1 - 25 of 295) sorted by relevance

1234567891011>>

/external/clang/unittests/Lex/
H A DPreprocessingRecordTest.cpp107 SourceRange(toks[0].getLocation(), toks[1].getLocation())));
109 SourceRange(toks[0].getLocation(), toks[2].getLocation())));
111 SourceRange(toks[3].getLocation(), toks[4].getLocation())));
113 SourceRange(toks[1].getLocation(), toks[5].getLocation())));
115 SourceRange(toks[2].getLocation(), toks[6].getLocation())));
[all...]
H A DLexerTest.cpp103 SourceLocation lsqrLoc = toks[0].getLocation();
104 SourceLocation idLoc = toks[1].getLocation();
105 SourceLocation rsqrLoc = toks[2].getLocation();
136 SourceLocation macroLsqrLoc = toks[3].getLocation();
137 SourceLocation macroIdLoc = toks[4].getLocation();
138 SourceLocation macroRsqrLoc = toks[5].getLocation();
167 SourceLocation idLoc1 = toks[6].getLocation();
168 SourceLocation idLoc2 = toks[7].getLocation();
169 SourceLocation idLoc3 = toks[8].getLocation();
170 SourceLocation idLoc4 = toks[9].getLocation();
[all...]
/external/clang/tools/libclang/
H A DCXStoredDiagnostic.cpp43 CXSourceLocation CXStoredDiagnostic::getLocation() const { function in class:CXStoredDiagnostic
44 if (Diag.getLocation().isInvalid())
47 return translateSourceLocation(Diag.getLocation().getManager(),
48 LangOpts, Diag.getLocation());
83 if (Diag.getLocation().isInvalid())
90 assert(Diag.getLocation().isValid());
91 return translateSourceRange(Diag.getLocation().getManager(),
97 if (Diag.getLocation().isInvalid())
109 *ReplacementRange = translateSourceRange(Diag.getLocation().getManager(),
H A DIndexBody.cpp43 IndexCtx.handleReference(E->getDecl(), E->getLocation(),
66 IndexCtx.handleReference(E->getDecl(), E->getLocation(),
85 IndexCtx.handleReference(E->getExplicitProperty(), E->getLocation(),
121 IndexCtx.handleReference(E->getConstructor(), E->getLocation(),
143 IndexCtx.handleReference(C.getCapturedVar(), C.getLocation(),
/external/clang/unittests/Tooling/
H A DRewriterTest.cpp18 Context.Rewrite.ReplaceText(Context.getLocation(ID, 2, 1), 5, "replaced");
27 Context.Rewrite.ReplaceText(Context.getLocation(FailingID, 1, 2), 1, "other");
30 Context.Rewrite.ReplaceText(Context.getLocation(WorkingID, 2, 1), 5,
H A DRefactoringTest.cpp46 SourceLocation Location = Context.getLocation(ID, 1, 1);
54 SourceLocation Location = Context.getLocation(ID, 1, 1);
62 SourceLocation Location = Context.getLocation(ID, 1, 1);
71 SourceLocation Location = Context.getLocation(ID, 2, 3);
80 SourceLocation Location1 = Context.getLocation(ID, 2, 3);
87 SourceLocation Location2 = Context.getLocation(ID, 4, 4);
115 Replaces.insert(Replacement(Context.Sources, Context.getLocation(ID, 2, 1),
117 Replaces.insert(Replacement(Context.Sources, Context.getLocation(ID, 3, 1),
127 Replaces.insert(Replacement(Context.Sources, Context.getLocation(ID, 2, 1),
129 Replaces.insert(Replacement(Context.Sources, Context.getLocation(I
[all...]
H A DRecursiveASTVisitorTest.cpp25 Match(Reference->getNameInfo().getAsString(), Reference->getLocation());
56 Match(NameWithTemplateArgs, Decl->getLocation());
90 Match(Stream.str(), ArgLoc.getLocation());
101 Match("true", BE->getLocation());
103 Match("false", BE->getLocation());
370 Match(Class->getName(), Ctor->getLocation());
408 Match(Class->getName(), Expr->getLocation());
/external/clang/lib/Parse/
H A DParsePragma.cpp63 SourceLocation VisLoc = VisTok.getLocation();
76 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_lparen)
83 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_identifier)
89 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_rparen)
94 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_identifier)
100 PP.Diag(Tok.getLocation(), diag::warn_pragma_extra_tokens_at_eol)
122 SourceLocation PackLoc = PackTok.getLocation();
127 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_lparen) << "pack";
134 SourceLocation LParenLoc = Tok.getLocation();
159 PP.Diag(Tok.getLocation(), dia
[all...]
H A DParseCXXInlineMethods.cpp219 Eof.setLocation(Tok.getLocation());
305 SourceLocation origLoc = Tok.getLocation();
336 Diag(Tok.getLocation(), diag::err_default_arg_unparsed);
342 Tok.getLocation()) &&
346 while (Tok.getLocation() != origLoc && Tok.isNot(tok::eof))
385 SourceLocation origLoc = Tok.getLocation();
406 Tok.getLocation()) &&
410 while (Tok.getLocation() != origLoc && Tok.isNot(tok::eof))
421 while (Tok.getLocation() != origLoc && Tok.isNot(tok::eof))
430 if (Tok.getLocation() !
[all...]
/external/clang/include/clang/Sema/
H A DWeak.h35 inline SourceLocation getLocation() const { return loc; } function in class:clang::WeakInfo
39 return alias == RHS.getAlias() && loc == RHS.getLocation();
/external/clang/lib/AST/
H A DCommentParser.cpp55 Pos.BufferStartLoc = Tok.getLocation();
268 Arg.getLocation(),
274 Arg.getLocation(),
284 Arg.getLocation(),
298 Args[ParsedArgs] = Argument(SourceRange(Arg.getLocation(),
318 PC = S.actOnParamCommandStart(Tok.getLocation(),
323 TPC = S.actOnTParamCommandStart(Tok.getLocation(),
327 BC = S.actOnBlockCommandStart(Tok.getLocation(),
395 IC = S.actOnInlineCommand(CommandTok.getLocation(),
398 ArgTok.getLocation(),
[all...]
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
H A DDataEntryUrnBox.java43 public String getLocation() { method in class:DataEntryUrnBox
67 return "DataEntryUrlBox[name=" + getName() + ";location=" + getLocation() + "]";
/external/clang/include/clang/AST/
H A DCommentBriefParser.h39 SourceLocation Loc = Tok.getLocation();
/external/clang/lib/Frontend/
H A DTextDiagnosticBuffer.cpp33 Notes.push_back(std::make_pair(Info.getLocation(), Buf.str()));
36 Warnings.push_back(std::make_pair(Info.getLocation(), Buf.str()));
40 Errors.push_back(std::make_pair(Info.getLocation(), Buf.str()));
/external/clang/lib/Lex/
H A DTokenLexer.cpp36 ExpandLocStart = Tok.getLocation();
50 assert(Tokens[0].getLocation().isValid());
51 assert((Tokens[0].getLocation().isFileID() || Tokens[0].is(tok::comment)) &&
59 MacroDefStart = SM.getExpansionLoc(Tokens[0].getLocation());
148 getExpansionLocForMacroDefLoc(CurTok.getLocation());
150 getExpansionLocForMacroDefLoc(Tokens[i+1].getLocation());
237 updateLocForMacroArgTokens(CurTok.getLocation(),
271 PP.Diag(ResultToks.back().getLocation(), diag::ext_paste_comma);
287 updateLocForMacroArgTokens(CurTok.getLocation(),
337 PP.Diag(ResultToks.back().getLocation(), dia
[all...]
H A DPreprocessorLexer.cpp48 PP->Diag(FilenameTok.getLocation(), diag::err_pp_expects_filename);
H A DPragma.cpp177 SourceLocation PragmaLoc = Tok.getLocation();
220 SourceLocation RParenLoc = Tok.getLocation();
255 SourceLocation TokLoc = TmpTok.getLocation();
275 SourceLocation PragmaLoc = Tok.getLocation();
399 PresumedLoc PLoc = SourceMgr.getPresumedLoc(SysHeaderTok.getLocation());
407 Callbacks->FileChanged(SysHeaderTok.getLocation(),
413 SourceMgr.AddLineNote(SysHeaderTok.getLocation(), PLoc.getLine(), FilenameID,
435 GetIncludeFilenameSpelling(FilenameTok.getLocation(), Filename);
480 SourceLocation CommentLoc = Tok.getLocation();
499 Diag(Tok.getLocation(), dia
[all...]
H A DPPMacroExpansion.cpp206 Identifier.getLocation());
218 SourceLocation ExpansionEnd = Identifier.getLocation();
248 SourceLocation ExpandLoc = Identifier.getLocation();
323 SourceMgr.createExpansionLoc(Identifier.getLocation(), ExpandLoc,
382 SourceLocation ArgStartLoc = Tok.getLocation();
401 MacroEnd = Tok.getLocation();
452 ArgStartLoc = ArgTokens[ArgTokenStart].getLocation();
471 EOFTok.setLocation(Tok.getLocation());
519 SourceLocation EndLoc = Tok.getLocation();
604 DATELoc = TmpTok.getLocation();
[all...]
/external/clang/lib/Rewrite/Frontend/
H A DRewriteMacros.cpp115 SourceLocation PPLoc = SM.getExpansionLoc(PPTok.getLocation());
134 RB.InsertTextAfter(SM.getFileOffset(RawTok.getLocation()), "//");
140 RB.InsertTextAfter(SM.getFileOffset(RawTok.getLocation()), "//");
155 unsigned RawOffs = SM.getFileOffset(RawTok.getLocation());
177 RawOffs = SM.getFileOffset(RawTok.getLocation());
200 PPLoc = SM.getExpansionLoc(PPTok.getLocation());
/external/jmonkeyengine/engine/src/core/com/jme3/shader/
H A DShaderVariable.java71 public int getLocation(){ method in class:ShaderVariable
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
H A DHttpRetryExceptionTest.java41 assertEquals("getLocation", ref.getLocation(), tst.getLocation());
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/queue/
H A DTransparentComparator.java63 Vector3f camPosition = cam.getLocation();
88 return spat.getWorldBound().distanceToEdge(cam.getLocation());
/external/clang/lib/Sema/
H A DSemaObjCProperty.cpp98 S.Diag(property->getLocation(),
236 Loc = Tok.getLocation();
281 Diag(prevDecl->getLocation(), diag::note_property_declare);
307 Diag(CDecl->getLocation(), diag::err_continuation_class);
351 Diag(PIDecl->getLocation(), diag::note_property_declare);
365 Diag(PIDecl->getLocation(), diag::note_property_declare);
411 Diag(PIDecl->getLocation(), diag::note_property_declare);
463 Diag(PDecl->getLocation(), diag::err_duplicate_property);
464 Diag(prevDecl->getLocation(), diag::note_property_declare);
605 S.Diag(property->getLocation(), dia
[all...]
H A DSemaDecl.cpp249 Diag(FirstDecl->getLocation(), diag::note_previous_decl)
281 (*Res)->getLocation().getRawEncoding() <
282 IIDecl->getLocation().getRawEncoding())
442 Diag(Result->getLocation(), diag::note_previous_decl)
466 Diag(TplDecl->getLocation(), diag::note_template_decl_here)
559 SemaRef.Diag((*I)->getLocation(), diag::note_decl_hiding_tag_type)
597 BuildCXXNestedNameSpecifier(S, *Name, NameLoc, NextToken.getLocation(),
706 Diag(FirstDecl->getLocation(), diag::note_previous_decl)
1334 Diag(D->getLocation(), DiagID) << D->getDeclName() << Hint;
1342 S.Diag(L->getLocation(), dia
[all...]
/external/clang/lib/StaticAnalyzer/Checkers/
H A DAnalyzerStatsChecker.cpp50 const LocationContext *LC = GraphRoot->getLocation().getLocationContext();
57 const ProgramPoint &P = I->getLocation();
93 PresumedLoc Loc = SM.getPresumedLoc(D->getLocation());

Completed in 305 milliseconds

1234567891011>>