Lines Matching refs:srcPos

925                 SourcePos srcPos(in->getPrintableSource(), block.getLineNumber());  in compileResourceFile()  local
930 srcPos.error("A 'type' attribute is required for <public>\n"); in compileResourceFile()
938 srcPos.error("A 'name' attribute is required for <public>\n"); in compileResourceFile()
949 srcPos.error("Given 'id' attribute is not an integer: %s\n", in compileResourceFile()
957 srcPos.error("No 'id' attribute supplied <public>," in compileResourceFile()
966 err = outTable->addPublic(srcPos, myPackage, type, name, ident); in compileResourceFile()
974 symbols = symbols->addNestedSymbol(String8(type), srcPos); in compileResourceFile()
977 symbols->makeSymbolPublic(String8(name), srcPos); in compileResourceFile()
980 symbols->appendComment(String8(name), comment, srcPos); in compileResourceFile()
982 srcPos.error("Unable to create symbols!\n"); in compileResourceFile()
997 SourcePos srcPos(in->getPrintableSource(), block.getLineNumber()); in compileResourceFile() local
1002 srcPos.error("A 'type' attribute is required for <public-padding>\n"); in compileResourceFile()
1010 srcPos.error("A 'name' attribute is required for <public-padding>\n"); in compileResourceFile()
1021 srcPos.error("Given 'start' attribute is not an integer: %s\n", in compileResourceFile()
1028 srcPos.error("No 'start' attribute supplied <public-padding>," in compileResourceFile()
1041 srcPos.error("Given 'end' attribute is not an integer: %s\n", in compileResourceFile()
1048 srcPos.error("No 'end' attribute supplied <public-padding>\n"); in compileResourceFile()
1055 srcPos.error("Padding start '%ul' is after end '%ul'\n", in compileResourceFile()
1071 err = outTable->addEntry(srcPos, myPackage, type, curName, in compileResourceFile()
1078 err = outTable->addPublic(srcPos, myPackage, type, in compileResourceFile()
1086 symbols = symbols->addNestedSymbol(String8(type), srcPos); in compileResourceFile()
1089 symbols->makeSymbolPublic(String8(curName), srcPos); in compileResourceFile()
1090 symbols->appendComment(String8(curName), comment, srcPos); in compileResourceFile()
1092 srcPos.error("Unable to create symbols!\n"); in compileResourceFile()
1129 SourcePos srcPos(in->getPrintableSource(), block.getLineNumber()); in compileResourceFile() local
1134 srcPos.error("A 'type' attribute is required for <public>\n"); in compileResourceFile()
1142 srcPos.error("A 'name' attribute is required for <public>\n"); in compileResourceFile()
1149 symbols = symbols->addNestedSymbol(String8(type), srcPos); in compileResourceFile()
1152 symbols->makeSymbolJavaSymbol(String8(name), srcPos); in compileResourceFile()
1155 symbols->appendComment(String8(name), comment, srcPos); in compileResourceFile()
1157 srcPos.error("Unable to create symbols!\n"); in compileResourceFile()
1172 SourcePos srcPos(in->getPrintableSource(), block.getLineNumber()); in compileResourceFile() local
1177 srcPos.error("A 'type' attribute is required for <add-resource>\n"); in compileResourceFile()
1185 srcPos.error("A 'name' attribute is required for <add-resource>\n"); in compileResourceFile()
1190 outTable->canAddEntry(srcPos, myPackage, typeName, name); in compileResourceFile()
1202 SourcePos srcPos(in->getPrintableSource(), block.getLineNumber()); in compileResourceFile() local
1207 srcPos.error("A 'name' attribute is required for <declare-styleable>\n"); in compileResourceFile()
1215 symbols = symbols->addNestedSymbol(String8("styleable"), srcPos); in compileResourceFile()
1219 symbols = symbols->addNestedSymbol(String8(ident), srcPos); in compileResourceFile()
1222 srcPos.error("Unable to create symbols!\n"); in compileResourceFile()
1228 styleSymbols->appendComment(String8(ident), comment, srcPos); in compileResourceFile()
1271 … SourcePos srcPos(String8(in->getPrintableSource()), block.getLineNumber()); in compileResourceFile() local
1272 symbols->addSymbol(String8(itemIdent), 0, srcPos); in compileResourceFile()
1273 symbols->appendComment(String8(itemIdent), comment, srcPos); in compileResourceFile()