rb_define_method 3787 array.c rb_define_method(rb_cArray, "initialize", rb_ary_initialize, -1); rb_define_method 3788 array.c rb_define_method(rb_cArray, "initialize_copy", rb_ary_replace, 1); rb_define_method 3790 array.c rb_define_method(rb_cArray, "to_s", rb_ary_inspect, 0); rb_define_method 3791 array.c rb_define_method(rb_cArray, "inspect", rb_ary_inspect, 0); rb_define_method 3792 array.c rb_define_method(rb_cArray, "to_a", rb_ary_to_a, 0); rb_define_method 3793 array.c rb_define_method(rb_cArray, "to_ary", rb_ary_to_ary_m, 0); rb_define_method 3794 array.c rb_define_method(rb_cArray, "frozen?", rb_ary_frozen_p, 0); rb_define_method 3796 array.c rb_define_method(rb_cArray, "==", rb_ary_equal, 1); rb_define_method 3797 array.c rb_define_method(rb_cArray, "eql?", rb_ary_eql, 1); rb_define_method 3798 array.c rb_define_method(rb_cArray, "hash", rb_ary_hash, 0); rb_define_method 3800 array.c rb_define_method(rb_cArray, "[]", rb_ary_aref, -1); rb_define_method 3801 array.c rb_define_method(rb_cArray, "[]=", rb_ary_aset, -1); rb_define_method 3802 array.c rb_define_method(rb_cArray, "at", rb_ary_at, 1); rb_define_method 3803 array.c rb_define_method(rb_cArray, "fetch", rb_ary_fetch, -1); rb_define_method 3804 array.c rb_define_method(rb_cArray, "first", rb_ary_first, -1); rb_define_method 3805 array.c rb_define_method(rb_cArray, "last", rb_ary_last, -1); rb_define_method 3806 array.c rb_define_method(rb_cArray, "concat", rb_ary_concat, 1); rb_define_method 3807 array.c rb_define_method(rb_cArray, "<<", rb_ary_push, 1); rb_define_method 3808 array.c rb_define_method(rb_cArray, "push", rb_ary_push_m, -1); rb_define_method 3809 array.c rb_define_method(rb_cArray, "pop", rb_ary_pop_m, -1); rb_define_method 3810 array.c rb_define_method(rb_cArray, "shift", rb_ary_shift_m, -1); rb_define_method 3811 array.c rb_define_method(rb_cArray, "unshift", rb_ary_unshift_m, -1); rb_define_method 3812 array.c rb_define_method(rb_cArray, "insert", rb_ary_insert, -1); rb_define_method 3813 array.c rb_define_method(rb_cArray, "each", rb_ary_each, 0); rb_define_method 3814 array.c rb_define_method(rb_cArray, "each_index", rb_ary_each_index, 0); rb_define_method 3815 array.c rb_define_method(rb_cArray, "reverse_each", rb_ary_reverse_each, 0); rb_define_method 3816 array.c rb_define_method(rb_cArray, "length", rb_ary_length, 0); rb_define_method 3818 array.c rb_define_method(rb_cArray, "empty?", rb_ary_empty_p, 0); rb_define_method 3819 array.c rb_define_method(rb_cArray, "find_index", rb_ary_index, -1); rb_define_method 3820 array.c rb_define_method(rb_cArray, "index", rb_ary_index, -1); rb_define_method 3821 array.c rb_define_method(rb_cArray, "rindex", rb_ary_rindex, -1); rb_define_method 3822 array.c rb_define_method(rb_cArray, "join", rb_ary_join_m, -1); rb_define_method 3823 array.c rb_define_method(rb_cArray, "reverse", rb_ary_reverse_m, 0); rb_define_method 3824 array.c rb_define_method(rb_cArray, "reverse!", rb_ary_reverse_bang, 0); rb_define_method 3825 array.c rb_define_method(rb_cArray, "sort", rb_ary_sort, 0); rb_define_method 3826 array.c rb_define_method(rb_cArray, "sort!", rb_ary_sort_bang, 0); rb_define_method 3827 array.c rb_define_method(rb_cArray, "collect", rb_ary_collect, 0); rb_define_method 3828 array.c rb_define_method(rb_cArray, "collect!", rb_ary_collect_bang, 0); rb_define_method 3829 array.c rb_define_method(rb_cArray, "map", rb_ary_collect, 0); rb_define_method 3830 array.c rb_define_method(rb_cArray, "map!", rb_ary_collect_bang, 0); rb_define_method 3831 array.c rb_define_method(rb_cArray, "select", rb_ary_select, 0); rb_define_method 3832 array.c rb_define_method(rb_cArray, "values_at", rb_ary_values_at, -1); rb_define_method 3833 array.c rb_define_method(rb_cArray, "delete", rb_ary_delete, 1); rb_define_method 3834 array.c rb_define_method(rb_cArray, "delete_at", rb_ary_delete_at_m, 1); rb_define_method 3835 array.c rb_define_method(rb_cArray, "delete_if", rb_ary_delete_if, 0); rb_define_method 3836 array.c rb_define_method(rb_cArray, "reject", rb_ary_reject, 0); rb_define_method 3837 array.c rb_define_method(rb_cArray, "reject!", rb_ary_reject_bang, 0); rb_define_method 3838 array.c rb_define_method(rb_cArray, "zip", rb_ary_zip, -1); rb_define_method 3839 array.c rb_define_method(rb_cArray, "transpose", rb_ary_transpose, 0); rb_define_method 3840 array.c rb_define_method(rb_cArray, "replace", rb_ary_replace, 1); rb_define_method 3841 array.c rb_define_method(rb_cArray, "clear", rb_ary_clear, 0); rb_define_method 3842 array.c rb_define_method(rb_cArray, "fill", rb_ary_fill, -1); rb_define_method 3843 array.c rb_define_method(rb_cArray, "include?", rb_ary_includes, 1); rb_define_method 3844 array.c rb_define_method(rb_cArray, "<=>", rb_ary_cmp, 1); rb_define_method 3846 array.c rb_define_method(rb_cArray, "slice", rb_ary_aref, -1); rb_define_method 3847 array.c rb_define_method(rb_cArray, "slice!", rb_ary_slice_bang, -1); rb_define_method 3849 array.c rb_define_method(rb_cArray, "assoc", rb_ary_assoc, 1); rb_define_method 3850 array.c rb_define_method(rb_cArray, "rassoc", rb_ary_rassoc, 1); rb_define_method 3852 array.c rb_define_method(rb_cArray, "+", rb_ary_plus, 1); rb_define_method 3853 array.c rb_define_method(rb_cArray, "*", rb_ary_times, 1); rb_define_method 3855 array.c rb_define_method(rb_cArray, "-", rb_ary_diff, 1); rb_define_method 3856 array.c rb_define_method(rb_cArray, "&", rb_ary_and, 1); rb_define_method 3857 array.c rb_define_method(rb_cArray, "|", rb_ary_or, 1); rb_define_method 3859 array.c rb_define_method(rb_cArray, "uniq", rb_ary_uniq, 0); rb_define_method 3860 array.c rb_define_method(rb_cArray, "uniq!", rb_ary_uniq_bang, 0); rb_define_method 3861 array.c rb_define_method(rb_cArray, "compact", rb_ary_compact, 0); rb_define_method 3862 array.c rb_define_method(rb_cArray, "compact!", rb_ary_compact_bang, 0); rb_define_method 3863 array.c rb_define_method(rb_cArray, "flatten", rb_ary_flatten, -1); rb_define_method 3864 array.c rb_define_method(rb_cArray, "flatten!", rb_ary_flatten_bang, -1); rb_define_method 3865 array.c rb_define_method(rb_cArray, "count", rb_ary_count, -1); rb_define_method 3866 array.c rb_define_method(rb_cArray, "shuffle!", rb_ary_shuffle_bang, 0); rb_define_method 3867 array.c rb_define_method(rb_cArray, "shuffle", rb_ary_shuffle, 0); rb_define_method 3868 array.c rb_define_method(rb_cArray, "sample", rb_ary_sample, -1); rb_define_method 3869 array.c rb_define_method(rb_cArray, "cycle", rb_ary_cycle, -1); rb_define_method 3870 array.c rb_define_method(rb_cArray, "permutation", rb_ary_permutation, -1); rb_define_method 3871 array.c rb_define_method(rb_cArray, "combination", rb_ary_combination, 1); rb_define_method 3872 array.c rb_define_method(rb_cArray, "product", rb_ary_product, -1); rb_define_method 3874 array.c rb_define_method(rb_cArray, "take", rb_ary_take, 1); rb_define_method 3875 array.c rb_define_method(rb_cArray, "take_while", rb_ary_take_while, 0); rb_define_method 3876 array.c rb_define_method(rb_cArray, "drop", rb_ary_drop, 1); rb_define_method 3877 array.c rb_define_method(rb_cArray, "drop_while", rb_ary_drop_while, 0); rb_define_method 2672 bignum.c rb_define_method(rb_cBignum, "to_s", rb_big_to_s, -1); rb_define_method 2673 bignum.c rb_define_method(rb_cBignum, "coerce", rb_big_coerce, 1); rb_define_method 2674 bignum.c rb_define_method(rb_cBignum, "-@", rb_big_uminus, 0); rb_define_method 2675 bignum.c rb_define_method(rb_cBignum, "+", rb_big_plus, 1); rb_define_method 2676 bignum.c rb_define_method(rb_cBignum, "-", rb_big_minus, 1); rb_define_method 2677 bignum.c rb_define_method(rb_cBignum, "*", rb_big_mul, 1); rb_define_method 2678 bignum.c rb_define_method(rb_cBignum, "/", rb_big_div, 1); rb_define_method 2679 bignum.c rb_define_method(rb_cBignum, "%", rb_big_modulo, 1); rb_define_method 2680 bignum.c rb_define_method(rb_cBignum, "div", rb_big_idiv, 1); rb_define_method 2681 bignum.c rb_define_method(rb_cBignum, "divmod", rb_big_divmod, 1); rb_define_method 2682 bignum.c rb_define_method(rb_cBignum, "modulo", rb_big_modulo, 1); rb_define_method 2683 bignum.c rb_define_method(rb_cBignum, "remainder", rb_big_remainder, 1); rb_define_method 2684 bignum.c rb_define_method(rb_cBignum, "fdiv", rb_big_fdiv, 1); rb_define_method 2685 bignum.c rb_define_method(rb_cBignum, "**", rb_big_pow, 1); rb_define_method 2686 bignum.c rb_define_method(rb_cBignum, "&", rb_big_and, 1); rb_define_method 2687 bignum.c rb_define_method(rb_cBignum, "|", rb_big_or, 1); rb_define_method 2688 bignum.c rb_define_method(rb_cBignum, "^", rb_big_xor, 1); rb_define_method 2689 bignum.c rb_define_method(rb_cBignum, "~", rb_big_neg, 0); rb_define_method 2690 bignum.c rb_define_method(rb_cBignum, "<<", rb_big_lshift, 1); rb_define_method 2691 bignum.c rb_define_method(rb_cBignum, ">>", rb_big_rshift, 1); rb_define_method 2692 bignum.c rb_define_method(rb_cBignum, "[]", rb_big_aref, 1); rb_define_method 2694 bignum.c rb_define_method(rb_cBignum, "<=>", rb_big_cmp, 1); rb_define_method 2695 bignum.c rb_define_method(rb_cBignum, "==", rb_big_eq, 1); rb_define_method 2696 bignum.c rb_define_method(rb_cBignum, "eql?", rb_big_eql, 1); rb_define_method 2697 bignum.c rb_define_method(rb_cBignum, "hash", rb_big_hash, 0); rb_define_method 2698 bignum.c rb_define_method(rb_cBignum, "to_f", rb_big_to_f, 0); rb_define_method 2699 bignum.c rb_define_method(rb_cBignum, "abs", rb_big_abs, 0); rb_define_method 2700 bignum.c rb_define_method(rb_cBignum, "magnitude", rb_big_abs, 0); rb_define_method 2701 bignum.c rb_define_method(rb_cBignum, "size", rb_big_size, 0); rb_define_method 2702 bignum.c rb_define_method(rb_cBignum, "odd?", rb_big_odd_p, 0); rb_define_method 2703 bignum.c rb_define_method(rb_cBignum, "even?", rb_big_even_p, 0); rb_define_method 890 class.c rb_define_method(rb_singleton_class(obj), name, func, argc); rb_define_method 205 compar.c rb_define_method(rb_mComparable, "==", cmp_equal, 1); rb_define_method 206 compar.c rb_define_method(rb_mComparable, ">", cmp_gt, 1); rb_define_method 207 compar.c rb_define_method(rb_mComparable, ">=", cmp_ge, 1); rb_define_method 208 compar.c rb_define_method(rb_mComparable, "<", cmp_lt, 1); rb_define_method 209 compar.c rb_define_method(rb_mComparable, "<=", cmp_le, 1); rb_define_method 210 compar.c rb_define_method(rb_mComparable, "between?", cmp_between, 2); rb_define_method 1434 complex.c rb_define_method(rb_cComplex, "real", nucomp_real, 0); rb_define_method 1435 complex.c rb_define_method(rb_cComplex, "imaginary", nucomp_imag, 0); rb_define_method 1436 complex.c rb_define_method(rb_cComplex, "imag", nucomp_imag, 0); rb_define_method 1438 complex.c rb_define_method(rb_cComplex, "-@", nucomp_negate, 0); rb_define_method 1439 complex.c rb_define_method(rb_cComplex, "+", nucomp_add, 1); rb_define_method 1440 complex.c rb_define_method(rb_cComplex, "-", nucomp_sub, 1); rb_define_method 1441 complex.c rb_define_method(rb_cComplex, "*", nucomp_mul, 1); rb_define_method 1442 complex.c rb_define_method(rb_cComplex, "/", nucomp_div, 1); rb_define_method 1443 complex.c rb_define_method(rb_cComplex, "quo", nucomp_quo, 1); rb_define_method 1444 complex.c rb_define_method(rb_cComplex, "fdiv", nucomp_fdiv, 1); rb_define_method 1445 complex.c rb_define_method(rb_cComplex, "**", nucomp_expt, 1); rb_define_method 1447 complex.c rb_define_method(rb_cComplex, "==", nucomp_equal_p, 1); rb_define_method 1448 complex.c rb_define_method(rb_cComplex, "coerce", nucomp_coerce, 1); rb_define_method 1450 complex.c rb_define_method(rb_cComplex, "abs", nucomp_abs, 0); rb_define_method 1451 complex.c rb_define_method(rb_cComplex, "magnitude", nucomp_abs, 0); rb_define_method 1452 complex.c rb_define_method(rb_cComplex, "abs2", nucomp_abs2, 0); rb_define_method 1453 complex.c rb_define_method(rb_cComplex, "arg", nucomp_arg, 0); rb_define_method 1454 complex.c rb_define_method(rb_cComplex, "angle", nucomp_arg, 0); rb_define_method 1455 complex.c rb_define_method(rb_cComplex, "phase", nucomp_arg, 0); rb_define_method 1456 complex.c rb_define_method(rb_cComplex, "rectangular", nucomp_rect, 0); rb_define_method 1457 complex.c rb_define_method(rb_cComplex, "rect", nucomp_rect, 0); rb_define_method 1458 complex.c rb_define_method(rb_cComplex, "polar", nucomp_polar, 0); rb_define_method 1459 complex.c rb_define_method(rb_cComplex, "conjugate", nucomp_conj, 0); rb_define_method 1460 complex.c rb_define_method(rb_cComplex, "conj", nucomp_conj, 0); rb_define_method 1462 complex.c rb_define_method(rb_cComplex, "~", nucomp_conj, 0); /* gcc */ rb_define_method 1465 complex.c rb_define_method(rb_cComplex, "real?", nucomp_false, 0); rb_define_method 1467 complex.c rb_define_method(rb_cComplex, "complex?", nucomp_true, 0); rb_define_method 1468 complex.c rb_define_method(rb_cComplex, "exact?", nucomp_exact_p, 0); rb_define_method 1469 complex.c rb_define_method(rb_cComplex, "inexact?", nucomp_inexact_p, 0); rb_define_method 1472 complex.c rb_define_method(rb_cComplex, "numerator", nucomp_numerator, 0); rb_define_method 1473 complex.c rb_define_method(rb_cComplex, "denominator", nucomp_denominator, 0); rb_define_method 1475 complex.c rb_define_method(rb_cComplex, "hash", nucomp_hash, 0); rb_define_method 1476 complex.c rb_define_method(rb_cComplex, "eql?", nucomp_eql_p, 1); rb_define_method 1478 complex.c rb_define_method(rb_cComplex, "to_s", nucomp_to_s, 0); rb_define_method 1479 complex.c rb_define_method(rb_cComplex, "inspect", nucomp_inspect, 0); rb_define_method 1481 complex.c rb_define_method(rb_cComplex, "marshal_dump", nucomp_marshal_dump, 0); rb_define_method 1482 complex.c rb_define_method(rb_cComplex, "marshal_load", nucomp_marshal_load, 1); rb_define_method 1486 complex.c rb_define_method(rb_cComplex, "to_i", nucomp_to_i, 0); rb_define_method 1487 complex.c rb_define_method(rb_cComplex, "to_f", nucomp_to_f, 0); rb_define_method 1488 complex.c rb_define_method(rb_cComplex, "to_r", nucomp_to_r, 0); rb_define_method 1489 complex.c rb_define_method(rb_cNilClass, "to_c", nilclass_to_c, 0); rb_define_method 1490 complex.c rb_define_method(rb_cNumeric, "to_c", numeric_to_c, 0); rb_define_method 1494 complex.c rb_define_method(rb_cString, "to_c", string_to_c, 0); rb_define_method 1500 complex.c rb_define_method(rb_cNumeric, "real", numeric_real, 0); rb_define_method 1501 complex.c rb_define_method(rb_cNumeric, "imaginary", numeric_imag, 0); rb_define_method 1502 complex.c rb_define_method(rb_cNumeric, "imag", numeric_imag, 0); rb_define_method 1503 complex.c rb_define_method(rb_cNumeric, "abs2", numeric_abs2, 0); rb_define_method 1504 complex.c rb_define_method(rb_cNumeric, "arg", numeric_arg, 0); rb_define_method 1505 complex.c rb_define_method(rb_cNumeric, "angle", numeric_arg, 0); rb_define_method 1506 complex.c rb_define_method(rb_cNumeric, "phase", numeric_arg, 0); rb_define_method 1507 complex.c rb_define_method(rb_cNumeric, "rectangular", numeric_rect, 0); rb_define_method 1508 complex.c rb_define_method(rb_cNumeric, "rect", numeric_rect, 0); rb_define_method 1509 complex.c rb_define_method(rb_cNumeric, "polar", numeric_polar, 0); rb_define_method 1510 complex.c rb_define_method(rb_cNumeric, "conjugate", numeric_conj, 0); rb_define_method 1511 complex.c rb_define_method(rb_cNumeric, "conj", numeric_conj, 0); rb_define_method 1001 cont.c rb_define_method(rb_cFiber, "initialize", rb_fiber_init, 0); rb_define_method 1002 cont.c rb_define_method(rb_cFiber, "resume", rb_fiber_m_resume, -1); rb_define_method 1011 cont.c rb_define_method(rb_cContinuation, "call", rb_cont_call, -1); rb_define_method 1012 cont.c rb_define_method(rb_cContinuation, "[]", rb_cont_call, -1); rb_define_method 1019 cont.c rb_define_method(rb_cFiber, "transfer", rb_fiber_m_transfer, -1); rb_define_method 1020 cont.c rb_define_method(rb_cFiber, "alive?", rb_fiber_alive_p, 0); rb_define_method 1878 dir.c rb_define_method(rb_cDir,"initialize", dir_initialize, -1); rb_define_method 1879 dir.c rb_define_method(rb_cDir,"path", dir_path, 0); rb_define_method 1880 dir.c rb_define_method(rb_cDir,"inspect", dir_inspect, 0); rb_define_method 1881 dir.c rb_define_method(rb_cDir,"read", dir_read, 0); rb_define_method 1882 dir.c rb_define_method(rb_cDir,"each", dir_each, 0); rb_define_method 1883 dir.c rb_define_method(rb_cDir,"rewind", dir_rewind, 0); rb_define_method 1884 dir.c rb_define_method(rb_cDir,"tell", dir_tell, 0); rb_define_method 1885 dir.c rb_define_method(rb_cDir,"seek", dir_seek, 1); rb_define_method 1886 dir.c rb_define_method(rb_cDir,"pos", dir_tell, 0); rb_define_method 1887 dir.c rb_define_method(rb_cDir,"pos=", dir_set_pos, 1); rb_define_method 1888 dir.c rb_define_method(rb_cDir,"close", dir_close, 0); rb_define_method 1373 encoding.c rb_define_method(rb_cEncoding, "to_s", enc_name, 0); rb_define_method 1374 encoding.c rb_define_method(rb_cEncoding, "inspect", enc_inspect, 0); rb_define_method 1375 encoding.c rb_define_method(rb_cEncoding, "name", enc_name, 0); rb_define_method 1376 encoding.c rb_define_method(rb_cEncoding, "names", enc_names, 0); rb_define_method 1377 encoding.c rb_define_method(rb_cEncoding, "dummy?", enc_dummy_p, 0); rb_define_method 1384 encoding.c rb_define_method(rb_cEncoding, "_dump", enc_dump, -1); rb_define_method 1815 enum.c rb_define_method(rb_mEnumerable, "to_a", enum_to_a, -1); rb_define_method 1816 enum.c rb_define_method(rb_mEnumerable, "entries", enum_to_a, -1); rb_define_method 1818 enum.c rb_define_method(rb_mEnumerable, "sort", enum_sort, 0); rb_define_method 1819 enum.c rb_define_method(rb_mEnumerable, "sort_by", enum_sort_by, 0); rb_define_method 1820 enum.c rb_define_method(rb_mEnumerable, "grep", enum_grep, 1); rb_define_method 1821 enum.c rb_define_method(rb_mEnumerable, "count", enum_count, -1); rb_define_method 1822 enum.c rb_define_method(rb_mEnumerable, "find", enum_find, -1); rb_define_method 1823 enum.c rb_define_method(rb_mEnumerable, "detect", enum_find, -1); rb_define_method 1824 enum.c rb_define_method(rb_mEnumerable, "find_index", enum_find_index, -1); rb_define_method 1825 enum.c rb_define_method(rb_mEnumerable, "find_all", enum_find_all, 0); rb_define_method 1826 enum.c rb_define_method(rb_mEnumerable, "select", enum_find_all, 0); rb_define_method 1827 enum.c rb_define_method(rb_mEnumerable, "reject", enum_reject, 0); rb_define_method 1828 enum.c rb_define_method(rb_mEnumerable, "collect", enum_collect, 0); rb_define_method 1829 enum.c rb_define_method(rb_mEnumerable, "map", enum_collect, 0); rb_define_method 1830 enum.c rb_define_method(rb_mEnumerable, "inject", enum_inject, -1); rb_define_method 1831 enum.c rb_define_method(rb_mEnumerable, "reduce", enum_inject, -1); rb_define_method 1832 enum.c rb_define_method(rb_mEnumerable, "partition", enum_partition, 0); rb_define_method 1833 enum.c rb_define_method(rb_mEnumerable, "group_by", enum_group_by, 0); rb_define_method 1834 enum.c rb_define_method(rb_mEnumerable, "first", enum_first, -1); rb_define_method 1835 enum.c rb_define_method(rb_mEnumerable, "all?", enum_all, 0); rb_define_method 1836 enum.c rb_define_method(rb_mEnumerable, "any?", enum_any, 0); rb_define_method 1837 enum.c rb_define_method(rb_mEnumerable, "one?", enum_one, 0); rb_define_method 1838 enum.c rb_define_method(rb_mEnumerable, "none?", enum_none, 0); rb_define_method 1839 enum.c rb_define_method(rb_mEnumerable, "min", enum_min, 0); rb_define_method 1840 enum.c rb_define_method(rb_mEnumerable, "max", enum_max, 0); rb_define_method 1841 enum.c rb_define_method(rb_mEnumerable, "minmax", enum_minmax, 0); rb_define_method 1842 enum.c rb_define_method(rb_mEnumerable, "min_by", enum_min_by, 0); rb_define_method 1843 enum.c rb_define_method(rb_mEnumerable, "max_by", enum_max_by, 0); rb_define_method 1844 enum.c rb_define_method(rb_mEnumerable, "minmax_by", enum_minmax_by, 0); rb_define_method 1845 enum.c rb_define_method(rb_mEnumerable, "member?", enum_member, 1); rb_define_method 1846 enum.c rb_define_method(rb_mEnumerable, "include?", enum_member, 1); rb_define_method 1847 enum.c rb_define_method(rb_mEnumerable, "each_with_index", enum_each_with_index, -1); rb_define_method 1848 enum.c rb_define_method(rb_mEnumerable, "reverse_each", enum_reverse_each, -1); rb_define_method 1849 enum.c rb_define_method(rb_mEnumerable, "zip", enum_zip, -1); rb_define_method 1850 enum.c rb_define_method(rb_mEnumerable, "take", enum_take, 1); rb_define_method 1851 enum.c rb_define_method(rb_mEnumerable, "take_while", enum_take_while, 0); rb_define_method 1852 enum.c rb_define_method(rb_mEnumerable, "drop", enum_drop, 1); rb_define_method 1853 enum.c rb_define_method(rb_mEnumerable, "drop_while", enum_drop_while, 0); rb_define_method 1854 enum.c rb_define_method(rb_mEnumerable, "cycle", enum_cycle, -1); rb_define_method 768 enumerator.c rb_define_method(rb_mKernel, "to_enum", obj_to_enum, -1); rb_define_method 769 enumerator.c rb_define_method(rb_mKernel, "enum_for", obj_to_enum, -1); rb_define_method 771 enumerator.c rb_define_method(rb_mEnumerable, "each_slice", enum_each_slice, 1); rb_define_method 772 enumerator.c rb_define_method(rb_mEnumerable, "each_cons", enum_each_cons, 1); rb_define_method 773 enumerator.c rb_define_method(rb_mEnumerable, "each_with_object", enum_each_with_object, 1); rb_define_method 779 enumerator.c rb_define_method(rb_cEnumerator, "initialize", enumerator_initialize, -1); rb_define_method 780 enumerator.c rb_define_method(rb_cEnumerator, "initialize_copy", enumerator_init_copy, 1); rb_define_method 781 enumerator.c rb_define_method(rb_cEnumerator, "each", enumerator_each, 0); rb_define_method 782 enumerator.c rb_define_method(rb_cEnumerator, "each_with_index", enumerator_with_index, 0); rb_define_method 783 enumerator.c rb_define_method(rb_cEnumerator, "each_with_object", enumerator_with_object, 1); rb_define_method 784 enumerator.c rb_define_method(rb_cEnumerator, "with_index", enumerator_with_index, 0); rb_define_method 785 enumerator.c rb_define_method(rb_cEnumerator, "with_object", enumerator_with_object, 1); rb_define_method 786 enumerator.c rb_define_method(rb_cEnumerator, "next", enumerator_next, 0); rb_define_method 787 enumerator.c rb_define_method(rb_cEnumerator, "rewind", enumerator_rewind, 0); rb_define_method 795 enumerator.c rb_define_method(rb_cGenerator, "initialize", generator_initialize, -1); rb_define_method 796 enumerator.c rb_define_method(rb_cGenerator, "initialize_copy", generator_init_copy, 1); rb_define_method 797 enumerator.c rb_define_method(rb_cGenerator, "each", generator_each, 0); rb_define_method 802 enumerator.c rb_define_method(rb_cYielder, "initialize", yielder_initialize, 0); rb_define_method 803 enumerator.c rb_define_method(rb_cYielder, "yield", yielder_yield, -2); rb_define_method 804 enumerator.c rb_define_method(rb_cYielder, "<<", yielder_yield, -2); rb_define_method 1026 error.c rb_define_method(rb_eException, "exception", exc_exception, -1); rb_define_method 1027 error.c rb_define_method(rb_eException, "initialize", exc_initialize, -1); rb_define_method 1028 error.c rb_define_method(rb_eException, "==", exc_equal, 1); rb_define_method 1029 error.c rb_define_method(rb_eException, "to_s", exc_to_s, 0); rb_define_method 1030 error.c rb_define_method(rb_eException, "message", exc_message, 0); rb_define_method 1031 error.c rb_define_method(rb_eException, "inspect", exc_inspect, 0); rb_define_method 1032 error.c rb_define_method(rb_eException, "backtrace", exc_backtrace, 0); rb_define_method 1033 error.c rb_define_method(rb_eException, "set_backtrace", exc_set_backtrace, 1); rb_define_method 1036 error.c rb_define_method(rb_eSystemExit, "initialize", exit_initialize, -1); rb_define_method 1037 error.c rb_define_method(rb_eSystemExit, "status", exit_status, 0); rb_define_method 1038 error.c rb_define_method(rb_eSystemExit, "success?", exit_success_p, 0); rb_define_method 1057 error.c rb_define_method(rb_eNameError, "initialize", name_err_initialize, -1); rb_define_method 1058 error.c rb_define_method(rb_eNameError, "name", name_err_name, 0); rb_define_method 1059 error.c rb_define_method(rb_eNameError, "to_s", name_err_to_s, 0); rb_define_method 1062 error.c rb_define_method(rb_cNameErrorMesg, "==", name_err_mesg_equal, 1); rb_define_method 1063 error.c rb_define_method(rb_cNameErrorMesg, "to_str", name_err_mesg_to_str, 0); rb_define_method 1064 error.c rb_define_method(rb_cNameErrorMesg, "_dump", name_err_mesg_to_str, 1); rb_define_method 1067 error.c rb_define_method(rb_eNoMethodError, "initialize", nometh_err_initialize, -1); rb_define_method 1068 error.c rb_define_method(rb_eNoMethodError, "args", nometh_err_args, 0); rb_define_method 1078 error.c rb_define_method(rb_eSystemCallError, "initialize", syserr_initialize, -1); rb_define_method 1079 error.c rb_define_method(rb_eSystemCallError, "errno", syserr_errno, 0); rb_define_method 1060 eval.c rb_define_method(rb_mKernel, "extend", rb_obj_extend, -1); rb_define_method 1973 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "precs", BigDecimal_prec, 0); rb_define_method 1975 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "add", BigDecimal_add2, 2); rb_define_method 1976 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "sub", BigDecimal_sub2, 2); rb_define_method 1977 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "mult", BigDecimal_mult2, 2); rb_define_method 1978 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "div",BigDecimal_div2, -1); rb_define_method 1979 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "hash", BigDecimal_hash, 0); rb_define_method 1980 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "to_s", BigDecimal_to_s, -1); rb_define_method 1981 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "to_i", BigDecimal_to_i, 0); rb_define_method 1982 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "to_int", BigDecimal_to_i, 0); rb_define_method 1983 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "to_r", BigDecimal_to_r, 0); rb_define_method 1984 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "split", BigDecimal_split, 0); rb_define_method 1985 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "+", BigDecimal_add, 1); rb_define_method 1986 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "-", BigDecimal_sub, 1); rb_define_method 1987 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "+@", BigDecimal_uplus, 0); rb_define_method 1988 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "-@", BigDecimal_neg, 0); rb_define_method 1989 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "*", BigDecimal_mult, 1); rb_define_method 1990 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "/", BigDecimal_div, 1); rb_define_method 1991 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "quo", BigDecimal_div, 1); rb_define_method 1992 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "%", BigDecimal_mod, 1); rb_define_method 1993 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "modulo", BigDecimal_mod, 1); rb_define_method 1994 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "remainder", BigDecimal_remainder, 1); rb_define_method 1995 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "divmod", BigDecimal_divmod, 1); rb_define_method 1997 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "to_f", BigDecimal_to_f, 0); rb_define_method 1998 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "abs", BigDecimal_abs, 0); rb_define_method 1999 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "sqrt", BigDecimal_sqrt, 1); rb_define_method 2000 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "fix", BigDecimal_fix, 0); rb_define_method 2001 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "round", BigDecimal_round, -1); rb_define_method 2002 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "frac", BigDecimal_frac, 0); rb_define_method 2003 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "floor", BigDecimal_floor, -1); rb_define_method 2004 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "ceil", BigDecimal_ceil, -1); rb_define_method 2005 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "power", BigDecimal_power, 1); rb_define_method 2006 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "**", BigDecimal_power, 1); rb_define_method 2007 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "<=>", BigDecimal_comp, 1); rb_define_method 2008 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "==", BigDecimal_eq, 1); rb_define_method 2009 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "===", BigDecimal_eq, 1); rb_define_method 2010 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "eql?", BigDecimal_eq, 1); rb_define_method 2011 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "<", BigDecimal_lt, 1); rb_define_method 2012 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "<=", BigDecimal_le, 1); rb_define_method 2013 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, ">", BigDecimal_gt, 1); rb_define_method 2014 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, ">=", BigDecimal_ge, 1); rb_define_method 2015 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "zero?", BigDecimal_zero, 0); rb_define_method 2016 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "nonzero?", BigDecimal_nonzero, 0); rb_define_method 2017 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "coerce", BigDecimal_coerce, 1); rb_define_method 2018 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "inspect", BigDecimal_inspect, 0); rb_define_method 2019 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "exponent", BigDecimal_exponent, 0); rb_define_method 2020 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "sign", BigDecimal_sign, 0); rb_define_method 2021 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "nan?", BigDecimal_IsNaN, 0); rb_define_method 2022 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "infinite?", BigDecimal_IsInfinite, 0); rb_define_method 2023 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "finite?", BigDecimal_IsFinite, 0); rb_define_method 2024 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "truncate", BigDecimal_truncate, -1); rb_define_method 2025 ext/bigdecimal/bigdecimal.c rb_define_method(rb_cBigDecimal, "_dump", BigDecimal_dump, -1); rb_define_method 1415 ext/curses/curses.c rb_define_method(cMouseEvent, "eid", curs_mouse_id, 0); rb_define_method 1416 ext/curses/curses.c rb_define_method(cMouseEvent, "x", curs_mouse_x, 0); rb_define_method 1417 ext/curses/curses.c rb_define_method(cMouseEvent, "y", curs_mouse_y, 0); rb_define_method 1418 ext/curses/curses.c rb_define_method(cMouseEvent, "z", curs_mouse_z, 0); rb_define_method 1419 ext/curses/curses.c rb_define_method(cMouseEvent, "bstate", curs_mouse_bstate, 0); rb_define_method 1493 ext/curses/curses.c rb_define_method(cWindow, "initialize", window_initialize, 4); rb_define_method 1494 ext/curses/curses.c rb_define_method(cWindow, "subwin", window_subwin, 4); rb_define_method 1495 ext/curses/curses.c rb_define_method(cWindow, "close", window_close, 0); rb_define_method 1496 ext/curses/curses.c rb_define_method(cWindow, "clear", window_clear, 0); rb_define_method 1497 ext/curses/curses.c rb_define_method(cWindow, "clrtoeol", window_clrtoeol, 0); rb_define_method 1498 ext/curses/curses.c rb_define_method(cWindow, "refresh", window_refresh, 0); rb_define_method 1499 ext/curses/curses.c rb_define_method(cWindow, "noutrefresh", window_noutrefresh, 0); rb_define_method 1500 ext/curses/curses.c rb_define_method(cWindow, "box", window_box, -1); rb_define_method 1501 ext/curses/curses.c rb_define_method(cWindow, "move", window_move, 2); rb_define_method 1502 ext/curses/curses.c rb_define_method(cWindow, "setpos", window_setpos, 2); rb_define_method 1504 ext/curses/curses.c rb_define_method(cWindow, "color_set", window_color_set, 1); rb_define_method 1506 ext/curses/curses.c rb_define_method(cWindow, "cury", window_cury, 0); rb_define_method 1507 ext/curses/curses.c rb_define_method(cWindow, "curx", window_curx, 0); rb_define_method 1508 ext/curses/curses.c rb_define_method(cWindow, "maxy", window_maxy, 0); rb_define_method 1509 ext/curses/curses.c rb_define_method(cWindow, "maxx", window_maxx, 0); rb_define_method 1510 ext/curses/curses.c rb_define_method(cWindow, "begy", window_begy, 0); rb_define_method 1511 ext/curses/curses.c rb_define_method(cWindow, "begx", window_begx, 0); rb_define_method 1512 ext/curses/curses.c rb_define_method(cWindow, "standout", window_standout, 0); rb_define_method 1513 ext/curses/curses.c rb_define_method(cWindow, "standend", window_standend, 0); rb_define_method 1514 ext/curses/curses.c rb_define_method(cWindow, "inch", window_inch, 0); rb_define_method 1515 ext/curses/curses.c rb_define_method(cWindow, "addch", window_addch, 1); rb_define_method 1516 ext/curses/curses.c rb_define_method(cWindow, "insch", window_insch, 1); rb_define_method 1517 ext/curses/curses.c rb_define_method(cWindow, "addstr", window_addstr, 1); rb_define_method 1518 ext/curses/curses.c rb_define_method(cWindow, "<<", window_addstr2, 1); rb_define_method 1519 ext/curses/curses.c rb_define_method(cWindow, "getch", window_getch, 0); rb_define_method 1520 ext/curses/curses.c rb_define_method(cWindow, "getstr", window_getstr, 0); rb_define_method 1521 ext/curses/curses.c rb_define_method(cWindow, "delch", window_delch, 0); rb_define_method 1522 ext/curses/curses.c rb_define_method(cWindow, "deleteln", window_deleteln, 0); rb_define_method 1523 ext/curses/curses.c rb_define_method(cWindow, "insertln", window_insertln, 0); rb_define_method 1524 ext/curses/curses.c rb_define_method(cWindow, "scroll", window_scroll, 0); rb_define_method 1525 ext/curses/curses.c rb_define_method(cWindow, "scrollok", window_scrollok, 1); rb_define_method 1526 ext/curses/curses.c rb_define_method(cWindow, "idlok", window_idlok, 1); rb_define_method 1527 ext/curses/curses.c rb_define_method(cWindow, "setscrreg", window_setscrreg, 2); rb_define_method 1528 ext/curses/curses.c rb_define_method(cWindow, "scrl", window_scrl, 1); rb_define_method 1529 ext/curses/curses.c rb_define_method(cWindow, "resize", window_resize, 2); rb_define_method 1530 ext/curses/curses.c rb_define_method(cWindow, "keypad", window_keypad, 1); rb_define_method 1531 ext/curses/curses.c rb_define_method(cWindow, "keypad=", window_keypad, 1); rb_define_method 1533 ext/curses/curses.c rb_define_method(cWindow, "attroff", window_attroff, 1); rb_define_method 1534 ext/curses/curses.c rb_define_method(cWindow, "attron", window_attron, 1); rb_define_method 1535 ext/curses/curses.c rb_define_method(cWindow, "attrset", window_attrset, 1); rb_define_method 1536 ext/curses/curses.c rb_define_method(cWindow, "bkgdset", window_bkgdset, 1); rb_define_method 1537 ext/curses/curses.c rb_define_method(cWindow, "bkgd", window_bkgd, 1); rb_define_method 1538 ext/curses/curses.c rb_define_method(cWindow, "getbkgd", window_getbkgd, 0); rb_define_method 1540 ext/curses/curses.c rb_define_method(cWindow, "nodelay=", window_nodelay, 1); rb_define_method 1541 ext/curses/curses.c rb_define_method(cWindow, "timeout=", window_timeout, 1); rb_define_method 694 ext/dbm/dbm.c rb_define_method(rb_cDBM, "initialize", fdbm_initialize, -1); rb_define_method 695 ext/dbm/dbm.c rb_define_method(rb_cDBM, "close", fdbm_close, 0); rb_define_method 696 ext/dbm/dbm.c rb_define_method(rb_cDBM, "closed?", fdbm_closed, 0); rb_define_method 697 ext/dbm/dbm.c rb_define_method(rb_cDBM, "[]", fdbm_aref, 1); rb_define_method 698 ext/dbm/dbm.c rb_define_method(rb_cDBM, "fetch", fdbm_fetch_m, -1); rb_define_method 699 ext/dbm/dbm.c rb_define_method(rb_cDBM, "[]=", fdbm_store, 2); rb_define_method 700 ext/dbm/dbm.c rb_define_method(rb_cDBM, "store", fdbm_store, 2); rb_define_method 701 ext/dbm/dbm.c rb_define_method(rb_cDBM, "index", fdbm_index, 1); rb_define_method 702 ext/dbm/dbm.c rb_define_method(rb_cDBM, "key", fdbm_key, 1); rb_define_method 703 ext/dbm/dbm.c rb_define_method(rb_cDBM, "select", fdbm_select, 0); rb_define_method 704 ext/dbm/dbm.c rb_define_method(rb_cDBM, "values_at", fdbm_values_at, -1); rb_define_method 705 ext/dbm/dbm.c rb_define_method(rb_cDBM, "length", fdbm_length, 0); rb_define_method 706 ext/dbm/dbm.c rb_define_method(rb_cDBM, "size", fdbm_length, 0); rb_define_method 707 ext/dbm/dbm.c rb_define_method(rb_cDBM, "empty?", fdbm_empty_p, 0); rb_define_method 708 ext/dbm/dbm.c rb_define_method(rb_cDBM, "each", fdbm_each_pair, 0); rb_define_method 709 ext/dbm/dbm.c rb_define_method(rb_cDBM, "each_value", fdbm_each_value, 0); rb_define_method 710 ext/dbm/dbm.c rb_define_method(rb_cDBM, "each_key", fdbm_each_key, 0); rb_define_method 711 ext/dbm/dbm.c rb_define_method(rb_cDBM, "each_pair", fdbm_each_pair, 0); rb_define_method 712 ext/dbm/dbm.c rb_define_method(rb_cDBM, "keys", fdbm_keys, 0); rb_define_method 713 ext/dbm/dbm.c rb_define_method(rb_cDBM, "values", fdbm_values, 0); rb_define_method 714 ext/dbm/dbm.c rb_define_method(rb_cDBM, "shift", fdbm_shift, 0); rb_define_method 715 ext/dbm/dbm.c rb_define_method(rb_cDBM, "delete", fdbm_delete, 1); rb_define_method 716 ext/dbm/dbm.c rb_define_method(rb_cDBM, "delete_if", fdbm_delete_if, 0); rb_define_method 717 ext/dbm/dbm.c rb_define_method(rb_cDBM, "reject!", fdbm_delete_if, 0); rb_define_method 718 ext/dbm/dbm.c rb_define_method(rb_cDBM, "reject", fdbm_reject, 0); rb_define_method 719 ext/dbm/dbm.c rb_define_method(rb_cDBM, "clear", fdbm_clear, 0); rb_define_method 720 ext/dbm/dbm.c rb_define_method(rb_cDBM,"invert", fdbm_invert, 0); rb_define_method 721 ext/dbm/dbm.c rb_define_method(rb_cDBM,"update", fdbm_update, 1); rb_define_method 722 ext/dbm/dbm.c rb_define_method(rb_cDBM,"replace", fdbm_replace, 1); rb_define_method 724 ext/dbm/dbm.c rb_define_method(rb_cDBM, "include?", fdbm_has_key, 1); rb_define_method 725 ext/dbm/dbm.c rb_define_method(rb_cDBM, "has_key?", fdbm_has_key, 1); rb_define_method 726 ext/dbm/dbm.c rb_define_method(rb_cDBM, "member?", fdbm_has_key, 1); rb_define_method 727 ext/dbm/dbm.c rb_define_method(rb_cDBM, "has_value?", fdbm_has_value, 1); rb_define_method 728 ext/dbm/dbm.c rb_define_method(rb_cDBM, "key?", fdbm_has_key, 1); rb_define_method 729 ext/dbm/dbm.c rb_define_method(rb_cDBM, "value?", fdbm_has_value, 1); rb_define_method 731 ext/dbm/dbm.c rb_define_method(rb_cDBM, "to_a", fdbm_to_a, 0); rb_define_method 732 ext/dbm/dbm.c rb_define_method(rb_cDBM, "to_hash", fdbm_to_hash, 0); rb_define_method 139 ext/digest/bubblebabble/bubblebabble.c rb_define_method(mDigest_Instance, "bubblebabble", rb_digest_instance_bubblebabble, 0); rb_define_method 597 ext/digest/digest.c rb_define_method(rb_mDigest_Instance, "update", rb_digest_instance_update, 1); rb_define_method 598 ext/digest/digest.c rb_define_method(rb_mDigest_Instance, "<<", rb_digest_instance_update, 1); rb_define_method 600 ext/digest/digest.c rb_define_method(rb_mDigest_Instance, "reset", rb_digest_instance_reset, 0); rb_define_method 601 ext/digest/digest.c rb_define_method(rb_mDigest_Instance, "digest_length", rb_digest_instance_digest_length, 0); rb_define_method 602 ext/digest/digest.c rb_define_method(rb_mDigest_Instance, "block_length", rb_digest_instance_block_length, 0); rb_define_method 605 ext/digest/digest.c rb_define_method(rb_mDigest_Instance, "==", rb_digest_instance_equal, 1); rb_define_method 606 ext/digest/digest.c rb_define_method(rb_mDigest_Instance, "inspect", rb_digest_instance_inspect, 0); rb_define_method 609 ext/digest/digest.c rb_define_method(rb_mDigest_Instance, "new", rb_digest_instance_new, 0); rb_define_method 610 ext/digest/digest.c rb_define_method(rb_mDigest_Instance, "digest", rb_digest_instance_digest, -1); rb_define_method 611 ext/digest/digest.c rb_define_method(rb_mDigest_Instance, "digest!", rb_digest_instance_digest_bang, 0); rb_define_method 612 ext/digest/digest.c rb_define_method(rb_mDigest_Instance, "hexdigest", rb_digest_instance_hexdigest, -1); rb_define_method 613 ext/digest/digest.c rb_define_method(rb_mDigest_Instance, "hexdigest!", rb_digest_instance_hexdigest_bang, 0); rb_define_method 614 ext/digest/digest.c rb_define_method(rb_mDigest_Instance, "to_s", rb_digest_instance_to_s, 0); rb_define_method 615 ext/digest/digest.c rb_define_method(rb_mDigest_Instance, "length", rb_digest_instance_length, 0); rb_define_method 616 ext/digest/digest.c rb_define_method(rb_mDigest_Instance, "size", rb_digest_instance_length, 0); rb_define_method 635 ext/digest/digest.c rb_define_method(rb_cDigest_Base, "initialize_copy", rb_digest_base_copy, 1); rb_define_method 636 ext/digest/digest.c rb_define_method(rb_cDigest_Base, "reset", rb_digest_base_reset, 0); rb_define_method 637 ext/digest/digest.c rb_define_method(rb_cDigest_Base, "update", rb_digest_base_update, 1); rb_define_method 638 ext/digest/digest.c rb_define_method(rb_cDigest_Base, "<<", rb_digest_base_update, 1); rb_define_method 640 ext/digest/digest.c rb_define_method(rb_cDigest_Base, "digest_length", rb_digest_base_digest_length, 0); rb_define_method 641 ext/digest/digest.c rb_define_method(rb_cDigest_Base, "block_length", rb_digest_base_block_length, 0); rb_define_method 503 ext/dl/cfunc.c rb_define_method(rb_cDLCFunc, "initialize", rb_dlcfunc_initialize, -1); rb_define_method 504 ext/dl/cfunc.c rb_define_method(rb_cDLCFunc, "call", rb_dlcfunc_call, 1); rb_define_method 505 ext/dl/cfunc.c rb_define_method(rb_cDLCFunc, "[]", rb_dlcfunc_call, 1); rb_define_method 506 ext/dl/cfunc.c rb_define_method(rb_cDLCFunc, "name", rb_dlcfunc_name, 0); rb_define_method 507 ext/dl/cfunc.c rb_define_method(rb_cDLCFunc, "ctype", rb_dlcfunc_ctype, 0); rb_define_method 508 ext/dl/cfunc.c rb_define_method(rb_cDLCFunc, "ctype=", rb_dlcfunc_set_ctype, 1); rb_define_method 509 ext/dl/cfunc.c rb_define_method(rb_cDLCFunc, "calltype", rb_dlcfunc_calltype, 0); rb_define_method 510 ext/dl/cfunc.c rb_define_method(rb_cDLCFunc, "calltype=", rb_dlcfunc_set_calltype, 1); rb_define_method 511 ext/dl/cfunc.c rb_define_method(rb_cDLCFunc, "ptr", rb_dlcfunc_ptr, 0); rb_define_method 512 ext/dl/cfunc.c rb_define_method(rb_cDLCFunc, "ptr=", rb_dlcfunc_set_ptr, 1); rb_define_method 513 ext/dl/cfunc.c rb_define_method(rb_cDLCFunc, "inspect", rb_dlcfunc_inspect, 0); rb_define_method 514 ext/dl/cfunc.c rb_define_method(rb_cDLCFunc, "to_s", rb_dlcfunc_inspect, 0); rb_define_method 515 ext/dl/cfunc.c rb_define_method(rb_cDLCFunc, "to_i", rb_dlcfunc_to_i, 0); rb_define_method 458 ext/dl/cptr.c rb_define_method(rb_cDLCPtr, "initialize", rb_dlptr_initialize, -1); rb_define_method 459 ext/dl/cptr.c rb_define_method(rb_cDLCPtr, "free=", rb_dlptr_free_set, 1); rb_define_method 460 ext/dl/cptr.c rb_define_method(rb_cDLCPtr, "free", rb_dlptr_free_get, 0); rb_define_method 461 ext/dl/cptr.c rb_define_method(rb_cDLCPtr, "to_i", rb_dlptr_to_i, 0); rb_define_method 462 ext/dl/cptr.c rb_define_method(rb_cDLCPtr, "to_value", rb_dlptr_to_value, 0); rb_define_method 463 ext/dl/cptr.c rb_define_method(rb_cDLCPtr, "ptr", rb_dlptr_ptr, 0); rb_define_method 464 ext/dl/cptr.c rb_define_method(rb_cDLCPtr, "+@", rb_dlptr_ptr, 0); rb_define_method 465 ext/dl/cptr.c rb_define_method(rb_cDLCPtr, "ref", rb_dlptr_ref, 0); rb_define_method 466 ext/dl/cptr.c rb_define_method(rb_cDLCPtr, "-@", rb_dlptr_ref, 0); rb_define_method 467 ext/dl/cptr.c rb_define_method(rb_cDLCPtr, "null?", rb_dlptr_null_p, 0); rb_define_method 468 ext/dl/cptr.c rb_define_method(rb_cDLCPtr, "to_s", rb_dlptr_to_s, -1); rb_define_method 469 ext/dl/cptr.c rb_define_method(rb_cDLCPtr, "to_str", rb_dlptr_to_str, -1); rb_define_method 470 ext/dl/cptr.c rb_define_method(rb_cDLCPtr, "inspect", rb_dlptr_inspect, 0); rb_define_method 471 ext/dl/cptr.c rb_define_method(rb_cDLCPtr, "<=>", rb_dlptr_cmp, 1); rb_define_method 472 ext/dl/cptr.c rb_define_method(rb_cDLCPtr, "==", rb_dlptr_eql, 1); rb_define_method 473 ext/dl/cptr.c rb_define_method(rb_cDLCPtr, "eql?", rb_dlptr_eql, 1); rb_define_method 474 ext/dl/cptr.c rb_define_method(rb_cDLCPtr, "+", rb_dlptr_plus, 1); rb_define_method 475 ext/dl/cptr.c rb_define_method(rb_cDLCPtr, "-", rb_dlptr_minus, 1); rb_define_method 476 ext/dl/cptr.c rb_define_method(rb_cDLCPtr, "[]", rb_dlptr_aref, -1); rb_define_method 477 ext/dl/cptr.c rb_define_method(rb_cDLCPtr, "[]=", rb_dlptr_aset, -1); rb_define_method 478 ext/dl/cptr.c rb_define_method(rb_cDLCPtr, "size", rb_dlptr_size, -1); rb_define_method 479 ext/dl/cptr.c rb_define_method(rb_cDLCPtr, "size=", rb_dlptr_size, -1); rb_define_method 220 ext/dl/handle.c rb_define_method(rb_cDLHandle, "initialize", rb_dlhandle_initialize, -1); rb_define_method 221 ext/dl/handle.c rb_define_method(rb_cDLHandle, "to_i", rb_dlhandle_to_i, 0); rb_define_method 222 ext/dl/handle.c rb_define_method(rb_cDLHandle, "close", rb_dlhandle_close, 0); rb_define_method 223 ext/dl/handle.c rb_define_method(rb_cDLHandle, "sym", rb_dlhandle_sym, 1); rb_define_method 224 ext/dl/handle.c rb_define_method(rb_cDLHandle, "[]", rb_dlhandle_sym, 1); rb_define_method 225 ext/dl/handle.c rb_define_method(rb_cDLHandle, "disable_close", rb_dlhandle_disable_close, 0); rb_define_method 226 ext/dl/handle.c rb_define_method(rb_cDLHandle, "enable_close", rb_dlhandle_enable_close, 0); rb_define_method 1184 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "initialize", fgdbm_initialize, -1); rb_define_method 1185 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "close", fgdbm_close, 0); rb_define_method 1186 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "closed?", fgdbm_closed, 0); rb_define_method 1187 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "[]", fgdbm_aref, 1); rb_define_method 1188 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "fetch", fgdbm_fetch_m, -1); rb_define_method 1189 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "[]=", fgdbm_store, 2); rb_define_method 1190 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "store", fgdbm_store, 2); rb_define_method 1191 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "index", fgdbm_index, 1); rb_define_method 1192 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "key", fgdbm_key, 1); rb_define_method 1193 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "select", fgdbm_select, 0); rb_define_method 1194 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "values_at", fgdbm_values_at, -1); rb_define_method 1195 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "length", fgdbm_length, 0); rb_define_method 1196 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "size", fgdbm_length, 0); rb_define_method 1197 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "empty?", fgdbm_empty_p, 0); rb_define_method 1198 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "each", fgdbm_each_pair, 0); rb_define_method 1199 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "each_value", fgdbm_each_value, 0); rb_define_method 1200 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "each_key", fgdbm_each_key, 0); rb_define_method 1201 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "each_pair", fgdbm_each_pair, 0); rb_define_method 1202 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "keys", fgdbm_keys, 0); rb_define_method 1203 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "values", fgdbm_values, 0); rb_define_method 1204 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "shift", fgdbm_shift, 0); rb_define_method 1205 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "delete", fgdbm_delete, 1); rb_define_method 1206 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "delete_if", fgdbm_delete_if, 0); rb_define_method 1207 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "reject!", fgdbm_delete_if, 0); rb_define_method 1208 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "reject", fgdbm_reject, 0); rb_define_method 1209 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "clear", fgdbm_clear, 0); rb_define_method 1210 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "invert", fgdbm_invert, 0); rb_define_method 1211 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "update", fgdbm_update, 1); rb_define_method 1212 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "replace", fgdbm_replace, 1); rb_define_method 1213 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "reorganize", fgdbm_reorganize, 0); rb_define_method 1214 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "sync", fgdbm_sync, 0); rb_define_method 1216 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "cachesize=", fgdbm_set_cachesize, 1); rb_define_method 1217 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "fastmode=", fgdbm_set_fastmode, 1); rb_define_method 1218 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "syncmode=", fgdbm_set_syncmode, 1); rb_define_method 1220 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "include?", fgdbm_has_key, 1); rb_define_method 1221 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "has_key?", fgdbm_has_key, 1); rb_define_method 1222 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "member?", fgdbm_has_key, 1); rb_define_method 1223 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "has_value?", fgdbm_has_value, 1); rb_define_method 1224 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "key?", fgdbm_has_key, 1); rb_define_method 1225 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "value?", fgdbm_has_value, 1); rb_define_method 1227 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "to_a", fgdbm_to_a, 0); rb_define_method 1228 ext/gdbm/gdbm.c rb_define_method(rb_cGDBM, "to_hash", fgdbm_to_hash, 0); rb_define_method 1167 ext/iconv/iconv.c rb_define_method(rb_cIconv, "initialize", iconv_initialize, -1); rb_define_method 1168 ext/iconv/iconv.c rb_define_method(rb_cIconv, "close", iconv_finish, 0); rb_define_method 1169 ext/iconv/iconv.c rb_define_method(rb_cIconv, "iconv", iconv_iconv, -1); rb_define_method 1170 ext/iconv/iconv.c rb_define_method(rb_cIconv, "conv", iconv_conv, -1); rb_define_method 1171 ext/iconv/iconv.c rb_define_method(rb_cIconv, "trivial?", iconv_trivialp, 0); rb_define_method 1172 ext/iconv/iconv.c rb_define_method(rb_cIconv, "transliterate?", iconv_get_transliterate, 0); rb_define_method 1173 ext/iconv/iconv.c rb_define_method(rb_cIconv, "transliterate=", iconv_set_transliterate, 1); rb_define_method 1174 ext/iconv/iconv.c rb_define_method(rb_cIconv, "discard_ilseq?", iconv_get_discard_ilseq, 0); rb_define_method 1175 ext/iconv/iconv.c rb_define_method(rb_cIconv, "discard_ilseq=", iconv_set_discard_ilseq, 1); rb_define_method 1178 ext/iconv/iconv.c rb_define_method(rb_eIconvFailure, "initialize", iconv_failure_initialize, 3); rb_define_method 1179 ext/iconv/iconv.c rb_define_method(rb_eIconvFailure, "success", iconv_failure_success, 0); rb_define_method 1180 ext/iconv/iconv.c rb_define_method(rb_eIconvFailure, "failed", iconv_failure_failed, 0); rb_define_method 1181 ext/iconv/iconv.c rb_define_method(rb_eIconvFailure, "inspect", iconv_failure_inspect, 0); rb_define_method 139 ext/io/wait/wait.c rb_define_method(rb_cIO, "ready?", io_ready_p, 0); rb_define_method 140 ext/io/wait/wait.c rb_define_method(rb_cIO, "wait", io_wait, -1); rb_define_method 812 ext/json/ext/generator/generator.c rb_define_method(cState, "initialize", cState_initialize, -1); rb_define_method 814 ext/json/ext/generator/generator.c rb_define_method(cState, "indent", cState_indent, 0); rb_define_method 815 ext/json/ext/generator/generator.c rb_define_method(cState, "indent=", cState_indent_set, 1); rb_define_method 816 ext/json/ext/generator/generator.c rb_define_method(cState, "space", cState_space, 0); rb_define_method 817 ext/json/ext/generator/generator.c rb_define_method(cState, "space=", cState_space_set, 1); rb_define_method 818 ext/json/ext/generator/generator.c rb_define_method(cState, "space_before", cState_space_before, 0); rb_define_method 819 ext/json/ext/generator/generator.c rb_define_method(cState, "space_before=", cState_space_before_set, 1); rb_define_method 820 ext/json/ext/generator/generator.c rb_define_method(cState, "object_nl", cState_object_nl, 0); rb_define_method 821 ext/json/ext/generator/generator.c rb_define_method(cState, "object_nl=", cState_object_nl_set, 1); rb_define_method 822 ext/json/ext/generator/generator.c rb_define_method(cState, "array_nl", cState_array_nl, 0); rb_define_method 823 ext/json/ext/generator/generator.c rb_define_method(cState, "array_nl=", cState_array_nl_set, 1); rb_define_method 824 ext/json/ext/generator/generator.c rb_define_method(cState, "check_circular?", cState_check_circular_p, 0); rb_define_method 825 ext/json/ext/generator/generator.c rb_define_method(cState, "max_nesting", cState_max_nesting, 0); rb_define_method 826 ext/json/ext/generator/generator.c rb_define_method(cState, "max_nesting=", cState_max_nesting_set, 1); rb_define_method 827 ext/json/ext/generator/generator.c rb_define_method(cState, "allow_nan?", cState_allow_nan_p, 0); rb_define_method 828 ext/json/ext/generator/generator.c rb_define_method(cState, "seen?", cState_seen_p, 1); rb_define_method 829 ext/json/ext/generator/generator.c rb_define_method(cState, "remember", cState_remember, 1); rb_define_method 830 ext/json/ext/generator/generator.c rb_define_method(cState, "forget", cState_forget, 1); rb_define_method 831 ext/json/ext/generator/generator.c rb_define_method(cState, "configure", cState_configure, 1); rb_define_method 832 ext/json/ext/generator/generator.c rb_define_method(cState, "to_h", cState_to_h, 0); rb_define_method 836 ext/json/ext/generator/generator.c rb_define_method(mObject, "to_json", mObject_to_json, -1); rb_define_method 838 ext/json/ext/generator/generator.c rb_define_method(mHash, "to_json", mHash_to_json, -1); rb_define_method 840 ext/json/ext/generator/generator.c rb_define_method(mArray, "to_json", mArray_to_json, -1); rb_define_method 842 ext/json/ext/generator/generator.c rb_define_method(mInteger, "to_json", mInteger_to_json, -1); rb_define_method 844 ext/json/ext/generator/generator.c rb_define_method(mFloat, "to_json", mFloat_to_json, -1); rb_define_method 847 ext/json/ext/generator/generator.c rb_define_method(mString, "to_json", mString_to_json, -1); rb_define_method 848 ext/json/ext/generator/generator.c rb_define_method(mString, "to_json_raw", mString_to_json_raw, -1); rb_define_method 849 ext/json/ext/generator/generator.c rb_define_method(mString, "to_json_raw_object", mString_to_json_raw_object, 0); rb_define_method 851 ext/json/ext/generator/generator.c rb_define_method(mString_Extend, "json_create", mString_Extend_json_create, 1); rb_define_method 853 ext/json/ext/generator/generator.c rb_define_method(mTrueClass, "to_json", mTrueClass_to_json, -1); rb_define_method 855 ext/json/ext/generator/generator.c rb_define_method(mFalseClass, "to_json", mFalseClass_to_json, -1); rb_define_method 857 ext/json/ext/generator/generator.c rb_define_method(mNilClass, "to_json", mNilClass_to_json, -1); rb_define_method 1743 ext/json/ext/parser/parser.c rb_define_method(cParser, "initialize", cParser_initialize, -1); rb_define_method 1744 ext/json/ext/parser/parser.c rb_define_method(cParser, "parse", cParser_parse, 0); rb_define_method 1745 ext/json/ext/parser/parser.c rb_define_method(cParser, "source", cParser_source, 0); rb_define_method 1114 ext/openssl/ossl_asn1.c rb_define_method(cASN1Data, "initialize", ossl_asn1data_initialize, 3); rb_define_method 1115 ext/openssl/ossl_asn1.c rb_define_method(cASN1Data, "to_der", ossl_asn1data_to_der, 0); rb_define_method 1119 ext/openssl/ossl_asn1.c rb_define_method(cASN1Primitive, "initialize", ossl_asn1_initialize, -1); rb_define_method 1120 ext/openssl/ossl_asn1.c rb_define_method(cASN1Primitive, "to_der", ossl_asn1prim_to_der, 0); rb_define_method 1125 ext/openssl/ossl_asn1.c rb_define_method(cASN1Constructive, "initialize", ossl_asn1_initialize, -1); rb_define_method 1126 ext/openssl/ossl_asn1.c rb_define_method(cASN1Constructive, "to_der", ossl_asn1cons_to_der, 0); rb_define_method 1127 ext/openssl/ossl_asn1.c rb_define_method(cASN1Constructive, "each", ossl_asn1cons_each, 0); rb_define_method 1160 ext/openssl/ossl_asn1.c rb_define_method(cASN1ObjectId, "sn", ossl_asn1obj_get_sn, 0); rb_define_method 1161 ext/openssl/ossl_asn1.c rb_define_method(cASN1ObjectId, "ln", ossl_asn1obj_get_ln, 0); rb_define_method 1162 ext/openssl/ossl_asn1.c rb_define_method(cASN1ObjectId, "oid", ossl_asn1obj_get_oid, 0); rb_define_method 747 ext/openssl/ossl_bn.c rb_define_method(cBN, "initialize", ossl_bn_initialize, -1); rb_define_method 750 ext/openssl/ossl_bn.c rb_define_method(cBN, "copy", ossl_bn_copy, 1); rb_define_method 754 ext/openssl/ossl_bn.c rb_define_method(cBN, "num_bytes", ossl_bn_num_bytes, 0); rb_define_method 755 ext/openssl/ossl_bn.c rb_define_method(cBN, "num_bits", ossl_bn_num_bits, 0); rb_define_method 758 ext/openssl/ossl_bn.c rb_define_method(cBN, "+", ossl_bn_add, 1); rb_define_method 759 ext/openssl/ossl_bn.c rb_define_method(cBN, "-", ossl_bn_sub, 1); rb_define_method 760 ext/openssl/ossl_bn.c rb_define_method(cBN, "*", ossl_bn_mul, 1); rb_define_method 761 ext/openssl/ossl_bn.c rb_define_method(cBN, "sqr", ossl_bn_sqr, 0); rb_define_method 762 ext/openssl/ossl_bn.c rb_define_method(cBN, "/", ossl_bn_div, 1); rb_define_method 763 ext/openssl/ossl_bn.c rb_define_method(cBN, "%", ossl_bn_mod, 1); rb_define_method 766 ext/openssl/ossl_bn.c rb_define_method(cBN, "mod_add", ossl_bn_mod_add, 2); rb_define_method 767 ext/openssl/ossl_bn.c rb_define_method(cBN, "mod_sub", ossl_bn_mod_sub, 2); rb_define_method 768 ext/openssl/ossl_bn.c rb_define_method(cBN, "mod_mul", ossl_bn_mod_mul, 2); rb_define_method 769 ext/openssl/ossl_bn.c rb_define_method(cBN, "mod_sqr", ossl_bn_mod_sqr, 1); rb_define_method 770 ext/openssl/ossl_bn.c rb_define_method(cBN, "**", ossl_bn_exp, 1); rb_define_method 771 ext/openssl/ossl_bn.c rb_define_method(cBN, "mod_exp", ossl_bn_mod_exp, 2); rb_define_method 772 ext/openssl/ossl_bn.c rb_define_method(cBN, "gcd", ossl_bn_gcd, 1); rb_define_method 780 ext/openssl/ossl_bn.c rb_define_method(cBN, "cmp", ossl_bn_cmp, 1); rb_define_method 782 ext/openssl/ossl_bn.c rb_define_method(cBN, "ucmp", ossl_bn_ucmp, 1); rb_define_method 783 ext/openssl/ossl_bn.c rb_define_method(cBN, "eql?", ossl_bn_eql, 1); rb_define_method 786 ext/openssl/ossl_bn.c rb_define_method(cBN, "zero?", ossl_bn_is_zero, 0); rb_define_method 787 ext/openssl/ossl_bn.c rb_define_method(cBN, "one?", ossl_bn_is_one, 0); rb_define_method 789 ext/openssl/ossl_bn.c rb_define_method(cBN, "odd?", ossl_bn_is_odd, 0); rb_define_method 803 ext/openssl/ossl_bn.c rb_define_method(cBN, "prime?", ossl_bn_is_prime, -1); rb_define_method 805 ext/openssl/ossl_bn.c rb_define_method(cBN, "set_bit!", ossl_bn_set_bit, 1); rb_define_method 806 ext/openssl/ossl_bn.c rb_define_method(cBN, "clear_bit!", ossl_bn_clear_bit, 1); rb_define_method 807 ext/openssl/ossl_bn.c rb_define_method(cBN, "bit_set?", ossl_bn_is_bit_set, 1); rb_define_method 808 ext/openssl/ossl_bn.c rb_define_method(cBN, "mask_bits!", ossl_bn_mask_bits, 1); rb_define_method 809 ext/openssl/ossl_bn.c rb_define_method(cBN, "<<", ossl_bn_lshift, 1); rb_define_method 810 ext/openssl/ossl_bn.c rb_define_method(cBN, ">>", ossl_bn_rshift, 1); rb_define_method 811 ext/openssl/ossl_bn.c rb_define_method(cBN, "lshift!", ossl_bn_self_lshift, 1); rb_define_method 812 ext/openssl/ossl_bn.c rb_define_method(cBN, "rshift!", ossl_bn_self_rshift, 1); rb_define_method 828 ext/openssl/ossl_bn.c rb_define_method(cBN, "to_s", ossl_bn_to_s, -1); rb_define_method 829 ext/openssl/ossl_bn.c rb_define_method(cBN, "to_i", ossl_bn_to_i, 0); rb_define_method 831 ext/openssl/ossl_bn.c rb_define_method(cBN, "to_bn", ossl_bn_to_bn, 0); rb_define_method 832 ext/openssl/ossl_bn.c rb_define_method(cBN, "coerce", ossl_bn_coerce, 1); rb_define_method 841 ext/openssl/ossl_bn.c rb_define_method(cBN, "mod_inverse", ossl_bn_mod_inverse, 1); rb_define_method 850 ext/openssl/ossl_bn.c rb_define_method(cBN, "prime_fasttest?", ossl_bn_is_prime_fasttest, -1); rb_define_method 528 ext/openssl/ossl_cipher.c rb_define_method(cCipher, "initialize", ossl_cipher_initialize, 1); rb_define_method 529 ext/openssl/ossl_cipher.c rb_define_method(cCipher, "reset", ossl_cipher_reset, 0); rb_define_method 530 ext/openssl/ossl_cipher.c rb_define_method(cCipher, "encrypt", ossl_cipher_encrypt, -1); rb_define_method 531 ext/openssl/ossl_cipher.c rb_define_method(cCipher, "decrypt", ossl_cipher_decrypt, -1); rb_define_method 532 ext/openssl/ossl_cipher.c rb_define_method(cCipher, "pkcs5_keyivgen", ossl_cipher_pkcs5_keyivgen, -1); rb_define_method 533 ext/openssl/ossl_cipher.c rb_define_method(cCipher, "update", ossl_cipher_update, -1); rb_define_method 534 ext/openssl/ossl_cipher.c rb_define_method(cCipher, "final", ossl_cipher_final, 0); rb_define_method 535 ext/openssl/ossl_cipher.c rb_define_method(cCipher, "name", ossl_cipher_name, 0); rb_define_method 536 ext/openssl/ossl_cipher.c rb_define_method(cCipher, "key=", ossl_cipher_set_key, 1); rb_define_method 537 ext/openssl/ossl_cipher.c rb_define_method(cCipher, "key_len=", ossl_cipher_set_key_length, 1); rb_define_method 538 ext/openssl/ossl_cipher.c rb_define_method(cCipher, "key_len", ossl_cipher_key_length, 0); rb_define_method 539 ext/openssl/ossl_cipher.c rb_define_method(cCipher, "iv=", ossl_cipher_set_iv, 1); rb_define_method 540 ext/openssl/ossl_cipher.c rb_define_method(cCipher, "iv_len", ossl_cipher_iv_length, 0); rb_define_method 541 ext/openssl/ossl_cipher.c rb_define_method(cCipher, "block_size", ossl_cipher_block_size, 0); rb_define_method 542 ext/openssl/ossl_cipher.c rb_define_method(cCipher, "padding=", ossl_cipher_set_padding, 1); rb_define_method 456 ext/openssl/ossl_config.c rb_define_method(cConfig, "initialize", ossl_config_initialize, -1); rb_define_method 457 ext/openssl/ossl_config.c rb_define_method(cConfig, "get_value", ossl_config_get_value, 2); rb_define_method 458 ext/openssl/ossl_config.c rb_define_method(cConfig, "value", ossl_config_get_value_old, -1); rb_define_method 459 ext/openssl/ossl_config.c rb_define_method(cConfig, "add_value", ossl_config_add_value, 3); rb_define_method 460 ext/openssl/ossl_config.c rb_define_method(cConfig, "[]", ossl_config_get_section, 1); rb_define_method 461 ext/openssl/ossl_config.c rb_define_method(cConfig, "section", ossl_config_get_section_old, 1); rb_define_method 462 ext/openssl/ossl_config.c rb_define_method(cConfig, "[]=", ossl_config_set_section, 2); rb_define_method 463 ext/openssl/ossl_config.c rb_define_method(cConfig, "sections", ossl_config_get_sections, 0); rb_define_method 464 ext/openssl/ossl_config.c rb_define_method(cConfig, "to_s", ossl_config_to_s, 0); rb_define_method 465 ext/openssl/ossl_config.c rb_define_method(cConfig, "each", ossl_config_each, 0); rb_define_method 466 ext/openssl/ossl_config.c rb_define_method(cConfig, "inspect", ossl_config_inspect, 0); rb_define_method 248 ext/openssl/ossl_digest.c rb_define_method(cDigest, "initialize", ossl_digest_initialize, -1); rb_define_method 250 ext/openssl/ossl_digest.c rb_define_method(cDigest, "reset", ossl_digest_reset, 0); rb_define_method 251 ext/openssl/ossl_digest.c rb_define_method(cDigest, "update", ossl_digest_update, 1); rb_define_method 254 ext/openssl/ossl_digest.c rb_define_method(cDigest, "digest_length", ossl_digest_size, 0); rb_define_method 255 ext/openssl/ossl_digest.c rb_define_method(cDigest, "block_length", ossl_digest_block_length, 0); rb_define_method 257 ext/openssl/ossl_digest.c rb_define_method(cDigest, "name", ossl_digest_name, 0); rb_define_method 357 ext/openssl/ossl_engine.c rb_define_method(cEngine, "id", ossl_engine_get_id, 0); rb_define_method 358 ext/openssl/ossl_engine.c rb_define_method(cEngine, "name", ossl_engine_get_name, 0); rb_define_method 359 ext/openssl/ossl_engine.c rb_define_method(cEngine, "finish", ossl_engine_finish, 0); rb_define_method 360 ext/openssl/ossl_engine.c rb_define_method(cEngine, "cipher", ossl_engine_get_cipher, 1); rb_define_method 361 ext/openssl/ossl_engine.c rb_define_method(cEngine, "digest", ossl_engine_get_digest, 1); rb_define_method 362 ext/openssl/ossl_engine.c rb_define_method(cEngine, "load_private_key", ossl_engine_load_privkey, -1); rb_define_method 363 ext/openssl/ossl_engine.c rb_define_method(cEngine, "load_public_key", ossl_engine_load_pubkey, -1); rb_define_method 364 ext/openssl/ossl_engine.c rb_define_method(cEngine, "set_default", ossl_engine_set_default, 1); rb_define_method 365 ext/openssl/ossl_engine.c rb_define_method(cEngine, "ctrl_cmd", ossl_engine_ctrl_cmd, -1); rb_define_method 366 ext/openssl/ossl_engine.c rb_define_method(cEngine, "cmds", ossl_engine_get_cmds, 0); rb_define_method 367 ext/openssl/ossl_engine.c rb_define_method(cEngine, "inspect", ossl_engine_inspect, 0); rb_define_method 251 ext/openssl/ossl_hmac.c rb_define_method(cHMAC, "initialize", ossl_hmac_initialize, 2); rb_define_method 254 ext/openssl/ossl_hmac.c rb_define_method(cHMAC, "reset", ossl_hmac_reset, 0); rb_define_method 255 ext/openssl/ossl_hmac.c rb_define_method(cHMAC, "update", ossl_hmac_update, 1); rb_define_method 257 ext/openssl/ossl_hmac.c rb_define_method(cHMAC, "digest", ossl_hmac_digest, 0); rb_define_method 258 ext/openssl/ossl_hmac.c rb_define_method(cHMAC, "hexdigest", ossl_hmac_hexdigest, 0); rb_define_method 244 ext/openssl/ossl_ns_spki.c rb_define_method(cSPKI, "initialize", ossl_spki_initialize, -1); rb_define_method 246 ext/openssl/ossl_ns_spki.c rb_define_method(cSPKI, "to_der", ossl_spki_to_der, 0); rb_define_method 247 ext/openssl/ossl_ns_spki.c rb_define_method(cSPKI, "to_pem", ossl_spki_to_pem, 0); rb_define_method 249 ext/openssl/ossl_ns_spki.c rb_define_method(cSPKI, "to_text", ossl_spki_print, 0); rb_define_method 250 ext/openssl/ossl_ns_spki.c rb_define_method(cSPKI, "public_key", ossl_spki_get_public_key, 0); rb_define_method 251 ext/openssl/ossl_ns_spki.c rb_define_method(cSPKI, "public_key=", ossl_spki_set_public_key, 1); rb_define_method 252 ext/openssl/ossl_ns_spki.c rb_define_method(cSPKI, "sign", ossl_spki_sign, 2); rb_define_method 253 ext/openssl/ossl_ns_spki.c rb_define_method(cSPKI, "verify", ossl_spki_verify, 1); rb_define_method 254 ext/openssl/ossl_ns_spki.c rb_define_method(cSPKI, "challenge", ossl_spki_get_challenge, 0); rb_define_method 255 ext/openssl/ossl_ns_spki.c rb_define_method(cSPKI, "challenge=", ossl_spki_set_challenge, 1); rb_define_method 692 ext/openssl/ossl_ocsp.c rb_define_method(cOCSPReq, "initialize", ossl_ocspreq_initialize, -1); rb_define_method 693 ext/openssl/ossl_ocsp.c rb_define_method(cOCSPReq, "add_nonce", ossl_ocspreq_add_nonce, -1); rb_define_method 694 ext/openssl/ossl_ocsp.c rb_define_method(cOCSPReq, "check_nonce", ossl_ocspreq_check_nonce, 1); rb_define_method 695 ext/openssl/ossl_ocsp.c rb_define_method(cOCSPReq, "add_certid", ossl_ocspreq_add_certid, 1); rb_define_method 696 ext/openssl/ossl_ocsp.c rb_define_method(cOCSPReq, "certid", ossl_ocspreq_get_certid, 0); rb_define_method 697 ext/openssl/ossl_ocsp.c rb_define_method(cOCSPReq, "sign", ossl_ocspreq_sign, -1); rb_define_method 698 ext/openssl/ossl_ocsp.c rb_define_method(cOCSPReq, "verify", ossl_ocspreq_verify, -1); rb_define_method 699 ext/openssl/ossl_ocsp.c rb_define_method(cOCSPReq, "to_der", ossl_ocspreq_to_der, 0); rb_define_method 704 ext/openssl/ossl_ocsp.c rb_define_method(cOCSPRes, "initialize", ossl_ocspres_initialize, -1); rb_define_method 705 ext/openssl/ossl_ocsp.c rb_define_method(cOCSPRes, "status", ossl_ocspres_status, 0); rb_define_method 706 ext/openssl/ossl_ocsp.c rb_define_method(cOCSPRes, "status_string", ossl_ocspres_status_string, 0); rb_define_method 707 ext/openssl/ossl_ocsp.c rb_define_method(cOCSPRes, "basic", ossl_ocspres_get_basic, 0); rb_define_method 708 ext/openssl/ossl_ocsp.c rb_define_method(cOCSPRes, "to_der", ossl_ocspres_to_der, 0); rb_define_method 712 ext/openssl/ossl_ocsp.c rb_define_method(cOCSPBasicRes, "initialize", ossl_ocspbres_initialize, -1); rb_define_method 713 ext/openssl/ossl_ocsp.c rb_define_method(cOCSPBasicRes, "copy_nonce", ossl_ocspbres_copy_nonce, 1); rb_define_method 714 ext/openssl/ossl_ocsp.c rb_define_method(cOCSPBasicRes, "add_nonce", ossl_ocspbres_add_nonce, -1); rb_define_method 715 ext/openssl/ossl_ocsp.c rb_define_method(cOCSPBasicRes, "add_status", ossl_ocspbres_add_status, 7); rb_define_method 716 ext/openssl/ossl_ocsp.c rb_define_method(cOCSPBasicRes, "status", ossl_ocspbres_get_status, 0); rb_define_method 717 ext/openssl/ossl_ocsp.c rb_define_method(cOCSPBasicRes, "sign", ossl_ocspbres_sign, -1); rb_define_method 718 ext/openssl/ossl_ocsp.c rb_define_method(cOCSPBasicRes, "verify", ossl_ocspbres_verify, -1); rb_define_method 722 ext/openssl/ossl_ocsp.c rb_define_method(cOCSPCertId, "initialize", ossl_ocspcid_initialize, 2); rb_define_method 723 ext/openssl/ossl_ocsp.c rb_define_method(cOCSPCertId, "cmp", ossl_ocspcid_cmp, 1); rb_define_method 724 ext/openssl/ossl_ocsp.c rb_define_method(cOCSPCertId, "cmp_issuer", ossl_ocspcid_cmp_issuer, 1); rb_define_method 725 ext/openssl/ossl_ocsp.c rb_define_method(cOCSPCertId, "serial", ossl_ocspcid_get_serial, 0); rb_define_method 210 ext/openssl/ossl_pkcs12.c rb_define_method(cPKCS12, "initialize", ossl_pkcs12_initialize, -1); rb_define_method 211 ext/openssl/ossl_pkcs12.c rb_define_method(cPKCS12, "to_der", ossl_pkcs12_to_der, 0); rb_define_method 968 ext/openssl/ossl_pkcs7.c rb_define_method(cPKCS7, "initialize", ossl_pkcs7_initialize, -1); rb_define_method 969 ext/openssl/ossl_pkcs7.c rb_define_method(cPKCS7, "type=", ossl_pkcs7_set_type, 1); rb_define_method 970 ext/openssl/ossl_pkcs7.c rb_define_method(cPKCS7, "type", ossl_pkcs7_get_type, 0); rb_define_method 971 ext/openssl/ossl_pkcs7.c rb_define_method(cPKCS7, "detached=", ossl_pkcs7_set_detached, 1); rb_define_method 972 ext/openssl/ossl_pkcs7.c rb_define_method(cPKCS7, "detached", ossl_pkcs7_get_detached, 0); rb_define_method 973 ext/openssl/ossl_pkcs7.c rb_define_method(cPKCS7, "detached?", ossl_pkcs7_detached_p, 0); rb_define_method 974 ext/openssl/ossl_pkcs7.c rb_define_method(cPKCS7, "cipher=", ossl_pkcs7_set_cipher, 1); rb_define_method 975 ext/openssl/ossl_pkcs7.c rb_define_method(cPKCS7, "add_signer", ossl_pkcs7_add_signer, 1); rb_define_method 976 ext/openssl/ossl_pkcs7.c rb_define_method(cPKCS7, "signers", ossl_pkcs7_get_signer, 0); rb_define_method 977 ext/openssl/ossl_pkcs7.c rb_define_method(cPKCS7, "add_recipient", ossl_pkcs7_add_recipient, 1); rb_define_method 978 ext/openssl/ossl_pkcs7.c rb_define_method(cPKCS7, "recipients", ossl_pkcs7_get_recipient, 0); rb_define_method 979 ext/openssl/ossl_pkcs7.c rb_define_method(cPKCS7, "add_certificate", ossl_pkcs7_add_certificate, 1); rb_define_method 980 ext/openssl/ossl_pkcs7.c rb_define_method(cPKCS7, "certificates=", ossl_pkcs7_set_certificates, 1); rb_define_method 981 ext/openssl/ossl_pkcs7.c rb_define_method(cPKCS7, "certificates", ossl_pkcs7_get_certificates, 0); rb_define_method 982 ext/openssl/ossl_pkcs7.c rb_define_method(cPKCS7, "add_crl", ossl_pkcs7_add_crl, 1); rb_define_method 983 ext/openssl/ossl_pkcs7.c rb_define_method(cPKCS7, "crls=", ossl_pkcs7_set_crls, 1); rb_define_method 984 ext/openssl/ossl_pkcs7.c rb_define_method(cPKCS7, "crls", ossl_pkcs7_get_crls, 0); rb_define_method 985 ext/openssl/ossl_pkcs7.c rb_define_method(cPKCS7, "add_data", ossl_pkcs7_add_data, 1); rb_define_method 987 ext/openssl/ossl_pkcs7.c rb_define_method(cPKCS7, "verify", ossl_pkcs7_verify, -1); rb_define_method 988 ext/openssl/ossl_pkcs7.c rb_define_method(cPKCS7, "decrypt", ossl_pkcs7_decrypt, -1); rb_define_method 989 ext/openssl/ossl_pkcs7.c rb_define_method(cPKCS7, "to_pem", ossl_pkcs7_to_pem, 0); rb_define_method 991 ext/openssl/ossl_pkcs7.c rb_define_method(cPKCS7, "to_der", ossl_pkcs7_to_der, 0); rb_define_method 996 ext/openssl/ossl_pkcs7.c rb_define_method(cPKCS7Signer, "initialize", ossl_pkcs7si_initialize,3); rb_define_method 997 ext/openssl/ossl_pkcs7.c rb_define_method(cPKCS7Signer, "issuer", ossl_pkcs7si_get_issuer, 0); rb_define_method 999 ext/openssl/ossl_pkcs7.c rb_define_method(cPKCS7Signer, "serial", ossl_pkcs7si_get_serial,0); rb_define_method 1000 ext/openssl/ossl_pkcs7.c rb_define_method(cPKCS7Signer,"signed_time",ossl_pkcs7si_get_signed_time,0); rb_define_method 1004 ext/openssl/ossl_pkcs7.c rb_define_method(cPKCS7Recipient, "initialize", ossl_pkcs7ri_initialize,1); rb_define_method 1005 ext/openssl/ossl_pkcs7.c rb_define_method(cPKCS7Recipient, "issuer", ossl_pkcs7ri_get_issuer,0); rb_define_method 1006 ext/openssl/ossl_pkcs7.c rb_define_method(cPKCS7Recipient, "serial", ossl_pkcs7ri_get_serial,0); rb_define_method 1007 ext/openssl/ossl_pkcs7.c rb_define_method(cPKCS7Recipient, "enc_key", ossl_pkcs7ri_get_enc_key,0); rb_define_method 225 ext/openssl/ossl_pkey.c rb_define_method(cPKey, "initialize", ossl_pkey_initialize, 0); rb_define_method 227 ext/openssl/ossl_pkey.c rb_define_method(cPKey, "sign", ossl_pkey_sign, 2); rb_define_method 228 ext/openssl/ossl_pkey.c rb_define_method(cPKey, "verify", ossl_pkey_verify, 3); rb_define_method 137 ext/openssl/ossl_pkey.h rb_define_method(class, #name, ossl_##keytype##_get_##name, 0); \ rb_define_method 138 ext/openssl/ossl_pkey.h rb_define_method(class, #name "=", ossl_##keytype##_set_##name, 1);\ rb_define_method 500 ext/openssl/ossl_pkey_dh.c rb_define_method(cDH, "initialize", ossl_dh_initialize, -1); rb_define_method 501 ext/openssl/ossl_pkey_dh.c rb_define_method(cDH, "public?", ossl_dh_is_public, 0); rb_define_method 502 ext/openssl/ossl_pkey_dh.c rb_define_method(cDH, "private?", ossl_dh_is_private, 0); rb_define_method 503 ext/openssl/ossl_pkey_dh.c rb_define_method(cDH, "to_text", ossl_dh_to_text, 0); rb_define_method 504 ext/openssl/ossl_pkey_dh.c rb_define_method(cDH, "export", ossl_dh_export, 0); rb_define_method 507 ext/openssl/ossl_pkey_dh.c rb_define_method(cDH, "to_der", ossl_dh_to_der, 0); rb_define_method 508 ext/openssl/ossl_pkey_dh.c rb_define_method(cDH, "public_key", ossl_dh_to_public_key, 0); rb_define_method 509 ext/openssl/ossl_pkey_dh.c rb_define_method(cDH, "params_ok?", ossl_dh_check_params, 0); rb_define_method 510 ext/openssl/ossl_pkey_dh.c rb_define_method(cDH, "generate_key!", ossl_dh_generate_key, 0); rb_define_method 511 ext/openssl/ossl_pkey_dh.c rb_define_method(cDH, "compute_key", ossl_dh_compute_key, 1); rb_define_method 516 ext/openssl/ossl_pkey_dh.c rb_define_method(cDH, "params", ossl_dh_get_params, 0); rb_define_method 458 ext/openssl/ossl_pkey_dsa.c rb_define_method(cDSA, "initialize", ossl_dsa_initialize, -1); rb_define_method 460 ext/openssl/ossl_pkey_dsa.c rb_define_method(cDSA, "public?", ossl_dsa_is_public, 0); rb_define_method 461 ext/openssl/ossl_pkey_dsa.c rb_define_method(cDSA, "private?", ossl_dsa_is_private, 0); rb_define_method 462 ext/openssl/ossl_pkey_dsa.c rb_define_method(cDSA, "to_text", ossl_dsa_to_text, 0); rb_define_method 463 ext/openssl/ossl_pkey_dsa.c rb_define_method(cDSA, "export", ossl_dsa_export, -1); rb_define_method 466 ext/openssl/ossl_pkey_dsa.c rb_define_method(cDSA, "to_der", ossl_dsa_to_der, 0); rb_define_method 467 ext/openssl/ossl_pkey_dsa.c rb_define_method(cDSA, "public_key", ossl_dsa_to_public_key, 0); rb_define_method 468 ext/openssl/ossl_pkey_dsa.c rb_define_method(cDSA, "syssign", ossl_dsa_sign, 1); rb_define_method 469 ext/openssl/ossl_pkey_dsa.c rb_define_method(cDSA, "sysverify", ossl_dsa_verify, 2); rb_define_method 477 ext/openssl/ossl_pkey_dsa.c rb_define_method(cDSA, "params", ossl_dsa_get_params, 0); rb_define_method 1503 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC, "initialize", ossl_ec_key_initialize, -1); rb_define_method 1506 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC, "group", ossl_ec_key_get_group, 0); rb_define_method 1507 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC, "group=", ossl_ec_key_set_group, 1); rb_define_method 1508 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC, "private_key", ossl_ec_key_get_private_key, 0); rb_define_method 1509 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC, "private_key=", ossl_ec_key_set_private_key, 1); rb_define_method 1510 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC, "public_key", ossl_ec_key_get_public_key, 0); rb_define_method 1511 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC, "public_key=", ossl_ec_key_set_public_key, 1); rb_define_method 1512 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC, "private_key?", ossl_ec_key_is_private_key, 0); rb_define_method 1513 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC, "public_key?", ossl_ec_key_is_public_key, 0); rb_define_method 1521 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC, "generate_key", ossl_ec_key_generate_key, 0); rb_define_method 1522 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC, "check_key", ossl_ec_key_check_key, 0); rb_define_method 1524 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC, "dh_compute_key", ossl_ec_key_dh_compute_key, 1); rb_define_method 1525 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC, "dsa_sign_asn1", ossl_ec_key_dsa_sign_asn1, 1); rb_define_method 1526 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC, "dsa_verify_asn1", ossl_ec_key_dsa_verify_asn1, 2); rb_define_method 1529 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC, "to_pem", ossl_ec_key_to_pem, 0); rb_define_method 1530 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC, "to_der", ossl_ec_key_to_der, 0); rb_define_method 1531 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC, "to_text", ossl_ec_key_to_text, 0); rb_define_method 1535 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC_GROUP, "initialize", ossl_ec_group_initialize, -1); rb_define_method 1536 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC_GROUP, "eql?", ossl_ec_group_eql, 1); rb_define_method 1540 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC_GROUP, "generator", ossl_ec_group_get_generator, 0); rb_define_method 1541 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC_GROUP, "set_generator", ossl_ec_group_set_generator, 3); rb_define_method 1542 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC_GROUP, "order", ossl_ec_group_get_order, 0); rb_define_method 1543 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC_GROUP, "cofactor", ossl_ec_group_get_cofactor, 0); rb_define_method 1545 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC_GROUP, "curve_name", ossl_ec_group_get_curve_name, 0); rb_define_method 1548 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC_GROUP, "asn1_flag", ossl_ec_group_get_asn1_flag, 0); rb_define_method 1549 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC_GROUP, "asn1_flag=", ossl_ec_group_set_asn1_flag, 1); rb_define_method 1551 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC_GROUP, "point_conversion_form", ossl_ec_group_get_point_conversion_form, 0); rb_define_method 1552 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC_GROUP, "point_conversion_form=", ossl_ec_group_set_point_conversion_form, 1); rb_define_method 1554 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC_GROUP, "seed", ossl_ec_group_get_seed, 0); rb_define_method 1555 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC_GROUP, "seed=", ossl_ec_group_set_seed, 1); rb_define_method 1559 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC_GROUP, "degree", ossl_ec_group_get_degree, 0); rb_define_method 1564 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC_GROUP, "to_pem", ossl_ec_group_to_pem, 0); rb_define_method 1565 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC_GROUP, "to_der", ossl_ec_group_to_der, 0); rb_define_method 1566 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC_GROUP, "to_text", ossl_ec_group_to_text, 0); rb_define_method 1570 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC_POINT, "initialize", ossl_ec_point_initialize, -1); rb_define_method 1572 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC_POINT, "eql?", ossl_ec_point_eql, 1); rb_define_method 1575 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC_POINT, "infinity?", ossl_ec_point_is_at_infinity, 0); rb_define_method 1576 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC_POINT, "on_curve?", ossl_ec_point_is_on_curve, 0); rb_define_method 1577 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC_POINT, "make_affine!", ossl_ec_point_make_affine, 0); rb_define_method 1578 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC_POINT, "invert!", ossl_ec_point_invert, 0); rb_define_method 1579 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC_POINT, "set_to_infinity!", ossl_ec_point_set_to_infinity, 0); rb_define_method 1582 ext/openssl/ossl_pkey_ec.c rb_define_method(cEC_POINT, "to_bn", ossl_ec_point_to_bn, 0); rb_define_method 549 ext/openssl/ossl_pkey_rsa.c rb_define_method(cRSA, "initialize", ossl_rsa_initialize, -1); rb_define_method 551 ext/openssl/ossl_pkey_rsa.c rb_define_method(cRSA, "public?", ossl_rsa_is_public, 0); rb_define_method 552 ext/openssl/ossl_pkey_rsa.c rb_define_method(cRSA, "private?", ossl_rsa_is_private, 0); rb_define_method 553 ext/openssl/ossl_pkey_rsa.c rb_define_method(cRSA, "to_text", ossl_rsa_to_text, 0); rb_define_method 554 ext/openssl/ossl_pkey_rsa.c rb_define_method(cRSA, "export", ossl_rsa_export, -1); rb_define_method 557 ext/openssl/ossl_pkey_rsa.c rb_define_method(cRSA, "to_der", ossl_rsa_to_der, 0); rb_define_method 558 ext/openssl/ossl_pkey_rsa.c rb_define_method(cRSA, "public_key", ossl_rsa_to_public_key, 0); rb_define_method 559 ext/openssl/ossl_pkey_rsa.c rb_define_method(cRSA, "public_encrypt", ossl_rsa_public_encrypt, -1); rb_define_method 560 ext/openssl/ossl_pkey_rsa.c rb_define_method(cRSA, "public_decrypt", ossl_rsa_public_decrypt, -1); rb_define_method 561 ext/openssl/ossl_pkey_rsa.c rb_define_method(cRSA, "private_encrypt", ossl_rsa_private_encrypt, -1); rb_define_method 562 ext/openssl/ossl_pkey_rsa.c rb_define_method(cRSA, "private_decrypt", ossl_rsa_private_decrypt, -1); rb_define_method 573 ext/openssl/ossl_pkey_rsa.c rb_define_method(cRSA, "params", ossl_rsa_get_params, 0); rb_define_method 175 ext/openssl/ossl_rand.c rb_define_method(class, name, func, argc); \ rb_define_method 1372 ext/openssl/ossl_ssl.c rb_define_method(cSSLContext, "initialize", ossl_sslctx_initialize, -1); rb_define_method 1373 ext/openssl/ossl_ssl.c rb_define_method(cSSLContext, "ssl_version=", ossl_sslctx_set_ssl_version, 1); rb_define_method 1374 ext/openssl/ossl_ssl.c rb_define_method(cSSLContext, "ciphers", ossl_sslctx_get_ciphers, 0); rb_define_method 1375 ext/openssl/ossl_ssl.c rb_define_method(cSSLContext, "ciphers=", ossl_sslctx_set_ciphers, 1); rb_define_method 1377 ext/openssl/ossl_ssl.c rb_define_method(cSSLContext, "setup", ossl_sslctx_setup, 0); rb_define_method 1388 ext/openssl/ossl_ssl.c rb_define_method(cSSLContext, "session_add", ossl_sslctx_session_add, 1); rb_define_method 1389 ext/openssl/ossl_ssl.c rb_define_method(cSSLContext, "session_remove", ossl_sslctx_session_remove, 1); rb_define_method 1390 ext/openssl/ossl_ssl.c rb_define_method(cSSLContext, "session_cache_mode", ossl_sslctx_get_session_cache_mode, 0); rb_define_method 1391 ext/openssl/ossl_ssl.c rb_define_method(cSSLContext, "session_cache_mode=", ossl_sslctx_set_session_cache_mode, 1); rb_define_method 1392 ext/openssl/ossl_ssl.c rb_define_method(cSSLContext, "session_cache_size", ossl_sslctx_get_session_cache_size, 0); rb_define_method 1393 ext/openssl/ossl_ssl.c rb_define_method(cSSLContext, "session_cache_size=", ossl_sslctx_set_session_cache_size, 1); rb_define_method 1394 ext/openssl/ossl_ssl.c rb_define_method(cSSLContext, "session_cache_stats", ossl_sslctx_get_session_cache_stats, 0); rb_define_method 1395 ext/openssl/ossl_ssl.c rb_define_method(cSSLContext, "flush_sessions", ossl_sslctx_flush_sessions, -1); rb_define_method 1418 ext/openssl/ossl_ssl.c rb_define_method(cSSLSocket, "initialize", ossl_ssl_initialize, -1); rb_define_method 1419 ext/openssl/ossl_ssl.c rb_define_method(cSSLSocket, "connect", ossl_ssl_connect, 0); rb_define_method 1420 ext/openssl/ossl_ssl.c rb_define_method(cSSLSocket, "accept", ossl_ssl_accept, 0); rb_define_method 1421 ext/openssl/ossl_ssl.c rb_define_method(cSSLSocket, "sysread", ossl_ssl_read, -1); rb_define_method 1422 ext/openssl/ossl_ssl.c rb_define_method(cSSLSocket, "syswrite", ossl_ssl_write, 1); rb_define_method 1423 ext/openssl/ossl_ssl.c rb_define_method(cSSLSocket, "sysclose", ossl_ssl_close, 0); rb_define_method 1424 ext/openssl/ossl_ssl.c rb_define_method(cSSLSocket, "cert", ossl_ssl_get_cert, 0); rb_define_method 1425 ext/openssl/ossl_ssl.c rb_define_method(cSSLSocket, "peer_cert", ossl_ssl_get_peer_cert, 0); rb_define_method 1426 ext/openssl/ossl_ssl.c rb_define_method(cSSLSocket, "peer_cert_chain", ossl_ssl_get_peer_cert_chain, 0); rb_define_method 1427 ext/openssl/ossl_ssl.c rb_define_method(cSSLSocket, "cipher", ossl_ssl_get_cipher, 0); rb_define_method 1428 ext/openssl/ossl_ssl.c rb_define_method(cSSLSocket, "state", ossl_ssl_get_state, 0); rb_define_method 1429 ext/openssl/ossl_ssl.c rb_define_method(cSSLSocket, "pending", ossl_ssl_pending, 0); rb_define_method 1430 ext/openssl/ossl_ssl.c rb_define_method(cSSLSocket, "session_reused?", ossl_ssl_session_reused, 0); rb_define_method 1431 ext/openssl/ossl_ssl.c rb_define_method(cSSLSocket, "session=", ossl_ssl_set_session, 1); rb_define_method 1432 ext/openssl/ossl_ssl.c rb_define_method(cSSLSocket, "verify_result", ossl_ssl_get_verify_result, 0); rb_define_method 279 ext/openssl/ossl_ssl_session.c rb_define_method(cSSLSession, "initialize", ossl_ssl_session_initialize, 1); rb_define_method 281 ext/openssl/ossl_ssl_session.c rb_define_method(cSSLSession, "==", ossl_ssl_session_eq, 1); rb_define_method 283 ext/openssl/ossl_ssl_session.c rb_define_method(cSSLSession, "time", ossl_ssl_session_get_time, 0); rb_define_method 284 ext/openssl/ossl_ssl_session.c rb_define_method(cSSLSession, "time=", ossl_ssl_session_set_time, 1); rb_define_method 285 ext/openssl/ossl_ssl_session.c rb_define_method(cSSLSession, "timeout", ossl_ssl_session_get_timeout, 0); rb_define_method 286 ext/openssl/ossl_ssl_session.c rb_define_method(cSSLSession, "timeout=", ossl_ssl_session_set_timeout, 1); rb_define_method 289 ext/openssl/ossl_ssl_session.c rb_define_method(cSSLSession, "id", ossl_ssl_session_get_id, 0); rb_define_method 293 ext/openssl/ossl_ssl_session.c rb_define_method(cSSLSession, "to_der", ossl_ssl_session_to_der, 0); rb_define_method 294 ext/openssl/ossl_ssl_session.c rb_define_method(cSSLSession, "to_pem", ossl_ssl_session_to_pem, 0); rb_define_method 295 ext/openssl/ossl_ssl_session.c rb_define_method(cSSLSession, "to_text", ossl_ssl_session_to_text, 0); rb_define_method 268 ext/openssl/ossl_x509attr.c rb_define_method(cX509Attr, "initialize", ossl_x509attr_initialize, -1); rb_define_method 269 ext/openssl/ossl_x509attr.c rb_define_method(cX509Attr, "oid=", ossl_x509attr_set_oid, 1); rb_define_method 270 ext/openssl/ossl_x509attr.c rb_define_method(cX509Attr, "oid", ossl_x509attr_get_oid, 0); rb_define_method 271 ext/openssl/ossl_x509attr.c rb_define_method(cX509Attr, "value=", ossl_x509attr_set_value, 1); rb_define_method 272 ext/openssl/ossl_x509attr.c rb_define_method(cX509Attr, "value", ossl_x509attr_get_value, 0); rb_define_method 273 ext/openssl/ossl_x509attr.c rb_define_method(cX509Attr, "to_der", ossl_x509attr_to_der, 0); rb_define_method 736 ext/openssl/ossl_x509cert.c rb_define_method(cX509Cert, "initialize", ossl_x509_initialize, -1); rb_define_method 739 ext/openssl/ossl_x509cert.c rb_define_method(cX509Cert, "to_der", ossl_x509_to_der, 0); rb_define_method 740 ext/openssl/ossl_x509cert.c rb_define_method(cX509Cert, "to_pem", ossl_x509_to_pem, 0); rb_define_method 742 ext/openssl/ossl_x509cert.c rb_define_method(cX509Cert, "to_text", ossl_x509_to_text, 0); rb_define_method 743 ext/openssl/ossl_x509cert.c rb_define_method(cX509Cert, "version", ossl_x509_get_version, 0); rb_define_method 744 ext/openssl/ossl_x509cert.c rb_define_method(cX509Cert, "version=", ossl_x509_set_version, 1); rb_define_method 745 ext/openssl/ossl_x509cert.c rb_define_method(cX509Cert, "signature_algorithm", ossl_x509_get_signature_algorithm, 0); rb_define_method 746 ext/openssl/ossl_x509cert.c rb_define_method(cX509Cert, "serial", ossl_x509_get_serial, 0); rb_define_method 747 ext/openssl/ossl_x509cert.c rb_define_method(cX509Cert, "serial=", ossl_x509_set_serial, 1); rb_define_method 748 ext/openssl/ossl_x509cert.c rb_define_method(cX509Cert, "subject", ossl_x509_get_subject, 0); rb_define_method 749 ext/openssl/ossl_x509cert.c rb_define_method(cX509Cert, "subject=", ossl_x509_set_subject, 1); rb_define_method 750 ext/openssl/ossl_x509cert.c rb_define_method(cX509Cert, "issuer", ossl_x509_get_issuer, 0); rb_define_method 751 ext/openssl/ossl_x509cert.c rb_define_method(cX509Cert, "issuer=", ossl_x509_set_issuer, 1); rb_define_method 752 ext/openssl/ossl_x509cert.c rb_define_method(cX509Cert, "not_before", ossl_x509_get_not_before, 0); rb_define_method 753 ext/openssl/ossl_x509cert.c rb_define_method(cX509Cert, "not_before=", ossl_x509_set_not_before, 1); rb_define_method 754 ext/openssl/ossl_x509cert.c rb_define_method(cX509Cert, "not_after", ossl_x509_get_not_after, 0); rb_define_method 755 ext/openssl/ossl_x509cert.c rb_define_method(cX509Cert, "not_after=", ossl_x509_set_not_after, 1); rb_define_method 756 ext/openssl/ossl_x509cert.c rb_define_method(cX509Cert, "public_key", ossl_x509_get_public_key, 0); rb_define_method 757 ext/openssl/ossl_x509cert.c rb_define_method(cX509Cert, "public_key=", ossl_x509_set_public_key, 1); rb_define_method 758 ext/openssl/ossl_x509cert.c rb_define_method(cX509Cert, "sign", ossl_x509_sign, 2); rb_define_method 759 ext/openssl/ossl_x509cert.c rb_define_method(cX509Cert, "verify", ossl_x509_verify, 1); rb_define_method 760 ext/openssl/ossl_x509cert.c rb_define_method(cX509Cert, "check_private_key", ossl_x509_check_private_key, 1); rb_define_method 761 ext/openssl/ossl_x509cert.c rb_define_method(cX509Cert, "extensions", ossl_x509_get_extensions, 0); rb_define_method 762 ext/openssl/ossl_x509cert.c rb_define_method(cX509Cert, "extensions=", ossl_x509_set_extensions, 1); rb_define_method 763 ext/openssl/ossl_x509cert.c rb_define_method(cX509Cert, "add_extension", ossl_x509_add_extension, 1); rb_define_method 764 ext/openssl/ossl_x509cert.c rb_define_method(cX509Cert, "inspect", ossl_x509_inspect, 0); rb_define_method 512 ext/openssl/ossl_x509crl.c rb_define_method(cX509CRL, "initialize", ossl_x509crl_initialize, -1); rb_define_method 515 ext/openssl/ossl_x509crl.c rb_define_method(cX509CRL, "version", ossl_x509crl_get_version, 0); rb_define_method 516 ext/openssl/ossl_x509crl.c rb_define_method(cX509CRL, "version=", ossl_x509crl_set_version, 1); rb_define_method 517 ext/openssl/ossl_x509crl.c rb_define_method(cX509CRL, "signature_algorithm", ossl_x509crl_get_signature_algorithm, 0); rb_define_method 518 ext/openssl/ossl_x509crl.c rb_define_method(cX509CRL, "issuer", ossl_x509crl_get_issuer, 0); rb_define_method 519 ext/openssl/ossl_x509crl.c rb_define_method(cX509CRL, "issuer=", ossl_x509crl_set_issuer, 1); rb_define_method 520 ext/openssl/ossl_x509crl.c rb_define_method(cX509CRL, "last_update", ossl_x509crl_get_last_update, 0); rb_define_method 521 ext/openssl/ossl_x509crl.c rb_define_method(cX509CRL, "last_update=", ossl_x509crl_set_last_update, 1); rb_define_method 522 ext/openssl/ossl_x509crl.c rb_define_method(cX509CRL, "next_update", ossl_x509crl_get_next_update, 0); rb_define_method 523 ext/openssl/ossl_x509crl.c rb_define_method(cX509CRL, "next_update=", ossl_x509crl_set_next_update, 1); rb_define_method 524 ext/openssl/ossl_x509crl.c rb_define_method(cX509CRL, "revoked", ossl_x509crl_get_revoked, 0); rb_define_method 525 ext/openssl/ossl_x509crl.c rb_define_method(cX509CRL, "revoked=", ossl_x509crl_set_revoked, 1); rb_define_method 526 ext/openssl/ossl_x509crl.c rb_define_method(cX509CRL, "add_revoked", ossl_x509crl_add_revoked, 1); rb_define_method 527 ext/openssl/ossl_x509crl.c rb_define_method(cX509CRL, "sign", ossl_x509crl_sign, 2); rb_define_method 528 ext/openssl/ossl_x509crl.c rb_define_method(cX509CRL, "verify", ossl_x509crl_verify, 1); rb_define_method 529 ext/openssl/ossl_x509crl.c rb_define_method(cX509CRL, "to_der", ossl_x509crl_to_der, 0); rb_define_method 530 ext/openssl/ossl_x509crl.c rb_define_method(cX509CRL, "to_pem", ossl_x509crl_to_pem, 0); rb_define_method 532 ext/openssl/ossl_x509crl.c rb_define_method(cX509CRL, "to_text", ossl_x509crl_to_text, 0); rb_define_method 533 ext/openssl/ossl_x509crl.c rb_define_method(cX509CRL, "extensions", ossl_x509crl_get_extensions, 0); rb_define_method 534 ext/openssl/ossl_x509crl.c rb_define_method(cX509CRL, "extensions=", ossl_x509crl_set_extensions, 1); rb_define_method 535 ext/openssl/ossl_x509crl.c rb_define_method(cX509CRL, "add_extension", ossl_x509crl_add_extension, 1); rb_define_method 434 ext/openssl/ossl_x509ext.c rb_define_method(cX509ExtFactory, "initialize", ossl_x509extfactory_initialize, -1); rb_define_method 442 ext/openssl/ossl_x509ext.c rb_define_method(cX509ExtFactory, "issuer_certificate=", ossl_x509extfactory_set_issuer_cert, 1); rb_define_method 443 ext/openssl/ossl_x509ext.c rb_define_method(cX509ExtFactory, "subject_certificate=", ossl_x509extfactory_set_subject_cert, 1); rb_define_method 444 ext/openssl/ossl_x509ext.c rb_define_method(cX509ExtFactory, "subject_request=", ossl_x509extfactory_set_subject_req, 1); rb_define_method 445 ext/openssl/ossl_x509ext.c rb_define_method(cX509ExtFactory, "crl=", ossl_x509extfactory_set_crl, 1); rb_define_method 446 ext/openssl/ossl_x509ext.c rb_define_method(cX509ExtFactory, "config=", ossl_x509extfactory_set_config, 1); rb_define_method 447 ext/openssl/ossl_x509ext.c rb_define_method(cX509ExtFactory, "create_ext", ossl_x509extfactory_create_ext, -1); rb_define_method 451 ext/openssl/ossl_x509ext.c rb_define_method(cX509Ext, "initialize", ossl_x509ext_initialize, -1); rb_define_method 452 ext/openssl/ossl_x509ext.c rb_define_method(cX509Ext, "oid=", ossl_x509ext_set_oid, 1); rb_define_method 453 ext/openssl/ossl_x509ext.c rb_define_method(cX509Ext, "value=", ossl_x509ext_set_value, 1); rb_define_method 454 ext/openssl/ossl_x509ext.c rb_define_method(cX509Ext, "critical=", ossl_x509ext_set_critical, 1); rb_define_method 455 ext/openssl/ossl_x509ext.c rb_define_method(cX509Ext, "oid", ossl_x509ext_get_oid, 0); rb_define_method 456 ext/openssl/ossl_x509ext.c rb_define_method(cX509Ext, "value", ossl_x509ext_get_value, 0); rb_define_method 457 ext/openssl/ossl_x509ext.c rb_define_method(cX509Ext, "critical?", ossl_x509ext_get_critical, 0); rb_define_method 458 ext/openssl/ossl_x509ext.c rb_define_method(cX509Ext, "to_der", ossl_x509ext_to_der, 0); rb_define_method 346 ext/openssl/ossl_x509name.c rb_define_method(cX509Name, "initialize", ossl_x509name_initialize, -1); rb_define_method 347 ext/openssl/ossl_x509name.c rb_define_method(cX509Name, "add_entry", ossl_x509name_add_entry, -1); rb_define_method 348 ext/openssl/ossl_x509name.c rb_define_method(cX509Name, "to_s", ossl_x509name_to_s, -1); rb_define_method 349 ext/openssl/ossl_x509name.c rb_define_method(cX509Name, "to_a", ossl_x509name_to_a, 0); rb_define_method 350 ext/openssl/ossl_x509name.c rb_define_method(cX509Name, "cmp", ossl_x509name_cmp, 1); rb_define_method 352 ext/openssl/ossl_x509name.c rb_define_method(cX509Name, "eql?", ossl_x509name_eql, 1); rb_define_method 353 ext/openssl/ossl_x509name.c rb_define_method(cX509Name, "hash", ossl_x509name_hash, 0); rb_define_method 354 ext/openssl/ossl_x509name.c rb_define_method(cX509Name, "to_der", ossl_x509name_to_der, 0); rb_define_method 448 ext/openssl/ossl_x509req.c rb_define_method(cX509Req, "initialize", ossl_x509req_initialize, -1); rb_define_method 451 ext/openssl/ossl_x509req.c rb_define_method(cX509Req, "to_pem", ossl_x509req_to_pem, 0); rb_define_method 452 ext/openssl/ossl_x509req.c rb_define_method(cX509Req, "to_der", ossl_x509req_to_der, 0); rb_define_method 454 ext/openssl/ossl_x509req.c rb_define_method(cX509Req, "to_text", ossl_x509req_to_text, 0); rb_define_method 455 ext/openssl/ossl_x509req.c rb_define_method(cX509Req, "version", ossl_x509req_get_version, 0); rb_define_method 456 ext/openssl/ossl_x509req.c rb_define_method(cX509Req, "version=", ossl_x509req_set_version, 1); rb_define_method 457 ext/openssl/ossl_x509req.c rb_define_method(cX509Req, "subject", ossl_x509req_get_subject, 0); rb_define_method 458 ext/openssl/ossl_x509req.c rb_define_method(cX509Req, "subject=", ossl_x509req_set_subject, 1); rb_define_method 459 ext/openssl/ossl_x509req.c rb_define_method(cX509Req, "signature_algorithm", ossl_x509req_get_signature_algorithm, 0); rb_define_method 460 ext/openssl/ossl_x509req.c rb_define_method(cX509Req, "public_key", ossl_x509req_get_public_key, 0); rb_define_method 461 ext/openssl/ossl_x509req.c rb_define_method(cX509Req, "public_key=", ossl_x509req_set_public_key, 1); rb_define_method 462 ext/openssl/ossl_x509req.c rb_define_method(cX509Req, "sign", ossl_x509req_sign, 2); rb_define_method 463 ext/openssl/ossl_x509req.c rb_define_method(cX509Req, "verify", ossl_x509req_verify, 1); rb_define_method 464 ext/openssl/ossl_x509req.c rb_define_method(cX509Req, "attributes", ossl_x509req_get_attributes, 0); rb_define_method 465 ext/openssl/ossl_x509req.c rb_define_method(cX509Req, "attributes=", ossl_x509req_set_attributes, 1); rb_define_method 466 ext/openssl/ossl_x509req.c rb_define_method(cX509Req, "add_attribute", ossl_x509req_add_attribute, 1); rb_define_method 219 ext/openssl/ossl_x509revoked.c rb_define_method(cX509Rev, "initialize", ossl_x509revoked_initialize, -1); rb_define_method 221 ext/openssl/ossl_x509revoked.c rb_define_method(cX509Rev, "serial", ossl_x509revoked_get_serial, 0); rb_define_method 222 ext/openssl/ossl_x509revoked.c rb_define_method(cX509Rev, "serial=", ossl_x509revoked_set_serial, 1); rb_define_method 223 ext/openssl/ossl_x509revoked.c rb_define_method(cX509Rev, "time", ossl_x509revoked_get_time, 0); rb_define_method 224 ext/openssl/ossl_x509revoked.c rb_define_method(cX509Rev, "time=", ossl_x509revoked_set_time, 1); rb_define_method 225 ext/openssl/ossl_x509revoked.c rb_define_method(cX509Rev, "extensions", ossl_x509revoked_get_extensions, 0); rb_define_method 226 ext/openssl/ossl_x509revoked.c rb_define_method(cX509Rev, "extensions=", ossl_x509revoked_set_extensions, 1); rb_define_method 227 ext/openssl/ossl_x509revoked.c rb_define_method(cX509Rev, "add_extension", ossl_x509revoked_add_extension, 1); rb_define_method 592 ext/openssl/ossl_x509store.c rb_define_method(cX509Store, "initialize", ossl_x509store_initialize, -1); rb_define_method 593 ext/openssl/ossl_x509store.c rb_define_method(cX509Store, "verify_callback=", ossl_x509store_set_vfy_cb, 1); rb_define_method 594 ext/openssl/ossl_x509store.c rb_define_method(cX509Store, "flags=", ossl_x509store_set_flags, 1); rb_define_method 595 ext/openssl/ossl_x509store.c rb_define_method(cX509Store, "purpose=", ossl_x509store_set_purpose, 1); rb_define_method 596 ext/openssl/ossl_x509store.c rb_define_method(cX509Store, "trust=", ossl_x509store_set_trust, 1); rb_define_method 597 ext/openssl/ossl_x509store.c rb_define_method(cX509Store, "time=", ossl_x509store_set_time, 1); rb_define_method 598 ext/openssl/ossl_x509store.c rb_define_method(cX509Store, "add_path", ossl_x509store_add_path, 1); rb_define_method 599 ext/openssl/ossl_x509store.c rb_define_method(cX509Store, "add_file", ossl_x509store_add_file, 1); rb_define_method 600 ext/openssl/ossl_x509store.c rb_define_method(cX509Store, "set_default_paths", ossl_x509store_set_default_paths, 0); rb_define_method 601 ext/openssl/ossl_x509store.c rb_define_method(cX509Store, "add_cert", ossl_x509store_add_cert, 1); rb_define_method 602 ext/openssl/ossl_x509store.c rb_define_method(cX509Store, "add_crl", ossl_x509store_add_crl, 1); rb_define_method 603 ext/openssl/ossl_x509store.c rb_define_method(cX509Store, "verify", ossl_x509store_verify, -1); rb_define_method 608 ext/openssl/ossl_x509store.c rb_define_method(x509stctx,"initialize", ossl_x509stctx_initialize, -1); rb_define_method 609 ext/openssl/ossl_x509store.c rb_define_method(x509stctx,"verify", ossl_x509stctx_verify, 0); rb_define_method 610 ext/openssl/ossl_x509store.c rb_define_method(x509stctx,"chain", ossl_x509stctx_get_chain,0); rb_define_method 611 ext/openssl/ossl_x509store.c rb_define_method(x509stctx,"error", ossl_x509stctx_get_err, 0); rb_define_method 612 ext/openssl/ossl_x509store.c rb_define_method(x509stctx,"error=", ossl_x509stctx_set_error, 1); rb_define_method 613 ext/openssl/ossl_x509store.c rb_define_method(x509stctx,"error_string",ossl_x509stctx_get_err_string,0); rb_define_method 614 ext/openssl/ossl_x509store.c rb_define_method(x509stctx,"error_depth", ossl_x509stctx_get_err_depth, 0); rb_define_method 615 ext/openssl/ossl_x509store.c rb_define_method(x509stctx,"current_cert",ossl_x509stctx_get_curr_cert, 0); rb_define_method 616 ext/openssl/ossl_x509store.c rb_define_method(x509stctx,"current_crl", ossl_x509stctx_get_curr_crl, 0); rb_define_method 617 ext/openssl/ossl_x509store.c rb_define_method(x509stctx,"cleanup", ossl_x509stctx_cleanup, 0); rb_define_method 618 ext/openssl/ossl_x509store.c rb_define_method(x509stctx,"flags=", ossl_x509stctx_set_flags, 1); rb_define_method 619 ext/openssl/ossl_x509store.c rb_define_method(x509stctx,"purpose=", ossl_x509stctx_set_purpose, 1); rb_define_method 620 ext/openssl/ossl_x509store.c rb_define_method(x509stctx,"trust=", ossl_x509stctx_set_trust, 1); rb_define_method 621 ext/openssl/ossl_x509store.c rb_define_method(x509stctx,"time=", ossl_x509stctx_set_time, 1); rb_define_method 15 ext/openssl/ruby_missing.h rb_define_method(klass, "initialize_copy", func, 1) rb_define_method 498 ext/pty/pty.c rb_define_method(eChildExited,"status",echild_status,0); rb_define_method 15734 ext/ripper/ripper.c rb_define_method(Ripper, "initialize", ripper_initialize, -1); rb_define_method 15735 ext/ripper/ripper.c rb_define_method(Ripper, "parse", ripper_parse, 0); rb_define_method 15736 ext/ripper/ripper.c rb_define_method(Ripper, "column", ripper_column, 0); rb_define_method 15737 ext/ripper/ripper.c rb_define_method(Ripper, "lineno", ripper_lineno, 0); rb_define_method 15738 ext/ripper/ripper.c rb_define_method(Ripper, "end_seen?", rb_parser_end_seen_p, 0); rb_define_method 15739 ext/ripper/ripper.c rb_define_method(Ripper, "encoding", rb_parser_encoding, 0); rb_define_method 15740 ext/ripper/ripper.c rb_define_method(Ripper, "yydebug", rb_parser_get_yydebug, 0); rb_define_method 15741 ext/ripper/ripper.c rb_define_method(Ripper, "yydebug=", rb_parser_set_yydebug, 1); rb_define_method 15743 ext/ripper/ripper.c rb_define_method(rb_mKernel, "assert_Qundef", ripper_assert_Qundef, 2); rb_define_method 15744 ext/ripper/ripper.c rb_define_method(rb_mKernel, "rawVALUE", ripper_value, 1); rb_define_method 15745 ext/ripper/ripper.c rb_define_method(rb_mKernel, "validate_object", ripper_validate_object, 1); rb_define_method 10334 ext/ripper/ripper.y rb_define_method(Ripper, "initialize", ripper_initialize, -1); rb_define_method 10335 ext/ripper/ripper.y rb_define_method(Ripper, "parse", ripper_parse, 0); rb_define_method 10336 ext/ripper/ripper.y rb_define_method(Ripper, "column", ripper_column, 0); rb_define_method 10337 ext/ripper/ripper.y rb_define_method(Ripper, "lineno", ripper_lineno, 0); rb_define_method 10338 ext/ripper/ripper.y rb_define_method(Ripper, "end_seen?", rb_parser_end_seen_p, 0); rb_define_method 10339 ext/ripper/ripper.y rb_define_method(Ripper, "encoding", rb_parser_encoding, 0); rb_define_method 10340 ext/ripper/ripper.y rb_define_method(Ripper, "yydebug", rb_parser_get_yydebug, 0); rb_define_method 10341 ext/ripper/ripper.y rb_define_method(Ripper, "yydebug=", rb_parser_set_yydebug, 1); rb_define_method 10343 ext/ripper/ripper.y rb_define_method(rb_mKernel, "assert_Qundef", ripper_assert_Qundef, 2); rb_define_method 10344 ext/ripper/ripper.y rb_define_method(rb_mKernel, "rawVALUE", ripper_value, 1); rb_define_method 10345 ext/ripper/ripper.y rb_define_method(rb_mKernel, "validate_object", ripper_validate_object, 1); rb_define_method 673 ext/sdbm/init.c rb_define_method(rb_cDBM, "initialize", fsdbm_initialize, -1); rb_define_method 674 ext/sdbm/init.c rb_define_method(rb_cDBM, "close", fsdbm_close, 0); rb_define_method 675 ext/sdbm/init.c rb_define_method(rb_cDBM, "closed?", fsdbm_closed, 0); rb_define_method 676 ext/sdbm/init.c rb_define_method(rb_cDBM, "[]", fsdbm_aref, 1); rb_define_method 677 ext/sdbm/init.c rb_define_method(rb_cDBM, "fetch", fsdbm_fetch_m, -1); rb_define_method 678 ext/sdbm/init.c rb_define_method(rb_cDBM, "[]=", fsdbm_store, 2); rb_define_method 679 ext/sdbm/init.c rb_define_method(rb_cDBM, "store", fsdbm_store, 2); rb_define_method 680 ext/sdbm/init.c rb_define_method(rb_cDBM, "index", fsdbm_index, 1); rb_define_method 681 ext/sdbm/init.c rb_define_method(rb_cDBM, "key", fsdbm_key, 1); rb_define_method 682 ext/sdbm/init.c rb_define_method(rb_cDBM, "select", fsdbm_select, 0); rb_define_method 683 ext/sdbm/init.c rb_define_method(rb_cDBM, "values_at", fsdbm_values_at, -1); rb_define_method 684 ext/sdbm/init.c rb_define_method(rb_cDBM, "length", fsdbm_length, 0); rb_define_method 685 ext/sdbm/init.c rb_define_method(rb_cDBM, "size", fsdbm_length, 0); rb_define_method 686 ext/sdbm/init.c rb_define_method(rb_cDBM, "empty?", fsdbm_empty_p, 0); rb_define_method 687 ext/sdbm/init.c rb_define_method(rb_cDBM, "each", fsdbm_each_pair, 0); rb_define_method 688 ext/sdbm/init.c rb_define_method(rb_cDBM, "each_value", fsdbm_each_value, 0); rb_define_method 689 ext/sdbm/init.c rb_define_method(rb_cDBM, "each_key", fsdbm_each_key, 0); rb_define_method 690 ext/sdbm/init.c rb_define_method(rb_cDBM, "each_pair", fsdbm_each_pair, 0); rb_define_method 691 ext/sdbm/init.c rb_define_method(rb_cDBM, "keys", fsdbm_keys, 0); rb_define_method 692 ext/sdbm/init.c rb_define_method(rb_cDBM, "values", fsdbm_values, 0); rb_define_method 693 ext/sdbm/init.c rb_define_method(rb_cDBM, "shift", fsdbm_shift, 0); rb_define_method 694 ext/sdbm/init.c rb_define_method(rb_cDBM, "delete", fsdbm_delete, 1); rb_define_method 695 ext/sdbm/init.c rb_define_method(rb_cDBM, "delete_if", fsdbm_delete_if, 0); rb_define_method 696 ext/sdbm/init.c rb_define_method(rb_cDBM, "reject!", fsdbm_delete_if, 0); rb_define_method 697 ext/sdbm/init.c rb_define_method(rb_cDBM, "reject", fsdbm_reject, 0); rb_define_method 698 ext/sdbm/init.c rb_define_method(rb_cDBM, "clear", fsdbm_clear, 0); rb_define_method 699 ext/sdbm/init.c rb_define_method(rb_cDBM,"invert", fsdbm_invert, 0); rb_define_method 700 ext/sdbm/init.c rb_define_method(rb_cDBM,"update", fsdbm_update, 1); rb_define_method 701 ext/sdbm/init.c rb_define_method(rb_cDBM,"replace", fsdbm_replace, 1); rb_define_method 703 ext/sdbm/init.c rb_define_method(rb_cDBM, "include?", fsdbm_has_key, 1); rb_define_method 704 ext/sdbm/init.c rb_define_method(rb_cDBM, "has_key?", fsdbm_has_key, 1); rb_define_method 705 ext/sdbm/init.c rb_define_method(rb_cDBM, "member?", fsdbm_has_key, 1); rb_define_method 706 ext/sdbm/init.c rb_define_method(rb_cDBM, "has_value?", fsdbm_has_value, 1); rb_define_method 707 ext/sdbm/init.c rb_define_method(rb_cDBM, "key?", fsdbm_has_key, 1); rb_define_method 708 ext/sdbm/init.c rb_define_method(rb_cDBM, "value?", fsdbm_has_value, 1); rb_define_method 710 ext/sdbm/init.c rb_define_method(rb_cDBM, "to_a", fsdbm_to_a, 0); rb_define_method 711 ext/sdbm/init.c rb_define_method(rb_cDBM, "to_hash", fsdbm_to_hash, 0); rb_define_method 3620 ext/socket/socket.c rb_define_method(rb_cBasicSocket, "close_read", bsock_close_read, 0); rb_define_method 3621 ext/socket/socket.c rb_define_method(rb_cBasicSocket, "close_write", bsock_close_write, 0); rb_define_method 3622 ext/socket/socket.c rb_define_method(rb_cBasicSocket, "shutdown", bsock_shutdown, -1); rb_define_method 3623 ext/socket/socket.c rb_define_method(rb_cBasicSocket, "setsockopt", bsock_setsockopt, 3); rb_define_method 3624 ext/socket/socket.c rb_define_method(rb_cBasicSocket, "getsockopt", bsock_getsockopt, 2); rb_define_method 3625 ext/socket/socket.c rb_define_method(rb_cBasicSocket, "getsockname", bsock_getsockname, 0); rb_define_method 3626 ext/socket/socket.c rb_define_method(rb_cBasicSocket, "getpeername", bsock_getpeername, 0); rb_define_method 3627 ext/socket/socket.c rb_define_method(rb_cBasicSocket, "send", bsock_send, -1); rb_define_method 3628 ext/socket/socket.c rb_define_method(rb_cBasicSocket, "recv", bsock_recv, -1); rb_define_method 3629 ext/socket/socket.c rb_define_method(rb_cBasicSocket, "recv_nonblock", bsock_recv_nonblock, -1); rb_define_method 3630 ext/socket/socket.c rb_define_method(rb_cBasicSocket, "do_not_reverse_lookup", bsock_do_not_reverse_lookup, 0); rb_define_method 3631 ext/socket/socket.c rb_define_method(rb_cBasicSocket, "do_not_reverse_lookup=", bsock_do_not_reverse_lookup_set, 1); rb_define_method 3634 ext/socket/socket.c rb_define_method(rb_cIPSocket, "addr", ip_addr, 0); rb_define_method 3635 ext/socket/socket.c rb_define_method(rb_cIPSocket, "peeraddr", ip_peeraddr, 0); rb_define_method 3636 ext/socket/socket.c rb_define_method(rb_cIPSocket, "recvfrom", ip_recvfrom, -1); rb_define_method 3641 ext/socket/socket.c rb_define_method(rb_cTCPSocket, "initialize", tcp_init, -1); rb_define_method 3645 ext/socket/socket.c rb_define_method(rb_cSOCKSSocket, "initialize", socks_init, 2); rb_define_method 3647 ext/socket/socket.c rb_define_method(rb_cSOCKSSocket, "close", socks_s_close, 0); rb_define_method 3652 ext/socket/socket.c rb_define_method(rb_cTCPServer, "accept", tcp_accept, 0); rb_define_method 3653 ext/socket/socket.c rb_define_method(rb_cTCPServer, "accept_nonblock", tcp_accept_nonblock, 0); rb_define_method 3654 ext/socket/socket.c rb_define_method(rb_cTCPServer, "sysaccept", tcp_sysaccept, 0); rb_define_method 3655 ext/socket/socket.c rb_define_method(rb_cTCPServer, "initialize", tcp_svr_init, -1); rb_define_method 3656 ext/socket/socket.c rb_define_method(rb_cTCPServer, "listen", sock_listen, 1); rb_define_method 3659 ext/socket/socket.c rb_define_method(rb_cUDPSocket, "initialize", udp_init, -1); rb_define_method 3660 ext/socket/socket.c rb_define_method(rb_cUDPSocket, "connect", udp_connect, 2); rb_define_method 3661 ext/socket/socket.c rb_define_method(rb_cUDPSocket, "bind", udp_bind, 2); rb_define_method 3662 ext/socket/socket.c rb_define_method(rb_cUDPSocket, "send", udp_send, -1); rb_define_method 3663 ext/socket/socket.c rb_define_method(rb_cUDPSocket, "recvfrom_nonblock", udp_recvfrom_nonblock, -1); rb_define_method 3667 ext/socket/socket.c rb_define_method(rb_cUNIXSocket, "initialize", unix_init, 1); rb_define_method 3668 ext/socket/socket.c rb_define_method(rb_cUNIXSocket, "path", unix_path, 0); rb_define_method 3669 ext/socket/socket.c rb_define_method(rb_cUNIXSocket, "addr", unix_addr, 0); rb_define_method 3670 ext/socket/socket.c rb_define_method(rb_cUNIXSocket, "peeraddr", unix_peeraddr, 0); rb_define_method 3671 ext/socket/socket.c rb_define_method(rb_cUNIXSocket, "recvfrom", unix_recvfrom, -1); rb_define_method 3672 ext/socket/socket.c rb_define_method(rb_cUNIXSocket, "send_io", unix_send_io, 1); rb_define_method 3673 ext/socket/socket.c rb_define_method(rb_cUNIXSocket, "recv_io", unix_recv_io, -1); rb_define_method 3678 ext/socket/socket.c rb_define_method(rb_cUNIXServer, "initialize", unix_svr_init, 1); rb_define_method 3679 ext/socket/socket.c rb_define_method(rb_cUNIXServer, "accept", unix_accept, 0); rb_define_method 3680 ext/socket/socket.c rb_define_method(rb_cUNIXServer, "accept_nonblock", unix_accept_nonblock, 0); rb_define_method 3681 ext/socket/socket.c rb_define_method(rb_cUNIXServer, "sysaccept", unix_sysaccept, 0); rb_define_method 3682 ext/socket/socket.c rb_define_method(rb_cUNIXServer, "listen", sock_listen, 1); rb_define_method 3687 ext/socket/socket.c rb_define_method(rb_cSocket, "initialize", sock_initialize, 3); rb_define_method 3688 ext/socket/socket.c rb_define_method(rb_cSocket, "connect", sock_connect, 1); rb_define_method 3689 ext/socket/socket.c rb_define_method(rb_cSocket, "connect_nonblock", sock_connect_nonblock, 1); rb_define_method 3690 ext/socket/socket.c rb_define_method(rb_cSocket, "bind", sock_bind, 1); rb_define_method 3691 ext/socket/socket.c rb_define_method(rb_cSocket, "listen", sock_listen, 1); rb_define_method 3692 ext/socket/socket.c rb_define_method(rb_cSocket, "accept", sock_accept, 0); rb_define_method 3693 ext/socket/socket.c rb_define_method(rb_cSocket, "accept_nonblock", sock_accept_nonblock, 0); rb_define_method 3694 ext/socket/socket.c rb_define_method(rb_cSocket, "sysaccept", sock_sysaccept, 0); rb_define_method 3696 ext/socket/socket.c rb_define_method(rb_cSocket, "recvfrom", sock_recvfrom, -1); rb_define_method 3697 ext/socket/socket.c rb_define_method(rb_cSocket, "recvfrom_nonblock", sock_recvfrom_nonblock, -1); rb_define_method 1299 ext/stringio/stringio.c rb_define_method(StringIO, "initialize", strio_initialize, -1); rb_define_method 1300 ext/stringio/stringio.c rb_define_method(StringIO, "initialize_copy", strio_copy, 1); rb_define_method 1301 ext/stringio/stringio.c rb_define_method(StringIO, "reopen", strio_reopen, -1); rb_define_method 1303 ext/stringio/stringio.c rb_define_method(StringIO, "string", strio_get_string, 0); rb_define_method 1304 ext/stringio/stringio.c rb_define_method(StringIO, "string=", strio_set_string, 1); rb_define_method 1305 ext/stringio/stringio.c rb_define_method(StringIO, "lineno", strio_get_lineno, 0); rb_define_method 1306 ext/stringio/stringio.c rb_define_method(StringIO, "lineno=", strio_set_lineno, 1); rb_define_method 1308 ext/stringio/stringio.c rb_define_method(StringIO, "binmode", strio_binmode, 0); rb_define_method 1309 ext/stringio/stringio.c rb_define_method(StringIO, "close", strio_close, 0); rb_define_method 1310 ext/stringio/stringio.c rb_define_method(StringIO, "close_read", strio_close_read, 0); rb_define_method 1311 ext/stringio/stringio.c rb_define_method(StringIO, "close_write", strio_close_write, 0); rb_define_method 1312 ext/stringio/stringio.c rb_define_method(StringIO, "closed?", strio_closed, 0); rb_define_method 1313 ext/stringio/stringio.c rb_define_method(StringIO, "closed_read?", strio_closed_read, 0); rb_define_method 1314 ext/stringio/stringio.c rb_define_method(StringIO, "closed_write?", strio_closed_write, 0); rb_define_method 1315 ext/stringio/stringio.c rb_define_method(StringIO, "eof", strio_eof, 0); rb_define_method 1316 ext/stringio/stringio.c rb_define_method(StringIO, "eof?", strio_eof, 0); rb_define_method 1317 ext/stringio/stringio.c rb_define_method(StringIO, "fcntl", strio_fcntl, -1); rb_define_method 1318 ext/stringio/stringio.c rb_define_method(StringIO, "flush", strio_flush, 0); rb_define_method 1319 ext/stringio/stringio.c rb_define_method(StringIO, "fsync", strio_fsync, 0); rb_define_method 1320 ext/stringio/stringio.c rb_define_method(StringIO, "pos", strio_get_pos, 0); rb_define_method 1321 ext/stringio/stringio.c rb_define_method(StringIO, "pos=", strio_set_pos, 1); rb_define_method 1322 ext/stringio/stringio.c rb_define_method(StringIO, "rewind", strio_rewind, 0); rb_define_method 1323 ext/stringio/stringio.c rb_define_method(StringIO, "seek", strio_seek, -1); rb_define_method 1324 ext/stringio/stringio.c rb_define_method(StringIO, "sync", strio_get_sync, 0); rb_define_method 1325 ext/stringio/stringio.c rb_define_method(StringIO, "sync=", strio_set_sync, 1); rb_define_method 1326 ext/stringio/stringio.c rb_define_method(StringIO, "tell", strio_tell, 0); rb_define_method 1327 ext/stringio/stringio.c rb_define_method(StringIO, "path", strio_path, 0); rb_define_method 1329 ext/stringio/stringio.c rb_define_method(StringIO, "each", strio_each, -1); rb_define_method 1330 ext/stringio/stringio.c rb_define_method(StringIO, "each_line", strio_each, -1); rb_define_method 1331 ext/stringio/stringio.c rb_define_method(StringIO, "lines", strio_each, -1); rb_define_method 1332 ext/stringio/stringio.c rb_define_method(StringIO, "each_byte", strio_each_byte, 0); rb_define_method 1333 ext/stringio/stringio.c rb_define_method(StringIO, "bytes", strio_each_byte, 0); rb_define_method 1334 ext/stringio/stringio.c rb_define_method(StringIO, "each_char", strio_each_char, 0); rb_define_method 1335 ext/stringio/stringio.c rb_define_method(StringIO, "chars", strio_each_char, 0); rb_define_method 1336 ext/stringio/stringio.c rb_define_method(StringIO, "getc", strio_getc, 0); rb_define_method 1337 ext/stringio/stringio.c rb_define_method(StringIO, "ungetc", strio_ungetc, 1); rb_define_method 1338 ext/stringio/stringio.c rb_define_method(StringIO, "ungetbyte", strio_ungetbyte, 1); rb_define_method 1339 ext/stringio/stringio.c rb_define_method(StringIO, "readchar", strio_readchar, 0); rb_define_method 1340 ext/stringio/stringio.c rb_define_method(StringIO, "getbyte", strio_getbyte, 0); rb_define_method 1341 ext/stringio/stringio.c rb_define_method(StringIO, "readbyte", strio_readbyte, 0); rb_define_method 1342 ext/stringio/stringio.c rb_define_method(StringIO, "gets", strio_gets, -1); rb_define_method 1343 ext/stringio/stringio.c rb_define_method(StringIO, "readline", strio_readline, -1); rb_define_method 1344 ext/stringio/stringio.c rb_define_method(StringIO, "readlines", strio_readlines, -1); rb_define_method 1345 ext/stringio/stringio.c rb_define_method(StringIO, "read", strio_read, -1); rb_define_method 1346 ext/stringio/stringio.c rb_define_method(StringIO, "sysread", strio_sysread, -1); rb_define_method 1347 ext/stringio/stringio.c rb_define_method(StringIO, "readpartial", strio_sysread, -1); rb_define_method 1349 ext/stringio/stringio.c rb_define_method(StringIO, "write", strio_write, 1); rb_define_method 1350 ext/stringio/stringio.c rb_define_method(StringIO, "<<", strio_addstr, 1); rb_define_method 1351 ext/stringio/stringio.c rb_define_method(StringIO, "print", strio_print, -1); rb_define_method 1352 ext/stringio/stringio.c rb_define_method(StringIO, "printf", strio_printf, -1); rb_define_method 1353 ext/stringio/stringio.c rb_define_method(StringIO, "putc", strio_putc, 1); rb_define_method 1354 ext/stringio/stringio.c rb_define_method(StringIO, "puts", strio_puts, -1); rb_define_method 1355 ext/stringio/stringio.c rb_define_method(StringIO, "syswrite", strio_syswrite, 1); rb_define_method 1357 ext/stringio/stringio.c rb_define_method(StringIO, "isatty", strio_isatty, 0); rb_define_method 1358 ext/stringio/stringio.c rb_define_method(StringIO, "tty?", strio_isatty, 0); rb_define_method 1359 ext/stringio/stringio.c rb_define_method(StringIO, "pid", strio_pid, 0); rb_define_method 1360 ext/stringio/stringio.c rb_define_method(StringIO, "fileno", strio_fileno, 0); rb_define_method 1361 ext/stringio/stringio.c rb_define_method(StringIO, "size", strio_size, 0); rb_define_method 1362 ext/stringio/stringio.c rb_define_method(StringIO, "length", strio_size, 0); rb_define_method 1363 ext/stringio/stringio.c rb_define_method(StringIO, "truncate", strio_truncate, 1); rb_define_method 1365 ext/stringio/stringio.c rb_define_method(StringIO, "external_encoding", strio_external_encoding, 0); rb_define_method 1366 ext/stringio/stringio.c rb_define_method(StringIO, "internal_encoding", strio_internal_encoding, 0); rb_define_method 1367 ext/stringio/stringio.c rb_define_method(StringIO, "set_encoding", strio_set_encoding, 1); rb_define_method 1279 ext/strscan/strscan.c rb_define_method(StringScanner, "reset", strscan_reset, 0); rb_define_method 1280 ext/strscan/strscan.c rb_define_method(StringScanner, "terminate", strscan_terminate, 0); rb_define_method 1281 ext/strscan/strscan.c rb_define_method(StringScanner, "clear", strscan_clear, 0); rb_define_method 1282 ext/strscan/strscan.c rb_define_method(StringScanner, "string", strscan_get_string, 0); rb_define_method 1283 ext/strscan/strscan.c rb_define_method(StringScanner, "string=", strscan_set_string, 1); rb_define_method 1284 ext/strscan/strscan.c rb_define_method(StringScanner, "concat", strscan_concat, 1); rb_define_method 1285 ext/strscan/strscan.c rb_define_method(StringScanner, "<<", strscan_concat, 1); rb_define_method 1286 ext/strscan/strscan.c rb_define_method(StringScanner, "pos", strscan_get_pos, 0); rb_define_method 1287 ext/strscan/strscan.c rb_define_method(StringScanner, "pos=", strscan_set_pos, 1); rb_define_method 1288 ext/strscan/strscan.c rb_define_method(StringScanner, "pointer", strscan_get_pos, 0); rb_define_method 1289 ext/strscan/strscan.c rb_define_method(StringScanner, "pointer=", strscan_set_pos, 1); rb_define_method 1291 ext/strscan/strscan.c rb_define_method(StringScanner, "scan", strscan_scan, 1); rb_define_method 1292 ext/strscan/strscan.c rb_define_method(StringScanner, "skip", strscan_skip, 1); rb_define_method 1293 ext/strscan/strscan.c rb_define_method(StringScanner, "match?", strscan_match_p, 1); rb_define_method 1294 ext/strscan/strscan.c rb_define_method(StringScanner, "check", strscan_check, 1); rb_define_method 1295 ext/strscan/strscan.c rb_define_method(StringScanner, "scan_full", strscan_scan_full, 3); rb_define_method 1297 ext/strscan/strscan.c rb_define_method(StringScanner, "scan_until", strscan_scan_until, 1); rb_define_method 1298 ext/strscan/strscan.c rb_define_method(StringScanner, "skip_until", strscan_skip_until, 1); rb_define_method 1299 ext/strscan/strscan.c rb_define_method(StringScanner, "exist?", strscan_exist_p, 1); rb_define_method 1300 ext/strscan/strscan.c rb_define_method(StringScanner, "check_until", strscan_check_until, 1); rb_define_method 1301 ext/strscan/strscan.c rb_define_method(StringScanner, "search_full", strscan_search_full, 3); rb_define_method 1303 ext/strscan/strscan.c rb_define_method(StringScanner, "getch", strscan_getch, 0); rb_define_method 1304 ext/strscan/strscan.c rb_define_method(StringScanner, "get_byte", strscan_get_byte, 0); rb_define_method 1305 ext/strscan/strscan.c rb_define_method(StringScanner, "getbyte", strscan_getbyte, 0); rb_define_method 1306 ext/strscan/strscan.c rb_define_method(StringScanner, "peek", strscan_peek, 1); rb_define_method 1307 ext/strscan/strscan.c rb_define_method(StringScanner, "peep", strscan_peep, 1); rb_define_method 1309 ext/strscan/strscan.c rb_define_method(StringScanner, "unscan", strscan_unscan, 0); rb_define_method 1311 ext/strscan/strscan.c rb_define_method(StringScanner, "beginning_of_line?", strscan_bol_p, 0); rb_define_method 1313 ext/strscan/strscan.c rb_define_method(StringScanner, "eos?", strscan_eos_p, 0); rb_define_method 1314 ext/strscan/strscan.c rb_define_method(StringScanner, "empty?", strscan_empty_p, 0); rb_define_method 1315 ext/strscan/strscan.c rb_define_method(StringScanner, "rest?", strscan_rest_p, 0); rb_define_method 1317 ext/strscan/strscan.c rb_define_method(StringScanner, "matched?", strscan_matched_p, 0); rb_define_method 1318 ext/strscan/strscan.c rb_define_method(StringScanner, "matched", strscan_matched, 0); rb_define_method 1319 ext/strscan/strscan.c rb_define_method(StringScanner, "matched_size", strscan_matched_size, 0); rb_define_method 1320 ext/strscan/strscan.c rb_define_method(StringScanner, "matchedsize", strscan_matchedsize, 0); rb_define_method 1321 ext/strscan/strscan.c rb_define_method(StringScanner, "[]", strscan_aref, 1); rb_define_method 1322 ext/strscan/strscan.c rb_define_method(StringScanner, "pre_match", strscan_pre_match, 0); rb_define_method 1323 ext/strscan/strscan.c rb_define_method(StringScanner, "post_match", strscan_post_match, 0); rb_define_method 1325 ext/strscan/strscan.c rb_define_method(StringScanner, "rest", strscan_rest, 0); rb_define_method 1326 ext/strscan/strscan.c rb_define_method(StringScanner, "rest_size", strscan_rest_size, 0); rb_define_method 1327 ext/strscan/strscan.c rb_define_method(StringScanner, "restsize", strscan_restsize, 0); rb_define_method 1329 ext/strscan/strscan.c rb_define_method(StringScanner, "inspect", strscan_inspect, 0); rb_define_method 2180 ext/syck/rubyext.c rb_define_method( cResolver, "initialize", syck_resolver_initialize, 0 ); rb_define_method 2181 ext/syck/rubyext.c rb_define_method( cResolver, "add_type", syck_resolver_add_type, 2 ); rb_define_method 2182 ext/syck/rubyext.c rb_define_method( cResolver, "use_types_at", syck_resolver_use_types_at, 1 ); rb_define_method 2183 ext/syck/rubyext.c rb_define_method( cResolver, "detect_implicit", syck_resolver_detect_implicit, 1 ); rb_define_method 2184 ext/syck/rubyext.c rb_define_method( cResolver, "transfer", syck_resolver_transfer, 2 ); rb_define_method 2185 ext/syck/rubyext.c rb_define_method( cResolver, "node_import", syck_resolver_node_import, 1 ); rb_define_method 2186 ext/syck/rubyext.c rb_define_method( cResolver, "tagurize", syck_resolver_tagurize, 1 ); rb_define_method 2206 ext/syck/rubyext.c rb_define_method(cParser, "initialize", syck_parser_initialize, -1 ); rb_define_method 2207 ext/syck/rubyext.c rb_define_method(cParser, "bufsize=", syck_parser_bufsize_set, 1 ); rb_define_method 2208 ext/syck/rubyext.c rb_define_method(cParser, "bufsize", syck_parser_bufsize_get, 0 ); rb_define_method 2209 ext/syck/rubyext.c rb_define_method(cParser, "load", syck_parser_load, -1); rb_define_method 2210 ext/syck/rubyext.c rb_define_method(cParser, "load_documents", syck_parser_load_documents, -1); rb_define_method 2211 ext/syck/rubyext.c rb_define_method(cParser, "set_resolver", syck_parser_set_resolver, 1); rb_define_method 2217 ext/syck/rubyext.c rb_define_method( cNode, "initialize_copy", syck_node_init_copy, 1 ); rb_define_method 2223 ext/syck/rubyext.c rb_define_method( cNode, "type_id=", syck_node_type_id_set, 1 ); rb_define_method 2224 ext/syck/rubyext.c rb_define_method( cNode, "transform", syck_node_transform, 0); rb_define_method 2232 ext/syck/rubyext.c rb_define_method( cScalar, "initialize", syck_scalar_initialize, 3 ); rb_define_method 2233 ext/syck/rubyext.c rb_define_method( cScalar, "value=", syck_scalar_value_set, 1 ); rb_define_method 2234 ext/syck/rubyext.c rb_define_method( cScalar, "style=", syck_scalar_style_set, 1 ); rb_define_method 2237 ext/syck/rubyext.c rb_define_method( cSeq, "initialize", syck_seq_initialize, 3 ); rb_define_method 2238 ext/syck/rubyext.c rb_define_method( cSeq, "value=", syck_seq_value_set, 1 ); rb_define_method 2239 ext/syck/rubyext.c rb_define_method( cSeq, "add", syck_seq_add_m, 1 ); rb_define_method 2240 ext/syck/rubyext.c rb_define_method( cSeq, "style=", syck_seq_style_set, 1 ); rb_define_method 2243 ext/syck/rubyext.c rb_define_method( cMap, "initialize", syck_map_initialize, 3 ); rb_define_method 2244 ext/syck/rubyext.c rb_define_method( cMap, "value=", syck_map_value_set, 1 ); rb_define_method 2245 ext/syck/rubyext.c rb_define_method( cMap, "add", syck_map_add_m, 2 ); rb_define_method 2246 ext/syck/rubyext.c rb_define_method( cMap, "style=", syck_map_style_set, 1 ); rb_define_method 2254 ext/syck/rubyext.c rb_define_method( cPrivateType, "initialize", syck_privatetype_initialize, 2); rb_define_method 2263 ext/syck/rubyext.c rb_define_method( cDomainType, "initialize", syck_domaintype_initialize, 3); rb_define_method 2271 ext/syck/rubyext.c rb_define_method( cYObject, "initialize", syck_yobject_initialize, 2); rb_define_method 2272 ext/syck/rubyext.c rb_define_method( cYObject, "yaml_initialize", syck_yobject_initialize, 2); rb_define_method 2279 ext/syck/rubyext.c rb_define_method( cBadAlias, "initialize", syck_badalias_initialize, 1); rb_define_method 2280 ext/syck/rubyext.c rb_define_method( cBadAlias, "<=>", syck_badalias_cmp, 1); rb_define_method 2298 ext/syck/rubyext.c rb_define_method( cOut, "initialize", syck_out_initialize, 1 ); rb_define_method 2299 ext/syck/rubyext.c rb_define_method( cOut, "map", syck_out_map, -1 ); rb_define_method 2300 ext/syck/rubyext.c rb_define_method( cOut, "seq", syck_out_seq, -1 ); rb_define_method 2301 ext/syck/rubyext.c rb_define_method( cOut, "scalar", syck_out_scalar, -1 ); rb_define_method 2309 ext/syck/rubyext.c rb_define_method( cEmitter, "initialize", syck_emitter_reset, -1 ); rb_define_method 2310 ext/syck/rubyext.c rb_define_method( cEmitter, "reset", syck_emitter_reset, -1 ); rb_define_method 2311 ext/syck/rubyext.c rb_define_method( cEmitter, "emit", syck_emitter_emit, -1 ); rb_define_method 2312 ext/syck/rubyext.c rb_define_method( cEmitter, "set_resolver", syck_emitter_set_resolver, 1); rb_define_method 2313 ext/syck/rubyext.c rb_define_method( cEmitter, "node_export", syck_emitter_node_export, 1); rb_define_method 10032 ext/tk/tcltklib.c rb_define_method(ip, "initialize", ip_init, -1); rb_define_method 10033 ext/tk/tcltklib.c rb_define_method(ip, "create_slave", ip_create_slave, -1); rb_define_method 10034 ext/tk/tcltklib.c rb_define_method(ip, "slave_of?", ip_is_slave_of_p, 1); rb_define_method 10035 ext/tk/tcltklib.c rb_define_method(ip, "make_safe", ip_make_safe, 0); rb_define_method 10036 ext/tk/tcltklib.c rb_define_method(ip, "safe?", ip_is_safe_p, 0); rb_define_method 10037 ext/tk/tcltklib.c rb_define_method(ip, "allow_ruby_exit?", ip_allow_ruby_exit_p, 0); rb_define_method 10038 ext/tk/tcltklib.c rb_define_method(ip, "allow_ruby_exit=", ip_allow_ruby_exit_set, 1); rb_define_method 10039 ext/tk/tcltklib.c rb_define_method(ip, "delete", ip_delete, 0); rb_define_method 10040 ext/tk/tcltklib.c rb_define_method(ip, "deleted?", ip_is_deleted_p, 0); rb_define_method 10041 ext/tk/tcltklib.c rb_define_method(ip, "has_mainwindow?", ip_has_mainwindow_p, 0); rb_define_method 10042 ext/tk/tcltklib.c rb_define_method(ip, "invalid_namespace?", ip_has_invalid_namespace_p, 0); rb_define_method 10043 ext/tk/tcltklib.c rb_define_method(ip, "_eval", ip_eval, 1); rb_define_method 10044 ext/tk/tcltklib.c rb_define_method(ip, "_toUTF8", ip_toUTF8, -1); rb_define_method 10045 ext/tk/tcltklib.c rb_define_method(ip, "_fromUTF8", ip_fromUTF8, -1); rb_define_method 10046 ext/tk/tcltklib.c rb_define_method(ip, "_thread_vwait", ip_thread_vwait, 1); rb_define_method 10047 ext/tk/tcltklib.c rb_define_method(ip, "_thread_tkwait", ip_thread_tkwait, 2); rb_define_method 10048 ext/tk/tcltklib.c rb_define_method(ip, "_invoke", ip_invoke, -1); rb_define_method 10049 ext/tk/tcltklib.c rb_define_method(ip, "_immediate_invoke", ip_invoke_immediate, -1); rb_define_method 10050 ext/tk/tcltklib.c rb_define_method(ip, "_return_value", ip_retval, 0); rb_define_method 10052 ext/tk/tcltklib.c rb_define_method(ip, "_create_console", ip_create_console, 0); rb_define_method 10056 ext/tk/tcltklib.c rb_define_method(ip, "create_dummy_encoding_for_tk", rb_define_method 10058 ext/tk/tcltklib.c rb_define_method(ip, "encoding_table", ip_get_encoding_table, 0); rb_define_method 10062 ext/tk/tcltklib.c rb_define_method(ip, "_get_variable", ip_get_variable, 2); rb_define_method 10063 ext/tk/tcltklib.c rb_define_method(ip, "_get_variable2", ip_get_variable2, 3); rb_define_method 10064 ext/tk/tcltklib.c rb_define_method(ip, "_set_variable", ip_set_variable, 3); rb_define_method 10065 ext/tk/tcltklib.c rb_define_method(ip, "_set_variable2", ip_set_variable2, 4); rb_define_method 10066 ext/tk/tcltklib.c rb_define_method(ip, "_unset_variable", ip_unset_variable, 2); rb_define_method 10067 ext/tk/tcltklib.c rb_define_method(ip, "_unset_variable2", ip_unset_variable2, 3); rb_define_method 10068 ext/tk/tcltklib.c rb_define_method(ip, "_get_global_var", ip_get_global_var, 1); rb_define_method 10069 ext/tk/tcltklib.c rb_define_method(ip, "_get_global_var2", ip_get_global_var2, 2); rb_define_method 10070 ext/tk/tcltklib.c rb_define_method(ip, "_set_global_var", ip_set_global_var, 2); rb_define_method 10071 ext/tk/tcltklib.c rb_define_method(ip, "_set_global_var2", ip_set_global_var2, 3); rb_define_method 10072 ext/tk/tcltklib.c rb_define_method(ip, "_unset_global_var", ip_unset_global_var, 1); rb_define_method 10073 ext/tk/tcltklib.c rb_define_method(ip, "_unset_global_var2", ip_unset_global_var2, 2); rb_define_method 10077 ext/tk/tcltklib.c rb_define_method(ip, "_make_menu_embeddable", ip_make_menu_embeddable, 1); rb_define_method 10081 ext/tk/tcltklib.c rb_define_method(ip, "_split_tklist", ip_split_tklist, 1); rb_define_method 10082 ext/tk/tcltklib.c rb_define_method(ip, "_merge_tklist", lib_merge_tklist, -1); rb_define_method 10083 ext/tk/tcltklib.c rb_define_method(ip, "_conv_listelement", lib_conv_listelement, 1); rb_define_method 10087 ext/tk/tcltklib.c rb_define_method(ip, "mainloop", ip_mainloop, -1); rb_define_method 10088 ext/tk/tcltklib.c rb_define_method(ip, "mainloop_watchdog", ip_mainloop_watchdog, -1); rb_define_method 10089 ext/tk/tcltklib.c rb_define_method(ip, "do_one_event", ip_do_one_event, -1); rb_define_method 10090 ext/tk/tcltklib.c rb_define_method(ip, "mainloop_abort_on_exception", rb_define_method 10092 ext/tk/tcltklib.c rb_define_method(ip, "mainloop_abort_on_exception=", rb_define_method 10094 ext/tk/tcltklib.c rb_define_method(ip, "set_eventloop_tick", ip_set_eventloop_tick, 1); rb_define_method 10095 ext/tk/tcltklib.c rb_define_method(ip, "get_eventloop_tick", ip_get_eventloop_tick, 0); rb_define_method 10096 ext/tk/tcltklib.c rb_define_method(ip, "set_no_event_wait", ip_set_no_event_wait, 1); rb_define_method 10097 ext/tk/tcltklib.c rb_define_method(ip, "get_no_event_wait", ip_get_no_event_wait, 0); rb_define_method 10098 ext/tk/tcltklib.c rb_define_method(ip, "set_eventloop_weight", ip_set_eventloop_weight, 2); rb_define_method 10099 ext/tk/tcltklib.c rb_define_method(ip, "get_eventloop_weight", ip_get_eventloop_weight, 0); rb_define_method 10100 ext/tk/tcltklib.c rb_define_method(ip, "set_max_block_time", set_max_block_time, 1); rb_define_method 10101 ext/tk/tcltklib.c rb_define_method(ip, "restart", ip_restart, 0); rb_define_method 1716 ext/tk/tkutil/tkutil.c rb_define_method(cCB_SUBST, "initialize", cbsubst_initialize, -1); rb_define_method 1728 ext/tk/tkutil/tkutil.c rb_define_method(cTkObject, "path", tkobj_path, 0); rb_define_method 1771 ext/tk/tkutil/tkutil.c rb_define_method(mTK, "_toUTF8", tk_toUTF8, -1); rb_define_method 1772 ext/tk/tkutil/tkutil.c rb_define_method(mTK, "_fromUTF8", tk_fromUTF8, -1); rb_define_method 1773 ext/tk/tkutil/tkutil.c rb_define_method(mTK, "_symbolkey2str", tk_symbolkey2str, 1); rb_define_method 1774 ext/tk/tkutil/tkutil.c rb_define_method(mTK, "hash_kv", tk_hash_kv, -1); rb_define_method 1775 ext/tk/tkutil/tkutil.c rb_define_method(mTK, "_get_eval_string", tk_get_eval_string, -1); rb_define_method 1776 ext/tk/tkutil/tkutil.c rb_define_method(mTK, "_get_eval_enc_str", tk_get_eval_enc_str, 1); rb_define_method 1777 ext/tk/tkutil/tkutil.c rb_define_method(mTK, "_conv_args", tk_conv_args, -1); rb_define_method 1779 ext/tk/tkutil/tkutil.c rb_define_method(mTK, "bool", tcl2rb_bool, 1); rb_define_method 1780 ext/tk/tkutil/tkutil.c rb_define_method(mTK, "number", tcl2rb_number, 1); rb_define_method 1781 ext/tk/tkutil/tkutil.c rb_define_method(mTK, "string", tcl2rb_string, 1); rb_define_method 1782 ext/tk/tkutil/tkutil.c rb_define_method(mTK, "num_or_str", tcl2rb_num_or_str, 1); rb_define_method 8976 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE, "initialize", fole_initialize, -1); rb_define_method 8990 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE, "invoke", fole_invoke, -1); rb_define_method 8991 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE, "[]", fole_getproperty_with_bracket, -1); rb_define_method 8992 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE, "_invoke", fole_invoke2, 3); rb_define_method 8993 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE, "_getproperty", fole_getproperty2, 3); rb_define_method 8994 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE, "_setproperty", fole_setproperty2, 3); rb_define_method 8997 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE, "[]=", fole_setproperty_with_bracket, -1); rb_define_method 8999 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE, "ole_free", fole_free, 0); rb_define_method 9001 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE, "each", fole_each, 0); rb_define_method 9002 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE, "method_missing", fole_missing, -1); rb_define_method 9005 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE, "setproperty", fole_setproperty, -1); rb_define_method 9007 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE, "ole_methods", fole_methods, 0); rb_define_method 9008 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE, "ole_get_methods", fole_get_methods, 0); rb_define_method 9009 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE, "ole_put_methods", fole_put_methods, 0); rb_define_method 9010 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE, "ole_func_methods", fole_func_methods, 0); rb_define_method 9012 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE, "ole_method", fole_method_help, 1); rb_define_method 9014 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE, "ole_activex_initialize", fole_activex_initialize, 0); rb_define_method 9015 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE, "ole_type", fole_type, 0); rb_define_method 9017 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE, "ole_typelib", fole_typelib, 0); rb_define_method 9018 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE, "ole_query_interface", fole_query_interface, 1); rb_define_method 9019 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE, "ole_respond_to?", fole_respond_to, 1); rb_define_method 9067 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_TYPELIB, "initialize", foletypelib_initialize, -2); rb_define_method 9068 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_TYPELIB, "guid", foletypelib_guid, 0); rb_define_method 9069 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_TYPELIB, "name", foletypelib_name, 0); rb_define_method 9070 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_TYPELIB, "version", foletypelib_version, 0); rb_define_method 9071 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_TYPELIB, "major_version", foletypelib_major_version, 0); rb_define_method 9072 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_TYPELIB, "minor_version", foletypelib_minor_version, 0); rb_define_method 9073 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_TYPELIB, "path", foletypelib_path, 0); rb_define_method 9074 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_TYPELIB, "ole_types", foletypelib_ole_types, 0); rb_define_method 9076 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_TYPELIB, "visible?", foletypelib_visible, 0); rb_define_method 9077 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_TYPELIB, "library_name", foletypelib_library_name, 0); rb_define_method 9079 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_TYPELIB, "inspect", foletypelib_inspect, 0); rb_define_method 9086 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_TYPE, "initialize", foletype_initialize, 2); rb_define_method 9087 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_TYPE, "name", foletype_name, 0); rb_define_method 9088 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_TYPE, "ole_type", foletype_ole_type, 0); rb_define_method 9089 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_TYPE, "guid", foletype_guid, 0); rb_define_method 9090 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_TYPE, "progid", foletype_progid, 0); rb_define_method 9091 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_TYPE, "visible?", foletype_visible, 0); rb_define_method 9093 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_TYPE, "major_version", foletype_major_version, 0); rb_define_method 9094 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_TYPE, "minor_version", foletype_minor_version, 0); rb_define_method 9095 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_TYPE, "typekind", foletype_typekind, 0); rb_define_method 9096 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_TYPE, "helpstring", foletype_helpstring, 0); rb_define_method 9097 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_TYPE, "src_type", foletype_src_type, 0); rb_define_method 9098 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_TYPE, "helpfile", foletype_helpfile, 0); rb_define_method 9099 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_TYPE, "helpcontext", foletype_helpcontext, 0); rb_define_method 9100 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_TYPE, "variables", foletype_variables, 0); rb_define_method 9101 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_TYPE, "ole_methods", foletype_methods, 0); rb_define_method 9102 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_TYPE, "ole_typelib", foletype_ole_typelib, 0); rb_define_method 9103 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_TYPE, "implemented_ole_types", foletype_impl_ole_types, 0); rb_define_method 9104 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_TYPE, "source_ole_types", foletype_source_ole_types, 0); rb_define_method 9105 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_TYPE, "default_event_sources", foletype_default_event_sources, 0); rb_define_method 9106 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_TYPE, "default_ole_types", foletype_default_ole_types, 0); rb_define_method 9107 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_TYPE, "inspect", foletype_inspect, 0); rb_define_method 9110 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_VARIABLE, "name", folevariable_name, 0); rb_define_method 9111 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_VARIABLE, "ole_type", folevariable_ole_type, 0); rb_define_method 9112 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_VARIABLE, "ole_type_detail", folevariable_ole_type_detail, 0); rb_define_method 9113 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_VARIABLE, "value", folevariable_value, 0); rb_define_method 9114 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_VARIABLE, "visible?", folevariable_visible, 0); rb_define_method 9115 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_VARIABLE, "variable_kind", folevariable_variable_kind, 0); rb_define_method 9116 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_VARIABLE, "varkind", folevariable_varkind, 0); rb_define_method 9117 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_VARIABLE, "inspect", folevariable_inspect, 0); rb_define_method 9122 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_METHOD, "initialize", folemethod_initialize, 2); rb_define_method 9123 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_METHOD, "name", folemethod_name, 0); rb_define_method 9124 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_METHOD, "return_type", folemethod_return_type, 0); rb_define_method 9125 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_METHOD, "return_vtype", folemethod_return_vtype, 0); rb_define_method 9126 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_METHOD, "return_type_detail", folemethod_return_type_detail, 0); rb_define_method 9127 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_METHOD, "invoke_kind", folemethod_invoke_kind, 0); rb_define_method 9128 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_METHOD, "invkind", folemethod_invkind, 0); rb_define_method 9129 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_METHOD, "visible?", folemethod_visible, 0); rb_define_method 9130 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_METHOD, "event?", folemethod_event, 0); rb_define_method 9131 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_METHOD, "event_interface", folemethod_event_interface, 0); rb_define_method 9132 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_METHOD, "helpstring", folemethod_helpstring, 0); rb_define_method 9133 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_METHOD, "helpfile", folemethod_helpfile, 0); rb_define_method 9134 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_METHOD, "helpcontext", folemethod_helpcontext, 0); rb_define_method 9135 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_METHOD, "dispid", folemethod_dispid, 0); rb_define_method 9136 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_METHOD, "offset_vtbl", folemethod_offset_vtbl, 0); rb_define_method 9137 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_METHOD, "size_params", folemethod_size_params, 0); rb_define_method 9138 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_METHOD, "size_opt_params", folemethod_size_opt_params, 0); rb_define_method 9139 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_METHOD, "params", folemethod_params, 0); rb_define_method 9141 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_METHOD, "inspect", folemethod_inspect, 0); rb_define_method 9144 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_PARAM, "name", foleparam_name, 0); rb_define_method 9145 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_PARAM, "ole_type", foleparam_ole_type, 0); rb_define_method 9146 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_PARAM, "ole_type_detail", foleparam_ole_type_detail, 0); rb_define_method 9147 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_PARAM, "input?", foleparam_input, 0); rb_define_method 9148 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_PARAM, "output?", foleparam_output, 0); rb_define_method 9149 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_PARAM, "optional?", foleparam_optional, 0); rb_define_method 9150 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_PARAM, "retval?", foleparam_retval, 0); rb_define_method 9151 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_PARAM, "default", foleparam_default, 0); rb_define_method 9153 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_PARAM, "inspect", foleparam_inspect, 0); rb_define_method 9158 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_EVENT, "initialize", fev_initialize, -1); rb_define_method 9159 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_EVENT, "on_event", fev_on_event, -1); rb_define_method 9160 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_EVENT, "on_event_with_outargs", fev_on_event_with_outargs, -1); rb_define_method 9161 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_EVENT, "off_event", fev_off_event, -1); rb_define_method 9162 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_EVENT, "unadvise", fev_unadvise, 0); rb_define_method 9163 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_EVENT, "handler=", fev_set_handler, 1); rb_define_method 9164 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_EVENT, "handler", fev_get_handler, 0); rb_define_method 9169 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_VARIANT, "initialize", folevariant_initialize, -2); rb_define_method 9170 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_VARIANT, "value", folevariant_value, 0); rb_define_method 9171 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_VARIANT, "value=", folevariant_set_value, 1); rb_define_method 9172 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_VARIANT, "vartype", folevariant_vartype, 0); rb_define_method 9173 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_VARIANT, "[]", folevariant_ary_aref, -1); rb_define_method 9174 ext/win32ole/win32ole.c rb_define_method(cWIN32OLE_VARIANT, "[]=", folevariant_ary_aset, -1); rb_define_method 3450 ext/zlib/zlib.c rb_define_method(cZStream, "avail_out", rb_zstream_avail_out, 0); rb_define_method 3451 ext/zlib/zlib.c rb_define_method(cZStream, "avail_out=", rb_zstream_set_avail_out, 1); rb_define_method 3452 ext/zlib/zlib.c rb_define_method(cZStream, "avail_in", rb_zstream_avail_in, 0); rb_define_method 3453 ext/zlib/zlib.c rb_define_method(cZStream, "total_in", rb_zstream_total_in, 0); rb_define_method 3454 ext/zlib/zlib.c rb_define_method(cZStream, "total_out", rb_zstream_total_out, 0); rb_define_method 3455 ext/zlib/zlib.c rb_define_method(cZStream, "data_type", rb_zstream_data_type, 0); rb_define_method 3456 ext/zlib/zlib.c rb_define_method(cZStream, "adler", rb_zstream_adler, 0); rb_define_method 3457 ext/zlib/zlib.c rb_define_method(cZStream, "finished?", rb_zstream_finished_p, 0); rb_define_method 3458 ext/zlib/zlib.c rb_define_method(cZStream, "stream_end?", rb_zstream_finished_p, 0); rb_define_method 3459 ext/zlib/zlib.c rb_define_method(cZStream, "closed?", rb_zstream_closed_p, 0); rb_define_method 3460 ext/zlib/zlib.c rb_define_method(cZStream, "ended?", rb_zstream_closed_p, 0); rb_define_method 3461 ext/zlib/zlib.c rb_define_method(cZStream, "close", rb_zstream_end, 0); rb_define_method 3462 ext/zlib/zlib.c rb_define_method(cZStream, "end", rb_zstream_end, 0); rb_define_method 3463 ext/zlib/zlib.c rb_define_method(cZStream, "reset", rb_zstream_reset, 0); rb_define_method 3464 ext/zlib/zlib.c rb_define_method(cZStream, "finish", rb_zstream_finish, 0); rb_define_method 3465 ext/zlib/zlib.c rb_define_method(cZStream, "flush_next_in", rb_zstream_flush_next_in, 0); rb_define_method 3466 ext/zlib/zlib.c rb_define_method(cZStream, "flush_next_out", rb_zstream_flush_next_out, 0); rb_define_method 3475 ext/zlib/zlib.c rb_define_method(cDeflate, "initialize", rb_deflate_initialize, -1); rb_define_method 3476 ext/zlib/zlib.c rb_define_method(cDeflate, "initialize_copy", rb_deflate_init_copy, 1); rb_define_method 3477 ext/zlib/zlib.c rb_define_method(cDeflate, "deflate", rb_deflate_deflate, -1); rb_define_method 3478 ext/zlib/zlib.c rb_define_method(cDeflate, "<<", rb_deflate_addstr, 1); rb_define_method 3479 ext/zlib/zlib.c rb_define_method(cDeflate, "flush", rb_deflate_flush, -1); rb_define_method 3480 ext/zlib/zlib.c rb_define_method(cDeflate, "params", rb_deflate_params, 2); rb_define_method 3481 ext/zlib/zlib.c rb_define_method(cDeflate, "set_dictionary", rb_deflate_set_dictionary, 1); rb_define_method 3486 ext/zlib/zlib.c rb_define_method(cInflate, "initialize", rb_inflate_initialize, -1); rb_define_method 3487 ext/zlib/zlib.c rb_define_method(cInflate, "inflate", rb_inflate_inflate, 1); rb_define_method 3488 ext/zlib/zlib.c rb_define_method(cInflate, "<<", rb_inflate_addstr, 1); rb_define_method 3489 ext/zlib/zlib.c rb_define_method(cInflate, "sync", rb_inflate_sync, 1); rb_define_method 3490 ext/zlib/zlib.c rb_define_method(cInflate, "sync_point?", rb_inflate_sync_point_p, 0); rb_define_method 3491 ext/zlib/zlib.c rb_define_method(cInflate, "set_dictionary", rb_inflate_set_dictionary, 1); rb_define_method 3533 ext/zlib/zlib.c rb_define_method(cGzipFile, "to_io", rb_gzfile_to_io, 0); rb_define_method 3534 ext/zlib/zlib.c rb_define_method(cGzipFile, "crc", rb_gzfile_crc, 0); rb_define_method 3535 ext/zlib/zlib.c rb_define_method(cGzipFile, "mtime", rb_gzfile_mtime, 0); rb_define_method 3536 ext/zlib/zlib.c rb_define_method(cGzipFile, "level", rb_gzfile_level, 0); rb_define_method 3537 ext/zlib/zlib.c rb_define_method(cGzipFile, "os_code", rb_gzfile_os_code, 0); rb_define_method 3538 ext/zlib/zlib.c rb_define_method(cGzipFile, "orig_name", rb_gzfile_orig_name, 0); rb_define_method 3539 ext/zlib/zlib.c rb_define_method(cGzipFile, "comment", rb_gzfile_comment, 0); rb_define_method 3540 ext/zlib/zlib.c rb_define_method(cGzipReader, "lineno", rb_gzfile_lineno, 0); rb_define_method 3541 ext/zlib/zlib.c rb_define_method(cGzipReader, "lineno=", rb_gzfile_set_lineno, 1); rb_define_method 3542 ext/zlib/zlib.c rb_define_method(cGzipWriter, "mtime=", rb_gzfile_set_mtime, 1); rb_define_method 3543 ext/zlib/zlib.c rb_define_method(cGzipWriter, "orig_name=", rb_gzfile_set_orig_name,1); rb_define_method 3544 ext/zlib/zlib.c rb_define_method(cGzipWriter, "comment=", rb_gzfile_set_comment, 1); rb_define_method 3545 ext/zlib/zlib.c rb_define_method(cGzipFile, "close", rb_gzfile_close, 0); rb_define_method 3546 ext/zlib/zlib.c rb_define_method(cGzipFile, "finish", rb_gzfile_finish, 0); rb_define_method 3547 ext/zlib/zlib.c rb_define_method(cGzipFile, "closed?", rb_gzfile_closed_p, 0); rb_define_method 3548 ext/zlib/zlib.c rb_define_method(cGzipReader, "eof", rb_gzfile_eof_p, 0); rb_define_method 3549 ext/zlib/zlib.c rb_define_method(cGzipReader, "eof?", rb_gzfile_eof_p, 0); rb_define_method 3550 ext/zlib/zlib.c rb_define_method(cGzipFile, "sync", rb_gzfile_sync, 0); rb_define_method 3551 ext/zlib/zlib.c rb_define_method(cGzipFile, "sync=", rb_gzfile_set_sync, 1); rb_define_method 3552 ext/zlib/zlib.c rb_define_method(cGzipReader, "pos", rb_gzfile_total_out, 0); rb_define_method 3553 ext/zlib/zlib.c rb_define_method(cGzipWriter, "pos", rb_gzfile_total_in, 0); rb_define_method 3554 ext/zlib/zlib.c rb_define_method(cGzipReader, "tell", rb_gzfile_total_out, 0); rb_define_method 3555 ext/zlib/zlib.c rb_define_method(cGzipWriter, "tell", rb_gzfile_total_in, 0); rb_define_method 3559 ext/zlib/zlib.c rb_define_method(cGzipWriter, "initialize", rb_gzwriter_initialize,-1); rb_define_method 3560 ext/zlib/zlib.c rb_define_method(cGzipWriter, "flush", rb_gzwriter_flush, -1); rb_define_method 3561 ext/zlib/zlib.c rb_define_method(cGzipWriter, "write", rb_gzwriter_write, 1); rb_define_method 3562 ext/zlib/zlib.c rb_define_method(cGzipWriter, "putc", rb_gzwriter_putc, 1); rb_define_method 3563 ext/zlib/zlib.c rb_define_method(cGzipWriter, "<<", rb_gzwriter_addstr, 1); rb_define_method 3564 ext/zlib/zlib.c rb_define_method(cGzipWriter, "printf", rb_gzwriter_printf, -1); rb_define_method 3565 ext/zlib/zlib.c rb_define_method(cGzipWriter, "print", rb_gzwriter_print, -1); rb_define_method 3566 ext/zlib/zlib.c rb_define_method(cGzipWriter, "puts", rb_gzwriter_puts, -1); rb_define_method 3570 ext/zlib/zlib.c rb_define_method(cGzipReader, "initialize", rb_gzreader_initialize, -1); rb_define_method 3571 ext/zlib/zlib.c rb_define_method(cGzipReader, "rewind", rb_gzreader_rewind, 0); rb_define_method 3572 ext/zlib/zlib.c rb_define_method(cGzipReader, "unused", rb_gzreader_unused, 0); rb_define_method 3573 ext/zlib/zlib.c rb_define_method(cGzipReader, "read", rb_gzreader_read, -1); rb_define_method 3574 ext/zlib/zlib.c rb_define_method(cGzipReader, "readpartial", rb_gzreader_readpartial, -1); rb_define_method 3575 ext/zlib/zlib.c rb_define_method(cGzipReader, "getc", rb_gzreader_getc, 0); rb_define_method 3576 ext/zlib/zlib.c rb_define_method(cGzipReader, "getbyte", rb_gzreader_getbyte, 0); rb_define_method 3577 ext/zlib/zlib.c rb_define_method(cGzipReader, "readchar", rb_gzreader_readchar, 0); rb_define_method 3578 ext/zlib/zlib.c rb_define_method(cGzipReader, "readbyte", rb_gzreader_readbyte, 0); rb_define_method 3579 ext/zlib/zlib.c rb_define_method(cGzipReader, "each_byte", rb_gzreader_each_byte, 0); rb_define_method 3580 ext/zlib/zlib.c rb_define_method(cGzipReader, "each_char", rb_gzreader_each_char, 0); rb_define_method 3581 ext/zlib/zlib.c rb_define_method(cGzipReader, "bytes", rb_gzreader_each_byte, 0); rb_define_method 3582 ext/zlib/zlib.c rb_define_method(cGzipReader, "ungetc", rb_gzreader_ungetc, 1); rb_define_method 3583 ext/zlib/zlib.c rb_define_method(cGzipReader, "ungetbyte", rb_gzreader_ungetbyte, 1); rb_define_method 3584 ext/zlib/zlib.c rb_define_method(cGzipReader, "gets", rb_gzreader_gets, -1); rb_define_method 3585 ext/zlib/zlib.c rb_define_method(cGzipReader, "readline", rb_gzreader_readline, -1); rb_define_method 3586 ext/zlib/zlib.c rb_define_method(cGzipReader, "each", rb_gzreader_each, -1); rb_define_method 3587 ext/zlib/zlib.c rb_define_method(cGzipReader, "each_line", rb_gzreader_each, -1); rb_define_method 3588 ext/zlib/zlib.c rb_define_method(cGzipReader, "lines", rb_gzreader_each, -1); rb_define_method 3589 ext/zlib/zlib.c rb_define_method(cGzipReader, "readlines", rb_gzreader_readlines, -1); rb_define_method 4739 file.c rb_define_method(rb_cIO, "stat", rb_io_stat, 0); /* this is IO's method */ rb_define_method 4740 file.c rb_define_method(rb_cFile, "lstat", rb_file_lstat, 0); rb_define_method 4742 file.c rb_define_method(rb_cFile, "atime", rb_file_atime, 0); rb_define_method 4743 file.c rb_define_method(rb_cFile, "mtime", rb_file_mtime, 0); rb_define_method 4744 file.c rb_define_method(rb_cFile, "ctime", rb_file_ctime, 0); rb_define_method 4746 file.c rb_define_method(rb_cFile, "chmod", rb_file_chmod, 1); rb_define_method 4747 file.c rb_define_method(rb_cFile, "chown", rb_file_chown, 2); rb_define_method 4748 file.c rb_define_method(rb_cFile, "truncate", rb_file_truncate, 1); rb_define_method 4750 file.c rb_define_method(rb_cFile, "flock", rb_file_flock, 1); rb_define_method 4759 file.c rb_define_method(rb_cFile, "path", rb_file_path, 0); rb_define_method 4760 file.c rb_define_method(rb_cFile, "to_path", rb_file_path, 0); rb_define_method 4765 file.c rb_define_method(rb_cStat, "initialize", rb_stat_init, 1); rb_define_method 4766 file.c rb_define_method(rb_cStat, "initialize_copy", rb_stat_init_copy, 1); rb_define_method 4770 file.c rb_define_method(rb_cStat, "<=>", rb_stat_cmp, 1); rb_define_method 4772 file.c rb_define_method(rb_cStat, "dev", rb_stat_dev, 0); rb_define_method 4773 file.c rb_define_method(rb_cStat, "dev_major", rb_stat_dev_major, 0); rb_define_method 4774 file.c rb_define_method(rb_cStat, "dev_minor", rb_stat_dev_minor, 0); rb_define_method 4775 file.c rb_define_method(rb_cStat, "ino", rb_stat_ino, 0); rb_define_method 4776 file.c rb_define_method(rb_cStat, "mode", rb_stat_mode, 0); rb_define_method 4777 file.c rb_define_method(rb_cStat, "nlink", rb_stat_nlink, 0); rb_define_method 4778 file.c rb_define_method(rb_cStat, "uid", rb_stat_uid, 0); rb_define_method 4779 file.c rb_define_method(rb_cStat, "gid", rb_stat_gid, 0); rb_define_method 4780 file.c rb_define_method(rb_cStat, "rdev", rb_stat_rdev, 0); rb_define_method 4781 file.c rb_define_method(rb_cStat, "rdev_major", rb_stat_rdev_major, 0); rb_define_method 4782 file.c rb_define_method(rb_cStat, "rdev_minor", rb_stat_rdev_minor, 0); rb_define_method 4783 file.c rb_define_method(rb_cStat, "size", rb_stat_size, 0); rb_define_method 4784 file.c rb_define_method(rb_cStat, "blksize", rb_stat_blksize, 0); rb_define_method 4785 file.c rb_define_method(rb_cStat, "blocks", rb_stat_blocks, 0); rb_define_method 4786 file.c rb_define_method(rb_cStat, "atime", rb_stat_atime, 0); rb_define_method 4787 file.c rb_define_method(rb_cStat, "mtime", rb_stat_mtime, 0); rb_define_method 4788 file.c rb_define_method(rb_cStat, "ctime", rb_stat_ctime, 0); rb_define_method 4790 file.c rb_define_method(rb_cStat, "inspect", rb_stat_inspect, 0); rb_define_method 4792 file.c rb_define_method(rb_cStat, "ftype", rb_stat_ftype, 0); rb_define_method 4794 file.c rb_define_method(rb_cStat, "directory?", rb_stat_d, 0); rb_define_method 4795 file.c rb_define_method(rb_cStat, "readable?", rb_stat_r, 0); rb_define_method 4796 file.c rb_define_method(rb_cStat, "readable_real?", rb_stat_R, 0); rb_define_method 4797 file.c rb_define_method(rb_cStat, "world_readable?", rb_stat_wr, 0); rb_define_method 4798 file.c rb_define_method(rb_cStat, "writable?", rb_stat_w, 0); rb_define_method 4799 file.c rb_define_method(rb_cStat, "writable_real?", rb_stat_W, 0); rb_define_method 4800 file.c rb_define_method(rb_cStat, "world_writable?", rb_stat_ww, 0); rb_define_method 4801 file.c rb_define_method(rb_cStat, "executable?", rb_stat_x, 0); rb_define_method 4802 file.c rb_define_method(rb_cStat, "executable_real?", rb_stat_X, 0); rb_define_method 4803 file.c rb_define_method(rb_cStat, "file?", rb_stat_f, 0); rb_define_method 4804 file.c rb_define_method(rb_cStat, "zero?", rb_stat_z, 0); rb_define_method 4805 file.c rb_define_method(rb_cStat, "size?", rb_stat_s, 0); rb_define_method 4806 file.c rb_define_method(rb_cStat, "owned?", rb_stat_owned, 0); rb_define_method 4807 file.c rb_define_method(rb_cStat, "grpowned?", rb_stat_grpowned, 0); rb_define_method 4809 file.c rb_define_method(rb_cStat, "pipe?", rb_stat_p, 0); rb_define_method 4810 file.c rb_define_method(rb_cStat, "symlink?", rb_stat_l, 0); rb_define_method 4811 file.c rb_define_method(rb_cStat, "socket?", rb_stat_S, 0); rb_define_method 4813 file.c rb_define_method(rb_cStat, "blockdev?", rb_stat_b, 0); rb_define_method 4814 file.c rb_define_method(rb_cStat, "chardev?", rb_stat_c, 0); rb_define_method 4816 file.c rb_define_method(rb_cStat, "setuid?", rb_stat_suid, 0); rb_define_method 4817 file.c rb_define_method(rb_cStat, "setgid?", rb_stat_sgid, 0); rb_define_method 4818 file.c rb_define_method(rb_cStat, "sticky?", rb_stat_sticky, 0); rb_define_method 2889 gc.c rb_define_method(rb_mGC, "garbage_collect", rb_gc_start, 0); rb_define_method 2913 gc.c rb_define_method(rb_mKernel, "hash", rb_obj_id, 0); rb_define_method 2914 gc.c rb_define_method(rb_mKernel, "__id__", rb_obj_id, 0); rb_define_method 2915 gc.c rb_define_method(rb_mKernel, "object_id", rb_obj_id, 0); rb_define_method 2594 hash.c rb_define_method(rb_cHash,"initialize", rb_hash_initialize, -1); rb_define_method 2595 hash.c rb_define_method(rb_cHash,"initialize_copy", rb_hash_replace, 1); rb_define_method 2596 hash.c rb_define_method(rb_cHash,"rehash", rb_hash_rehash, 0); rb_define_method 2598 hash.c rb_define_method(rb_cHash,"to_hash", rb_hash_to_hash, 0); rb_define_method 2599 hash.c rb_define_method(rb_cHash,"to_a", rb_hash_to_a, 0); rb_define_method 2600 hash.c rb_define_method(rb_cHash,"to_s", rb_hash_inspect, 0); rb_define_method 2601 hash.c rb_define_method(rb_cHash,"inspect", rb_hash_inspect, 0); rb_define_method 2603 hash.c rb_define_method(rb_cHash,"==", rb_hash_equal, 1); rb_define_method 2604 hash.c rb_define_method(rb_cHash,"[]", rb_hash_aref, 1); rb_define_method 2605 hash.c rb_define_method(rb_cHash,"hash", rb_hash_hash, 0); rb_define_method 2606 hash.c rb_define_method(rb_cHash,"eql?", rb_hash_eql, 1); rb_define_method 2607 hash.c rb_define_method(rb_cHash,"fetch", rb_hash_fetch_m, -1); rb_define_method 2608 hash.c rb_define_method(rb_cHash,"[]=", rb_hash_aset, 2); rb_define_method 2609 hash.c rb_define_method(rb_cHash,"store", rb_hash_aset, 2); rb_define_method 2610 hash.c rb_define_method(rb_cHash,"default", rb_hash_default, -1); rb_define_method 2611 hash.c rb_define_method(rb_cHash,"default=", rb_hash_set_default, 1); rb_define_method 2612 hash.c rb_define_method(rb_cHash,"default_proc", rb_hash_default_proc, 0); rb_define_method 2613 hash.c rb_define_method(rb_cHash,"default_proc=", rb_hash_set_default_proc, 1); rb_define_method 2614 hash.c rb_define_method(rb_cHash,"key", rb_hash_key, 1); rb_define_method 2615 hash.c rb_define_method(rb_cHash,"index", rb_hash_index, 1); rb_define_method 2616 hash.c rb_define_method(rb_cHash,"size", rb_hash_size, 0); rb_define_method 2617 hash.c rb_define_method(rb_cHash,"length", rb_hash_size, 0); rb_define_method 2618 hash.c rb_define_method(rb_cHash,"empty?", rb_hash_empty_p, 0); rb_define_method 2620 hash.c rb_define_method(rb_cHash,"each_value", rb_hash_each_value, 0); rb_define_method 2621 hash.c rb_define_method(rb_cHash,"each_key", rb_hash_each_key, 0); rb_define_method 2622 hash.c rb_define_method(rb_cHash,"each_pair", rb_hash_each_pair, 0); rb_define_method 2623 hash.c rb_define_method(rb_cHash,"each", rb_hash_each_pair, 0); rb_define_method 2625 hash.c rb_define_method(rb_cHash,"keys", rb_hash_keys, 0); rb_define_method 2626 hash.c rb_define_method(rb_cHash,"values", rb_hash_values, 0); rb_define_method 2627 hash.c rb_define_method(rb_cHash,"values_at", rb_hash_values_at, -1); rb_define_method 2629 hash.c rb_define_method(rb_cHash,"shift", rb_hash_shift, 0); rb_define_method 2630 hash.c rb_define_method(rb_cHash,"delete", rb_hash_delete, 1); rb_define_method 2631 hash.c rb_define_method(rb_cHash,"delete_if", rb_hash_delete_if, 0); rb_define_method 2632 hash.c rb_define_method(rb_cHash,"select", rb_hash_select, 0); rb_define_method 2633 hash.c rb_define_method(rb_cHash,"reject", rb_hash_reject, 0); rb_define_method 2634 hash.c rb_define_method(rb_cHash,"reject!", rb_hash_reject_bang, 0); rb_define_method 2635 hash.c rb_define_method(rb_cHash,"clear", rb_hash_clear, 0); rb_define_method 2636 hash.c rb_define_method(rb_cHash,"invert", rb_hash_invert, 0); rb_define_method 2637 hash.c rb_define_method(rb_cHash,"update", rb_hash_update, 1); rb_define_method 2638 hash.c rb_define_method(rb_cHash,"replace", rb_hash_replace, 1); rb_define_method 2639 hash.c rb_define_method(rb_cHash,"merge!", rb_hash_update, 1); rb_define_method 2640 hash.c rb_define_method(rb_cHash,"merge", rb_hash_merge, 1); rb_define_method 2641 hash.c rb_define_method(rb_cHash, "assoc", rb_hash_assoc, 1); rb_define_method 2642 hash.c rb_define_method(rb_cHash, "rassoc", rb_hash_rassoc, 1); rb_define_method 2643 hash.c rb_define_method(rb_cHash, "flatten", rb_hash_flatten, -1); rb_define_method 2645 hash.c rb_define_method(rb_cHash,"include?", rb_hash_has_key, 1); rb_define_method 2646 hash.c rb_define_method(rb_cHash,"member?", rb_hash_has_key, 1); rb_define_method 2647 hash.c rb_define_method(rb_cHash,"has_key?", rb_hash_has_key, 1); rb_define_method 2648 hash.c rb_define_method(rb_cHash,"has_value?", rb_hash_has_value, 1); rb_define_method 2649 hash.c rb_define_method(rb_cHash,"key?", rb_hash_has_key, 1); rb_define_method 2650 hash.c rb_define_method(rb_cHash,"value?", rb_hash_has_value, 1); rb_define_method 2652 hash.c rb_define_method(rb_cHash,"compare_by_identity", rb_hash_compare_by_id, 0); rb_define_method 2653 hash.c rb_define_method(rb_cHash,"compare_by_identity?", rb_hash_compare_by_id_p, 0); rb_define_method 884 include/ruby/ruby.h void rb_define_method(VALUE,const char*,VALUE(*)(ANYARGS),int); rb_define_method 8515 io.c rb_define_method(rb_mKernel, "display", rb_obj_display, -1); rb_define_method 8540 io.c rb_define_method(rb_cIO, "initialize", rb_io_initialize, -1); rb_define_method 8555 io.c rb_define_method(rb_cIO, "initialize_copy", rb_io_init_copy, 1); rb_define_method 8556 io.c rb_define_method(rb_cIO, "reopen", rb_io_reopen, -1); rb_define_method 8558 io.c rb_define_method(rb_cIO, "print", rb_io_print, -1); rb_define_method 8559 io.c rb_define_method(rb_cIO, "putc", rb_io_putc, 1); rb_define_method 8560 io.c rb_define_method(rb_cIO, "puts", rb_io_puts, -1); rb_define_method 8561 io.c rb_define_method(rb_cIO, "printf", rb_io_printf, -1); rb_define_method 8563 io.c rb_define_method(rb_cIO, "each", rb_io_each_line, -1); rb_define_method 8564 io.c rb_define_method(rb_cIO, "each_line", rb_io_each_line, -1); rb_define_method 8565 io.c rb_define_method(rb_cIO, "each_byte", rb_io_each_byte, 0); rb_define_method 8566 io.c rb_define_method(rb_cIO, "each_char", rb_io_each_char, 0); rb_define_method 8567 io.c rb_define_method(rb_cIO, "lines", rb_io_lines, -1); rb_define_method 8568 io.c rb_define_method(rb_cIO, "bytes", rb_io_bytes, 0); rb_define_method 8569 io.c rb_define_method(rb_cIO, "chars", rb_io_chars, 0); rb_define_method 8571 io.c rb_define_method(rb_cIO, "syswrite", rb_io_syswrite, 1); rb_define_method 8572 io.c rb_define_method(rb_cIO, "sysread", rb_io_sysread, -1); rb_define_method 8574 io.c rb_define_method(rb_cIO, "fileno", rb_io_fileno, 0); rb_define_method 8576 io.c rb_define_method(rb_cIO, "to_io", rb_io_to_io, 0); rb_define_method 8578 io.c rb_define_method(rb_cIO, "fsync", rb_io_fsync, 0); rb_define_method 8579 io.c rb_define_method(rb_cIO, "sync", rb_io_sync, 0); rb_define_method 8580 io.c rb_define_method(rb_cIO, "sync=", rb_io_set_sync, 1); rb_define_method 8582 io.c rb_define_method(rb_cIO, "lineno", rb_io_lineno, 0); rb_define_method 8583 io.c rb_define_method(rb_cIO, "lineno=", rb_io_set_lineno, 1); rb_define_method 8585 io.c rb_define_method(rb_cIO, "readlines", rb_io_readlines, -1); rb_define_method 8587 io.c rb_define_method(rb_cIO, "read_nonblock", io_read_nonblock, -1); rb_define_method 8588 io.c rb_define_method(rb_cIO, "write_nonblock", rb_io_write_nonblock, 1); rb_define_method 8589 io.c rb_define_method(rb_cIO, "readpartial", io_readpartial, -1); rb_define_method 8590 io.c rb_define_method(rb_cIO, "read", io_read, -1); rb_define_method 8591 io.c rb_define_method(rb_cIO, "write", io_write_m, 1); rb_define_method 8592 io.c rb_define_method(rb_cIO, "gets", rb_io_gets_m, -1); rb_define_method 8593 io.c rb_define_method(rb_cIO, "readline", rb_io_readline, -1); rb_define_method 8594 io.c rb_define_method(rb_cIO, "getc", rb_io_getc, 0); rb_define_method 8595 io.c rb_define_method(rb_cIO, "getbyte", rb_io_getbyte, 0); rb_define_method 8596 io.c rb_define_method(rb_cIO, "readchar", rb_io_readchar, 0); rb_define_method 8597 io.c rb_define_method(rb_cIO, "readbyte", rb_io_readbyte, 0); rb_define_method 8598 io.c rb_define_method(rb_cIO, "ungetbyte",rb_io_ungetbyte, 1); rb_define_method 8599 io.c rb_define_method(rb_cIO, "ungetc",rb_io_ungetc, 1); rb_define_method 8600 io.c rb_define_method(rb_cIO, "<<", rb_io_addstr, 1); rb_define_method 8601 io.c rb_define_method(rb_cIO, "flush", rb_io_flush, 0); rb_define_method 8602 io.c rb_define_method(rb_cIO, "tell", rb_io_tell, 0); rb_define_method 8603 io.c rb_define_method(rb_cIO, "seek", rb_io_seek_m, -1); rb_define_method 8607 io.c rb_define_method(rb_cIO, "rewind", rb_io_rewind, 0); rb_define_method 8608 io.c rb_define_method(rb_cIO, "pos", rb_io_tell, 0); rb_define_method 8609 io.c rb_define_method(rb_cIO, "pos=", rb_io_set_pos, 1); rb_define_method 8610 io.c rb_define_method(rb_cIO, "eof", rb_io_eof, 0); rb_define_method 8611 io.c rb_define_method(rb_cIO, "eof?", rb_io_eof, 0); rb_define_method 8613 io.c rb_define_method(rb_cIO, "close_on_exec?", rb_io_close_on_exec_p, 0); rb_define_method 8614 io.c rb_define_method(rb_cIO, "close_on_exec=", rb_io_set_close_on_exec, 1); rb_define_method 8616 io.c rb_define_method(rb_cIO, "close", rb_io_close_m, 0); rb_define_method 8617 io.c rb_define_method(rb_cIO, "closed?", rb_io_closed, 0); rb_define_method 8618 io.c rb_define_method(rb_cIO, "close_read", rb_io_close_read, 0); rb_define_method 8619 io.c rb_define_method(rb_cIO, "close_write", rb_io_close_write, 0); rb_define_method 8621 io.c rb_define_method(rb_cIO, "isatty", rb_io_isatty, 0); rb_define_method 8622 io.c rb_define_method(rb_cIO, "tty?", rb_io_isatty, 0); rb_define_method 8623 io.c rb_define_method(rb_cIO, "binmode", rb_io_binmode_m, 0); rb_define_method 8624 io.c rb_define_method(rb_cIO, "binmode?", rb_io_binmode_p, 0); rb_define_method 8625 io.c rb_define_method(rb_cIO, "sysseek", rb_io_sysseek, -1); rb_define_method 8627 io.c rb_define_method(rb_cIO, "ioctl", rb_io_ioctl, -1); rb_define_method 8628 io.c rb_define_method(rb_cIO, "fcntl", rb_io_fcntl, -1); rb_define_method 8629 io.c rb_define_method(rb_cIO, "pid", rb_io_pid, 0); rb_define_method 8630 io.c rb_define_method(rb_cIO, "inspect", rb_io_inspect, 0); rb_define_method 8632 io.c rb_define_method(rb_cIO, "external_encoding", rb_io_external_encoding, 0); rb_define_method 8633 io.c rb_define_method(rb_cIO, "internal_encoding", rb_io_internal_encoding, 0); rb_define_method 8634 io.c rb_define_method(rb_cIO, "set_encoding", rb_io_set_encoding, -1); rb_define_method 8657 io.c rb_define_method(rb_cARGF, "initialize", argf_initialize, -2); rb_define_method 8658 io.c rb_define_method(rb_cARGF, "initialize_copy", argf_initialize_copy, 1); rb_define_method 8659 io.c rb_define_method(rb_cARGF, "to_s", argf_to_s, 0); rb_define_method 8660 io.c rb_define_method(rb_cARGF, "argv", argf_argv, 0); rb_define_method 8662 io.c rb_define_method(rb_cARGF, "fileno", argf_fileno, 0); rb_define_method 8663 io.c rb_define_method(rb_cARGF, "to_i", argf_fileno, 0); rb_define_method 8664 io.c rb_define_method(rb_cARGF, "to_io", argf_to_io, 0); rb_define_method 8665 io.c rb_define_method(rb_cARGF, "each", argf_each_line, -1); rb_define_method 8666 io.c rb_define_method(rb_cARGF, "each_line", argf_each_line, -1); rb_define_method 8667 io.c rb_define_method(rb_cARGF, "each_byte", argf_each_byte, 0); rb_define_method 8668 io.c rb_define_method(rb_cARGF, "each_char", argf_each_char, 0); rb_define_method 8669 io.c rb_define_method(rb_cARGF, "lines", argf_each_line, -1); rb_define_method 8670 io.c rb_define_method(rb_cARGF, "bytes", argf_each_byte, 0); rb_define_method 8671 io.c rb_define_method(rb_cARGF, "chars", argf_each_char, 0); rb_define_method 8673 io.c rb_define_method(rb_cARGF, "read", argf_read, -1); rb_define_method 8674 io.c rb_define_method(rb_cARGF, "readpartial", argf_readpartial, -1); rb_define_method 8675 io.c rb_define_method(rb_cARGF, "readlines", argf_readlines, -1); rb_define_method 8676 io.c rb_define_method(rb_cARGF, "to_a", argf_readlines, -1); rb_define_method 8677 io.c rb_define_method(rb_cARGF, "gets", argf_gets, -1); rb_define_method 8678 io.c rb_define_method(rb_cARGF, "readline", argf_readline, -1); rb_define_method 8679 io.c rb_define_method(rb_cARGF, "getc", argf_getc, 0); rb_define_method 8680 io.c rb_define_method(rb_cARGF, "getbyte", argf_getbyte, 0); rb_define_method 8681 io.c rb_define_method(rb_cARGF, "readchar", argf_readchar, 0); rb_define_method 8682 io.c rb_define_method(rb_cARGF, "readbyte", argf_readbyte, 0); rb_define_method 8683 io.c rb_define_method(rb_cARGF, "tell", argf_tell, 0); rb_define_method 8684 io.c rb_define_method(rb_cARGF, "seek", argf_seek_m, -1); rb_define_method 8685 io.c rb_define_method(rb_cARGF, "rewind", argf_rewind, 0); rb_define_method 8686 io.c rb_define_method(rb_cARGF, "pos", argf_tell, 0); rb_define_method 8687 io.c rb_define_method(rb_cARGF, "pos=", argf_set_pos, 1); rb_define_method 8688 io.c rb_define_method(rb_cARGF, "eof", argf_eof, 0); rb_define_method 8689 io.c rb_define_method(rb_cARGF, "eof?", argf_eof, 0); rb_define_method 8690 io.c rb_define_method(rb_cARGF, "binmode", argf_binmode_m, 0); rb_define_method 8691 io.c rb_define_method(rb_cARGF, "binmode?", argf_binmode_p, 0); rb_define_method 8693 io.c rb_define_method(rb_cARGF, "filename", argf_filename, 0); rb_define_method 8694 io.c rb_define_method(rb_cARGF, "path", argf_filename, 0); rb_define_method 8695 io.c rb_define_method(rb_cARGF, "file", argf_file, 0); rb_define_method 8696 io.c rb_define_method(rb_cARGF, "skip", argf_skip, 0); rb_define_method 8697 io.c rb_define_method(rb_cARGF, "close", argf_close_m, 0); rb_define_method 8698 io.c rb_define_method(rb_cARGF, "closed?", argf_closed, 0); rb_define_method 8700 io.c rb_define_method(rb_cARGF, "lineno", argf_lineno, 0); rb_define_method 8701 io.c rb_define_method(rb_cARGF, "lineno=", argf_set_lineno, 1); rb_define_method 8703 io.c rb_define_method(rb_cARGF, "inplace_mode", argf_inplace_mode_get, 0); rb_define_method 8704 io.c rb_define_method(rb_cARGF, "inplace_mode=", argf_inplace_mode_set, 1); rb_define_method 8706 io.c rb_define_method(rb_cARGF, "external_encoding", argf_external_encoding, 0); rb_define_method 8707 io.c rb_define_method(rb_cARGF, "internal_encoding", argf_internal_encoding, 0); rb_define_method 8708 io.c rb_define_method(rb_cARGF, "set_encoding", argf_set_encoding, -1); rb_define_method 8728 io.c rb_define_method(rb_cFile, "initialize", rb_file_initialize, -1); rb_define_method 1336 iseq.c rb_define_method(rb_cISeq, "inspect", iseq_inspect, 0); rb_define_method 1337 iseq.c rb_define_method(rb_cISeq, "disasm", rb_iseq_disasm, 0); rb_define_method 1338 iseq.c rb_define_method(rb_cISeq, "disassemble", rb_iseq_disasm, 0); rb_define_method 1339 iseq.c rb_define_method(rb_cISeq, "to_a", iseq_to_a, 0); rb_define_method 1340 iseq.c rb_define_method(rb_cISeq, "eval", iseq_eval, 0); rb_define_method 714 load.c rb_define_method(rb_cModule, "autoload", rb_mod_autoload, 2); rb_define_method 715 load.c rb_define_method(rb_cModule, "autoload?", rb_mod_autoload_p, 1); rb_define_method 3107 numeric.c rb_define_method(rb_cNumeric, "singleton_method_added", num_sadded, 1); rb_define_method 3109 numeric.c rb_define_method(rb_cNumeric, "initialize_copy", num_init_copy, 1); rb_define_method 3110 numeric.c rb_define_method(rb_cNumeric, "coerce", num_coerce, 1); rb_define_method 3112 numeric.c rb_define_method(rb_cNumeric, "+@", num_uplus, 0); rb_define_method 3113 numeric.c rb_define_method(rb_cNumeric, "-@", num_uminus, 0); rb_define_method 3114 numeric.c rb_define_method(rb_cNumeric, "<=>", num_cmp, 1); rb_define_method 3115 numeric.c rb_define_method(rb_cNumeric, "eql?", num_eql, 1); rb_define_method 3116 numeric.c rb_define_method(rb_cNumeric, "quo", num_quo, 1); rb_define_method 3117 numeric.c rb_define_method(rb_cNumeric, "fdiv", num_fdiv, 1); rb_define_method 3118 numeric.c rb_define_method(rb_cNumeric, "div", num_div, 1); rb_define_method 3119 numeric.c rb_define_method(rb_cNumeric, "divmod", num_divmod, 1); rb_define_method 3120 numeric.c rb_define_method(rb_cNumeric, "modulo", num_modulo, 1); rb_define_method 3121 numeric.c rb_define_method(rb_cNumeric, "remainder", num_remainder, 1); rb_define_method 3122 numeric.c rb_define_method(rb_cNumeric, "abs", num_abs, 0); rb_define_method 3123 numeric.c rb_define_method(rb_cNumeric, "magnitude", num_abs, 0); rb_define_method 3124 numeric.c rb_define_method(rb_cNumeric, "to_int", num_to_int, 0); rb_define_method 3126 numeric.c rb_define_method(rb_cNumeric, "real?", num_real_p, 0); rb_define_method 3127 numeric.c rb_define_method(rb_cNumeric, "integer?", num_int_p, 0); rb_define_method 3128 numeric.c rb_define_method(rb_cNumeric, "zero?", num_zero_p, 0); rb_define_method 3129 numeric.c rb_define_method(rb_cNumeric, "nonzero?", num_nonzero_p, 0); rb_define_method 3131 numeric.c rb_define_method(rb_cNumeric, "floor", num_floor, 0); rb_define_method 3132 numeric.c rb_define_method(rb_cNumeric, "ceil", num_ceil, 0); rb_define_method 3133 numeric.c rb_define_method(rb_cNumeric, "round", num_round, -1); rb_define_method 3134 numeric.c rb_define_method(rb_cNumeric, "truncate", num_truncate, 0); rb_define_method 3135 numeric.c rb_define_method(rb_cNumeric, "step", num_step, -1); rb_define_method 3137 numeric.c rb_define_method(rb_cNumeric, "numerator", num_numerator, 0); rb_define_method 3138 numeric.c rb_define_method(rb_cNumeric, "denominator", num_denominator, 0); rb_define_method 3144 numeric.c rb_define_method(rb_cInteger, "integer?", int_int_p, 0); rb_define_method 3145 numeric.c rb_define_method(rb_cInteger, "odd?", int_odd_p, 0); rb_define_method 3146 numeric.c rb_define_method(rb_cInteger, "even?", int_even_p, 0); rb_define_method 3147 numeric.c rb_define_method(rb_cInteger, "upto", int_upto, 1); rb_define_method 3148 numeric.c rb_define_method(rb_cInteger, "downto", int_downto, 1); rb_define_method 3149 numeric.c rb_define_method(rb_cInteger, "times", int_dotimes, 0); rb_define_method 3150 numeric.c rb_define_method(rb_cInteger, "succ", int_succ, 0); rb_define_method 3151 numeric.c rb_define_method(rb_cInteger, "next", int_succ, 0); rb_define_method 3152 numeric.c rb_define_method(rb_cInteger, "pred", int_pred, 0); rb_define_method 3153 numeric.c rb_define_method(rb_cInteger, "chr", int_chr, -1); rb_define_method 3154 numeric.c rb_define_method(rb_cInteger, "ord", int_ord, 0); rb_define_method 3155 numeric.c rb_define_method(rb_cInteger, "to_i", int_to_i, 0); rb_define_method 3156 numeric.c rb_define_method(rb_cInteger, "to_int", int_to_i, 0); rb_define_method 3157 numeric.c rb_define_method(rb_cInteger, "floor", int_to_i, 0); rb_define_method 3158 numeric.c rb_define_method(rb_cInteger, "ceil", int_to_i, 0); rb_define_method 3159 numeric.c rb_define_method(rb_cInteger, "truncate", int_to_i, 0); rb_define_method 3160 numeric.c rb_define_method(rb_cInteger, "round", int_round, -1); rb_define_method 3162 numeric.c rb_define_method(rb_cInteger, "numerator", int_numerator, 0); rb_define_method 3163 numeric.c rb_define_method(rb_cInteger, "denominator", int_denominator, 0); rb_define_method 3167 numeric.c rb_define_method(rb_cFixnum, "to_s", fix_to_s, -1); rb_define_method 3169 numeric.c rb_define_method(rb_cFixnum, "-@", fix_uminus, 0); rb_define_method 3170 numeric.c rb_define_method(rb_cFixnum, "+", fix_plus, 1); rb_define_method 3171 numeric.c rb_define_method(rb_cFixnum, "-", fix_minus, 1); rb_define_method 3172 numeric.c rb_define_method(rb_cFixnum, "*", fix_mul, 1); rb_define_method 3173 numeric.c rb_define_method(rb_cFixnum, "/", fix_div, 1); rb_define_method 3174 numeric.c rb_define_method(rb_cFixnum, "div", fix_idiv, 1); rb_define_method 3175 numeric.c rb_define_method(rb_cFixnum, "%", fix_mod, 1); rb_define_method 3176 numeric.c rb_define_method(rb_cFixnum, "modulo", fix_mod, 1); rb_define_method 3177 numeric.c rb_define_method(rb_cFixnum, "divmod", fix_divmod, 1); rb_define_method 3178 numeric.c rb_define_method(rb_cFixnum, "fdiv", fix_fdiv, 1); rb_define_method 3179 numeric.c rb_define_method(rb_cFixnum, "**", fix_pow, 1); rb_define_method 3181 numeric.c rb_define_method(rb_cFixnum, "abs", fix_abs, 0); rb_define_method 3182 numeric.c rb_define_method(rb_cFixnum, "magnitude", fix_abs, 0); rb_define_method 3184 numeric.c rb_define_method(rb_cFixnum, "==", fix_equal, 1); rb_define_method 3185 numeric.c rb_define_method(rb_cFixnum, "<=>", fix_cmp, 1); rb_define_method 3186 numeric.c rb_define_method(rb_cFixnum, ">", fix_gt, 1); rb_define_method 3187 numeric.c rb_define_method(rb_cFixnum, ">=", fix_ge, 1); rb_define_method 3188 numeric.c rb_define_method(rb_cFixnum, "<", fix_lt, 1); rb_define_method 3189 numeric.c rb_define_method(rb_cFixnum, "<=", fix_le, 1); rb_define_method 3191 numeric.c rb_define_method(rb_cFixnum, "~", fix_rev, 0); rb_define_method 3192 numeric.c rb_define_method(rb_cFixnum, "&", fix_and, 1); rb_define_method 3193 numeric.c rb_define_method(rb_cFixnum, "|", fix_or, 1); rb_define_method 3194 numeric.c rb_define_method(rb_cFixnum, "^", fix_xor, 1); rb_define_method 3195 numeric.c rb_define_method(rb_cFixnum, "[]", fix_aref, 1); rb_define_method 3197 numeric.c rb_define_method(rb_cFixnum, "<<", rb_fix_lshift, 1); rb_define_method 3198 numeric.c rb_define_method(rb_cFixnum, ">>", rb_fix_rshift, 1); rb_define_method 3200 numeric.c rb_define_method(rb_cFixnum, "to_f", fix_to_f, 0); rb_define_method 3201 numeric.c rb_define_method(rb_cFixnum, "size", fix_size, 0); rb_define_method 3202 numeric.c rb_define_method(rb_cFixnum, "zero?", fix_zero_p, 0); rb_define_method 3203 numeric.c rb_define_method(rb_cFixnum, "odd?", fix_odd_p, 0); rb_define_method 3204 numeric.c rb_define_method(rb_cFixnum, "even?", fix_even_p, 0); rb_define_method 3205 numeric.c rb_define_method(rb_cFixnum, "succ", fix_succ, 0); rb_define_method 3224 numeric.c rb_define_method(rb_cFloat, "to_s", flo_to_s, 0); rb_define_method 3225 numeric.c rb_define_method(rb_cFloat, "coerce", flo_coerce, 1); rb_define_method 3226 numeric.c rb_define_method(rb_cFloat, "-@", flo_uminus, 0); rb_define_method 3227 numeric.c rb_define_method(rb_cFloat, "+", flo_plus, 1); rb_define_method 3228 numeric.c rb_define_method(rb_cFloat, "-", flo_minus, 1); rb_define_method 3229 numeric.c rb_define_method(rb_cFloat, "*", flo_mul, 1); rb_define_method 3230 numeric.c rb_define_method(rb_cFloat, "/", flo_div, 1); rb_define_method 3231 numeric.c rb_define_method(rb_cFloat, "quo", flo_quo, 1); rb_define_method 3232 numeric.c rb_define_method(rb_cFloat, "fdiv", flo_quo, 1); rb_define_method 3233 numeric.c rb_define_method(rb_cFloat, "%", flo_mod, 1); rb_define_method 3234 numeric.c rb_define_method(rb_cFloat, "modulo", flo_mod, 1); rb_define_method 3235 numeric.c rb_define_method(rb_cFloat, "divmod", flo_divmod, 1); rb_define_method 3236 numeric.c rb_define_method(rb_cFloat, "**", flo_pow, 1); rb_define_method 3237 numeric.c rb_define_method(rb_cFloat, "==", flo_eq, 1); rb_define_method 3238 numeric.c rb_define_method(rb_cFloat, "<=>", flo_cmp, 1); rb_define_method 3239 numeric.c rb_define_method(rb_cFloat, ">", flo_gt, 1); rb_define_method 3240 numeric.c rb_define_method(rb_cFloat, ">=", flo_ge, 1); rb_define_method 3241 numeric.c rb_define_method(rb_cFloat, "<", flo_lt, 1); rb_define_method 3242 numeric.c rb_define_method(rb_cFloat, "<=", flo_le, 1); rb_define_method 3243 numeric.c rb_define_method(rb_cFloat, "eql?", flo_eql, 1); rb_define_method 3244 numeric.c rb_define_method(rb_cFloat, "hash", flo_hash, 0); rb_define_method 3245 numeric.c rb_define_method(rb_cFloat, "to_f", flo_to_f, 0); rb_define_method 3246 numeric.c rb_define_method(rb_cFloat, "abs", flo_abs, 0); rb_define_method 3247 numeric.c rb_define_method(rb_cFloat, "magnitude", flo_abs, 0); rb_define_method 3248 numeric.c rb_define_method(rb_cFloat, "zero?", flo_zero_p, 0); rb_define_method 3250 numeric.c rb_define_method(rb_cFloat, "to_i", flo_truncate, 0); rb_define_method 3251 numeric.c rb_define_method(rb_cFloat, "to_int", flo_truncate, 0); rb_define_method 3252 numeric.c rb_define_method(rb_cFloat, "floor", flo_floor, 0); rb_define_method 3253 numeric.c rb_define_method(rb_cFloat, "ceil", flo_ceil, 0); rb_define_method 3254 numeric.c rb_define_method(rb_cFloat, "round", flo_round, -1); rb_define_method 3255 numeric.c rb_define_method(rb_cFloat, "truncate", flo_truncate, 0); rb_define_method 3257 numeric.c rb_define_method(rb_cFloat, "nan?", flo_is_nan_p, 0); rb_define_method 3258 numeric.c rb_define_method(rb_cFloat, "infinite?", flo_is_infinite_p, 0); rb_define_method 3259 numeric.c rb_define_method(rb_cFloat, "finite?", flo_is_finite_p, 0); rb_define_method 2496 object.c rb_define_method(rb_cBasicObject, "==", rb_obj_equal, 1); rb_define_method 2497 object.c rb_define_method(rb_cBasicObject, "equal?", rb_obj_equal, 1); rb_define_method 2498 object.c rb_define_method(rb_cBasicObject, "!", rb_obj_not, 0); rb_define_method 2499 object.c rb_define_method(rb_cBasicObject, "!=", rb_obj_not_equal, 1); rb_define_method 2514 object.c rb_define_method(rb_mKernel, "nil?", rb_false, 0); rb_define_method 2515 object.c rb_define_method(rb_mKernel, "===", rb_equal, 1); rb_define_method 2516 object.c rb_define_method(rb_mKernel, "=~", rb_obj_match, 1); rb_define_method 2517 object.c rb_define_method(rb_mKernel, "!~", rb_obj_not_match, 1); rb_define_method 2518 object.c rb_define_method(rb_mKernel, "eql?", rb_obj_equal, 1); rb_define_method 2520 object.c rb_define_method(rb_mKernel, "class", rb_obj_class, 0); rb_define_method 2521 object.c rb_define_method(rb_mKernel, "clone", rb_obj_clone, 0); rb_define_method 2522 object.c rb_define_method(rb_mKernel, "dup", rb_obj_dup, 0); rb_define_method 2523 object.c rb_define_method(rb_mKernel, "initialize_copy", rb_obj_init_copy, 1); rb_define_method 2525 object.c rb_define_method(rb_mKernel, "taint", rb_obj_taint, 0); rb_define_method 2526 object.c rb_define_method(rb_mKernel, "tainted?", rb_obj_tainted, 0); rb_define_method 2527 object.c rb_define_method(rb_mKernel, "untaint", rb_obj_untaint, 0); rb_define_method 2528 object.c rb_define_method(rb_mKernel, "untrust", rb_obj_untrust, 0); rb_define_method 2529 object.c rb_define_method(rb_mKernel, "untrusted?", rb_obj_untrusted, 0); rb_define_method 2530 object.c rb_define_method(rb_mKernel, "trust", rb_obj_trust, 0); rb_define_method 2531 object.c rb_define_method(rb_mKernel, "freeze", rb_obj_freeze, 0); rb_define_method 2532 object.c rb_define_method(rb_mKernel, "frozen?", rb_obj_frozen_p, 0); rb_define_method 2534 object.c rb_define_method(rb_mKernel, "to_s", rb_any_to_s, 0); rb_define_method 2535 object.c rb_define_method(rb_mKernel, "inspect", rb_obj_inspect, 0); rb_define_method 2536 object.c rb_define_method(rb_mKernel, "methods", rb_obj_methods, -1); rb_define_method 2537 object.c rb_define_method(rb_mKernel, "singleton_methods", rb_obj_singleton_methods, -1); /* in class.c */ rb_define_method 2538 object.c rb_define_method(rb_mKernel, "protected_methods", rb_obj_protected_methods, -1); rb_define_method 2539 object.c rb_define_method(rb_mKernel, "private_methods", rb_obj_private_methods, -1); rb_define_method 2540 object.c rb_define_method(rb_mKernel, "public_methods", rb_obj_public_methods, -1); rb_define_method 2541 object.c rb_define_method(rb_mKernel, "instance_variables", rb_obj_instance_variables, 0); /* in variable.c */ rb_define_method 2542 object.c rb_define_method(rb_mKernel, "instance_variable_get", rb_obj_ivar_get, 1); rb_define_method 2543 object.c rb_define_method(rb_mKernel, "instance_variable_set", rb_obj_ivar_set, 2); rb_define_method 2544 object.c rb_define_method(rb_mKernel, "instance_variable_defined?", rb_obj_ivar_defined, 1); rb_define_method 2548 object.c rb_define_method(rb_mKernel, "instance_of?", rb_obj_is_instance_of, 1); rb_define_method 2549 object.c rb_define_method(rb_mKernel, "kind_of?", rb_obj_is_kind_of, 1); rb_define_method 2550 object.c rb_define_method(rb_mKernel, "is_a?", rb_obj_is_kind_of, 1); rb_define_method 2551 object.c rb_define_method(rb_mKernel, "tap", rb_obj_tap, 0); rb_define_method 2563 object.c rb_define_method(rb_cNilClass, "to_i", nil_to_i, 0); rb_define_method 2564 object.c rb_define_method(rb_cNilClass, "to_f", nil_to_f, 0); rb_define_method 2565 object.c rb_define_method(rb_cNilClass, "to_s", nil_to_s, 0); rb_define_method 2566 object.c rb_define_method(rb_cNilClass, "to_a", nil_to_a, 0); rb_define_method 2567 object.c rb_define_method(rb_cNilClass, "inspect", nil_inspect, 0); rb_define_method 2568 object.c rb_define_method(rb_cNilClass, "&", false_and, 1); rb_define_method 2569 object.c rb_define_method(rb_cNilClass, "|", false_or, 1); rb_define_method 2570 object.c rb_define_method(rb_cNilClass, "^", false_xor, 1); rb_define_method 2572 object.c rb_define_method(rb_cNilClass, "nil?", rb_true, 0); rb_define_method 2577 object.c rb_define_method(rb_cModule, "freeze", rb_mod_freeze, 0); rb_define_method 2578 object.c rb_define_method(rb_cModule, "===", rb_mod_eqq, 1); rb_define_method 2579 object.c rb_define_method(rb_cModule, "==", rb_obj_equal, 1); rb_define_method 2580 object.c rb_define_method(rb_cModule, "<=>", rb_mod_cmp, 1); rb_define_method 2581 object.c rb_define_method(rb_cModule, "<", rb_mod_lt, 1); rb_define_method 2582 object.c rb_define_method(rb_cModule, "<=", rb_class_inherited_p, 1); rb_define_method 2583 object.c rb_define_method(rb_cModule, ">", rb_mod_gt, 1); rb_define_method 2584 object.c rb_define_method(rb_cModule, ">=", rb_mod_ge, 1); rb_define_method 2585 object.c rb_define_method(rb_cModule, "initialize_copy", rb_mod_init_copy, 1); /* in class.c */ rb_define_method 2586 object.c rb_define_method(rb_cModule, "to_s", rb_mod_to_s, 0); rb_define_method 2587 object.c rb_define_method(rb_cModule, "included_modules", rb_mod_included_modules, 0); /* in class.c */ rb_define_method 2588 object.c rb_define_method(rb_cModule, "include?", rb_mod_include_p, 1); /* in class.c */ rb_define_method 2589 object.c rb_define_method(rb_cModule, "name", rb_mod_name, 0); /* in variable.c */ rb_define_method 2590 object.c rb_define_method(rb_cModule, "ancestors", rb_mod_ancestors, 0); /* in class.c */ rb_define_method 2598 object.c rb_define_method(rb_cModule, "initialize", rb_mod_initialize, 0); rb_define_method 2599 object.c rb_define_method(rb_cModule, "instance_methods", rb_class_instance_methods, -1); /* in class.c */ rb_define_method 2600 object.c rb_define_method(rb_cModule, "public_instance_methods", rb_define_method 2602 object.c rb_define_method(rb_cModule, "protected_instance_methods", rb_define_method 2604 object.c rb_define_method(rb_cModule, "private_instance_methods", rb_define_method 2607 object.c rb_define_method(rb_cModule, "constants", rb_mod_constants, -1); /* in variable.c */ rb_define_method 2608 object.c rb_define_method(rb_cModule, "const_get", rb_mod_const_get, -1); rb_define_method 2609 object.c rb_define_method(rb_cModule, "const_set", rb_mod_const_set, 2); rb_define_method 2610 object.c rb_define_method(rb_cModule, "const_defined?", rb_mod_const_defined, -1); rb_define_method 2613 object.c rb_define_method(rb_cModule, "const_missing", rb_define_method 2615 object.c rb_define_method(rb_cModule, "class_variables", rb_define_method 2617 object.c rb_define_method(rb_cModule, "remove_class_variable", rb_define_method 2619 object.c rb_define_method(rb_cModule, "class_variable_get", rb_mod_cvar_get, 1); rb_define_method 2620 object.c rb_define_method(rb_cModule, "class_variable_set", rb_mod_cvar_set, 2); rb_define_method 2621 object.c rb_define_method(rb_cModule, "class_variable_defined?", rb_mod_cvar_defined, 1); rb_define_method 2623 object.c rb_define_method(rb_cClass, "allocate", rb_obj_alloc, 0); rb_define_method 2624 object.c rb_define_method(rb_cClass, "new", rb_class_new_instance, -1); rb_define_method 2625 object.c rb_define_method(rb_cClass, "initialize", rb_class_initialize, -1); rb_define_method 2626 object.c rb_define_method(rb_cClass, "initialize_copy", rb_class_init_copy, 1); /* in class.c */ rb_define_method 2627 object.c rb_define_method(rb_cClass, "superclass", rb_class_superclass, 0); rb_define_method 2636 object.c rb_define_method(rb_cTrueClass, "to_s", true_to_s, 0); rb_define_method 2637 object.c rb_define_method(rb_cTrueClass, "&", true_and, 1); rb_define_method 2638 object.c rb_define_method(rb_cTrueClass, "|", true_or, 1); rb_define_method 2639 object.c rb_define_method(rb_cTrueClass, "^", true_xor, 1); rb_define_method 2645 object.c rb_define_method(rb_cFalseClass, "to_s", false_to_s, 0); rb_define_method 2646 object.c rb_define_method(rb_cFalseClass, "&", false_and, 1); rb_define_method 2647 object.c rb_define_method(rb_cFalseClass, "|", false_or, 1); rb_define_method 2648 object.c rb_define_method(rb_cFalseClass, "^", false_xor, 1); rb_define_method 2178 pack.c rb_define_method(rb_cArray, "pack", pack_pack, 1); rb_define_method 2179 pack.c rb_define_method(rb_cString, "unpack", pack_unpack, 1); rb_define_method 15666 parse.c rb_define_method(Ripper, "initialize", ripper_initialize, -1); rb_define_method 15667 parse.c rb_define_method(Ripper, "parse", ripper_parse, 0); rb_define_method 15668 parse.c rb_define_method(Ripper, "column", ripper_column, 0); rb_define_method 15669 parse.c rb_define_method(Ripper, "lineno", ripper_lineno, 0); rb_define_method 15670 parse.c rb_define_method(Ripper, "end_seen?", rb_parser_end_seen_p, 0); rb_define_method 15671 parse.c rb_define_method(Ripper, "encoding", rb_parser_encoding, 0); rb_define_method 15672 parse.c rb_define_method(Ripper, "yydebug", rb_parser_get_yydebug, 0); rb_define_method 15673 parse.c rb_define_method(Ripper, "yydebug=", rb_parser_set_yydebug, 1); rb_define_method 15675 parse.c rb_define_method(rb_mKernel, "assert_Qundef", ripper_assert_Qundef, 2); rb_define_method 15676 parse.c rb_define_method(rb_mKernel, "rawVALUE", ripper_value, 1); rb_define_method 15677 parse.c rb_define_method(rb_mKernel, "validate_object", ripper_validate_object, 1); rb_define_method 10334 parse.y rb_define_method(Ripper, "initialize", ripper_initialize, -1); rb_define_method 10335 parse.y rb_define_method(Ripper, "parse", ripper_parse, 0); rb_define_method 10336 parse.y rb_define_method(Ripper, "column", ripper_column, 0); rb_define_method 10337 parse.y rb_define_method(Ripper, "lineno", ripper_lineno, 0); rb_define_method 10338 parse.y rb_define_method(Ripper, "end_seen?", rb_parser_end_seen_p, 0); rb_define_method 10339 parse.y rb_define_method(Ripper, "encoding", rb_parser_encoding, 0); rb_define_method 10340 parse.y rb_define_method(Ripper, "yydebug", rb_parser_get_yydebug, 0); rb_define_method 10341 parse.y rb_define_method(Ripper, "yydebug=", rb_parser_set_yydebug, 1); rb_define_method 10343 parse.y rb_define_method(rb_mKernel, "assert_Qundef", ripper_assert_Qundef, 2); rb_define_method 10344 parse.y rb_define_method(rb_mKernel, "rawVALUE", ripper_value, 1); rb_define_method 10345 parse.y rb_define_method(rb_mKernel, "validate_object", ripper_validate_object, 1); rb_define_method 1799 proc.c rb_define_method(rb_cProc, "call", proc_call, -1); rb_define_method 1800 proc.c rb_define_method(rb_cProc, "[]", proc_call, -1); rb_define_method 1801 proc.c rb_define_method(rb_cProc, "===", proc_call, -1); rb_define_method 1802 proc.c rb_define_method(rb_cProc, "yield", proc_call, -1); rb_define_method 1803 proc.c rb_define_method(rb_cProc, "to_proc", proc_to_proc, 0); rb_define_method 1804 proc.c rb_define_method(rb_cProc, "arity", proc_arity, 0); rb_define_method 1805 proc.c rb_define_method(rb_cProc, "clone", proc_clone, 0); rb_define_method 1806 proc.c rb_define_method(rb_cProc, "dup", proc_dup, 0); rb_define_method 1807 proc.c rb_define_method(rb_cProc, "==", proc_eq, 1); rb_define_method 1808 proc.c rb_define_method(rb_cProc, "eql?", proc_eq, 1); rb_define_method 1809 proc.c rb_define_method(rb_cProc, "hash", proc_hash, 0); rb_define_method 1810 proc.c rb_define_method(rb_cProc, "to_s", proc_to_s, 0); rb_define_method 1811 proc.c rb_define_method(rb_cProc, "lambda?", proc_lambda_p, 0); rb_define_method 1812 proc.c rb_define_method(rb_cProc, "binding", proc_binding, 0); rb_define_method 1813 proc.c rb_define_method(rb_cProc, "curry", proc_curry, -1); rb_define_method 1814 proc.c rb_define_method(rb_cProc, "source_location", rb_proc_location, 0); rb_define_method 1818 proc.c rb_define_method(rb_eLocalJumpError, "exit_value", localjump_xvalue, 0); rb_define_method 1819 proc.c rb_define_method(rb_eLocalJumpError, "reason", localjump_reason, 0); rb_define_method 1835 proc.c rb_define_method(rb_cMethod, "==", method_eq, 1); rb_define_method 1836 proc.c rb_define_method(rb_cMethod, "eql?", method_eq, 1); rb_define_method 1837 proc.c rb_define_method(rb_cMethod, "hash", method_hash, 0); rb_define_method 1838 proc.c rb_define_method(rb_cMethod, "clone", method_clone, 0); rb_define_method 1839 proc.c rb_define_method(rb_cMethod, "call", rb_method_call, -1); rb_define_method 1840 proc.c rb_define_method(rb_cMethod, "[]", rb_method_call, -1); rb_define_method 1841 proc.c rb_define_method(rb_cMethod, "arity", method_arity_m, 0); rb_define_method 1842 proc.c rb_define_method(rb_cMethod, "inspect", method_inspect, 0); rb_define_method 1843 proc.c rb_define_method(rb_cMethod, "to_s", method_inspect, 0); rb_define_method 1844 proc.c rb_define_method(rb_cMethod, "to_proc", method_proc, 0); rb_define_method 1845 proc.c rb_define_method(rb_cMethod, "receiver", method_receiver, 0); rb_define_method 1846 proc.c rb_define_method(rb_cMethod, "name", method_name, 0); rb_define_method 1847 proc.c rb_define_method(rb_cMethod, "owner", method_owner, 0); rb_define_method 1848 proc.c rb_define_method(rb_cMethod, "unbind", method_unbind, 0); rb_define_method 1849 proc.c rb_define_method(rb_cMethod, "source_location", rb_method_location, 0); rb_define_method 1850 proc.c rb_define_method(rb_mKernel, "method", rb_obj_method, 1); rb_define_method 1851 proc.c rb_define_method(rb_mKernel, "public_method", rb_obj_public_method, 1); rb_define_method 1857 proc.c rb_define_method(rb_cUnboundMethod, "==", method_eq, 1); rb_define_method 1858 proc.c rb_define_method(rb_cUnboundMethod, "eql?", method_eq, 1); rb_define_method 1859 proc.c rb_define_method(rb_cUnboundMethod, "hash", method_hash, 0); rb_define_method 1860 proc.c rb_define_method(rb_cUnboundMethod, "clone", method_clone, 0); rb_define_method 1861 proc.c rb_define_method(rb_cUnboundMethod, "arity", method_arity_m, 0); rb_define_method 1862 proc.c rb_define_method(rb_cUnboundMethod, "inspect", method_inspect, 0); rb_define_method 1863 proc.c rb_define_method(rb_cUnboundMethod, "to_s", method_inspect, 0); rb_define_method 1864 proc.c rb_define_method(rb_cUnboundMethod, "name", method_name, 0); rb_define_method 1865 proc.c rb_define_method(rb_cUnboundMethod, "owner", method_owner, 0); rb_define_method 1866 proc.c rb_define_method(rb_cUnboundMethod, "bind", umethod_bind, 1); rb_define_method 1867 proc.c rb_define_method(rb_cUnboundMethod, "source_location", rb_method_location, 0); rb_define_method 1870 proc.c rb_define_method(rb_cModule, "instance_method", rb_mod_instance_method, 1); rb_define_method 1871 proc.c rb_define_method(rb_cModule, "public_instance_method", rb_mod_public_instance_method, 1); rb_define_method 1875 proc.c rb_define_method(rb_mKernel, "define_singleton_method", rb_obj_define_method, -1); rb_define_method 1919 proc.c rb_define_method(rb_cBinding, "clone", binding_clone, 0); rb_define_method 1920 proc.c rb_define_method(rb_cBinding, "dup", binding_dup, 0); rb_define_method 1921 proc.c rb_define_method(rb_cBinding, "eval", bind_eval, -1); rb_define_method 5064 process.c rb_define_method(rb_cProcessStatus, "==", pst_equal, 1); rb_define_method 5065 process.c rb_define_method(rb_cProcessStatus, "&", pst_bitand, 1); rb_define_method 5066 process.c rb_define_method(rb_cProcessStatus, ">>", pst_rshift, 1); rb_define_method 5067 process.c rb_define_method(rb_cProcessStatus, "to_i", pst_to_i, 0); rb_define_method 5068 process.c rb_define_method(rb_cProcessStatus, "to_s", pst_to_s, 0); rb_define_method 5069 process.c rb_define_method(rb_cProcessStatus, "inspect", pst_inspect, 0); rb_define_method 5071 process.c rb_define_method(rb_cProcessStatus, "pid", pst_pid, 0); rb_define_method 5073 process.c rb_define_method(rb_cProcessStatus, "stopped?", pst_wifstopped, 0); rb_define_method 5074 process.c rb_define_method(rb_cProcessStatus, "stopsig", pst_wstopsig, 0); rb_define_method 5075 process.c rb_define_method(rb_cProcessStatus, "signaled?", pst_wifsignaled, 0); rb_define_method 5076 process.c rb_define_method(rb_cProcessStatus, "termsig", pst_wtermsig, 0); rb_define_method 5077 process.c rb_define_method(rb_cProcessStatus, "exited?", pst_wifexited, 0); rb_define_method 5078 process.c rb_define_method(rb_cProcessStatus, "exitstatus", pst_wexitstatus, 0); rb_define_method 5079 process.c rb_define_method(rb_cProcessStatus, "success?", pst_success_p, 0); rb_define_method 5080 process.c rb_define_method(rb_cProcessStatus, "coredump?", pst_wcoredump, 0); rb_define_method 931 range.c rb_define_method(rb_cRange, "initialize", range_initialize, -1); rb_define_method 932 range.c rb_define_method(rb_cRange, "initialize_copy", range_initialize_copy, 1); rb_define_method 933 range.c rb_define_method(rb_cRange, "==", range_eq, 1); rb_define_method 934 range.c rb_define_method(rb_cRange, "===", range_eqq, 1); rb_define_method 935 range.c rb_define_method(rb_cRange, "eql?", range_eql, 1); rb_define_method 936 range.c rb_define_method(rb_cRange, "hash", range_hash, 0); rb_define_method 937 range.c rb_define_method(rb_cRange, "each", range_each, 0); rb_define_method 938 range.c rb_define_method(rb_cRange, "step", range_step, -1); rb_define_method 939 range.c rb_define_method(rb_cRange, "begin", range_begin, 0); rb_define_method 940 range.c rb_define_method(rb_cRange, "end", range_end, 0); rb_define_method 941 range.c rb_define_method(rb_cRange, "first", range_first, -1); rb_define_method 942 range.c rb_define_method(rb_cRange, "last", range_last, -1); rb_define_method 943 range.c rb_define_method(rb_cRange, "min", range_min, 0); rb_define_method 944 range.c rb_define_method(rb_cRange, "max", range_max, 0); rb_define_method 945 range.c rb_define_method(rb_cRange, "to_s", range_to_s, 0); rb_define_method 946 range.c rb_define_method(rb_cRange, "inspect", range_inspect, 0); rb_define_method 948 range.c rb_define_method(rb_cRange, "exclude_end?", range_exclude_end_p, 0); rb_define_method 950 range.c rb_define_method(rb_cRange, "member?", range_include, 1); rb_define_method 951 range.c rb_define_method(rb_cRange, "include?", range_include, 1); rb_define_method 952 range.c rb_define_method(rb_cRange, "cover?", range_cover, 1); rb_define_method 1528 rational.c rb_define_method(rb_cRational, "numerator", nurat_numerator, 0); rb_define_method 1529 rational.c rb_define_method(rb_cRational, "denominator", nurat_denominator, 0); rb_define_method 1531 rational.c rb_define_method(rb_cRational, "+", nurat_add, 1); rb_define_method 1532 rational.c rb_define_method(rb_cRational, "-", nurat_sub, 1); rb_define_method 1533 rational.c rb_define_method(rb_cRational, "*", nurat_mul, 1); rb_define_method 1534 rational.c rb_define_method(rb_cRational, "/", nurat_div, 1); rb_define_method 1535 rational.c rb_define_method(rb_cRational, "quo", nurat_div, 1); rb_define_method 1536 rational.c rb_define_method(rb_cRational, "fdiv", nurat_fdiv, 1); rb_define_method 1537 rational.c rb_define_method(rb_cRational, "**", nurat_expt, 1); rb_define_method 1539 rational.c rb_define_method(rb_cRational, "<=>", nurat_cmp, 1); rb_define_method 1540 rational.c rb_define_method(rb_cRational, "==", nurat_equal_p, 1); rb_define_method 1541 rational.c rb_define_method(rb_cRational, "coerce", nurat_coerce, 1); rb_define_method 1543 rational.c rb_define_method(rb_cRational, "div", nurat_idiv, 1); rb_define_method 1546 rational.c rb_define_method(rb_cRational, "//", nurat_idiv, 1); rb_define_method 1549 rational.c rb_define_method(rb_cRational, "modulo", nurat_mod, 1); rb_define_method 1550 rational.c rb_define_method(rb_cRational, "%", nurat_mod, 1); rb_define_method 1551 rational.c rb_define_method(rb_cRational, "divmod", nurat_divmod, 1); rb_define_method 1554 rational.c rb_define_method(rb_cRational, "quot", nurat_quot, 1); rb_define_method 1556 rational.c rb_define_method(rb_cRational, "remainder", nurat_rem, 1); rb_define_method 1558 rational.c rb_define_method(rb_cRational, "quotrem", nurat_quotrem, 1); rb_define_method 1561 rational.c rb_define_method(rb_cRational, "abs", nurat_abs, 0); rb_define_method 1564 rational.c rb_define_method(rb_cRational, "rational?", nurat_true, 0); rb_define_method 1565 rational.c rb_define_method(rb_cRational, "exact?", nurat_true, 0); rb_define_method 1568 rational.c rb_define_method(rb_cRational, "floor", nurat_floor, 0); rb_define_method 1569 rational.c rb_define_method(rb_cRational, "ceil", nurat_ceil, 0); rb_define_method 1570 rational.c rb_define_method(rb_cRational, "truncate", nurat_truncate, 0); rb_define_method 1571 rational.c rb_define_method(rb_cRational, "round", nurat_round, 0); rb_define_method 1573 rational.c rb_define_method(rb_cRational, "to_i", nurat_truncate, 0); rb_define_method 1574 rational.c rb_define_method(rb_cRational, "to_f", nurat_to_f, 0); rb_define_method 1575 rational.c rb_define_method(rb_cRational, "to_r", nurat_to_r, 0); rb_define_method 1577 rational.c rb_define_method(rb_cRational, "hash", nurat_hash, 0); rb_define_method 1579 rational.c rb_define_method(rb_cRational, "to_s", nurat_to_s, 0); rb_define_method 1580 rational.c rb_define_method(rb_cRational, "inspect", nurat_inspect, 0); rb_define_method 1582 rational.c rb_define_method(rb_cRational, "marshal_dump", nurat_marshal_dump, 0); rb_define_method 1583 rational.c rb_define_method(rb_cRational, "marshal_load", nurat_marshal_load, 1); rb_define_method 1587 rational.c rb_define_method(rb_cInteger, "gcd", rb_gcd, 1); rb_define_method 1588 rational.c rb_define_method(rb_cInteger, "lcm", rb_lcm, 1); rb_define_method 1589 rational.c rb_define_method(rb_cInteger, "gcdlcm", rb_gcdlcm, 1); rb_define_method 1591 rational.c rb_define_method(rb_cNilClass, "to_r", nilclass_to_r, 0); rb_define_method 1592 rational.c rb_define_method(rb_cInteger, "to_r", integer_to_r, 0); rb_define_method 1593 rational.c rb_define_method(rb_cFloat, "to_r", float_to_r, 0); rb_define_method 1597 rational.c rb_define_method(rb_cString, "to_r", string_to_r, 0); rb_define_method 3388 re.c rb_define_method(rb_cRegexp, "initialize", rb_reg_initialize_m, -1); rb_define_method 3389 re.c rb_define_method(rb_cRegexp, "initialize_copy", rb_reg_init_copy, 1); rb_define_method 3390 re.c rb_define_method(rb_cRegexp, "hash", rb_reg_hash, 0); rb_define_method 3391 re.c rb_define_method(rb_cRegexp, "eql?", rb_reg_equal, 1); rb_define_method 3392 re.c rb_define_method(rb_cRegexp, "==", rb_reg_equal, 1); rb_define_method 3393 re.c rb_define_method(rb_cRegexp, "=~", rb_reg_match, 1); rb_define_method 3394 re.c rb_define_method(rb_cRegexp, "===", rb_reg_eqq, 1); rb_define_method 3395 re.c rb_define_method(rb_cRegexp, "~", rb_reg_match2, 0); rb_define_method 3396 re.c rb_define_method(rb_cRegexp, "match", rb_reg_match_m, -1); rb_define_method 3397 re.c rb_define_method(rb_cRegexp, "to_s", rb_reg_to_s, 0); rb_define_method 3398 re.c rb_define_method(rb_cRegexp, "inspect", rb_reg_inspect, 0); rb_define_method 3399 re.c rb_define_method(rb_cRegexp, "source", rb_reg_source, 0); rb_define_method 3400 re.c rb_define_method(rb_cRegexp, "casefold?", rb_reg_casefold_p, 0); rb_define_method 3401 re.c rb_define_method(rb_cRegexp, "options", rb_reg_options_m, 0); rb_define_method 3402 re.c rb_define_method(rb_cRegexp, "encoding", rb_obj_encoding, 0); /* in encoding.c */ rb_define_method 3403 re.c rb_define_method(rb_cRegexp, "fixed_encoding?", rb_reg_fixed_encoding_p, 0); rb_define_method 3404 re.c rb_define_method(rb_cRegexp, "names", rb_reg_names, 0); rb_define_method 3405 re.c rb_define_method(rb_cRegexp, "named_captures", rb_reg_named_captures, 0); rb_define_method 3417 re.c rb_define_method(rb_cMatch, "initialize_copy", match_init_copy, 1); rb_define_method 3418 re.c rb_define_method(rb_cMatch, "regexp", match_regexp, 0); rb_define_method 3419 re.c rb_define_method(rb_cMatch, "names", match_names, 0); rb_define_method 3420 re.c rb_define_method(rb_cMatch, "size", match_size, 0); rb_define_method 3421 re.c rb_define_method(rb_cMatch, "length", match_size, 0); rb_define_method 3422 re.c rb_define_method(rb_cMatch, "offset", match_offset, 1); rb_define_method 3423 re.c rb_define_method(rb_cMatch, "begin", match_begin, 1); rb_define_method 3424 re.c rb_define_method(rb_cMatch, "end", match_end, 1); rb_define_method 3425 re.c rb_define_method(rb_cMatch, "to_a", match_to_a, 0); rb_define_method 3426 re.c rb_define_method(rb_cMatch, "[]", match_aref, -1); rb_define_method 3427 re.c rb_define_method(rb_cMatch, "captures", match_captures, 0); rb_define_method 3428 re.c rb_define_method(rb_cMatch, "values_at", match_values_at, -1); rb_define_method 3429 re.c rb_define_method(rb_cMatch, "pre_match", rb_reg_match_pre, 0); rb_define_method 3430 re.c rb_define_method(rb_cMatch, "post_match", rb_reg_match_post, 0); rb_define_method 3431 re.c rb_define_method(rb_cMatch, "to_s", match_to_s, 0); rb_define_method 3432 re.c rb_define_method(rb_cMatch, "inspect", match_inspect, 0); rb_define_method 3433 re.c rb_define_method(rb_cMatch, "string", match_string, 0); rb_define_method 1108 signal.c rb_define_method(rb_eSignal, "initialize", esignal_init, -1); rb_define_method 1109 signal.c rb_define_method(rb_eSignal, "signo", esignal_signo, 0); rb_define_method 1111 signal.c rb_define_method(rb_eInterrupt, "initialize", interrupt_init, -1); rb_define_method 7072 string.c rb_define_method(rb_cString, "initialize", rb_str_init, -1); rb_define_method 7073 string.c rb_define_method(rb_cString, "initialize_copy", rb_str_replace, 1); rb_define_method 7074 string.c rb_define_method(rb_cString, "<=>", rb_str_cmp_m, 1); rb_define_method 7075 string.c rb_define_method(rb_cString, "==", rb_str_equal, 1); rb_define_method 7076 string.c rb_define_method(rb_cString, "eql?", rb_str_eql, 1); rb_define_method 7077 string.c rb_define_method(rb_cString, "hash", rb_str_hash_m, 0); rb_define_method 7078 string.c rb_define_method(rb_cString, "casecmp", rb_str_casecmp, 1); rb_define_method 7079 string.c rb_define_method(rb_cString, "+", rb_str_plus, 1); rb_define_method 7080 string.c rb_define_method(rb_cString, "*", rb_str_times, 1); rb_define_method 7081 string.c rb_define_method(rb_cString, "%", rb_str_format_m, 1); rb_define_method 7082 string.c rb_define_method(rb_cString, "[]", rb_str_aref_m, -1); rb_define_method 7083 string.c rb_define_method(rb_cString, "[]=", rb_str_aset_m, -1); rb_define_method 7084 string.c rb_define_method(rb_cString, "insert", rb_str_insert, 2); rb_define_method 7085 string.c rb_define_method(rb_cString, "length", rb_str_length, 0); rb_define_method 7086 string.c rb_define_method(rb_cString, "size", rb_str_length, 0); rb_define_method 7087 string.c rb_define_method(rb_cString, "bytesize", rb_str_bytesize, 0); rb_define_method 7088 string.c rb_define_method(rb_cString, "empty?", rb_str_empty, 0); rb_define_method 7089 string.c rb_define_method(rb_cString, "=~", rb_str_match, 1); rb_define_method 7090 string.c rb_define_method(rb_cString, "match", rb_str_match_m, -1); rb_define_method 7091 string.c rb_define_method(rb_cString, "succ", rb_str_succ, 0); rb_define_method 7092 string.c rb_define_method(rb_cString, "succ!", rb_str_succ_bang, 0); rb_define_method 7093 string.c rb_define_method(rb_cString, "next", rb_str_succ, 0); rb_define_method 7094 string.c rb_define_method(rb_cString, "next!", rb_str_succ_bang, 0); rb_define_method 7095 string.c rb_define_method(rb_cString, "upto", rb_str_upto, -1); rb_define_method 7096 string.c rb_define_method(rb_cString, "index", rb_str_index_m, -1); rb_define_method 7097 string.c rb_define_method(rb_cString, "rindex", rb_str_rindex_m, -1); rb_define_method 7098 string.c rb_define_method(rb_cString, "replace", rb_str_replace, 1); rb_define_method 7099 string.c rb_define_method(rb_cString, "clear", rb_str_clear, 0); rb_define_method 7100 string.c rb_define_method(rb_cString, "chr", rb_str_chr, 0); rb_define_method 7101 string.c rb_define_method(rb_cString, "getbyte", rb_str_getbyte, 1); rb_define_method 7102 string.c rb_define_method(rb_cString, "setbyte", rb_str_setbyte, 2); rb_define_method 7104 string.c rb_define_method(rb_cString, "to_i", rb_str_to_i, -1); rb_define_method 7105 string.c rb_define_method(rb_cString, "to_f", rb_str_to_f, 0); rb_define_method 7106 string.c rb_define_method(rb_cString, "to_s", rb_str_to_s, 0); rb_define_method 7107 string.c rb_define_method(rb_cString, "to_str", rb_str_to_s, 0); rb_define_method 7108 string.c rb_define_method(rb_cString, "inspect", rb_str_inspect, 0); rb_define_method 7109 string.c rb_define_method(rb_cString, "dump", rb_str_dump, 0); rb_define_method 7111 string.c rb_define_method(rb_cString, "upcase", rb_str_upcase, 0); rb_define_method 7112 string.c rb_define_method(rb_cString, "downcase", rb_str_downcase, 0); rb_define_method 7113 string.c rb_define_method(rb_cString, "capitalize", rb_str_capitalize, 0); rb_define_method 7114 string.c rb_define_method(rb_cString, "swapcase", rb_str_swapcase, 0); rb_define_method 7116 string.c rb_define_method(rb_cString, "upcase!", rb_str_upcase_bang, 0); rb_define_method 7117 string.c rb_define_method(rb_cString, "downcase!", rb_str_downcase_bang, 0); rb_define_method 7118 string.c rb_define_method(rb_cString, "capitalize!", rb_str_capitalize_bang, 0); rb_define_method 7119 string.c rb_define_method(rb_cString, "swapcase!", rb_str_swapcase_bang, 0); rb_define_method 7121 string.c rb_define_method(rb_cString, "hex", rb_str_hex, 0); rb_define_method 7122 string.c rb_define_method(rb_cString, "oct", rb_str_oct, 0); rb_define_method 7123 string.c rb_define_method(rb_cString, "split", rb_str_split_m, -1); rb_define_method 7124 string.c rb_define_method(rb_cString, "lines", rb_str_each_line, -1); rb_define_method 7125 string.c rb_define_method(rb_cString, "bytes", rb_str_each_byte, 0); rb_define_method 7126 string.c rb_define_method(rb_cString, "chars", rb_str_each_char, 0); rb_define_method 7127 string.c rb_define_method(rb_cString, "codepoints", rb_str_each_codepoint, 0); rb_define_method 7128 string.c rb_define_method(rb_cString, "reverse", rb_str_reverse, 0); rb_define_method 7129 string.c rb_define_method(rb_cString, "reverse!", rb_str_reverse_bang, 0); rb_define_method 7130 string.c rb_define_method(rb_cString, "concat", rb_str_concat, 1); rb_define_method 7131 string.c rb_define_method(rb_cString, "<<", rb_str_concat, 1); rb_define_method 7132 string.c rb_define_method(rb_cString, "crypt", rb_str_crypt, 1); rb_define_method 7133 string.c rb_define_method(rb_cString, "intern", rb_str_intern, 0); rb_define_method 7134 string.c rb_define_method(rb_cString, "to_sym", rb_str_intern, 0); rb_define_method 7135 string.c rb_define_method(rb_cString, "ord", rb_str_ord, 0); rb_define_method 7137 string.c rb_define_method(rb_cString, "include?", rb_str_include, 1); rb_define_method 7138 string.c rb_define_method(rb_cString, "start_with?", rb_str_start_with, -1); rb_define_method 7139 string.c rb_define_method(rb_cString, "end_with?", rb_str_end_with, -1); rb_define_method 7141 string.c rb_define_method(rb_cString, "scan", rb_str_scan, 1); rb_define_method 7143 string.c rb_define_method(rb_cString, "ljust", rb_str_ljust, -1); rb_define_method 7144 string.c rb_define_method(rb_cString, "rjust", rb_str_rjust, -1); rb_define_method 7145 string.c rb_define_method(rb_cString, "center", rb_str_center, -1); rb_define_method 7147 string.c rb_define_method(rb_cString, "sub", rb_str_sub, -1); rb_define_method 7148 string.c rb_define_method(rb_cString, "gsub", rb_str_gsub, -1); rb_define_method 7149 string.c rb_define_method(rb_cString, "chop", rb_str_chop, 0); rb_define_method 7150 string.c rb_define_method(rb_cString, "chomp", rb_str_chomp, -1); rb_define_method 7151 string.c rb_define_method(rb_cString, "strip", rb_str_strip, 0); rb_define_method 7152 string.c rb_define_method(rb_cString, "lstrip", rb_str_lstrip, 0); rb_define_method 7153 string.c rb_define_method(rb_cString, "rstrip", rb_str_rstrip, 0); rb_define_method 7155 string.c rb_define_method(rb_cString, "sub!", rb_str_sub_bang, -1); rb_define_method 7156 string.c rb_define_method(rb_cString, "gsub!", rb_str_gsub_bang, -1); rb_define_method 7157 string.c rb_define_method(rb_cString, "chop!", rb_str_chop_bang, 0); rb_define_method 7158 string.c rb_define_method(rb_cString, "chomp!", rb_str_chomp_bang, -1); rb_define_method 7159 string.c rb_define_method(rb_cString, "strip!", rb_str_strip_bang, 0); rb_define_method 7160 string.c rb_define_method(rb_cString, "lstrip!", rb_str_lstrip_bang, 0); rb_define_method 7161 string.c rb_define_method(rb_cString, "rstrip!", rb_str_rstrip_bang, 0); rb_define_method 7163 string.c rb_define_method(rb_cString, "tr", rb_str_tr, 2); rb_define_method 7164 string.c rb_define_method(rb_cString, "tr_s", rb_str_tr_s, 2); rb_define_method 7165 string.c rb_define_method(rb_cString, "delete", rb_str_delete, -1); rb_define_method 7166 string.c rb_define_method(rb_cString, "squeeze", rb_str_squeeze, -1); rb_define_method 7167 string.c rb_define_method(rb_cString, "count", rb_str_count, -1); rb_define_method 7169 string.c rb_define_method(rb_cString, "tr!", rb_str_tr_bang, 2); rb_define_method 7170 string.c rb_define_method(rb_cString, "tr_s!", rb_str_tr_s_bang, 2); rb_define_method 7171 string.c rb_define_method(rb_cString, "delete!", rb_str_delete_bang, -1); rb_define_method 7172 string.c rb_define_method(rb_cString, "squeeze!", rb_str_squeeze_bang, -1); rb_define_method 7174 string.c rb_define_method(rb_cString, "each_line", rb_str_each_line, -1); rb_define_method 7175 string.c rb_define_method(rb_cString, "each_byte", rb_str_each_byte, 0); rb_define_method 7176 string.c rb_define_method(rb_cString, "each_char", rb_str_each_char, 0); rb_define_method 7177 string.c rb_define_method(rb_cString, "each_codepoint", rb_str_each_codepoint, 0); rb_define_method 7179 string.c rb_define_method(rb_cString, "sum", rb_str_sum, -1); rb_define_method 7181 string.c rb_define_method(rb_cString, "slice", rb_str_aref_m, -1); rb_define_method 7182 string.c rb_define_method(rb_cString, "slice!", rb_str_slice_bang, -1); rb_define_method 7184 string.c rb_define_method(rb_cString, "partition", rb_str_partition, 1); rb_define_method 7185 string.c rb_define_method(rb_cString, "rpartition", rb_str_rpartition, 1); rb_define_method 7187 string.c rb_define_method(rb_cString, "encoding", rb_obj_encoding, 0); /* in encoding.c */ rb_define_method 7188 string.c rb_define_method(rb_cString, "force_encoding", rb_str_force_encoding, 1); rb_define_method 7189 string.c rb_define_method(rb_cString, "valid_encoding?", rb_str_valid_encoding_p, 0); rb_define_method 7190 string.c rb_define_method(rb_cString, "ascii_only?", rb_str_is_ascii_only_p, 0); rb_define_method 7204 string.c rb_define_method(rb_cSymbol, "==", sym_equal, 1); rb_define_method 7205 string.c rb_define_method(rb_cSymbol, "inspect", sym_inspect, 0); rb_define_method 7206 string.c rb_define_method(rb_cSymbol, "to_s", rb_sym_to_s, 0); rb_define_method 7207 string.c rb_define_method(rb_cSymbol, "id2name", rb_sym_to_s, 0); rb_define_method 7208 string.c rb_define_method(rb_cSymbol, "intern", sym_to_sym, 0); rb_define_method 7209 string.c rb_define_method(rb_cSymbol, "to_sym", sym_to_sym, 0); rb_define_method 7210 string.c rb_define_method(rb_cSymbol, "to_proc", sym_to_proc, 0); rb_define_method 7211 string.c rb_define_method(rb_cSymbol, "succ", sym_succ, 0); rb_define_method 7212 string.c rb_define_method(rb_cSymbol, "next", sym_succ, 0); rb_define_method 7214 string.c rb_define_method(rb_cSymbol, "<=>", sym_cmp, 1); rb_define_method 7215 string.c rb_define_method(rb_cSymbol, "casecmp", sym_casecmp, 1); rb_define_method 7216 string.c rb_define_method(rb_cSymbol, "=~", sym_match, 1); rb_define_method 7218 string.c rb_define_method(rb_cSymbol, "[]", sym_aref, -1); rb_define_method 7219 string.c rb_define_method(rb_cSymbol, "slice", sym_aref, -1); rb_define_method 7220 string.c rb_define_method(rb_cSymbol, "length", sym_length, 0); rb_define_method 7221 string.c rb_define_method(rb_cSymbol, "size", sym_length, 0); rb_define_method 7222 string.c rb_define_method(rb_cSymbol, "empty?", sym_empty, 0); rb_define_method 7223 string.c rb_define_method(rb_cSymbol, "match", sym_match, 1); rb_define_method 7225 string.c rb_define_method(rb_cSymbol, "upcase", sym_upcase, 0); rb_define_method 7226 string.c rb_define_method(rb_cSymbol, "downcase", sym_downcase, 0); rb_define_method 7227 string.c rb_define_method(rb_cSymbol, "capitalize", sym_capitalize, 0); rb_define_method 7228 string.c rb_define_method(rb_cSymbol, "swapcase", sym_swapcase, 0); rb_define_method 7230 string.c rb_define_method(rb_cSymbol, "encoding", sym_encoding, 0); rb_define_method 887 struct.c rb_define_method(rb_cStruct, "initialize", rb_struct_initialize_m, -1); rb_define_method 888 struct.c rb_define_method(rb_cStruct, "initialize_copy", rb_struct_init_copy, 1); rb_define_method 890 struct.c rb_define_method(rb_cStruct, "==", rb_struct_equal, 1); rb_define_method 891 struct.c rb_define_method(rb_cStruct, "eql?", rb_struct_eql, 1); rb_define_method 892 struct.c rb_define_method(rb_cStruct, "hash", rb_struct_hash, 0); rb_define_method 894 struct.c rb_define_method(rb_cStruct, "to_s", rb_struct_inspect, 0); rb_define_method 895 struct.c rb_define_method(rb_cStruct, "inspect", rb_struct_inspect, 0); rb_define_method 896 struct.c rb_define_method(rb_cStruct, "to_a", rb_struct_to_a, 0); rb_define_method 897 struct.c rb_define_method(rb_cStruct, "values", rb_struct_to_a, 0); rb_define_method 898 struct.c rb_define_method(rb_cStruct, "size", rb_struct_size, 0); rb_define_method 899 struct.c rb_define_method(rb_cStruct, "length", rb_struct_size, 0); rb_define_method 901 struct.c rb_define_method(rb_cStruct, "each", rb_struct_each, 0); rb_define_method 902 struct.c rb_define_method(rb_cStruct, "each_pair", rb_struct_each_pair, 0); rb_define_method 903 struct.c rb_define_method(rb_cStruct, "[]", rb_struct_aref, 1); rb_define_method 904 struct.c rb_define_method(rb_cStruct, "[]=", rb_struct_aset, 2); rb_define_method 905 struct.c rb_define_method(rb_cStruct, "select", rb_struct_select, -1); rb_define_method 906 struct.c rb_define_method(rb_cStruct, "values_at", rb_struct_values_at, -1); rb_define_method 908 struct.c rb_define_method(rb_cStruct, "members", rb_struct_members_m, 0); rb_define_method 3718 thread.c rb_define_method(rb_cThread, "initialize", thread_initialize, -2); rb_define_method 3719 thread.c rb_define_method(rb_cThread, "raise", thread_raise_m, -1); rb_define_method 3720 thread.c rb_define_method(rb_cThread, "join", thread_join_m, -1); rb_define_method 3721 thread.c rb_define_method(rb_cThread, "value", thread_value, 0); rb_define_method 3722 thread.c rb_define_method(rb_cThread, "kill", rb_thread_kill, 0); rb_define_method 3723 thread.c rb_define_method(rb_cThread, "terminate", rb_thread_kill, 0); rb_define_method 3724 thread.c rb_define_method(rb_cThread, "exit", rb_thread_kill, 0); rb_define_method 3725 thread.c rb_define_method(rb_cThread, "run", rb_thread_run, 0); rb_define_method 3726 thread.c rb_define_method(rb_cThread, "wakeup", rb_thread_wakeup, 0); rb_define_method 3727 thread.c rb_define_method(rb_cThread, "[]", rb_thread_aref, 1); rb_define_method 3728 thread.c rb_define_method(rb_cThread, "[]=", rb_thread_aset, 2); rb_define_method 3729 thread.c rb_define_method(rb_cThread, "key?", rb_thread_key_p, 1); rb_define_method 3730 thread.c rb_define_method(rb_cThread, "keys", rb_thread_keys, 0); rb_define_method 3731 thread.c rb_define_method(rb_cThread, "priority", rb_thread_priority, 0); rb_define_method 3732 thread.c rb_define_method(rb_cThread, "priority=", rb_thread_priority_set, 1); rb_define_method 3733 thread.c rb_define_method(rb_cThread, "status", rb_thread_status, 0); rb_define_method 3734 thread.c rb_define_method(rb_cThread, "alive?", rb_thread_alive_p, 0); rb_define_method 3735 thread.c rb_define_method(rb_cThread, "stop?", rb_thread_stop_p, 0); rb_define_method 3736 thread.c rb_define_method(rb_cThread, "abort_on_exception", rb_thread_abort_exc, 0); rb_define_method 3737 thread.c rb_define_method(rb_cThread, "abort_on_exception=", rb_thread_abort_exc_set, 1); rb_define_method 3738 thread.c rb_define_method(rb_cThread, "safe_level", rb_thread_safe_level, 0); rb_define_method 3739 thread.c rb_define_method(rb_cThread, "group", rb_thread_group, 0); rb_define_method 3741 thread.c rb_define_method(rb_cThread, "inspect", rb_thread_inspect, 0); rb_define_method 3745 thread.c rb_define_method(cThGroup, "list", thgroup_list, 0); rb_define_method 3746 thread.c rb_define_method(cThGroup, "enclose", thgroup_enclose, 0); rb_define_method 3747 thread.c rb_define_method(cThGroup, "enclosed?", thgroup_enclosed_p, 0); rb_define_method 3748 thread.c rb_define_method(cThGroup, "add", thgroup_add, 1); rb_define_method 3758 thread.c rb_define_method(rb_cMutex, "initialize", mutex_initialize, 0); rb_define_method 3759 thread.c rb_define_method(rb_cMutex, "locked?", rb_mutex_locked_p, 0); rb_define_method 3760 thread.c rb_define_method(rb_cMutex, "try_lock", rb_mutex_trylock, 0); rb_define_method 3761 thread.c rb_define_method(rb_cMutex, "lock", rb_mutex_lock, 0); rb_define_method 3762 thread.c rb_define_method(rb_cMutex, "unlock", rb_mutex_unlock, 0); rb_define_method 3763 thread.c rb_define_method(rb_cMutex, "sleep", mutex_sleep, -1); rb_define_method 2400 time.c rb_define_method(rb_cTime, "to_i", time_to_i, 0); rb_define_method 2401 time.c rb_define_method(rb_cTime, "to_f", time_to_f, 0); rb_define_method 2402 time.c rb_define_method(rb_cTime, "<=>", time_cmp, 1); rb_define_method 2403 time.c rb_define_method(rb_cTime, "eql?", time_eql, 1); rb_define_method 2404 time.c rb_define_method(rb_cTime, "hash", time_hash, 0); rb_define_method 2405 time.c rb_define_method(rb_cTime, "initialize", time_init, 0); rb_define_method 2406 time.c rb_define_method(rb_cTime, "initialize_copy", time_init_copy, 1); rb_define_method 2408 time.c rb_define_method(rb_cTime, "localtime", time_localtime, 0); rb_define_method 2409 time.c rb_define_method(rb_cTime, "gmtime", time_gmtime, 0); rb_define_method 2410 time.c rb_define_method(rb_cTime, "utc", time_gmtime, 0); rb_define_method 2411 time.c rb_define_method(rb_cTime, "getlocal", time_getlocaltime, 0); rb_define_method 2412 time.c rb_define_method(rb_cTime, "getgm", time_getgmtime, 0); rb_define_method 2413 time.c rb_define_method(rb_cTime, "getutc", time_getgmtime, 0); rb_define_method 2415 time.c rb_define_method(rb_cTime, "ctime", time_asctime, 0); rb_define_method 2416 time.c rb_define_method(rb_cTime, "asctime", time_asctime, 0); rb_define_method 2417 time.c rb_define_method(rb_cTime, "to_s", time_to_s, 0); rb_define_method 2418 time.c rb_define_method(rb_cTime, "inspect", time_to_s, 0); rb_define_method 2419 time.c rb_define_method(rb_cTime, "to_a", time_to_a, 0); rb_define_method 2421 time.c rb_define_method(rb_cTime, "+", time_plus, 1); rb_define_method 2422 time.c rb_define_method(rb_cTime, "-", time_minus, 1); rb_define_method 2424 time.c rb_define_method(rb_cTime, "succ", time_succ, 0); rb_define_method 2425 time.c rb_define_method(rb_cTime, "sec", time_sec, 0); rb_define_method 2426 time.c rb_define_method(rb_cTime, "min", time_min, 0); rb_define_method 2427 time.c rb_define_method(rb_cTime, "hour", time_hour, 0); rb_define_method 2428 time.c rb_define_method(rb_cTime, "mday", time_mday, 0); rb_define_method 2429 time.c rb_define_method(rb_cTime, "day", time_mday, 0); rb_define_method 2430 time.c rb_define_method(rb_cTime, "mon", time_mon, 0); rb_define_method 2431 time.c rb_define_method(rb_cTime, "month", time_mon, 0); rb_define_method 2432 time.c rb_define_method(rb_cTime, "year", time_year, 0); rb_define_method 2433 time.c rb_define_method(rb_cTime, "wday", time_wday, 0); rb_define_method 2434 time.c rb_define_method(rb_cTime, "yday", time_yday, 0); rb_define_method 2435 time.c rb_define_method(rb_cTime, "isdst", time_isdst, 0); rb_define_method 2436 time.c rb_define_method(rb_cTime, "dst?", time_isdst, 0); rb_define_method 2437 time.c rb_define_method(rb_cTime, "zone", time_zone, 0); rb_define_method 2438 time.c rb_define_method(rb_cTime, "gmtoff", time_utc_offset, 0); rb_define_method 2439 time.c rb_define_method(rb_cTime, "gmt_offset", time_utc_offset, 0); rb_define_method 2440 time.c rb_define_method(rb_cTime, "utc_offset", time_utc_offset, 0); rb_define_method 2442 time.c rb_define_method(rb_cTime, "utc?", time_utc_p, 0); rb_define_method 2443 time.c rb_define_method(rb_cTime, "gmt?", time_utc_p, 0); rb_define_method 2445 time.c rb_define_method(rb_cTime, "sunday?", time_sunday, 0); rb_define_method 2446 time.c rb_define_method(rb_cTime, "monday?", time_monday, 0); rb_define_method 2447 time.c rb_define_method(rb_cTime, "tuesday?", time_tuesday, 0); rb_define_method 2448 time.c rb_define_method(rb_cTime, "wednesday?", time_wednesday, 0); rb_define_method 2449 time.c rb_define_method(rb_cTime, "thursday?", time_thursday, 0); rb_define_method 2450 time.c rb_define_method(rb_cTime, "friday?", time_friday, 0); rb_define_method 2451 time.c rb_define_method(rb_cTime, "saturday?", time_saturday, 0); rb_define_method 2453 time.c rb_define_method(rb_cTime, "tv_sec", time_to_i, 0); rb_define_method 2454 time.c rb_define_method(rb_cTime, "tv_usec", time_usec, 0); rb_define_method 2455 time.c rb_define_method(rb_cTime, "usec", time_usec, 0); rb_define_method 2456 time.c rb_define_method(rb_cTime, "tv_nsec", time_nsec, 0); rb_define_method 2457 time.c rb_define_method(rb_cTime, "nsec", time_nsec, 0); rb_define_method 2459 time.c rb_define_method(rb_cTime, "strftime", time_strftime, 1); rb_define_method 2462 time.c rb_define_method(rb_cTime, "_dump", time_dump, -1); rb_define_method 2466 time.c rb_define_method(rb_cTime, "marshal_dump", time_mdump, 0); rb_define_method 2467 time.c rb_define_method(rb_cTime, "marshal_load", time_mload, 1); rb_define_method 4082 transcode.c rb_define_method(rb_cString, "encode", str_encode, -1); rb_define_method 4083 transcode.c rb_define_method(rb_cString, "encode!", str_encode_bang, -1); rb_define_method 4089 transcode.c rb_define_method(rb_cEncodingConverter, "initialize", econv_init, -1); rb_define_method 4090 transcode.c rb_define_method(rb_cEncodingConverter, "inspect", econv_inspect, 0); rb_define_method 4091 transcode.c rb_define_method(rb_cEncodingConverter, "convpath", econv_convpath, 0); rb_define_method 4092 transcode.c rb_define_method(rb_cEncodingConverter, "source_encoding", econv_source_encoding, 0); rb_define_method 4093 transcode.c rb_define_method(rb_cEncodingConverter, "destination_encoding", econv_destination_encoding, 0); rb_define_method 4094 transcode.c rb_define_method(rb_cEncodingConverter, "primitive_convert", econv_primitive_convert, -1); rb_define_method 4095 transcode.c rb_define_method(rb_cEncodingConverter, "convert", econv_convert, 1); rb_define_method 4096 transcode.c rb_define_method(rb_cEncodingConverter, "finish", econv_finish, 0); rb_define_method 4097 transcode.c rb_define_method(rb_cEncodingConverter, "primitive_errinfo", econv_primitive_errinfo, 0); rb_define_method 4098 transcode.c rb_define_method(rb_cEncodingConverter, "insert_output", econv_insert_output, 1); rb_define_method 4099 transcode.c rb_define_method(rb_cEncodingConverter, "putback", econv_putback, -1); rb_define_method 4100 transcode.c rb_define_method(rb_cEncodingConverter, "last_error", econv_last_error, 0); rb_define_method 4101 transcode.c rb_define_method(rb_cEncodingConverter, "replacement", econv_get_replacement, 0); rb_define_method 4102 transcode.c rb_define_method(rb_cEncodingConverter, "replacement=", econv_set_replacement, 1); rb_define_method 4118 transcode.c rb_define_method(rb_eUndefinedConversionError, "source_encoding_name", ecerr_source_encoding_name, 0); rb_define_method 4119 transcode.c rb_define_method(rb_eUndefinedConversionError, "destination_encoding_name", ecerr_destination_encoding_name, 0); rb_define_method 4120 transcode.c rb_define_method(rb_eUndefinedConversionError, "source_encoding", ecerr_source_encoding, 0); rb_define_method 4121 transcode.c rb_define_method(rb_eUndefinedConversionError, "destination_encoding", ecerr_destination_encoding, 0); rb_define_method 4122 transcode.c rb_define_method(rb_eUndefinedConversionError, "error_char", ecerr_error_char, 0); rb_define_method 4124 transcode.c rb_define_method(rb_eInvalidByteSequenceError, "source_encoding_name", ecerr_source_encoding_name, 0); rb_define_method 4125 transcode.c rb_define_method(rb_eInvalidByteSequenceError, "destination_encoding_name", ecerr_destination_encoding_name, 0); rb_define_method 4126 transcode.c rb_define_method(rb_eInvalidByteSequenceError, "source_encoding", ecerr_source_encoding, 0); rb_define_method 4127 transcode.c rb_define_method(rb_eInvalidByteSequenceError, "destination_encoding", ecerr_destination_encoding, 0); rb_define_method 4128 transcode.c rb_define_method(rb_eInvalidByteSequenceError, "error_bytes", ecerr_error_bytes, 0); rb_define_method 4129 transcode.c rb_define_method(rb_eInvalidByteSequenceError, "readagain_bytes", ecerr_readagain_bytes, 0); rb_define_method 4130 transcode.c rb_define_method(rb_eInvalidByteSequenceError, "incomplete_input?", ecerr_incomplete_input, 0); rb_define_method 1431 vm_eval.c rb_define_method(rb_cBasicObject, "instance_eval", rb_obj_instance_eval, -1); rb_define_method 1432 vm_eval.c rb_define_method(rb_cBasicObject, "instance_exec", rb_obj_instance_exec, -1); rb_define_method 1435 vm_eval.c rb_define_method(rb_cBasicObject, "__send__", rb_f_send, -1); rb_define_method 1436 vm_eval.c rb_define_method(rb_mKernel, "send", rb_f_send, -1); rb_define_method 1437 vm_eval.c rb_define_method(rb_mKernel, "public_send", rb_f_public_send, -1); rb_define_method 1439 vm_eval.c rb_define_method(rb_cModule, "module_exec", rb_mod_module_exec, -1); rb_define_method 1440 vm_eval.c rb_define_method(rb_cModule, "class_exec", rb_mod_module_exec, -1); rb_define_method 1441 vm_eval.c rb_define_method(rb_cModule, "module_eval", rb_mod_module_eval, -1); rb_define_method 1442 vm_eval.c rb_define_method(rb_cModule, "class_eval", rb_mod_module_eval, -1); rb_define_method 1113 vm_method.c rb_define_method(rb_mKernel, "respond_to?", obj_respond_to, -1); rb_define_method 1123 vm_method.c rb_define_method(rb_cModule, "method_defined?", rb_mod_method_defined, 1); rb_define_method 1124 vm_method.c rb_define_method(rb_cModule, "public_method_defined?", rb_mod_public_method_defined, 1); rb_define_method 1125 vm_method.c rb_define_method(rb_cModule, "private_method_defined?", rb_mod_private_method_defined, 1); rb_define_method 1126 vm_method.c rb_define_method(rb_cModule, "protected_method_defined?", rb_mod_protected_method_defined, 1); rb_define_method 1127 vm_method.c rb_define_method(rb_cModule, "public_class_method", rb_mod_public_method, -1); rb_define_method 1128 vm_method.c rb_define_method(rb_cModule, "private_class_method", rb_mod_private_method, -1);