Home
last modified time | relevance | path

Searched refs:SourcePos (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/tools/aapt/
DSourcePos.cpp94 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()
DSourcePos.h9 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;
DResourceTable.h68 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 …]
DSymbol.h47 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()
DResourceTable.cpp280 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 …]
DAaptAssets.h340 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()
DXMLNode.cpp195 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 …]
DAndroid.mk43 SourcePos.cpp \
DAaptAssets.cpp544 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()
DCommand.cpp2362 if (SourcePos::hasErrors()) { in doPackage()
2368 if (SourcePos::hasErrors()) { in doPackage()
2483 if (SourcePos::hasErrors()) { in doPackage()
2484 SourcePos::printErrors(stderr); in doPackage()
DResource.cpp329 table->addEntry(SourcePos(it.getPath(), 0), String16(assets->getPackage()), in makeFileResources()
1673 SourcePos().error("%s has no definition for density split '%s'", in buildResources()
1686SourcePos().error("and %d more ...", (int) (defs.size() - defCount)); in buildResources()
1805 SourcePos srcPos(manifestPath, block.getLineNumber()); in buildResources()
/frameworks/base/tools/aapt/tests/
DResourceTable_test.cpp27 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()