Lines Matching refs:line
43 String line = s.nextLine();
44 if (line.startsWith("#") || line.length() == 0)
46 String[] fields = line.split("\\s+");
48 System.err.println("Misconfiged sbcs line <" + line + ">?");
216 String line = s.nextLine();
217 int i = line.indexOf("$");
219 out.println(line);
222 if (line.indexOf("$PACKAGE$", i) != -1) {
223 line = line.replace("$PACKAGE$", pkgName);
225 if (line.indexOf("$NAME_CLZ$", i) != -1) {
226 line = line.replace("$NAME_CLZ$", clzName);
228 if (line.indexOf("$NAME_CS$", i) != -1) {
229 line = line.replace("$NAME_CS$", csName);
231 if (line.indexOf("$NAME_ALIASES$", i) != -1) {
233 line = line.replace("$NAME_ALIASES$",
236 line = line.replace("$NAME_ALIASES$",
239 if (line.indexOf("$NAME_HIS$", i) != -1) {
240 line = line.replace("$NAME_HIS$", hisName);
242 if (line.indexOf("$CONTAINS$", i) != -1) {
244 line = " return ((cs.name().equals(\"US-ASCII\")) || (cs instanceof " + clzName + "));";
246 line = " return (cs instanceof " + clzName + ");";
248 if (line.indexOf("$B2CTABLE$") != -1) {
249 line = line.replace("$B2CTABLE$", b2c);
251 if (line.indexOf("$C2BLENGTH$") != -1) {
252 line = line.replace("$C2BLENGTH$", "0x" + Integer.toString(c2bOff, 16));
254 if (line.indexOf("$NONROUNDTRIP_B2C$") != -1) {
257 line = line.replace("$NONROUNDTRIP_B2C$", b2cNR);
260 if (line.indexOf("$NONROUNDTRIP_C2B$") != -1) {
263 line = line.replace("$NONROUNDTRIP_C2B$", c2bNR);
265 out.println(line);