/frameworks/base/tools/aapt/ |
D | SourcePos.cpp | 94 SourcePos::SourcePos(const String8& f, int l) in SourcePos() function in SourcePos 99 SourcePos::SourcePos(const SourcePos& that) in SourcePos() function in SourcePos 104 SourcePos::SourcePos() in SourcePos() function in SourcePos 109 SourcePos::~SourcePos() in ~SourcePos() 114 SourcePos::error(const char* fmt, ...) const in error() 124 SourcePos::warning(const char* fmt, ...) const in warning() 134 SourcePos::printf(const char* fmt, ...) const in printf() 144 SourcePos::operator<(const SourcePos& rhs) const in operator <() 150 SourcePos::hasErrors() in hasErrors() 156 SourcePos::printErrors(FILE* to) in printErrors()
|
D | SourcePos.h | 9 class SourcePos 15 SourcePos(const String8& f, int l); 16 SourcePos(const SourcePos& that); 17 SourcePos(); 18 ~SourcePos(); 24 bool operator<(const SourcePos& rhs) const;
|
D | ResourceTable.h | 68 SourcePos sourcePos; 72 AccessorCookie(const SourcePos&p, const String8& a, const String8& v) in AccessorCookie() 132 status_t addPublic(const SourcePos& pos, 138 status_t addEntry(const SourcePos& pos, 149 status_t startBag(const SourcePos& pos, 159 status_t addBag(const SourcePos& pos, 196 void canAddEntry(const SourcePos& pos, 249 void addLocalization(const String16& name, const String8& locale, const SourcePos& src); 282 void setCurrentXmlPos(const SourcePos& pos) { mCurrentXmlPos = pos; } in setCurrentXmlPos() 288 Item(const SourcePos& pos, [all …]
|
D | Symbol.h | 47 inline SymbolDefinition(const Symbol& s, const ConfigDescription& c, const SourcePos& src); 52 SourcePos source; 84 SymbolDefinition::SymbolDefinition(const Symbol& s, const ConfigDescription& c, const SourcePos& sr… in SymbolDefinition()
|
D | ResourceTable.cpp | 280 const SourcePos sourcePos; 455 SourcePos(in->getPrintableSource(), block.getLineNumber()) in compileAttribute() 475 … err = outTable->addBag(SourcePos(in->getPrintableSource(), block.getLineNumber()), in compileAttribute() 484 SourcePos(in->getPrintableSource(), block.getLineNumber()) in compileAttribute() 488 SourcePos(in->getPrintableSource(), block.getLineNumber()) in compileAttribute() 499 SourcePos(in->getPrintableSource(), block.getLineNumber()) in compileAttribute() 509 SourcePos(in->getPrintableSource(), block.getLineNumber()) in compileAttribute() 514 SourcePos(in->getPrintableSource(), block.getLineNumber()) in compileAttribute() 545 err = outTable->addBag(SourcePos(in->getPrintableSource(), block.getLineNumber()), in compileAttribute() 559 SourcePos(in->getPrintableSource(), block.getLineNumber()) in compileAttribute() [all …]
|
D | AaptAssets.h | 340 SourcePos sourcePos; 370 status_t addSymbol(const String8& name, int32_t value, const SourcePos& pos) { in addSymbol() 381 const SourcePos& pos) { in addStringSymbol() 391 status_t makeSymbolPublic(const String8& name, const SourcePos& pos) { in makeSymbolPublic() 400 status_t makeSymbolJavaSymbol(const String8& name, const SourcePos& pos) { in makeSymbolJavaSymbol() 409 void appendComment(const String8& name, const String16& comment, const SourcePos& pos) { in appendComment() 435 sp<AaptSymbols> addNestedSymbol(const String8& name, const SourcePos& pos) { in addNestedSymbol() 462 bool check_valid_symbol_name(const String8& symbol, const SourcePos& pos, const char* label) { in check_valid_symbol_name() 469 AaptSymbolEntry& edit_symbol(const String8& symbol, const SourcePos* pos) { in edit_symbol()
|
D | XMLNode.cpp | 195 SourcePos(String8(fileName), inXml->getLineNumber()).error( in hasSubstitutionErrors() 267 SourcePos(String8(fileName), inXml->getLineNumber()).error( in parseStyledString() 277 SourcePos(String8(fileName), inXml->getLineNumber()).error( in parseStyledString() 284 SourcePos(String8(fileName), inXml->getLineNumber()).error("%s (in %s)\n", in parseStyledString() 319 SourcePos(String8(fileName), inXml->getLineNumber()).error("%s (in %s)\n", in parseStyledString() 328 SourcePos(String8(fileName), inXml->getLineNumber()).error( in parseStyledString() 345 SourcePos(String8(fileName), inXml->getLineNumber()).error( in parseStyledString() 380 SourcePos(String8(fileName), inXml->getLineNumber()).error( in parseStyledString() 388 SourcePos(String8(fileName), inXml->getLineNumber()).error( in parseStyledString() 591 SourcePos(file->getSourceFile(), -1).error("Unable to open file for read: %s", in parse() [all …]
|
D | Android.mk | 43 SourcePos.cpp \
|
D | AaptAssets.cpp | 544 SourcePos(file->getSourceFile(), -1) in addFile() 747 SourcePos(mFiles.valueAt(i)->getPrintableSource(), -1).error( in validate() 756 SourcePos(mFiles.valueAt(i)->getPrintableSource(), -1).error( in validate() 769 SourcePos(mFiles.valueAt(i)->getPrintableSource(), -1).error( in validate() 779 SourcePos(mDirs.valueAt(i)->getPrintableSource(), -1).error( in validate() 788 SourcePos(mDirs.valueAt(i)->getPrintableSource(), -1).error( in validate() 862 SourcePos pos; in applyJavaSymbols() 1495 SourcePos pos; in applyJavaSymbols()
|
D | Command.cpp | 2362 if (SourcePos::hasErrors()) { in doPackage() 2368 if (SourcePos::hasErrors()) { in doPackage() 2483 if (SourcePos::hasErrors()) { in doPackage() 2484 SourcePos::printErrors(stderr); in doPackage()
|
D | Resource.cpp | 329 table->addEntry(SourcePos(it.getPath(), 0), String16(assets->getPackage()), in makeFileResources() 1673 SourcePos().error("%s has no definition for density split '%s'", in buildResources() 1686 … SourcePos().error("and %d more ...", (int) (defs.size() - defCount)); in buildResources() 1805 SourcePos srcPos(manifestPath, block.getLineNumber()); in buildResources()
|
/frameworks/base/tools/aapt/tests/ |
D | ResourceTable_test.cpp | 27 sp<ResourceTable::ConfigList> configs(new ResourceTable::ConfigList(String16(), SourcePos())); in TEST() 38 configs->addEntry(defaultConfig, new ResourceTable::Entry(String16(), SourcePos())); in TEST() 39 configs->addEntry(landConfig, new ResourceTable::Entry(String16(), SourcePos())); in TEST() 40 configs->addEntry(sw600dpLandConfig, new ResourceTable::Entry(String16(), SourcePos())); in TEST() 47 sp<ResourceTable::ConfigList> configs(new ResourceTable::ConfigList(String16(), SourcePos())); in TEST() 58 configs->addEntry(defaultConfig, new ResourceTable::Entry(String16(), SourcePos())); in TEST() 59 configs->addEntry(v21Config, new ResourceTable::Entry(String16(), SourcePos())); in TEST() 60 configs->addEntry(sw600dpV13Config, new ResourceTable::Entry(String16(), SourcePos())); in TEST()
|