Lines Matching refs:file

707         print(s, file=src_file)
763 print("try {", file=body_text)
766 print("{0} result = ({0}) ".format(return_type), end="", file=body_text)
767 print("vh.{0}(this".format(accessor.method_name), end="", file=body_text)
770 … print(", SampleValues.get_{0}({1})".format(value_type.boxed_type, i), end="", file=body_text)
771 print(");", file=body_text)
774 file=body_text)
776 print("failUnreachable();", file=body_text)
777 print("} catch (WrongMethodTypeException e) {", file=body_text)
778 print("} catch (UnsupportedOperationException e) {", file=body_text)
780 file=body_text)
781 print("}", file=body_text)
784 print(template.safe_substitute(expansions), file=src_file)
825 print("try {", file=body_text)
826 print("{0} result = ({0}) ".format(value_type.boxed_type), end="", file=body_text)
827 print("vh.{0}(this".format(accessor.method_name), end="", file=body_text)
830 print(", {0})".format(var_type.examples[i]), end="", file=body_text)
831 print(");", file=body_text)
834 file=body_text)
836 print("failUnreachable();", file=body_text)
837 print("} catch (WrongMethodTypeException e) {", file=body_text)
838 print("} catch (UnsupportedOperationException e) {", file=body_text)
840 file=body_text)
841 print("}", file=body_text)
844 print(template.safe_substitute(expansions), file=src_file)
858 print("// " + BANNER, file=main_file)
862 """, file=main_file)
864 print(" " + cls + ".main(args);", file=main_file)
865 print(" VarHandleUnitTest.DEFAULT_COLLECTOR.printSummary();", file=main_file)
866 … System.exit(VarHandleUnitTest.DEFAULT_COLLECTOR.failuresOccurred() ? 1 : 0);", file=main_file)
867 print(" }\n}", file=main_file)
872 print("{} is not a valid java dir".format(final_java_dir), file=sys.stderr)