Home | History | Annotate | Download | only in src

Lines Matching full:println

124         out.println("    // C function " + jfunc.getCFunc().getOriginal());
125 out.println();
149 out.println(iii +
152 out.println(iii +
166 out.println(iii + indent + "get" + typeName + "Array(" + argName + "),");
173 out.println(",");
174 out.println(iii + indent + argName + ".remaining()");
176 out.println();
179 out.println(",");
183 out.println(iii + ");");
194 out.println(iii + " default:");
195 out.println(iii + " _needed = 0;");
196 out.println(iii + " break;");
197 out.println(iii + "}");
199 out.println(iii + "if (" + remaining + " < _needed) {");
201 out.println(iii + indent + "_exception = 1;");
203 out.println(iii + indent + "jniThrowException(_env, " +
206 out.println(iii + indent + "goto exit;");
208 out.println(iii + "}");
229 System.out.println("Error: unknown keyword \"" +
263 System.out.println("Error: unknown keyword \"" +
291 System.out.println("Error: unknown keyword \"" +
318 System.out.println("Error: unknown keyword \"" +
347 out.println(iii + "if (" + remaining + " < " + checks[index + 2] + ") {");
349 out.println(iii + indent + "_exception = 1;");
364 out.println(iii + indent + "jniThrowException(_env, " +
368 out.println(iii + indent + "goto exit;");
370 out.println(iii + "}");
377 out.println(iii + "int _needed;");
378 out.println(iii + "switch (" + checks[index + 3] + ") {");
382 out.println("#if defined(" + matches[i] + ")");
383 out.println(iii + " case " + matches[i] + ":");
384 out.println("#endif // defined(" + matches[i] + ")");
386 out.println(iii + " _needed = " + checks[index + 2] + ";");
387 out.println(iii + " break;");
404 System.out.println("Error: unknown keyword \"" + checks[index] + "\"");
456 out.println(indent +
464 out.println(indent +
480 out.println(",");
481 out.println(indent + indent + "int remaining");
483 out.println();
486 out.println(",");
491 out.println(indent + ");");
493 out.println(indent + ") {");
510 out.println(iii + "if ((size == 4) &&");
511 out.println(iii + " ((type == GL_FLOAT) ||");
512 out.println(iii + " (type == GL_UNSIGNED_BYTE) ||");
513 out.println(iii + " (type == GL_FIXED)) &&");
514 out.println(iii + " (stride >= 0)) {");
515 out.println(iii + indent + "_colorPointer = pointer;");
516 out.println(iii + "}");
518 out.println(iii + "if (((type == GL_FLOAT) ||");
519 out.println(iii + " (type == GL_BYTE) ||");
520 out.println(iii + " (type == GL_SHORT) ||");
521 out.println(iii + " (type == GL_FIXED)) &&");
522 out.println(iii + " (stride >= 0)) {");
523 out.println(iii + indent + "_normalPointer = pointer;");
524 out.println(iii + "}");
526 out.println(iii + "if (((size == 2) ||");
527 out.println(iii + " (size == 3) ||");
528 out.println(iii + " (size == 4)) &&");
529 out.println(iii + " ((type == GL_FLOAT) ||");
530 out.println(iii + " (type == GL_BYTE) ||");
531 out.println(iii + " (type == GL_SHORT) ||");
532 out.println(iii + " (type == GL_FIXED)) &&");
533 out.println(iii + " (stride >= 0)) {");
534 out.println(iii + indent + "_texCoordPointer = pointer;");
535 out.println(iii + "}");
537 out.println(iii + "if (((size == 2) ||");
538 out.println(iii + " (size == 3) ||");
539 out.println(iii + " (size == 4)) &&");
540 out.println(iii + " ((type == GL_FLOAT) ||");
541 out.println(iii + " (type == GL_BYTE) ||");
542 out.println(iii + " (type == GL_SHORT) ||");
543 out.println(iii + " (type == GL_FIXED)) &&");
544 out.println(iii + " (stride >= 0)) {");
545 out.println(iii + indent + "_vertexPointer = pointer;");
546 out.println(iii + "}");
548 out.println(iii + "if (((type == GL_FLOAT) ||");
549 out.println(iii + " (type == GL_FIXED)) &&");
550 out.println(iii + " (stride >= 0)) {");
551 out.println(iii + indent + "_pointSizePointerOES = pointer;");
552 out.println(iii + "}");
554 out.println(iii + "if (((size == 2) ||");
555 out.println(iii + " (size == 3) ||");
556 out.println(iii + " (size == 4)) &&");
557 out.println(iii + " ((type == GL_FLOAT) ||");
558 out.println(iii + " (type == GL_BYTE) ||");
559 out.println(iii + " (type == GL_SHORT) ||");
560 out.println(iii + " (type == GL_FIXED)) &&");
561 out.println(iii + " (stride >= 0)) {");
562 out.println(iii + indent + "_matrixIndexPointerOES = pointer;");
563 out.println(iii + "}");
565 out.println(iii + "if (((size == 2) ||");
566 out.println(iii + " (size == 3) ||");
567 out.println(iii + " (size == 4)) &&");
568 out.println(iii + " ((type == GL_FLOAT) ||");
569 out.println(iii + " (type == GL_BYTE) ||");
570 out.println(iii + " (type == GL_SHORT) ||");
571 out.println(iii + " (type == GL_FIXED)) &&");
572 out.println(iii + " (stride >= 0)) {");
573 out.println(iii + indent + "_weightPointerOES = pointer;");
574 out.println(iii + "}");
581 out.println(indent + indent + "return _returnValue;");
583 out.println(indent + "}");
585 out.println();
594 cStream.println("static const char *classPathName = \"" +
597 cStream.println();
599 cStream.println("static JNINativeMethod methods[] = {");
601 cStream.println("{\"_nativeClassInit\", \"()V\", (void*)nativeClassInit },");
605 cStream.println(i.next());
608 cStream.println("};");
609 cStream.println();
612 cStream.println("int " + registrationFunctionName + "(JNIEnv *_env)");
613 cStream.println("{");
614 cStream.println(indent +
617 cStream.println(indent +
620 cStream.println(indent + "return err;");
621 cStream.println("}");
663 out.println("/* " + cfunc.getOriginal() + " */");
684 out.println(getJniType(jfunc.getType()));
707 out.println();
763 out.println(") {");
798 out.println(indent +
800 out.println(indent +
804 out.println(indent + "return " + retval + ";");
806 out.println("}");
807 out.println();
813 out.println(indent +
815 out.println(indent + indent +
817 out.println(indent + indent +
820 out.println(indent + indent + " return;");
823 out.println(indent + indent + " return " + retval + ";");
825 out.println(indent + "}");
828 out.println(indent +
840 out.println(indent + "jint _exception = 0;");
845 out.println(indent + "jarray _array = (jarray) 0;");
848 out.println(indent + "jarray _" + bufferArgNames.get(i) +
855 out.println(indent + returnType.getDeclaration() +
858 out.println(indent + returnType.getDeclaration() +
861 out.println(indent + returnType.getDeclaration() +
884 out.println(indent +
892 out.println(indent +
894 out.println(indent +
901 out.println();
911 out.println(indent + "const char* _native" + cname + " = 0;");
914 out.println();
926 out.println(indent + "if (!" + cname + ") {");
927 out.println(indent + " jniThrowException(_env, " +
929 out.println(indent + " goto exit;");
931 out.println(indent + "}");
933 out.println(indent + "_native" + cname + " = _env->GetStringUTFChars(" + cname + ", 0);");
936 out.println();
954 out.println(indent +
959 out.println(indent + indent + "_exception = 1;");
961 out.println(indent + " jniThrowException(_env, " +
964 out.println(indent + " goto exit;");
966 out.println(indent + "}");
968 out.println(indent + "if (" + offset + " < 0) {");
970 out.println(indent + indent + "_exception = 1;");
972 out.println(indent + " jniThrowException(_env, " +
974 out.println(indent + " goto exit;");
976 out.println(indent + "}");
978 out.println(indent + remaining + " = " +
988 out.println(indent +
993 out.println(indent + " " +
999 out.println(indent +
1002 out.println();
1009 out.println(indent + "if (" + cname + "_buf) {");
1014 out.println(indent +
1021 out.println(iii + indent + "if ( ! " + cname + " ) {");
1022 out.println(iii + iii + indent + "return;");
1023 out.println(iii + indent + "}");
1025 out.println(indent +
1040 out.println(indent + "}");
1065 out.println("ctx);");
1067 out.println(");");
1071 out.println("ctx,");
1073 out.println();
1093 out.println(",");
1094 out.println(indent + indent + "(GLsizei)remaining");
1096 out.println();
1099 out.println(",");
1102 out.println(indent + ");");
1106 out.println();
1107 out.println("exit:");
1122 out.println(indent +
1124 out.println(indent + indent +
1131 out.println(indent + indent + indent +
1136 out.println(indent + "}");
1141 out.println(indent + "if (" + array + ") {");
1142 out.println(indent + indent +
1150 out.println(indent + "}");
1163 out.println(indent + "if (_native" + cname + ") {");
1164 out.println(indent + " _env->ReleaseStringUTFChars(" + cname + ", _native" + cname + ");");
1165 out.println(indent + "}");
1168 out.println();
1173 out.println(indent + "return _returnValue;");
1176 out.println("}");
1177 out.println();