Lines Matching refs:srcPos

943                 SourcePos srcPos(in->getPrintableSource(), block.getLineNumber());  in compileResourceFile()  local
948 srcPos.error("A 'type' attribute is required for <public>\n"); in compileResourceFile()
956 srcPos.error("A 'name' attribute is required for <public>\n"); in compileResourceFile()
967 srcPos.error("Given 'id' attribute is not an integer: %s\n", in compileResourceFile()
975 srcPos.error("No 'id' attribute supplied <public>," in compileResourceFile()
984 err = outTable->addPublic(srcPos, myPackage, type, name, ident); in compileResourceFile()
992 symbols = symbols->addNestedSymbol(String8(type), srcPos); in compileResourceFile()
995 symbols->makeSymbolPublic(String8(name), srcPos); in compileResourceFile()
998 symbols->appendComment(String8(name), comment, srcPos); in compileResourceFile()
1000 srcPos.error("Unable to create symbols!\n"); in compileResourceFile()
1015 SourcePos srcPos(in->getPrintableSource(), block.getLineNumber()); in compileResourceFile() local
1020 srcPos.error("A 'type' attribute is required for <public-padding>\n"); in compileResourceFile()
1028 srcPos.error("A 'name' attribute is required for <public-padding>\n"); in compileResourceFile()
1039 srcPos.error("Given 'start' attribute is not an integer: %s\n", in compileResourceFile()
1046 srcPos.error("No 'start' attribute supplied <public-padding>," in compileResourceFile()
1059 srcPos.error("Given 'end' attribute is not an integer: %s\n", in compileResourceFile()
1066 srcPos.error("No 'end' attribute supplied <public-padding>\n"); in compileResourceFile()
1073 srcPos.error("Padding start '%ul' is after end '%ul'\n", in compileResourceFile()
1089 err = outTable->addEntry(srcPos, myPackage, type, curName, in compileResourceFile()
1096 err = outTable->addPublic(srcPos, myPackage, type, in compileResourceFile()
1104 symbols = symbols->addNestedSymbol(String8(type), srcPos); in compileResourceFile()
1107 symbols->makeSymbolPublic(String8(curName), srcPos); in compileResourceFile()
1108 symbols->appendComment(String8(curName), comment, srcPos); in compileResourceFile()
1110 srcPos.error("Unable to create symbols!\n"); in compileResourceFile()
1155 SourcePos srcPos(in->getPrintableSource(), block.getLineNumber()); in compileResourceFile() local
1160 srcPos.error("A 'type' attribute is required for <public>\n"); in compileResourceFile()
1168 srcPos.error("A 'name' attribute is required for <public>\n"); in compileResourceFile()
1175 symbols = symbols->addNestedSymbol(String8(type), srcPos); in compileResourceFile()
1178 symbols->makeSymbolJavaSymbol(String8(name), srcPos); in compileResourceFile()
1181 symbols->appendComment(String8(name), comment, srcPos); in compileResourceFile()
1183 srcPos.error("Unable to create symbols!\n"); in compileResourceFile()
1198 SourcePos srcPos(in->getPrintableSource(), block.getLineNumber()); in compileResourceFile() local
1203 srcPos.error("A 'type' attribute is required for <add-resource>\n"); in compileResourceFile()
1211 srcPos.error("A 'name' attribute is required for <add-resource>\n"); in compileResourceFile()
1216 outTable->canAddEntry(srcPos, myPackage, typeName, name); in compileResourceFile()
1228 SourcePos srcPos(in->getPrintableSource(), block.getLineNumber()); in compileResourceFile() local
1233 srcPos.error("A 'name' attribute is required for <declare-styleable>\n"); in compileResourceFile()
1241 symbols = symbols->addNestedSymbol(String8("styleable"), srcPos); in compileResourceFile()
1245 symbols = symbols->addNestedSymbol(String8(ident), srcPos); in compileResourceFile()
1248 srcPos.error("Unable to create symbols!\n"); in compileResourceFile()
1254 styleSymbols->appendComment(String8(ident), comment, srcPos); in compileResourceFile()
1297 … SourcePos srcPos(String8(in->getPrintableSource()), block.getLineNumber()); in compileResourceFile() local
1298 symbols->addSymbol(String8(itemIdent), 0, srcPos); in compileResourceFile()
1299 symbols->appendComment(String8(itemIdent), comment, srcPos); in compileResourceFile()