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 + "_exception = 1;");
1077 out.println(indent + indent +
1079 out.println(indent + indent +
1081 out.println(indent + indent + "goto exit;");
1082 out.println(indent + "}");
1084 out.println(indent + "_native" + cname + " = _env->GetStringUTFChars(" + cname + ", 0);");
1106 out.println(indent + "if (!" + cname + "_ref) {");
1107 out.println(indent + indent + "_exception = 1;");
1108 out.println(indent + indent +
1110 out.println(indent + indent +
1112 out.println(indent + indent + "goto exit;");
1113 out.println(indent + "}");
1114 out.println(indent + "if (" + offset + " < 0) {");
1115 out.println(indent + indent + "_exception = 1;");
1116 out.println(indent + indent +
1118 out.println(indent + indent +
1120 out.println(indent + indent + "goto exit;");
1121 out.println(indent + "}");
1123 out.println(indent + remaining + " = " +
1133 out.println(indent +
1138 out.println(indent + " " +
1144 out.println(indent +
1149 remaining, indent);
1154 out.println(indent + "if (!" + cname + "_ref) {");
1155 out.println(indent + indent + "_exception = 1;");
1156 out.println(indent + indent +
1158 out.println(indent + indent + "_exceptionMessage = \"" + cname +" == null\";");
1159 out.println(indent + indent + "goto exit;");
1160 out.println(indent + "}");
1161 out.println(indent + "if (" + offset + " < 0) {");
1162 out.println(indent + indent + "_exception = 1;");
1163 out.println(indent + indent +
1165 out.println(indent + indent + "_exceptionMessage = \"" + offset +" < 0\";");
1166 out.println(indent + indent + "goto exit;");
1167 out.println(indent + "}");
1169 out.println(indent + remaining + " = " +
1177 out.println(indent +
1190 out.println(indent + "if (" + cname + "_buf) {");
1191 out.print(indent);
1195 out.println(indent +
1202 out.println(iii + indent + "if ( ! " + cname + " ) {");
1203 out.println(iii + indent + indent + "return;");
1204 out.println(iii + indent + "}");
1206 out.println(indent +
1221 out.println(indent + "}");
1243 out.println(indent + "if (" + cname + "_buf && " + cname +" == NULL) {");
1245 out.println(indent + "if (" + cname +" == NULL) {");
1247 out.println(indent + indent + "char * _" + cname + "Base = (char *)_env->GetPrimitiveArrayCritical(" + array + ", (jboolean *) 0);");
1248 out.println(indent + indent + cname + " = (" +cfunc.getArgType(cIndex).getDeclaration() +") (_" + cname + "Base + " + bufferOffset + ");");
1249 out.println(indent + "}");
1255 out.print(indent + "_returnValue = ");
1257 out.print(indent);
1290 out.print(indent + indent +
1309 out.println(indent + indent + "(GLsizei)remaining");
1317 out.println(indent + ");");
1337 out.println(indent +
1339 out.println(indent + indent +
1346 out.println(indent + indent + indent +
1350 out.println(indent + "}");
1355 out.println(indent + "if (" + array + ") {");
1356 out.println(indent + indent +
1364 out.println(indent + "}");
1377 out.println(indent + "if (_native" + cname + ") {");
1378 out.println(indent + " _env->ReleaseStringUTFChars(" + cname + ", _native" + cname + ");");
1379 out.println(indent + "}");
1395 out.println(indent +
1397 out.println(indent + indent +
1399 out.println(indent + indent + indent +
1404 out.println(indent + indent + indent +
1411 out.println(indent + indent + "}");
1412 out.println(indent + indent +
1414 out.println(indent + "}");
1422 out.println(indent + "if (_exception) {");
1423 out.println(indent + indent +
1425 out.println(indent + "}");
1433 out.println(indent +
1437 out.println(indent + "return (" +