Lines Matching refs:chars
54 chars = ""
57 chars += "// " + "-"*75 + "\n"
58 chars += "// %s language locale (automatically generated)\n"%getLocaleName(self.locale)
59 chars += "// " + "-"*75 + "\n"
60 … chars += "static const Locale a" + self.locale.capitalize() + "(OUString::createFromAscii(\""
61 chars += self.locale
62 chars += "\"), OUString(), OUString());\n\n"
66 chars += "// pre instantiations of localized function names\n"
69 … chars += "static const sal_Unicode " + self.getLocaleFuncVarName(func, item) + "[] = {\n"
70 chars += " "
77 chars += ", "
78 chars += "0x%.4X"%uval
82 chars += ", "
83 chars += "0x0000"
85 chars += "};\n"
88 chars += "\n"
89 chars += "static const TransItem p" + self.locale.capitalize() + "[] = {\n"
92 chars += " "
93 chars += "{%s, \"%s\", %s},\n"%(self.getLocaleFuncVarName(func, item),
97 chars += " {NULL, NULL, ocNone}\n"
98 chars += "};\n\n"
101 chars += "addToMap(%s, %s);\n"%(
104 return chars
190 chars = "// This file has been automatically generated. Do not hand-edit this!\n"
192 chars += "\n" + obj.dumpCode()
196 file.write(chars)