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