/frameworks/base/tools/localize/ |
D | SourcePos.cpp | 10 const SourcePos GENERATED_POS("<generated>", -1); 97 SourcePos::SourcePos(const string& f, int l) in SourcePos() function in SourcePos 102 SourcePos::SourcePos(const SourcePos& that) in SourcePos() function in SourcePos 107 SourcePos::SourcePos() in SourcePos() function in SourcePos 112 SourcePos::~SourcePos() in ~SourcePos() 117 SourcePos::ToString() const in ToString() 130 SourcePos::Error(const char* fmt, ...) const in Error() 152 SourcePos::HasErrors() in HasErrors() 158 SourcePos::PrintErrors(FILE* to) in PrintErrors()
|
D | 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;
|
D | XMLHandler.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; } in Position() 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); 144 virtual int OnDone(const SourcePos& pos); [all …]
|
D | 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, in OnStartElement() 75 ArrayHandler::OnText(const SourcePos& pos, const string& text) in OnText() 81 ArrayHandler::OnComment(const SourcePos& pos, const string& text) in OnComment() 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, in OnStartElement() [all …]
|
D | XMLHandler.cpp | 208 XMLNode::NewElement(const SourcePos& pos, const string& ns, const string& name, in NewElement() 222 XMLNode::NewText(const SourcePos& pos, const string& text, int pretty) in NewText() 489 SourcePos pos(data->filename, (int)XML_GetCurrentLineNumber(data->parser)); in start_element_handler() 522 SourcePos pos(data->filename, (int)XML_GetCurrentLineNumber(data->parser)); in end_element_handler() 547 SourcePos pos(data->filename, (int)XML_GetCurrentLineNumber(data->parser)); in text_handler() 556 SourcePos pos(data->filename, (int)XML_GetCurrentLineNumber(data->parser)); in comment_handler() 566 SourcePos(filename, -1).Error("Unable to open file for read: %s", strerror(errno)); in ParseFile() 587 SourcePos(filename, -1).Error("Error reading file: %s\n", strerror(errno)); in ParseFile() 592 SourcePos(filename, (int)XML_GetCurrentLineNumber(parser)).Error( in ParseFile() 621 SourcePos(filename, (int)XML_GetCurrentLineNumber(parser)).Error( in ParseString() [all …]
|
D | 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) in check_value() 81 scan_for_unguarded_format(const SourcePos& pos, const string& string) in scan_for_unguarded_format() 91 scan_for_unguarded_format(const SourcePos& pos, const XMLNode* value, int depth) in scan_for_unguarded_format()
|
D | Values.h | 19 StringResource(const SourcePos& pos, const string& file, const Configuration& config, 37 SourcePos pos;
|
D | Android.mk | 18 SourcePos.cpp \
|
D | localize.cpp | 31 SourcePos(filename, -1).Error("Error reading file."); in read_settings() 198 SourcePos(settingsFile, -1).Error("settings file does not contain setting: %s\n", in validate_config() 393 if (!success || SourcePos::HasErrors()) { in do_export() 761 if (SourcePos::HasErrors()) { in main() 762 SourcePos::PrintErrors(stderr); in main()
|
D | Values.cpp | 7 StringResource::StringResource(const SourcePos& p, const string& f, const Configuration& c, in StringResource()
|
D | XLIFFFile.cpp | 44 SourcePos pos = count == 0 in get_unique_node()
|
/frameworks/base/tools/aapt/ |
D | SourcePos.cpp | 100 SourcePos::SourcePos(const String8& f, int l) in SourcePos() function in SourcePos 105 SourcePos::SourcePos(const SourcePos& that) in SourcePos() function in SourcePos 110 SourcePos::SourcePos() in SourcePos() function in SourcePos 115 SourcePos::~SourcePos() in ~SourcePos() 120 SourcePos::error(const char* fmt, ...) const in error() 138 SourcePos::warning(const char* fmt, ...) const in warning() 156 SourcePos::hasErrors() in hasErrors() 162 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();
|
D | ResourceTable.h | 60 SourcePos sourcePos; 64 AccessorCookie(const SourcePos&p, const String8& a, const String8& v) in AccessorCookie() 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, 220 void setCurrentXmlPos(const SourcePos& pos) { mCurrentXmlPos = pos; } in setCurrentXmlPos() 226 Item(const SourcePos& pos, 249 SourcePos sourcePos; [all …]
|
D | ResourceTable.cpp | 245 const SourcePos sourcePos; 420 SourcePos(in->getPrintableSource(), block.getLineNumber()) in compileAttribute() 440 … err = outTable->addBag(SourcePos(in->getPrintableSource(), block.getLineNumber()), in compileAttribute() 449 SourcePos(in->getPrintableSource(), block.getLineNumber()) in compileAttribute() 453 SourcePos(in->getPrintableSource(), block.getLineNumber()) in compileAttribute() 464 SourcePos(in->getPrintableSource(), block.getLineNumber()) in compileAttribute() 474 SourcePos(in->getPrintableSource(), block.getLineNumber()) in compileAttribute() 479 SourcePos(in->getPrintableSource(), block.getLineNumber()) in compileAttribute() 488 err = outTable->startBag(SourcePos(in->getPrintableSource(), block.getLineNumber()), in compileAttribute() 519 err = outTable->addBag(SourcePos(in->getPrintableSource(), block.getLineNumber()), in compileAttribute() [all …]
|
D | XMLNode.cpp | 167 SourcePos(String8(fileName), inXml->getLineNumber()).error( in hasSubstitutionErrors() 238 SourcePos(String8(fileName), inXml->getLineNumber()).error( in parseStyledString() 248 SourcePos(String8(fileName), inXml->getLineNumber()).error( in parseStyledString() 255 SourcePos(String8(fileName), inXml->getLineNumber()).error("%s (in %s)\n", in parseStyledString() 290 SourcePos(String8(fileName), inXml->getLineNumber()).error("%s (in %s)\n", in parseStyledString() 299 SourcePos(String8(fileName), inXml->getLineNumber()).error( in parseStyledString() 316 SourcePos(String8(fileName), inXml->getLineNumber()).error( in parseStyledString() 349 SourcePos(String8(fileName), inXml->getLineNumber()).error( in parseStyledString() 357 SourcePos(String8(fileName), inXml->getLineNumber()).error( in parseStyledString() 547 SourcePos(file->getSourceFile(), -1).error("Unable to open file for read: %s", in parse() [all …]
|
D | AaptAssets.h | 356 SourcePos sourcePos; 385 status_t addSymbol(const String8& name, int32_t value, const SourcePos& pos) { in addSymbol() 396 const SourcePos& pos) { in addStringSymbol() 406 status_t makeSymbolPublic(const String8& name, const SourcePos& pos) { in makeSymbolPublic() 415 void appendComment(const String8& name, const String16& comment, const SourcePos& pos) { in appendComment() 441 sp<AaptSymbols> addNestedSymbol(const String8& name, const SourcePos& pos) { in addNestedSymbol() 466 bool check_valid_symbol_name(const String8& symbol, const SourcePos& pos, const char* label) { in check_valid_symbol_name() 473 AaptSymbolEntry& edit_symbol(const String8& symbol, const SourcePos* pos) { in edit_symbol()
|
D | Android.mk | 26 SourcePos.cpp \
|
D | AaptAssets.cpp | 1539 SourcePos(file->getSourceFile(), -1).error("Duplicate file.\n%s: Original is here.", in addFile() 1739 SourcePos(mFiles.valueAt(i)->getPrintableSource(), -1).error( in validate() 1748 SourcePos(mFiles.valueAt(i)->getPrintableSource(), -1).error( in validate() 1761 SourcePos(mFiles.valueAt(i)->getPrintableSource(), -1).error( in validate() 1771 SourcePos(mDirs.valueAt(i)->getPrintableSource(), -1).error( in validate() 1780 SourcePos(mDirs.valueAt(i)->getPrintableSource(), -1).error( in validate()
|
D | Command.cpp | 1589 if (SourcePos::hasErrors()) { in doPackage() 1685 if (SourcePos::hasErrors()) { in doPackage() 1686 SourcePos::printErrors(stderr); in doPackage()
|
D | Resource.cpp | 293 table->addEntry(SourcePos(it.getPath(), 0), String16(assets->getPackage()), in makeFileResources() 1312 SourcePos srcPos(manifestPath, block.getLineNumber()); in buildResources()
|