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.h69 SourcePos sourcePos;
73 AccessorCookie(const SourcePos&p, const String8& a, const String8& v) in AccessorCookie()
135 status_t addPublic(const SourcePos& pos,
141 status_t addEntry(const SourcePos& pos,
152 status_t startBag(const SourcePos& pos,
162 status_t addBag(const SourcePos& pos,
199 void canAddEntry(const SourcePos& pos,
261 void addLocalization(const String16& name, const String8& locale, const SourcePos& src);
294 void setCurrentXmlPos(const SourcePos& pos) { mCurrentXmlPos = pos; } in setCurrentXmlPos()
300 Item(const SourcePos& pos,
[all …]
DCommand.cpp886 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
894 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
905 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
911 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
921 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
927 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
938 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
944 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1207 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
1215 SourcePos(manifestFile, tree.getLineNumber()).error( in doDump()
[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.cpp293 const SourcePos sourcePos;
450 SourcePos(in->getPrintableSource(), block.getLineNumber()) in compileAttribute()
470 … err = outTable->addBag(SourcePos(in->getPrintableSource(), block.getLineNumber()), in compileAttribute()
479 SourcePos(in->getPrintableSource(), block.getLineNumber()) in compileAttribute()
483 SourcePos(in->getPrintableSource(), block.getLineNumber()) in compileAttribute()
494 SourcePos(in->getPrintableSource(), block.getLineNumber()) in compileAttribute()
504 SourcePos(in->getPrintableSource(), block.getLineNumber()) in compileAttribute()
509 SourcePos(in->getPrintableSource(), block.getLineNumber()) in compileAttribute()
540 err = outTable->addBag(SourcePos(in->getPrintableSource(), block.getLineNumber()), in compileAttribute()
554 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.cpp192 SourcePos(String8(fileName), inXml->getLineNumber()).error( in hasSubstitutionErrors()
264 SourcePos(String8(fileName), inXml->getLineNumber()).error( in parseStyledString()
274 SourcePos(String8(fileName), inXml->getLineNumber()).error( in parseStyledString()
281 SourcePos(String8(fileName), inXml->getLineNumber()).error("%s (in %s)\n", in parseStyledString()
316 SourcePos(String8(fileName), inXml->getLineNumber()).error("%s (in %s)\n", in parseStyledString()
325 SourcePos(String8(fileName), inXml->getLineNumber()).error( in parseStyledString()
342 SourcePos(String8(fileName), inXml->getLineNumber()).error( in parseStyledString()
377 SourcePos(String8(fileName), inXml->getLineNumber()).error( in parseStyledString()
385 SourcePos(String8(fileName), inXml->getLineNumber()).error( in parseStyledString()
588 SourcePos(file->getSourceFile(), -1).error("Unable to open file for read: %s", in parse()
[all …]
DAaptAssets.cpp548 SourcePos(file->getSourceFile(), -1) in addFile()
751 SourcePos(mFiles.valueAt(i)->getPrintableSource(), -1).error( in validate()
760 SourcePos(mFiles.valueAt(i)->getPrintableSource(), -1).error( in validate()
773 SourcePos(mFiles.valueAt(i)->getPrintableSource(), -1).error( in validate()
783 SourcePos(mDirs.valueAt(i)->getPrintableSource(), -1).error( in validate()
792 SourcePos(mDirs.valueAt(i)->getPrintableSource(), -1).error( in validate()
866 SourcePos pos; in applyJavaSymbols()
1499 SourcePos pos; in applyJavaSymbols()
DAndroid.bp94 "SourcePos.cpp",
DResource.cpp325 status_t result = table->addEntry(SourcePos(it.getPath(), 0), in makeFileResources()
851 table->addEntry(SourcePos(), roundIconPackage, roundIconType, roundIconName, aliasValue, in massageRoundIconSupport()
1851 SourcePos().error("%s has no definition for density split '%s'", in buildResources()
1864SourcePos().error("and %d more ...", (int) (defs.size() - defCount)); in buildResources()
1981 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()