Home | History | Annotate | Download | only in src

Lines Matching defs:cname

327     void emitNativeBoundsChecks(CFunc cfunc, String cname, PrintStream out,
343 if (cname != null && !cname.equals(checks[index + 1])) {
747 String cname = cfunc.getArgName(cIndex);
748 bufferArgNames.add(cname);
879 String cname = cfunc.getArgName(cIndex);
891 "_" + cname + "Remaining";
909 String cname = cfunc.getArgName(cIndex);
911 out.println(indent + "const char* _native" + cname + " = 0;");
922 String cname = cfunc.getArgName(cIndex);
926 out.println(indent + "if (!" + cname + ") {");
928 "\"java/lang/IllegalArgumentException\", \"" + cname + " == null\");");
933 out.println(indent + "_native" + cname + " = _env->GetStringUTFChars(" + cname + ", 0);");
947 String cname = cfunc.getArgName(cIndex);
949 cname + "Offset";
951 "_" + cname + "Remaining";
956 cname +
963 "\"" + cname + " == null\");");
982 cname + "_ref) - " + offset + ";");
984 emitNativeBoundsChecks(cfunc, cname, out, false,
989 cname +
1000 cname + " = " + cname + "_base + " + offset +
1009 out.println(indent + "if (" + cname + "_buf) {");
1015 cname +
1019 cname + "_buf);");
1021 out.println(iii + indent + "if ( ! " + cname + " ) {");
1026 cname +
1030 cname +
1035 emitNativeBoundsChecks(cfunc, cname, out, true,
1161 String cname = cfunc.getArgName(cIndex);
1163 out.println(indent + "if (_native" + cname + ") {");
1164 out.println(indent + " _env->ReleaseStringUTFChars(" + cname + ", _native" + cname + ");");