Home
last modified time | relevance | path

Searched refs:JType (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/opengl/tools/glgen/src/
DJType.java19 public class JType { class
26 static HashMap<CType,JType> typeMapping = new HashMap<CType,JType>();
27 static HashMap<CType,JType> arrayTypeMapping = new HashMap<CType,JType>();
31 typeMapping.put(new CType("GLbitfield"), new JType("int")); in typeMapping.put()
32 typeMapping.put(new CType("GLboolean"), new JType("boolean")); in typeMapping.put()
33 typeMapping.put(new CType("GLclampf"), new JType("float")); in typeMapping.put()
34 typeMapping.put(new CType("GLclampx"), new JType("int")); in typeMapping.put()
35 typeMapping.put(new CType("GLenum"), new JType("int")); in typeMapping.put()
36 typeMapping.put(new CType("GLfloat"), new JType("float")); in typeMapping.put()
37 typeMapping.put(new CType("GLfixed"), new JType("int")); in typeMapping.put()
[all …]
DJFunc.java25 JType ftype;
29 List<JType> argTypes = new ArrayList<JType>();
52 public void setType(JType ftype) { in setType()
56 public JType getType() { in getType()
80 public void addArgument(String argName, JType argType, int cindex) { in addArgument()
113 public JType getArgType(int index) { in getArgType()
125 jfunc.setType(JType.convert(cfunc.getType(), false)); in convert()
140 jfunc.addArgument(cArgName, JType.convert(cArgType, useArray), i); in convert()
143 jfunc.addArgument(cArgName + "Offset", new JType("int"), i); in convert()
145 jfunc.addArgument("offset", new JType("int"), i); in convert()
DJniCodeEmitter.java38 public static String getJniName(JType jType) { in getJniName()
180 JType argType = jfunc.getArgType(i); in emitFunctionCall()
634 JType argType = jfunc.getArgType(i); in emitFunction()
787 String getJniType(JType jType) { in getJniType()
806 String getJniDefaultReturn(JType jType) { in getJniDefaultReturn()
874 JType argType = jfunc.getArgType(i); in emitJniCode()
910 List<JType> bufferArgTypes = new ArrayList<JType>(); in emitJniCode()
921 JType argType = jfunc.getArgType(i); in emitJniCode()
955 JType argType = jfunc.getArgType(idx); in emitJniCode()
1049 JType bufferType = bufferArgTypes.get(0); in emitJniCode()
[all …]