/frameworks/base/tools/localize/ |
SourcePos.h | 8 class SourcePos 14 SourcePos(const string& f, int l); 15 SourcePos(const SourcePos& that); 16 SourcePos(); 17 ~SourcePos(); 26 extern const SourcePos GENERATED_POS;
|
SourcePos.cpp | 1 #include "SourcePos.h" 10 const SourcePos GENERATED_POS("<generated>", -1); 95 // SourcePos 97 SourcePos::SourcePos(const string& f, int l) 102 SourcePos::SourcePos(const SourcePos& that) 107 SourcePos::SourcePos() [all...] |
XMLHandler.h | 4 #include "SourcePos.h" 66 static XMLNode* NewElement(const SourcePos& pos, const string& ns, const string& name, 68 static XMLNode* NewText(const SourcePos& pos, const string& text, int pretty); 84 inline const SourcePos& Position() const { return m_pos; } 113 SourcePos m_pos; 129 SourcePos elementPos; 139 virtual int OnStartElement(const SourcePos& pos, const string& ns, const string& name, 141 virtual int OnEndElement(const SourcePos& pos, const string& ns, const string& name); 142 virtual int OnText(const SourcePos& pos, const string& text); 143 virtual int OnComment(const SourcePos& pos, const string& text) [all...] |
res_check.cpp | 9 static int check_value(const SourcePos& pos, const XMLNode* value); 10 static int scan_for_unguarded_format(const SourcePos& pos, const XMLNode* value, int depth = 0); 63 check_value(const SourcePos& pos, const XMLNode* value) 81 scan_for_unguarded_format(const SourcePos& pos, const string& string) 91 scan_for_unguarded_format(const SourcePos& pos, const XMLNode* value, int depth)
|
Values.h | 19 StringResource(const SourcePos& pos, const string& file, const Configuration& config, 37 SourcePos pos;
|
ValuesFile.cpp | 31 virtual int OnStartElement(const SourcePos& pos, const string& ns, const string& name, 33 virtual int OnText(const SourcePos& pos, const string& text); 34 virtual int OnComment(const SourcePos& pos, const string& text); 56 ArrayHandler::OnStartElement(const SourcePos& pos, const string& ns, const string& name, 75 ArrayHandler::OnText(const SourcePos& pos, const string& text) 81 ArrayHandler::OnComment(const SourcePos& pos, const string& text) 93 virtual int OnStartElement(const SourcePos& pos, const string& ns, const string& name, 95 virtual int OnText(const SourcePos& pos, const string& text); 96 virtual int OnComment(const SourcePos& pos, const string& text); 113 ValuesHandler::OnStartElement(const SourcePos& pos, const string& ns, const string& name [all...] |
XMLHandler.cpp | 208 XMLNode::NewElement(const SourcePos& pos, const string& ns, const string& name, 222 XMLNode::NewText(const SourcePos& pos, const string& text, int pretty) 489 SourcePos pos(data->filename, (int)XML_GetCurrentLineNumber(data->parser)); 522 SourcePos pos(data->filename, (int)XML_GetCurrentLineNumber(data->parser)); 547 SourcePos pos(data->filename, (int)XML_GetCurrentLineNumber(data->parser)); 556 SourcePos pos(data->filename, (int)XML_GetCurrentLineNumber(data->parser)); 566 SourcePos(filename, -1).Error("Unable to open file for read: %s", strerror(errno)); 587 SourcePos(filename, -1).Error("Error reading file: %s\n", strerror(errno)); 592 SourcePos(filename, (int)XML_GetCurrentLineNumber(parser)).Error( 621 SourcePos(filename, (int)XML_GetCurrentLineNumber(parser)).Error [all...] |
Android.mk | 18 SourcePos.cpp \
|
Values.cpp | 7 StringResource::StringResource(const SourcePos& p, const string& f, const Configuration& c,
|
localize.cpp | 1 #include "SourcePos.h" 31 SourcePos(filename, -1).Error("Error reading file."); 198 SourcePos(settingsFile, -1).Error("settings file does not contain setting: %s\n", 393 if (!success || SourcePos::HasErrors()) { 761 if (SourcePos::HasErrors()) { 762 SourcePos::PrintErrors(stderr);
|
XLIFFFile.cpp | 44 SourcePos pos = count == 0
|
/frameworks/base/tools/aapt/ |
SourcePos.h | 9 class SourcePos 15 SourcePos(const String8& f, int l); 16 SourcePos(const SourcePos& that); 17 SourcePos(); 18 ~SourcePos();
|
SourcePos.cpp | 1 #include "SourcePos.h" 98 // SourcePos 100 SourcePos::SourcePos(const String8& f, int l) 105 SourcePos::SourcePos(const SourcePos& that) 110 SourcePos::SourcePos() 115 SourcePos::~SourcePos( [all...] |
ResourceTable.h | 11 #include "SourcePos.h" 60 SourcePos sourcePos; 64 AccessorCookie(const SourcePos&p, const String8& a, const String8& v) 65 :sourcePos(p), 83 status_t addPublic(const SourcePos& pos, 89 status_t addEntry(const SourcePos& pos, 100 status_t startBag(const SourcePos& pos, 110 status_t addBag(const SourcePos& pos, 147 void canAddEntry(const SourcePos& pos [all...] |
ResourceTable.cpp | 245 const SourcePos sourcePos; 256 , sourcePos(in->getPrintableSource(), block.getLineNumber()) 274 sourcePos.error("Attribute \"%s\" has already been defined\n", 282 status_t err = outTable->addBag(sourcePos, myPackage, 324 attr.sourcePos.error("A 'name' attribute is required for <attr>\n"); 336 attr.sourcePos.error("Tag <attr> 'format' attribute value \"%s\" not valid\n", 353 attr.sourcePos.error("Tag <attr> 'min' attribute must be a number, not \"%s\"\n", 359 err = outTable->addBag(attr.sourcePos, myPackage, attr16, attr.ident, 371 attr.sourcePos.error("Tag <attr> 'max' attribute must be a number, not \"%s\"\n" [all...] |
AaptAssets.h | 21 #include "SourcePos.h" 337 : name(o.name), sourcePos(o.sourcePos), isPublic(o.isPublic) 344 sourcePos = o.sourcePos; 356 SourcePos sourcePos; 385 status_t addSymbol(const String8& name, int32_t value, const SourcePos& pos) { 396 const SourcePos& pos) { 406 status_t makeSymbolPublic(const String8& name, const SourcePos& pos) [all...] |
Android.mk | 26 SourcePos.cpp \
|
XMLNode.cpp | 167 SourcePos(String8(fileName), inXml->getLineNumber()).error( 238 SourcePos(String8(fileName), inXml->getLineNumber()).error( 248 SourcePos(String8(fileName), inXml->getLineNumber()).error( 255 SourcePos(String8(fileName), inXml->getLineNumber()).error("%s (in %s)\n", 290 SourcePos(String8(fileName), inXml->getLineNumber()).error("%s (in %s)\n", 299 SourcePos(String8(fileName), inXml->getLineNumber()).error( 316 SourcePos(String8(fileName), inXml->getLineNumber()).error( 349 SourcePos(String8(fileName), inXml->getLineNumber()).error( 357 SourcePos(String8(fileName), inXml->getLineNumber()).error( 547 SourcePos(file->getSourceFile(), -1).error("Unable to open file for read: %s" [all...] |
AaptAssets.cpp | [all...] |
Command.cpp | [all...] |
Resource.cpp | 293 table->addEntry(SourcePos(it.getPath(), 0), String16(assets->getPackage()), [all...] |