/external/clang/unittests/Lex/ |
PreprocessingRecordTest.cpp | 107 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...] |
LexerTest.cpp | 103 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...] |
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
CSVFormatter.java | 52 if (entry.getLocation().hasAccuracy()) { 53 rowOutput.append(entry.getLocation().getAccuracy()); 56 rowOutput.append(entry.getLocation().getLatitude()); 58 rowOutput.append(entry.getLocation().getLongitude()); 60 if (entry.getLocation().hasAltitude()) { 61 rowOutput.append(entry.getLocation().getAltitude()); 64 if (entry.getLocation().hasSpeed()) { 65 rowOutput.append(entry.getLocation().getSpeed()); 68 if (entry.getLocation().hasBearing()) { 69 rowOutput.append(entry.getLocation().getBearing()) [all...] |
/external/clang/lib/Parse/ |
ParsePragma.cpp | 63 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(), diag::warn_pragma_pack_invalid_action) [all...] |
/external/clang/tools/libclang/ |
CXStoredDiagnostic.cpp | 43 CXSourceLocation CXStoredDiagnostic::getLocation() const { 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(),
|
IndexBody.cpp | 43 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(),
|
IndexingContext.cpp | 74 CXIdxLoc Loc = IdxCtx.getIndexLoc(A->getLocation()); 316 return handleDecl(D, D->getLocation(), getCursor(D), DInfo); 322 return handleDecl(D, D->getLocation(), getCursor(D), DInfo); 328 return handleDecl(D, D->getLocation(), getCursor(D), DInfo); 334 return handleDecl(D, D->getLocation(), getCursor(D), DInfo); 343 return handleDecl(D, D->getLocation(), getCursor(D), DInfo); 349 return handleDecl(D, D->getLocation(), getCursor(D), DInfo); 355 if (shouldSuppressRefs() && markEntityOccurrenceInFile(D, D->getLocation())) 362 return handleObjCContainer(D, D->getLocation(), 363 MakeCursorObjCClassRef(D, D->getLocation(), [all...] |
/sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/internal/repository/ |
LocalSdkParserTest.java | 42 Arrays.toString(parser.parseSdk(sdkman.getLocation(), sdkman, monitor))); 47 Arrays.toString(parser.parseSdk(sdkman.getLocation(), 54 Arrays.toString(parser.parseSdk(sdkman.getLocation(), 61 Arrays.toString(parser.parseSdk(sdkman.getLocation(), 68 Arrays.toString(parser.parseSdk(sdkman.getLocation(), 89 Arrays.toString(parser.parseSdk(sdkman.getLocation(), sdkman, monitor))); 108 Arrays.toString(parser.parseSdk(sdkman.getLocation(), sdkman, monitor))); 124 Arrays.toString(parser.parseSdk(sdkman.getLocation(), sdkman, monitor))); 133 Arrays.toString(parser.parseSdk(sdkman.getLocation(), 144 Arrays.toString(parser.parseSdk(sdkman.getLocation(), [all...] |
/frameworks/base/libs/androidfw/ |
KeyLayoutMap.cpp | 165 ALOGD("Parsing %s: '%s'.", mTokenizer->getLocation().string(), 182 ALOGE("%s: Expected keyword, got '%s'.", mTokenizer->getLocation().string(), 190 mTokenizer->getLocation().string(), 213 ALOGE("%s: Expected key %s number, got '%s'.", mTokenizer->getLocation().string(), 220 ALOGE("%s: Duplicate entry for key %s '%s'.", mTokenizer->getLocation().string(), 229 ALOGE("%s: Expected key code label, got '%s'.", mTokenizer->getLocation().string(), 242 ALOGE("%s: Expected key flag label, got '%s'.", mTokenizer->getLocation().string(), 247 ALOGE("%s: Duplicate key flag '%s'.", mTokenizer->getLocation().string(), 270 ALOGE("%s: Expected axis scan code number, got '%s'.", mTokenizer->getLocation().string(), 275 ALOGE("%s: Duplicate entry for axis scan code '%s'.", mTokenizer->getLocation().string() [all...] |
KeyCharacterMap.cpp | 678 ALOGD("Parsing %s: '%s'.", mTokenizer->getLocation().string(), 701 ALOGE("%s: Expected keyword, got '%s'.", mTokenizer->getLocation().string(), 718 mTokenizer->getLocation().string(), 729 mTokenizer->getLocation().string()); 735 mTokenizer->getLocation().string()); 742 mTokenizer->getLocation().string()); 749 mTokenizer->getLocation().string()); 760 mTokenizer->getLocation().string()); 779 ALOGE("%s: Expected keyboard type label, got '%s'.", mTokenizer->getLocation().string(), 797 ALOGE("%s: Expected keyword after 'map', got '%s'.", mTokenizer->getLocation().string() [all...] |
/external/clang/lib/AST/ |
CommentParser.cpp | 55 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/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
HttpRetryExceptionTest.java | 41 assertEquals("getLocation", ref.getLocation(), tst.getLocation());
|
/external/clang/unittests/Tooling/ |
RewriterTest.cpp | 18 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,
|
RefactoringTest.cpp | 46 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(ID, 2, 1) [all...] |
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
HttpRetryExceptionTest.java | 41 assertEquals("getLocation", ref.getLocation(), tst.getLocation());
|
/libcore/dom/src/test/java/org/w3c/domts/ |
DOMErrorImpl.java | 42 this.location = new DOMLocatorImpl(src.getLocation()); 65 public final DOMLocator getLocation() {
|
/external/clang/lib/Sema/ |
SemaDeclObjC.cpp | 95 SourceLocation loc = method->getLocation(); 141 Diag(NewMethod->getLocation(), 147 Diag(NewMethod->getLocation(), 154 Diag(Overridden->getLocation(), 158 Diag(Overridden->getLocation(), 164 Diag(NewMethod->getLocation(), 166 Diag(Overridden->getLocation(), diag::note_previous_decl) 171 Diag(NewMethod->getLocation(), 173 Diag(Overridden->getLocation(), diag::note_previous_decl) 185 Diag(newDecl->getLocation(), [all...] |
SemaTemplateInstantiateDecl.cpp | 82 AddAlignedAttr(Aligned->getLocation(), New, Result.takeAs<Expr>(), 87 Aligned->getLocation(), 90 AddAlignedAttr(Aligned->getLocation(), New, Result, 120 LabelDecl *Inst = LabelDecl::Create(SemaRef.Context, Owner, D->getLocation(), 152 D->getLocation(), D->getDeclName()); 158 SemaRef.MarkDeclarationsReferencedInType(D->getLocation(), DI->getType()); 165 D->getLocation(), D->getIdentifier(), DI); 168 D->getLocation(), D->getIdentifier(), DI); 184 NamedDecl *InstPrev = SemaRef.FindInstantiatedDecl(D->getLocation(), Prev, 243 = TypeAliasTemplateDecl::Create(SemaRef.Context, Owner, D->getLocation(), [all...] |
SemaObjCProperty.cpp | 98 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(), diag::note_property_declare) [all...] |
SemaDecl.cpp | 249 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) [all...] |
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
DataEntryUrnBox.java | 43 public String getLocation() { 67 return "DataEntryUrlBox[name=" + getName() + ";location=" + getLocation() + "]";
|
/tools/motodev/src/plugins/android/src/com/motorola/studio/android/obfuscate/ |
ObfuscatorManager.java | 80 project.getFile(PROJECT_PROPERTIES_FILENAME).getLocation().toFile();
82 project.getFile(DEFAULT_PROPERTIES_FILENAME).getLocation().toFile();
88 File proguardFile = project.getFile(PROGUARD_FILENAME).getLocation().toFile();
135 project.getFile(PROJECT_PROPERTIES_FILENAME).getLocation().toFile();
137 project.getFile(DEFAULT_PROPERTIES_FILENAME).getLocation().toFile();
253 project.getFile(PROJECT_PROPERTIES_FILENAME).getLocation().toFile();
255 project.getFile(DEFAULT_PROPERTIES_FILENAME).getLocation().toFile();
256 File proguardFile = project.getFile(PROGUARD_FILENAME).getLocation().toFile();
|
/frameworks/native/libs/utils/ |
PropertyMap.cpp | 166 ALOGD("Parsing %s: '%s'.", mTokenizer->getLocation().string(), 175 ALOGE("%s: Expected non-empty property key.", mTokenizer->getLocation().string()); 183 mTokenizer->getLocation().string()); 192 mTokenizer->getLocation().string()); 199 mTokenizer->getLocation().string(), 206 mTokenizer->getLocation().string(), keyToken.string());
|
/sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/ |
FragmentDetector.java | 111 context.report(ISSUE, context.getLocation(classNode), String.format( 119 context.report(ISSUE, context.getLocation(classNode), String.format( 137 context.report(ISSUE, context.getLocation(method, classNode), 146 context.report(ISSUE, context.getLocation(method, classNode), 155 context.report(ISSUE, context.getLocation(classNode), String.format(
|
/external/clang/lib/Frontend/ |
TextDiagnosticBuffer.cpp | 33 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()));
|