Lines Matching refs:indent
34 protected static String indent = " ";
178 out.println(iii + indent + "get" + typeName + "Array(" + argName + "),");
179 out.print(iii + indent + "getOffset(" + argName + ")");
181 out.print(iii + indent + argName);
186 out.println(iii + indent + argName + ".remaining()");
212 out.println(iii + indent + "_exception = 1;");
213 out.println(iii + indent +
215 out.println(iii + indent +
219 out.println(iii + indent + "goto exit;");
372 out.println(iii + indent + "_exception = 1;");
386 out.println(iii + indent +
388 out.println(iii + indent +
394 out.println(iii + indent + "goto exit;");
446 out.println(iii + indent + "if (" + cname +
448 out.println(iii + indent + indent +
450 out.println(iii + indent + indent + "break;");
451 out.println(iii + indent + "}");
455 out.println(iii + indent + "_exception = 1;");
456 out.println(iii + indent +
458 out.println(iii + indent + "_exceptionMessage = \"" + cname +
460 out.println(iii + indent + "goto exit;");
481 out.println(indent + "bool " + cname + "_sentinel = false;");
533 out.println(indent +
541 out.println(indent +
554 out.print(indent + indent + argType + " " + argName);
558 out.println(indent + indent + "int remaining");
568 out.println(indent + ");");
570 out.println(indent + ") {");
572 String iii = indent + indent;
592 out.println(iii + indent + "_colorPointer = pointer;");
600 out.println(iii + indent + "_normalPointer = pointer;");
611 out.println(iii + indent + "_texCoordPointer = pointer;");
622 out.println(iii + indent + "_vertexPointer = pointer;");
628 out.println(iii + indent + "_pointSizePointerOES = pointer;");
639 out.println(iii + indent + "_matrixIndexPointerOES = pointer;");
650 out.println(iii + indent + "_weightPointerOES = pointer;");
658 out.println(indent + indent + "return _returnValue;");
660 out.println(indent + "}");
691 cStream.println(indent +
694 cStream.println(indent +
697 cStream.println(indent + "return err;");
886 out.println(indent +
888 out.println(indent +
894 out.println(indent +
898 out.println(indent + "return " + retval + ";");
908 out.println(indent +
910 out.println(indent + indent +
912 out.println(indent + indent +
915 out.println(indent + indent + " return;");
920 out.println(indent +
924 out.println(indent + "return " + retval + ";");
927 out.println(indent + "}");
930 out.println(indent +
944 out.println(indent + "jint _exception = 0;");
945 out.println(indent + "const char * _exceptionType = NULL;");
946 out.println(indent + "const char * _exceptionMessage = NULL;");
951 out.println(indent + "jarray _array = (jarray) 0;");
952 out.println(indent + "jint _bufferOffset = (jint) 0;");
955 out.println(indent + "jarray _" + bufferArgNames.get(i) +
957 out.println(indent + "jint _" + bufferArgNames.get(i) +
964 out.println(indent + returnType.getDeclaration() +
967 out.println(indent + returnType.getDeclaration() +
970 out.println(indent + returnType.getDeclaration() +
994 out.println(indent +
1032 out.println(indent +
1040 out.println(indent +
1042 out.println(indent +
1059 out.println(indent + "const char* _native" + cname + " = 0;");
1075 out.println(indent + "if (!" + cname + ") {");
1076 out.println(indent + indent +
1078 out.println(indent + indent +
1080 out.println(indent + indent + "goto exit;");
1081 out.println(indent + "}");
1083 out.println(indent + "_native" + cname + " = _env->GetStringUTFChars(" + cname + ", 0);");
1105 out.println(indent + "if (!" + cname + "_ref) {");
1106 out.println(indent + indent + "_exception = 1;");
1107 out.println(indent + indent +
1109 out.println(indent + indent +
1111 out.println(indent + indent + "goto exit;");
1112 out.println(indent + "}");
1113 out.println(indent + "if (" + offset + " < 0) {");
1114 out.println(indent + indent + "_exception = 1;");
1115 out.println(indent + indent +
1117 out.println(indent + indent +
1119 out.println(indent + indent + "goto exit;");
1120 out.println(indent + "}");
1122 out.println(indent + remaining + " = " +
1132 out.println(indent +
1137 out.println(indent + " " +
1143 out.println(indent +
1148 remaining, indent);
1153 out.println(indent + "if (!" + cname + "_ref) {");
1154 out.println(indent + indent + "_exception = 1;");
1155 out.println(indent + indent +
1157 out.println(indent + indent + "_exceptionMessage = \"" + cname +" == null\";");
1158 out.println(indent + indent + "goto exit;");
1159 out.println(indent + "}");
1160 out.println(indent + "if (" + offset + " < 0) {");
1161 out.println(indent + indent + "_exception = 1;");
1162 out.println(indent + indent +
1164 out.println(indent + indent + "_exceptionMessage = \"" + offset +" < 0\";");
1165 out.println(indent + indent + "goto exit;");
1166 out.println(indent + "}");
1168 out.println(indent + remaining + " = " +
1176 out.println(indent +
1189 out.println(indent + "if (" + cname + "_buf) {");
1190 out.print(indent);
1194 out.println(indent +
1201 out.println(iii + indent + "if ( ! " + cname + " ) {");
1202 out.println(iii + indent + indent + "return;");
1203 out.println(iii + indent + "}");
1205 out.println(indent +
1220 out.println(indent + "}");
1242 out.println(indent + "if (" + cname + "_buf && " + cname +" == NULL) {");
1244 out.println(indent + "if (" + cname +" == NULL) {");
1246 out.println(indent + indent + "char * _" + cname + "Base = (char *)_env->GetPrimitiveArrayCritical(" + array + ", (jboolean *) 0);");
1247 out.println(indent + indent + cname + " = (" +cfunc.getArgType(cIndex).getDeclaration() +") (_" + cname + "Base + " + bufferOffset + ");");
1248 out.println(indent + "}");
1254 out.print(indent + "_returnValue = ");
1256 out.print(indent);
1289 out.print(indent + indent +
1306 out.println(indent + indent + "(GLsizei)remaining");
1314 out.println(indent + ");");
1334 out.println(indent +
1336 out.println(indent + indent +
1343 out.println(indent + indent + indent +
1347 out.println(indent + "}");
1352 out.println(indent + "if (" + array + ") {");
1353 out.println(indent + indent +
1361 out.println(indent + "}");
1374 out.println(indent + "if (_native" + cname + ") {");
1375 out.println(indent + " _env->ReleaseStringUTFChars(" + cname + ", _native" + cname + ");");
1376 out.println(indent + "}");
1392 out.println(indent +
1394 out.println(indent + indent +
1396 out.println(indent + indent + indent +
1401 out.println(indent + indent + indent +
1408 out.println(indent + indent + "}");
1409 out.println(indent + indent +
1411 out.println(indent + "}");
1419 out.println(indent + "if (_exception) {");
1420 out.println(indent + indent +
1422 out.println(indent + "}");
1430 out.println(indent +
1434 out.println(indent + "return (" +