Lines Matching refs:srcPos
945 SourcePos srcPos(in->getPrintableSource(), block.getLineNumber()); in compileResourceFile() local
950 srcPos.error("A 'type' attribute is required for <public>\n"); in compileResourceFile()
958 srcPos.error("A 'name' attribute is required for <public>\n"); in compileResourceFile()
969 srcPos.error("Given 'id' attribute is not an integer: %s\n", in compileResourceFile()
977 srcPos.error("No 'id' attribute supplied <public>," in compileResourceFile()
986 err = outTable->addPublic(srcPos, myPackage, type, name, ident); in compileResourceFile()
994 symbols = symbols->addNestedSymbol(String8(type), srcPos); in compileResourceFile()
997 symbols->makeSymbolPublic(String8(name), srcPos); in compileResourceFile()
1000 symbols->appendComment(String8(name), comment, srcPos); in compileResourceFile()
1002 srcPos.error("Unable to create symbols!\n"); in compileResourceFile()
1017 SourcePos srcPos(in->getPrintableSource(), block.getLineNumber()); in compileResourceFile() local
1022 srcPos.error("A 'type' attribute is required for <public-padding>\n"); in compileResourceFile()
1030 srcPos.error("A 'name' attribute is required for <public-padding>\n"); in compileResourceFile()
1041 srcPos.error("Given 'start' attribute is not an integer: %s\n", in compileResourceFile()
1048 srcPos.error("No 'start' attribute supplied <public-padding>," in compileResourceFile()
1061 srcPos.error("Given 'end' attribute is not an integer: %s\n", in compileResourceFile()
1068 srcPos.error("No 'end' attribute supplied <public-padding>\n"); in compileResourceFile()
1075 srcPos.error("Padding start '%ul' is after end '%ul'\n", in compileResourceFile()
1091 err = outTable->addEntry(srcPos, myPackage, type, curName, in compileResourceFile()
1098 err = outTable->addPublic(srcPos, myPackage, type, in compileResourceFile()
1106 symbols = symbols->addNestedSymbol(String8(type), srcPos); in compileResourceFile()
1109 symbols->makeSymbolPublic(String8(curName), srcPos); in compileResourceFile()
1110 symbols->appendComment(String8(curName), comment, srcPos); in compileResourceFile()
1112 srcPos.error("Unable to create symbols!\n"); in compileResourceFile()
1157 SourcePos srcPos(in->getPrintableSource(), block.getLineNumber()); in compileResourceFile() local
1162 srcPos.error("A 'type' attribute is required for <public>\n"); in compileResourceFile()
1170 srcPos.error("A 'name' attribute is required for <public>\n"); in compileResourceFile()
1177 symbols = symbols->addNestedSymbol(String8(type), srcPos); in compileResourceFile()
1180 symbols->makeSymbolJavaSymbol(String8(name), srcPos); in compileResourceFile()
1183 symbols->appendComment(String8(name), comment, srcPos); in compileResourceFile()
1185 srcPos.error("Unable to create symbols!\n"); in compileResourceFile()
1200 SourcePos srcPos(in->getPrintableSource(), block.getLineNumber()); in compileResourceFile() local
1205 srcPos.error("A 'type' attribute is required for <add-resource>\n"); in compileResourceFile()
1213 srcPos.error("A 'name' attribute is required for <add-resource>\n"); in compileResourceFile()
1218 outTable->canAddEntry(srcPos, myPackage, typeName, name); in compileResourceFile()
1230 SourcePos srcPos(in->getPrintableSource(), block.getLineNumber()); in compileResourceFile() local
1235 srcPos.error("A 'name' attribute is required for <declare-styleable>\n"); in compileResourceFile()
1243 symbols = symbols->addNestedSymbol(String8("styleable"), srcPos); in compileResourceFile()
1247 symbols = symbols->addNestedSymbol(String8(ident), srcPos); in compileResourceFile()
1250 srcPos.error("Unable to create symbols!\n"); in compileResourceFile()
1256 styleSymbols->appendComment(String8(ident), comment, srcPos); in compileResourceFile()
1299 … SourcePos srcPos(String8(in->getPrintableSource()), block.getLineNumber()); in compileResourceFile() local
1300 symbols->addSymbol(String8(itemIdent), 0, srcPos); in compileResourceFile()
1301 symbols->appendComment(String8(itemIdent), comment, srcPos); in compileResourceFile()