Lines Matching refs:iii
156 void emitFunctionCall(JFunc jfunc, PrintStream out, String iii, boolean grabArray) {
161 out.println(iii +
164 out.println(iii +
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()");
195 out.println(iii + ");");
199 String iii) {
201 "offset", "_remaining", iii);
205 String offset, String remaining, String iii) {
206 out.println(iii + " default:");
207 out.println(iii + " _needed = 1;");
208 out.println(iii + " break;");
209 out.println(iii + "}");
211 out.println(iii + "if (" + remaining + " < _needed) {");
212 out.println(iii + indent + "_exception = 1;");
213 out.println(iii + indent +
215 out.println(iii + indent +
219 out.println(iii + indent + "goto exit;");
220 out.println(iii + "}");
352 boolean isBuffer, boolean emitExceptionCheck, String offset, String remaining, String iii) {
364 offset, remaining, iii);
371 out.println(iii + "if (" + remaining + " < " + checks[index + 2] + ") {");
372 out.println(iii + indent + "_exception = 1;");
386 out.println(iii + indent +
388 out.println(iii + indent +
394 out.println(iii + indent + "goto exit;");
395 out.println(iii + "}");
404 out.println(iii + "int _needed;");
405 out.println(iii + "switch (" + checks[index + 3] + ") {");
410 out.println(iii + " case " + matches[i] + ":");
413 out.println(iii + " _needed = " + checks[index + 2] + ";");
414 out.println(iii + " break;");
425 printIfcheckPostamble(out, isBuffer, emitExceptionCheck, iii);
430 boolean isBuffer, boolean emitExceptionCheck, String offset, String remaining, String iii) {
443 out.println(iii + cname + "_sentinel = false;");
444 out.println(iii + "for (int i = " + remaining +
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 + "}");
452 out.println(iii + "}");
453 iii +
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;");
461 out.println(iii + "}");
572 String iii = indent + indent;
574 // emitBoundsChecks(jfunc, out, iii);
575 emitFunctionCall(jfunc, out, iii, false);
587 out.println(iii + "if ((size == 4) &&");
588 out.println(iii + " ((type == GL_FLOAT) ||");
589 out.println(iii + " (type == GL_UNSIGNED_BYTE) ||");
590 out.println(iii + " (type == GL_FIXED)) &&");
591 out.println(iii + " (stride >= 0)) {");
592 out.println(iii + indent + "_colorPointer = pointer;");
593 out.println(iii + "}");
595 out.println(iii + "if (((type == GL_FLOAT) ||");
596 out.println(iii + " (type == GL_BYTE) ||");
597 out.println(iii + " (type == GL_SHORT) ||");
598 out.println(iii + " (type == GL_FIXED)) &&");
599 out.println(iii + " (stride >= 0)) {");
600 out.println(iii + indent + "_normalPointer = pointer;");
601 out.println(iii + "}");
603 out.println(iii + "if (((size == 2) ||");
604 out.println(iii + " (size == 3) ||");
605 out.println(iii + " (size == 4)) &&");
606 out.println(iii + " ((type == GL_FLOAT) ||");
607 out.println(iii + " (type == GL_BYTE) ||");
608 out.println(iii + " (type == GL_SHORT) ||");
609 out.println(iii + " (type == GL_FIXED)) &&");
610 out.println(iii + " (stride >= 0)) {");
611 out.println(iii + indent + "_texCoordPointer = pointer;");
612 out.println(iii + "}");
614 out.println(iii + "if (((size == 2) ||");
615 out.println(iii + " (size == 3) ||");
616 out.println(iii + " (size == 4)) &&");
617 out.println(iii + " ((type == GL_FLOAT) ||");
618 out.println(iii + " (type == GL_BYTE) ||");
619 out.println(iii + " (type == GL_SHORT) ||");
620 out.println(iii + " (type == GL_FIXED)) &&");
621 out.println(iii + " (stride >= 0)) {");
622 out.println(iii + indent + "_vertexPointer = pointer;");
623 out.println(iii + "}");
625 out.println(iii + "if (((type == GL_FLOAT) ||");
626 out.println(iii + " (type == GL_FIXED)) &&");
627 out.println(iii + " (stride >= 0)) {");
628 out.println(iii + indent + "_pointSizePointerOES = pointer;");
629 out.println(iii + "}");
631 out.println(iii + "if (((size == 2) ||");
632 out.println(iii + " (size == 3) ||");
633 out.println(iii + " (size == 4)) &&");
634 out.println(iii + " ((type == GL_FLOAT) ||");
635 out.println(iii + " (type == GL_BYTE) ||");
636 out.println(iii + " (type == GL_SHORT) ||");
637 out.println(iii + " (type == GL_FIXED)) &&");
638 out.println(iii + " (stride >= 0)) {");
639 out.println(iii + indent + "_matrixIndexPointerOES = pointer;");
640 out.println(iii + "}");
642 out.println(iii + "if (((size == 2) ||");
643 out.println(iii + " (size == 3) ||");
644 out.println(iii + " (size == 4)) &&");
645 out.println(iii + " ((type == GL_FLOAT) ||");
646 out.println(iii + " (type == GL_BYTE) ||");
647 out.println(iii + " (type == GL_SHORT) ||");
648 out.println(iii + " (type == GL_FIXED)) &&");
649 out.println(iii + " (stride >= 0)) {");
650 out.println(iii + indent + "_weightPointerOES = pointer;");
651 out.println(iii + "}");
1201 String iii = " ";
1202 out.println(iii + indent + "if ( ! " + cname + " ) {");
1203 out.println(iii + indent + indent + "return;");
1204 out.println(iii + indent + "}");