Lines Matching refs:at
945 AtomicType at = (AtomicType)iter.next();
946 if (at.isIn()) {
947 pw.println("\t" + at.getJavaType() + " _" + at.getName() + ";");
949 pw.println("\tlong " + at.getName() + "_ptr = unsafe.allocateMemory(Native.get" + at.getTypeUpperCase() + "Size());");
956 AtomicType at = (AtomicType)iter.next();
957 if (at.isIn() || at.isInOut()) {
962 pw.print("\t\t" + at.getJavaType() + " " + at.getName());
969 AtomicType at = (AtomicType)iter.next();
970 if (at.isIn() || at.isInOut()) {
971 pw.println("\t\tset_" + at.getName() + "(" + at.getName() + ");");
999 AtomicType at = (AtomicType)iter.next();
1000 if (!at.isIn() && at.isAutoFree()) {
1001 pw.println("\t\t\tNative.put" + at.getTypeUpperCase() + "(" +at.getName() + "_ptr, 0);");
1011 AtomicType at = (AtomicType)iter.next();
1016 if (at.isIn()) {
1017 pw.print("\t\t\t\tget_" + at.getName() + "()");
1019 pw.print("\t\t\t\t" + at.getName() + "_ptr");
1057 AtomicType at = (AtomicType)iter.next();
1058 if (!at.isIn()) {
1059 if (at.isAutoFree()) {
1060 pw.println("\t\tif (__executed && get_" + at.getName() + "()!= 0) {");
1061 pw.println("\t\t\tXlibWrapper.XFree(get_" + at.getName() + "());");
1064 pw.println("\t\tunsafe.freeMemory(" + at.getName() + "_ptr);");
1073 AtomicType at = (AtomicType)iter.next();
1074 pw.println("\tpublic " + at.getJavaType() + " get_" + at.getName() + "() {");
1083 if (at.isIn()) {
1084 pw.println("\t\treturn _" + at.getName() + ";");
1086 pw.println("\t\treturn Native.get" + at.getTypeUpperCase() + "(" + at.getName() + "_ptr);");
1090 pw.println("\tpublic void set_" + at.getName() + "(" + at.getJavaType() + " data) {");
1091 if (at.isIn()) {
1092 pw.println("\t\t_" + at.getName() + " = data;");
1094 pw.println("\t\tNative.put" + at.getTypeUpperCase() + "(" + at.getName() + "_ptr, data);");