Lines Matching refs:package

92 def ToJNIPackage(package, jclassname):  argument
93 return "%s_%s" % (package.replace(".", "_"), jclassname)
107 def __init__(self, name, structname, jclassname, package, javatype, ctype, jtype, defval): argument
111 self.package = package
143 % (self.jtype, ToJNIPackage(self.package, self.jclassname), ToJavaName(self.name, 0))
150 "}\n" % (self.jtype, ToJNIPackage(self.package, self.jclassname), ToJavaName(self.name, 0),\
156 % (ToJNIPackage(self.package, self.jclassname), ToJavaName(self.name, 0), self.jtype)
167 "}\n" % (ToJNIPackage(self.package, self.jclassname), ToJavaName(self.name, 0),\
171 def __init__(self, name, structname, jclassname, package): argument
172 …FieldType_BasePOD.__init__(self, name, structname, jclassname, package, "float", "float", "jfloat"…
175 def __init__(self, name, structname, jclassname, package): argument
176 … FieldType_BasePOD.__init__(self, name, structname, jclassname, package, "int", "int", "jint", "0")
179 def __init__(self, name, structname, jclassname, package): argument
180 …FieldType_BasePOD.__init__(self, name, structname, jclassname, package, "long", "long long", "jlon…
187 self.package = None
215 self.package = linecomps[1]
229 fieldtype = FieldType_Int(linecomps[2], self.structname, self.jclassname, self.package)
231 fieldtype = FieldType_Long(linecomps[2], self.structname, self.jclassname, self.package)
233 fieldtype = FieldType_Float(linecomps[2], self.structname, self.jclassname, self.package)
245 elif not self.package:
314 defname = ToMacroDefName(self.structname, self.package)
318 return javaFileTemplate % (self.package, self.javaClassString())
326 ToJNIPackage(self.package, self.jclassname),\
328 ToJNIPackage(self.package, self.jclassname),\
346 javapackagepath = structspec.package.replace('.','/')