rb_define_singleton_method 6057 array.c rb_define_singleton_method(rb_cArray, "[]", rb_ary_s_create, -1); rb_define_singleton_method 6058 array.c rb_define_singleton_method(rb_cArray, "try_convert", rb_ary_s_try_convert, 1); rb_define_singleton_method 1705 class.c rb_define_singleton_method(module, name, func, argc); rb_define_singleton_method 2152 complex.c rb_define_singleton_method(rb_cComplex, "rectangular", nucomp_s_new, -1); rb_define_singleton_method 2153 complex.c rb_define_singleton_method(rb_cComplex, "rect", nucomp_s_new, -1); rb_define_singleton_method 2154 complex.c rb_define_singleton_method(rb_cComplex, "polar", nucomp_s_polar, -1); rb_define_singleton_method 1684 cont.c rb_define_singleton_method(rb_cFiber, "yield", rb_fiber_s_yield, -1); rb_define_singleton_method 1707 cont.c rb_define_singleton_method(rb_cFiber, "current", rb_fiber_s_current, 0); rb_define_singleton_method 2722 dir.c rb_define_singleton_method(rb_cDir, "open", dir_s_open, -1); rb_define_singleton_method 2723 dir.c rb_define_singleton_method(rb_cDir, "foreach", dir_foreach, -1); rb_define_singleton_method 2724 dir.c rb_define_singleton_method(rb_cDir, "entries", dir_entries, -1); rb_define_singleton_method 2740 dir.c rb_define_singleton_method(rb_cDir,"chdir", dir_s_chdir, -1); rb_define_singleton_method 2741 dir.c rb_define_singleton_method(rb_cDir,"getwd", dir_s_getwd, 0); rb_define_singleton_method 2742 dir.c rb_define_singleton_method(rb_cDir,"pwd", dir_s_getwd, 0); rb_define_singleton_method 2743 dir.c rb_define_singleton_method(rb_cDir,"chroot", dir_s_chroot, 1); rb_define_singleton_method 2744 dir.c rb_define_singleton_method(rb_cDir,"mkdir", dir_s_mkdir, -1); rb_define_singleton_method 2745 dir.c rb_define_singleton_method(rb_cDir,"rmdir", dir_s_rmdir, 1); rb_define_singleton_method 2746 dir.c rb_define_singleton_method(rb_cDir,"delete", dir_s_rmdir, 1); rb_define_singleton_method 2747 dir.c rb_define_singleton_method(rb_cDir,"unlink", dir_s_rmdir, 1); rb_define_singleton_method 2748 dir.c rb_define_singleton_method(rb_cDir,"home", dir_s_home, -1); rb_define_singleton_method 2750 dir.c rb_define_singleton_method(rb_cDir,"glob", dir_s_glob, -1); rb_define_singleton_method 2751 dir.c rb_define_singleton_method(rb_cDir,"[]", dir_s_aref, -1); rb_define_singleton_method 2752 dir.c rb_define_singleton_method(rb_cDir,"exist?", rb_file_directory_p, 1); rb_define_singleton_method 2753 dir.c rb_define_singleton_method(rb_cDir,"exists?", rb_dir_exists_p, 1); rb_define_singleton_method 2754 dir.c rb_define_singleton_method(rb_cDir,"empty?", rb_dir_s_empty_p, 1); rb_define_singleton_method 2756 dir.c rb_define_singleton_method(rb_cFile,"fnmatch", file_s_fnmatch, -1); rb_define_singleton_method 2757 dir.c rb_define_singleton_method(rb_cFile,"fnmatch?", file_s_fnmatch, -1); rb_define_singleton_method 1933 encoding.c rb_define_singleton_method(rb_cEncoding, "list", enc_list, 0); rb_define_singleton_method 1934 encoding.c rb_define_singleton_method(rb_cEncoding, "name_list", rb_enc_name_list, 0); rb_define_singleton_method 1935 encoding.c rb_define_singleton_method(rb_cEncoding, "aliases", rb_enc_aliases, 0); rb_define_singleton_method 1936 encoding.c rb_define_singleton_method(rb_cEncoding, "find", enc_find, 1); rb_define_singleton_method 1937 encoding.c rb_define_singleton_method(rb_cEncoding, "compatible?", enc_compatible_p, 2); rb_define_singleton_method 1940 encoding.c rb_define_singleton_method(rb_cEncoding, "_load", enc_load, 1); rb_define_singleton_method 1942 encoding.c rb_define_singleton_method(rb_cEncoding, "default_external", get_default_external, 0); rb_define_singleton_method 1943 encoding.c rb_define_singleton_method(rb_cEncoding, "default_external=", set_default_external, 1); rb_define_singleton_method 1944 encoding.c rb_define_singleton_method(rb_cEncoding, "default_internal", get_default_internal, 0); rb_define_singleton_method 1945 encoding.c rb_define_singleton_method(rb_cEncoding, "default_internal=", set_default_internal, 1); rb_define_singleton_method 1946 encoding.c rb_define_singleton_method(rb_cEncoding, "locale_charmap", rb_locale_charmap, 0); /* in localeinit.c */ rb_define_singleton_method 1962 error.c rb_define_singleton_method(rb_eException, "exception", rb_class_new_instance, -1); rb_define_singleton_method 2009 error.c rb_define_singleton_method(rb_cNameErrorMesg, "_load", name_err_mesg_load, 1); rb_define_singleton_method 2025 error.c rb_define_singleton_method(rb_eSystemCallError, "===", syserr_eqq, 1); rb_define_singleton_method 1656 eval.c rb_define_singleton_method(rb_cModule, "nesting", rb_mod_nesting, 0); rb_define_singleton_method 1657 eval.c rb_define_singleton_method(rb_cModule, "constants", rb_mod_s_constants, -1); rb_define_singleton_method 24 ext/-test-/bignum/bigzero.c rb_define_singleton_method(klass, "zero", bug_big_zero, 1); rb_define_singleton_method 25 ext/-test-/bignum/bigzero.c rb_define_singleton_method(klass, "negzero", bug_big_negzero, 1); rb_define_singleton_method 72 ext/-test-/bignum/intpack.c rb_define_singleton_method(rb_cInteger, "test_unpack", rb_integer_unpack_m, 5); rb_define_singleton_method 13 ext/-test-/class/class2name.c rb_define_singleton_method(klass, "class2name", class2name, 1); rb_define_singleton_method 34 ext/-test-/float/nextafter.c rb_define_singleton_method(klass, "system_nextafter", system_nextafter_m, 2); rb_define_singleton_method 35 ext/-test-/float/nextafter.c rb_define_singleton_method(klass, "missing_nextafter", missing_nextafter_m, 2); rb_define_singleton_method 22 ext/-test-/funcall/passing_block.c rb_define_singleton_method(cRelay, rb_define_singleton_method 26 ext/-test-/funcall/passing_block.c rb_define_singleton_method(cRelay, rb_define_singleton_method 15 ext/-test-/integer/my_integer.c rb_define_singleton_method(cMyInteger, "new", my_integer_s_new, 0); rb_define_singleton_method 20 ext/-test-/iseq_load/iseq_load.c rb_define_singleton_method(rb_cISeq, "iseq_load", iseq_load, -1); rb_define_singleton_method 14 ext/-test-/path_to_class/path_to_class.c rb_define_singleton_method(klass, "path_to_class", path_to_class, 1); rb_define_singleton_method 97 ext/-test-/printf/printf.c rb_define_singleton_method(m, "s", printf_test_s, 1); rb_define_singleton_method 98 ext/-test-/printf/printf.c rb_define_singleton_method(m, "v", printf_test_v, 1); rb_define_singleton_method 99 ext/-test-/printf/printf.c rb_define_singleton_method(m, "q", printf_test_q, 1); rb_define_singleton_method 100 ext/-test-/printf/printf.c rb_define_singleton_method(m, "call", printf_test_call, -1); rb_define_singleton_method 20 ext/-test-/proc/receiver.c rb_define_singleton_method(klass, "make_call_receiver", bug_proc_make_call_receiver, 1); rb_define_singleton_method 26 ext/-test-/proc/super.c rb_define_singleton_method(klass, "make_call_super", bug_proc_make_call_super, 1); rb_define_singleton_method 173 ext/-test-/st/foreach/foreach.c rb_define_singleton_method(bug, "unp_st_foreach_check", unp_fec, 1); rb_define_singleton_method 174 ext/-test-/st/foreach/foreach.c rb_define_singleton_method(bug, "unp_st_foreach", unp_fe, 1); rb_define_singleton_method 16 ext/-test-/string/capacity.c rb_define_singleton_method(klass, "capacity", bug_str_capacity, 1); rb_define_singleton_method 140 ext/-test-/string/cstr.c rb_define_singleton_method(klass, "cstr_term", bug_str_s_cstr_term, 1); rb_define_singleton_method 141 ext/-test-/string/cstr.c rb_define_singleton_method(klass, "cstr_unterm", bug_str_s_cstr_unterm, 2); rb_define_singleton_method 142 ext/-test-/string/cstr.c rb_define_singleton_method(klass, "cstr_term_char", bug_str_s_cstr_term_char, 1); rb_define_singleton_method 143 ext/-test-/string/cstr.c rb_define_singleton_method(klass, "cstr_noembed", bug_str_s_cstr_noembed, 1); rb_define_singleton_method 144 ext/-test-/string/cstr.c rb_define_singleton_method(klass, "cstr_embedded?", bug_str_s_cstr_embedded_p, 1); rb_define_singleton_method 145 ext/-test-/string/cstr.c rb_define_singleton_method(klass, "rb_str_new_frozen", bug_str_s_rb_str_new_frozen, 1); rb_define_singleton_method 21 ext/-test-/string/enc_associate.c rb_define_singleton_method(klass, "encoding_index", bug_str_encoding_index, 1); rb_define_singleton_method 14 ext/-test-/string/fstring.c rb_define_singleton_method(klass, "fstring", bug_s_fstring, 1); rb_define_singleton_method 12 ext/-test-/string/nofree.c rb_define_singleton_method(klass, "nofree", bug_str_nofree, 0); rb_define_singleton_method 22 ext/-test-/struct/duplicate.c rb_define_singleton_method(klass, "new_duplicate", bug_struct_new_duplicate, 2); rb_define_singleton_method 23 ext/-test-/struct/duplicate.c rb_define_singleton_method(klass, "new_duplicate_under", bug_struct_new_duplicate_under, 2); rb_define_singleton_method 22 ext/-test-/symbol/init.c rb_define_singleton_method(klass, "find", sym_find, 1); rb_define_singleton_method 23 ext/-test-/symbol/init.c rb_define_singleton_method(klass, "pinneddown?", sym_pinneddown_p, 1); rb_define_singleton_method 24 ext/-test-/symbol/type.c rb_define_singleton_method(klass, #type"?", bug_sym_##type##_p, 1); rb_define_singleton_method 71 ext/-test-/symbol/type.c rb_define_singleton_method(klass, "attrset", bug_sym_attrset, 1); rb_define_singleton_method 72 ext/-test-/symbol/type.c rb_define_singleton_method(klass, "id2str", bug_id2str, 1); rb_define_singleton_method 73 ext/-test-/symbol/type.c rb_define_singleton_method(klass, "static?", bug_static_p, 1); rb_define_singleton_method 74 ext/-test-/symbol/type.c rb_define_singleton_method(klass, "dynamic?", bug_dynamic_p, 1); rb_define_singleton_method 76 ext/-test-/symbol/type.c rb_define_singleton_method(klass, "pindown", bug_pindown, 1); rb_define_singleton_method 31 ext/-test-/time/new.c rb_define_singleton_method(klass, "nano_new", bug_time_s_nano_new, 2); rb_define_singleton_method 32 ext/-test-/time/new.c rb_define_singleton_method(klass, "timespec_new", bug_time_s_timespec_new, 3); rb_define_singleton_method 33 ext/-test-/time/new.c rb_define_singleton_method(klass, "timespec_now", bug_time_s_timespec_now, 0); rb_define_singleton_method 19 ext/-test-/typeddata/typeddata.c rb_define_singleton_method(klass, "check", test_check, 1); rb_define_singleton_method 43 ext/-test-/vm/at_exit.c rb_define_singleton_method(c, "register_at_exit", register_at_exit, 1); rb_define_singleton_method 28 ext/-test-/wait_for_single_fd/wait_for_single_fd.c rb_define_singleton_method(rb_cIO, "wait_for_single_fd", rb_define_singleton_method 3167 ext/bigdecimal/bigdecimal.c rb_define_singleton_method(rb_cBigDecimal, "mode", BigDecimal_mode, -1); rb_define_singleton_method 3168 ext/bigdecimal/bigdecimal.c rb_define_singleton_method(rb_cBigDecimal, "limit", BigDecimal_limit, -1); rb_define_singleton_method 3169 ext/bigdecimal/bigdecimal.c rb_define_singleton_method(rb_cBigDecimal, "double_fig", BigDecimal_double_fig, 0); rb_define_singleton_method 3170 ext/bigdecimal/bigdecimal.c rb_define_singleton_method(rb_cBigDecimal, "_load", BigDecimal_load, 1); rb_define_singleton_method 3171 ext/bigdecimal/bigdecimal.c rb_define_singleton_method(rb_cBigDecimal, "ver", BigDecimal_version, 0); rb_define_singleton_method 3173 ext/bigdecimal/bigdecimal.c rb_define_singleton_method(rb_cBigDecimal, "save_exception_mode", BigDecimal_save_exception_mode, 0); rb_define_singleton_method 3174 ext/bigdecimal/bigdecimal.c rb_define_singleton_method(rb_cBigDecimal, "save_rounding_mode", BigDecimal_save_rounding_mode, 0); rb_define_singleton_method 3175 ext/bigdecimal/bigdecimal.c rb_define_singleton_method(rb_cBigDecimal, "save_limit", BigDecimal_save_limit, 0); rb_define_singleton_method 3347 ext/bigdecimal/bigdecimal.c rb_define_singleton_method(rb_mBigMath, "exp", BigMath_s_exp, 2); rb_define_singleton_method 3348 ext/bigdecimal/bigdecimal.c rb_define_singleton_method(rb_mBigMath, "log", BigMath_s_log, 2); rb_define_singleton_method 9213 ext/date/date_core.c rb_define_singleton_method(cDate, "valid_jd?", date_s_valid_jd_p, -1); rb_define_singleton_method 9214 ext/date/date_core.c rb_define_singleton_method(cDate, "valid_ordinal?", rb_define_singleton_method 9216 ext/date/date_core.c rb_define_singleton_method(cDate, "valid_civil?", date_s_valid_civil_p, -1); rb_define_singleton_method 9217 ext/date/date_core.c rb_define_singleton_method(cDate, "valid_date?", date_s_valid_civil_p, -1); rb_define_singleton_method 9218 ext/date/date_core.c rb_define_singleton_method(cDate, "valid_commercial?", rb_define_singleton_method 9230 ext/date/date_core.c rb_define_singleton_method(cDate, "julian_leap?", date_s_julian_leap_p, 1); rb_define_singleton_method 9231 ext/date/date_core.c rb_define_singleton_method(cDate, "gregorian_leap?", rb_define_singleton_method 9233 ext/date/date_core.c rb_define_singleton_method(cDate, "leap?", rb_define_singleton_method 9237 ext/date/date_core.c #define de_define_singleton_method rb_define_singleton_method rb_define_singleton_method 9243 ext/date/date_core.c rb_define_singleton_method(cDate, "jd", date_s_jd, -1); rb_define_singleton_method 9244 ext/date/date_core.c rb_define_singleton_method(cDate, "ordinal", date_s_ordinal, -1); rb_define_singleton_method 9245 ext/date/date_core.c rb_define_singleton_method(cDate, "civil", date_s_civil, -1); rb_define_singleton_method 9246 ext/date/date_core.c rb_define_singleton_method(cDate, "new", date_s_civil, -1); rb_define_singleton_method 9247 ext/date/date_core.c rb_define_singleton_method(cDate, "commercial", date_s_commercial, -1); rb_define_singleton_method 9254 ext/date/date_core.c rb_define_singleton_method(cDate, "today", date_s_today, -1); rb_define_singleton_method 9255 ext/date/date_core.c rb_define_singleton_method(cDate, "_strptime", date_s__strptime, -1); rb_define_singleton_method 9256 ext/date/date_core.c rb_define_singleton_method(cDate, "strptime", date_s_strptime, -1); rb_define_singleton_method 9257 ext/date/date_core.c rb_define_singleton_method(cDate, "_parse", date_s__parse, -1); rb_define_singleton_method 9258 ext/date/date_core.c rb_define_singleton_method(cDate, "parse", date_s_parse, -1); rb_define_singleton_method 9259 ext/date/date_core.c rb_define_singleton_method(cDate, "_iso8601", date_s__iso8601, 1); rb_define_singleton_method 9260 ext/date/date_core.c rb_define_singleton_method(cDate, "iso8601", date_s_iso8601, -1); rb_define_singleton_method 9261 ext/date/date_core.c rb_define_singleton_method(cDate, "_rfc3339", date_s__rfc3339, 1); rb_define_singleton_method 9262 ext/date/date_core.c rb_define_singleton_method(cDate, "rfc3339", date_s_rfc3339, -1); rb_define_singleton_method 9263 ext/date/date_core.c rb_define_singleton_method(cDate, "_xmlschema", date_s__xmlschema, 1); rb_define_singleton_method 9264 ext/date/date_core.c rb_define_singleton_method(cDate, "xmlschema", date_s_xmlschema, -1); rb_define_singleton_method 9265 ext/date/date_core.c rb_define_singleton_method(cDate, "_rfc2822", date_s__rfc2822, 1); rb_define_singleton_method 9266 ext/date/date_core.c rb_define_singleton_method(cDate, "_rfc822", date_s__rfc2822, 1); rb_define_singleton_method 9267 ext/date/date_core.c rb_define_singleton_method(cDate, "rfc2822", date_s_rfc2822, -1); rb_define_singleton_method 9268 ext/date/date_core.c rb_define_singleton_method(cDate, "rfc822", date_s_rfc2822, -1); rb_define_singleton_method 9269 ext/date/date_core.c rb_define_singleton_method(cDate, "_httpdate", date_s__httpdate, 1); rb_define_singleton_method 9270 ext/date/date_core.c rb_define_singleton_method(cDate, "httpdate", date_s_httpdate, -1); rb_define_singleton_method 9271 ext/date/date_core.c rb_define_singleton_method(cDate, "_jisx0301", date_s__jisx0301, 1); rb_define_singleton_method 9272 ext/date/date_core.c rb_define_singleton_method(cDate, "jisx0301", date_s_jisx0301, -1); rb_define_singleton_method 9392 ext/date/date_core.c rb_define_singleton_method(cDate, "_load", date_s__load, 1); rb_define_singleton_method 9535 ext/date/date_core.c rb_define_singleton_method(cDateTime, "jd", datetime_s_jd, -1); rb_define_singleton_method 9536 ext/date/date_core.c rb_define_singleton_method(cDateTime, "ordinal", datetime_s_ordinal, -1); rb_define_singleton_method 9537 ext/date/date_core.c rb_define_singleton_method(cDateTime, "civil", datetime_s_civil, -1); rb_define_singleton_method 9538 ext/date/date_core.c rb_define_singleton_method(cDateTime, "new", datetime_s_civil, -1); rb_define_singleton_method 9539 ext/date/date_core.c rb_define_singleton_method(cDateTime, "commercial", rb_define_singleton_method 9551 ext/date/date_core.c rb_define_singleton_method(cDateTime, "now", datetime_s_now, -1); rb_define_singleton_method 9552 ext/date/date_core.c rb_define_singleton_method(cDateTime, "_strptime", rb_define_singleton_method 9554 ext/date/date_core.c rb_define_singleton_method(cDateTime, "strptime", rb_define_singleton_method 9556 ext/date/date_core.c rb_define_singleton_method(cDateTime, "parse", rb_define_singleton_method 9558 ext/date/date_core.c rb_define_singleton_method(cDateTime, "iso8601", rb_define_singleton_method 9560 ext/date/date_core.c rb_define_singleton_method(cDateTime, "rfc3339", rb_define_singleton_method 9562 ext/date/date_core.c rb_define_singleton_method(cDateTime, "xmlschema", rb_define_singleton_method 9564 ext/date/date_core.c rb_define_singleton_method(cDateTime, "rfc2822", rb_define_singleton_method 9566 ext/date/date_core.c rb_define_singleton_method(cDateTime, "rfc822", rb_define_singleton_method 9568 ext/date/date_core.c rb_define_singleton_method(cDateTime, "httpdate", rb_define_singleton_method 9570 ext/date/date_core.c rb_define_singleton_method(cDateTime, "jisx0301", rb_define_singleton_method 1055 ext/dbm/dbm.c rb_define_singleton_method(rb_cDBM, "open", fdbm_s_open, -1); rb_define_singleton_method 142 ext/digest/bubblebabble/bubblebabble.c rb_define_singleton_method(rb_cDigest_Class, "bubblebabble", rb_digest_class_s_bubblebabble, -1); rb_define_singleton_method 729 ext/digest/digest.c rb_define_singleton_method(rb_cDigest_Class, "digest", rb_digest_class_s_digest, -1); rb_define_singleton_method 730 ext/digest/digest.c rb_define_singleton_method(rb_cDigest_Class, "hexdigest", rb_digest_class_s_hexdigest, -1); rb_define_singleton_method 1168 ext/etc/etc.c rb_define_singleton_method(sPasswd, "each", etc_each_passwd, 0); rb_define_singleton_method 1203 ext/etc/etc.c rb_define_singleton_method(sGroup, "each", etc_each_group, 0); rb_define_singleton_method 416 ext/fiddle/handle.c rb_define_singleton_method(rb_cHandle, "sym", rb_fiddle_handle_s_sym, 1); rb_define_singleton_method 417 ext/fiddle/handle.c rb_define_singleton_method(rb_cHandle, "[]", rb_fiddle_handle_s_sym, 1); rb_define_singleton_method 689 ext/fiddle/pointer.c rb_define_singleton_method(rb_cPointer, "malloc", rb_fiddle_ptr_s_malloc, -1); rb_define_singleton_method 690 ext/fiddle/pointer.c rb_define_singleton_method(rb_cPointer, "to_ptr", rb_fiddle_ptr_s_to_ptr, 1); rb_define_singleton_method 691 ext/fiddle/pointer.c rb_define_singleton_method(rb_cPointer, "[]", rb_fiddle_ptr_s_to_ptr, 1); rb_define_singleton_method 1236 ext/gdbm/gdbm.c rb_define_singleton_method(rb_cGDBM, "open", fgdbm_s_open, -1); rb_define_singleton_method 981 ext/io/console/console.c rb_define_singleton_method(rb_cIO, "console", console_dev, -1); rb_define_singleton_method 1959 ext/openssl/ossl_asn1.c rb_define_singleton_method(cASN1ObjectId, "register", ossl_asn1obj_s_register, 3); rb_define_singleton_method 1067 ext/openssl/ossl_bn.c rb_define_singleton_method(cBN, "rand", ossl_bn_s_rand, -1); rb_define_singleton_method 1068 ext/openssl/ossl_bn.c rb_define_singleton_method(cBN, "pseudo_rand", ossl_bn_s_pseudo_rand, -1); rb_define_singleton_method 1069 ext/openssl/ossl_bn.c rb_define_singleton_method(cBN, "rand_range", ossl_bn_s_rand_range, 1); rb_define_singleton_method 1070 ext/openssl/ossl_bn.c rb_define_singleton_method(cBN, "pseudo_rand_range", ossl_bn_s_pseudo_rand_range, 1); rb_define_singleton_method 1072 ext/openssl/ossl_bn.c rb_define_singleton_method(cBN, "generate_prime", ossl_bn_s_generate_prime, -1); rb_define_singleton_method 538 ext/openssl/ossl_engine.c rb_define_singleton_method(cEngine, "load", ossl_engine_s_load, -1); rb_define_singleton_method 539 ext/openssl/ossl_engine.c rb_define_singleton_method(cEngine, "cleanup", ossl_engine_s_cleanup, 0); rb_define_singleton_method 540 ext/openssl/ossl_engine.c rb_define_singleton_method(cEngine, "engines", ossl_engine_s_engines, 0); rb_define_singleton_method 541 ext/openssl/ossl_engine.c rb_define_singleton_method(cEngine, "by_id", ossl_engine_s_by_id, 1); rb_define_singleton_method 360 ext/openssl/ossl_hmac.c rb_define_singleton_method(cHMAC, "digest", ossl_hmac_s_digest, 3); rb_define_singleton_method 361 ext/openssl/ossl_hmac.c rb_define_singleton_method(cHMAC, "hexdigest", ossl_hmac_s_hexdigest, 3); rb_define_singleton_method 1285 ext/openssl/ossl_ocsp.c rb_define_singleton_method(cOCSPRes, "create", ossl_ocspres_s_create, 2); rb_define_singleton_method 226 ext/openssl/ossl_pkcs12.c rb_define_singleton_method(cPKCS12, "create", ossl_pkcs12_s_create, -1); rb_define_singleton_method 1059 ext/openssl/ossl_pkcs7.c rb_define_singleton_method(cPKCS7, "read_smime", ossl_pkcs7_s_read_smime, 1); rb_define_singleton_method 1060 ext/openssl/ossl_pkcs7.c rb_define_singleton_method(cPKCS7, "write_smime", ossl_pkcs7_s_write_smime, -1); rb_define_singleton_method 1061 ext/openssl/ossl_pkcs7.c rb_define_singleton_method(cPKCS7, "sign", ossl_pkcs7_s_sign, -1); rb_define_singleton_method 1062 ext/openssl/ossl_pkcs7.c rb_define_singleton_method(cPKCS7, "encrypt", ossl_pkcs7_s_encrypt, -1); rb_define_singleton_method 569 ext/openssl/ossl_pkey_dh.c rb_define_singleton_method(cDH, "generate", ossl_dh_s_generate, -1); rb_define_singleton_method 611 ext/openssl/ossl_pkey_dsa.c rb_define_singleton_method(cDSA, "generate", ossl_dsa_s_generate, 1); rb_define_singleton_method 1663 ext/openssl/ossl_pkey_ec.c rb_define_singleton_method(cEC, "builtin_curves", ossl_s_builtin_curves, 0); rb_define_singleton_method 1665 ext/openssl/ossl_pkey_ec.c rb_define_singleton_method(cEC, "generate", ossl_ec_key_s_generate, 1); rb_define_singleton_method 676 ext/openssl/ossl_pkey_rsa.c rb_define_singleton_method(cRSA, "generate", ossl_rsa_s_generate, -1); rb_define_singleton_method 1451 ext/pathname/pathname.c rb_define_singleton_method(rb_cPathname, "glob", path_s_glob, -1); rb_define_singleton_method 1452 ext/pathname/pathname.c rb_define_singleton_method(rb_cPathname, "getwd", path_s_getwd, 0); rb_define_singleton_method 1453 ext/pathname/pathname.c rb_define_singleton_method(rb_cPathname, "pwd", path_s_getwd, 0); rb_define_singleton_method 27 ext/psych/psych.c rb_define_singleton_method(mPsych, "libyaml_version", libyaml_version, 0); rb_define_singleton_method 773 ext/pty/pty.c rb_define_singleton_method(cPTY,"check",pty_check,-1); rb_define_singleton_method 774 ext/pty/pty.c rb_define_singleton_method(cPTY,"open",pty_open,0); rb_define_singleton_method 1828 ext/readline/readline.c rb_define_singleton_method(mReadline, "input=", rb_define_singleton_method 1830 ext/readline/readline.c rb_define_singleton_method(mReadline, "output=", rb_define_singleton_method 1832 ext/readline/readline.c rb_define_singleton_method(mReadline, "completion_proc=", rb_define_singleton_method 1834 ext/readline/readline.c rb_define_singleton_method(mReadline, "completion_proc", rb_define_singleton_method 1836 ext/readline/readline.c rb_define_singleton_method(mReadline, "completion_case_fold=", rb_define_singleton_method 1838 ext/readline/readline.c rb_define_singleton_method(mReadline, "completion_case_fold", rb_define_singleton_method 1840 ext/readline/readline.c rb_define_singleton_method(mReadline, "line_buffer", rb_define_singleton_method 1842 ext/readline/readline.c rb_define_singleton_method(mReadline, "point", rb_define_singleton_method 1844 ext/readline/readline.c rb_define_singleton_method(mReadline, "point=", rb_define_singleton_method 1846 ext/readline/readline.c rb_define_singleton_method(mReadline, "set_screen_size", rb_define_singleton_method 1848 ext/readline/readline.c rb_define_singleton_method(mReadline, "get_screen_size", rb_define_singleton_method 1850 ext/readline/readline.c rb_define_singleton_method(mReadline, "vi_editing_mode", rb_define_singleton_method 1852 ext/readline/readline.c rb_define_singleton_method(mReadline, "vi_editing_mode?", rb_define_singleton_method 1854 ext/readline/readline.c rb_define_singleton_method(mReadline, "emacs_editing_mode", rb_define_singleton_method 1856 ext/readline/readline.c rb_define_singleton_method(mReadline, "emacs_editing_mode?", rb_define_singleton_method 1858 ext/readline/readline.c rb_define_singleton_method(mReadline, "completion_append_character=", rb_define_singleton_method 1860 ext/readline/readline.c rb_define_singleton_method(mReadline, "completion_append_character", rb_define_singleton_method 1862 ext/readline/readline.c rb_define_singleton_method(mReadline, "basic_word_break_characters=", rb_define_singleton_method 1864 ext/readline/readline.c rb_define_singleton_method(mReadline, "basic_word_break_characters", rb_define_singleton_method 1866 ext/readline/readline.c rb_define_singleton_method(mReadline, "completer_word_break_characters=", rb_define_singleton_method 1868 ext/readline/readline.c rb_define_singleton_method(mReadline, "completer_word_break_characters", rb_define_singleton_method 1870 ext/readline/readline.c rb_define_singleton_method(mReadline, "basic_quote_characters=", rb_define_singleton_method 1872 ext/readline/readline.c rb_define_singleton_method(mReadline, "basic_quote_characters", rb_define_singleton_method 1874 ext/readline/readline.c rb_define_singleton_method(mReadline, "completer_quote_characters=", rb_define_singleton_method 1876 ext/readline/readline.c rb_define_singleton_method(mReadline, "completer_quote_characters", rb_define_singleton_method 1878 ext/readline/readline.c rb_define_singleton_method(mReadline, "filename_quote_characters=", rb_define_singleton_method 1880 ext/readline/readline.c rb_define_singleton_method(mReadline, "filename_quote_characters", rb_define_singleton_method 1882 ext/readline/readline.c rb_define_singleton_method(mReadline, "refresh_line", rb_define_singleton_method 1884 ext/readline/readline.c rb_define_singleton_method(mReadline, "pre_input_hook=", rb_define_singleton_method 1886 ext/readline/readline.c rb_define_singleton_method(mReadline, "pre_input_hook", rb_define_singleton_method 1888 ext/readline/readline.c rb_define_singleton_method(mReadline, "insert_text", rb_define_singleton_method 1890 ext/readline/readline.c rb_define_singleton_method(mReadline, "delete_text", rb_define_singleton_method 1892 ext/readline/readline.c rb_define_singleton_method(mReadline, "redisplay", rb_define_singleton_method 1894 ext/readline/readline.c rb_define_singleton_method(mReadline, "special_prefixes=", rb_define_singleton_method 1896 ext/readline/readline.c rb_define_singleton_method(mReadline, "special_prefixes", rb_define_singleton_method 1906 ext/readline/readline.c rb_define_singleton_method(history,"to_s", hist_to_s, 0); rb_define_singleton_method 1907 ext/readline/readline.c rb_define_singleton_method(history,"[]", hist_get, 1); rb_define_singleton_method 1908 ext/readline/readline.c rb_define_singleton_method(history,"[]=", hist_set, 2); rb_define_singleton_method 1909 ext/readline/readline.c rb_define_singleton_method(history,"<<", hist_push, 1); rb_define_singleton_method 1910 ext/readline/readline.c rb_define_singleton_method(history,"push", hist_push_method, -1); rb_define_singleton_method 1911 ext/readline/readline.c rb_define_singleton_method(history,"pop", hist_pop, 0); rb_define_singleton_method 1912 ext/readline/readline.c rb_define_singleton_method(history,"shift", hist_shift, 0); rb_define_singleton_method 1913 ext/readline/readline.c rb_define_singleton_method(history,"each", hist_each, 0); rb_define_singleton_method 1914 ext/readline/readline.c rb_define_singleton_method(history,"length", hist_length, 0); rb_define_singleton_method 1915 ext/readline/readline.c rb_define_singleton_method(history,"size", hist_length, 0); rb_define_singleton_method 1916 ext/readline/readline.c rb_define_singleton_method(history,"empty?", hist_empty_p, 0); rb_define_singleton_method 1917 ext/readline/readline.c rb_define_singleton_method(history,"delete_at", hist_delete_at, 1); rb_define_singleton_method 1918 ext/readline/readline.c rb_define_singleton_method(history,"clear", hist_clear, 0); rb_define_singleton_method 1929 ext/readline/readline.c rb_define_singleton_method(fcomp, "call", rb_define_singleton_method 1938 ext/readline/readline.c rb_define_singleton_method(ucomp, "call", rb_define_singleton_method 17307 ext/ripper/ripper.c rb_define_singleton_method(Ripper, "dedent_string", parser_dedent_string, 2); rb_define_singleton_method 11558 ext/ripper/ripper.y rb_define_singleton_method(Ripper, "dedent_string", parser_dedent_string, 2); rb_define_singleton_method 1026 ext/sdbm/init.c rb_define_singleton_method(rb_cDBM, "open", fsdbm_s_open, -1); rb_define_singleton_method 1713 ext/socket/ancdata.c rb_define_singleton_method(rb_cAncillaryData, "int", ancillary_s_int, 4); rb_define_singleton_method 1716 ext/socket/ancdata.c rb_define_singleton_method(rb_cAncillaryData, "unix_rights", ancillary_s_unix_rights, -1); rb_define_singleton_method 1721 ext/socket/ancdata.c rb_define_singleton_method(rb_cAncillaryData, "ip_pktinfo", ancillary_s_ip_pktinfo, -1); rb_define_singleton_method 1724 ext/socket/ancdata.c rb_define_singleton_method(rb_cAncillaryData, "ipv6_pktinfo", ancillary_s_ipv6_pktinfo, 2); rb_define_singleton_method 697 ext/socket/basicsocket.c rb_define_singleton_method(rb_cBasicSocket, "do_not_reverse_lookup", rb_define_singleton_method 699 ext/socket/basicsocket.c rb_define_singleton_method(rb_cBasicSocket, "do_not_reverse_lookup=", rb_define_singleton_method 701 ext/socket/basicsocket.c rb_define_singleton_method(rb_cBasicSocket, "for_fd", bsock_s_for_fd, 1); rb_define_singleton_method 458 ext/socket/ifaddr.c rb_define_singleton_method(rb_cSocket, "getifaddrs", socket_s_getifaddrs, 0); rb_define_singleton_method 336 ext/socket/ipsocket.c rb_define_singleton_method(rb_cIPSocket, "getaddress", ip_s_getaddress, 1); rb_define_singleton_method 1458 ext/socket/option.c rb_define_singleton_method(rb_cSockOpt, "int", sockopt_s_int, 4); rb_define_singleton_method 1461 ext/socket/option.c rb_define_singleton_method(rb_cSockOpt, "byte", sockopt_s_byte, 4); rb_define_singleton_method 1464 ext/socket/option.c rb_define_singleton_method(rb_cSockOpt, "bool", sockopt_s_bool, 4); rb_define_singleton_method 1467 ext/socket/option.c rb_define_singleton_method(rb_cSockOpt, "linger", sockopt_s_linger, 2); rb_define_singleton_method 1470 ext/socket/option.c rb_define_singleton_method(rb_cSockOpt, "ipv4_multicast_ttl", sockopt_s_ipv4_multicast_ttl, 1); rb_define_singleton_method 1473 ext/socket/option.c rb_define_singleton_method(rb_cSockOpt, "ipv4_multicast_loop", sockopt_s_ipv4_multicast_loop, 1); rb_define_singleton_method 2573 ext/socket/raddrinfo.c rb_define_singleton_method(rb_cAddrinfo, "getaddrinfo", addrinfo_s_getaddrinfo, -1); rb_define_singleton_method 2574 ext/socket/raddrinfo.c rb_define_singleton_method(rb_cAddrinfo, "ip", addrinfo_s_ip, 1); rb_define_singleton_method 2575 ext/socket/raddrinfo.c rb_define_singleton_method(rb_cAddrinfo, "tcp", addrinfo_s_tcp, 2); rb_define_singleton_method 2576 ext/socket/raddrinfo.c rb_define_singleton_method(rb_cAddrinfo, "udp", addrinfo_s_udp, 2); rb_define_singleton_method 2578 ext/socket/raddrinfo.c rb_define_singleton_method(rb_cAddrinfo, "unix", addrinfo_s_unix, -1); rb_define_singleton_method 2049 ext/socket/socket.c rb_define_singleton_method(rb_cSocket, "socketpair", rsock_sock_s_socketpair, -1); rb_define_singleton_method 2050 ext/socket/socket.c rb_define_singleton_method(rb_cSocket, "pair", rsock_sock_s_socketpair, -1); rb_define_singleton_method 2051 ext/socket/socket.c rb_define_singleton_method(rb_cSocket, "gethostname", sock_gethostname, 0); rb_define_singleton_method 2052 ext/socket/socket.c rb_define_singleton_method(rb_cSocket, "gethostbyname", sock_s_gethostbyname, 1); rb_define_singleton_method 2053 ext/socket/socket.c rb_define_singleton_method(rb_cSocket, "gethostbyaddr", sock_s_gethostbyaddr, -1); rb_define_singleton_method 2054 ext/socket/socket.c rb_define_singleton_method(rb_cSocket, "getservbyname", sock_s_getservbyname, -1); rb_define_singleton_method 2055 ext/socket/socket.c rb_define_singleton_method(rb_cSocket, "getservbyport", sock_s_getservbyport, -1); rb_define_singleton_method 2056 ext/socket/socket.c rb_define_singleton_method(rb_cSocket, "getaddrinfo", sock_s_getaddrinfo, -1); rb_define_singleton_method 2057 ext/socket/socket.c rb_define_singleton_method(rb_cSocket, "getnameinfo", sock_s_getnameinfo, -1); rb_define_singleton_method 2058 ext/socket/socket.c rb_define_singleton_method(rb_cSocket, "sockaddr_in", sock_s_pack_sockaddr_in, 2); rb_define_singleton_method 2059 ext/socket/socket.c rb_define_singleton_method(rb_cSocket, "pack_sockaddr_in", sock_s_pack_sockaddr_in, 2); rb_define_singleton_method 2060 ext/socket/socket.c rb_define_singleton_method(rb_cSocket, "unpack_sockaddr_in", sock_s_unpack_sockaddr_in, 1); rb_define_singleton_method 2062 ext/socket/socket.c rb_define_singleton_method(rb_cSocket, "sockaddr_un", sock_s_pack_sockaddr_un, 1); rb_define_singleton_method 2063 ext/socket/socket.c rb_define_singleton_method(rb_cSocket, "pack_sockaddr_un", sock_s_pack_sockaddr_un, 1); rb_define_singleton_method 2064 ext/socket/socket.c rb_define_singleton_method(rb_cSocket, "unpack_sockaddr_un", sock_s_unpack_sockaddr_un, 1); rb_define_singleton_method 2067 ext/socket/socket.c rb_define_singleton_method(rb_cSocket, "ip_address_list", socket_s_ip_address_list, 0); rb_define_singleton_method 80 ext/socket/tcpsocket.c rb_define_singleton_method(rb_cTCPSocket, "gethostbyname", tcp_s_gethostbyname, 1); rb_define_singleton_method 543 ext/socket/unixsocket.c rb_define_singleton_method(rb_cUNIXSocket, "socketpair", unix_s_socketpair, -1); rb_define_singleton_method 544 ext/socket/unixsocket.c rb_define_singleton_method(rb_cUNIXSocket, "pair", unix_s_socketpair, -1); rb_define_singleton_method 1548 ext/stringio/stringio.c rb_define_singleton_method(StringIO, "new", strio_s_new, -1); rb_define_singleton_method 1549 ext/stringio/stringio.c rb_define_singleton_method(StringIO, "open", strio_s_open, -1); rb_define_singleton_method 1346 ext/strscan/strscan.c rb_define_singleton_method(StringScanner, "must_C_version", strscan_s_mustc, 0); rb_define_singleton_method 444 ext/syslog/syslog.c rb_define_singleton_method(mSyslog, "inspect", mSyslog_inspect, 0); rb_define_singleton_method 581 ext/syslog/syslog.c rb_define_singleton_method(mSyslogMacros, "included", mSyslogMacros_included, 1); rb_define_singleton_method 588 ext/syslog/syslog.c rb_define_singleton_method(mSyslogConstants, "included", mSyslogMacros_included, 1); rb_define_singleton_method 10588 ext/tk/tcltklib.c rb_define_singleton_method(table, "get_name", encoding_table_get_name, 1); rb_define_singleton_method 10589 ext/tk/tcltklib.c rb_define_singleton_method(table, "get_obj", encoding_table_get_obj, 1); rb_define_singleton_method 1800 ext/tk/tkutil/tkutil.c rb_define_singleton_method(cCB_SUBST, "inspect", cbsubst_inspect, 0); rb_define_singleton_method 1803 ext/tk/tkutil/tkutil.c rb_define_singleton_method(cSUBST_INFO, "inspect", substinfo_inspect, 0); rb_define_singleton_method 1806 ext/tk/tkutil/tkutil.c rb_define_singleton_method(cCB_SUBST, "ret_val", cbsubst_ret_val, 1); rb_define_singleton_method 1807 ext/tk/tkutil/tkutil.c rb_define_singleton_method(cCB_SUBST, "scan_args", cbsubst_scan_args, 2); rb_define_singleton_method 1808 ext/tk/tkutil/tkutil.c rb_define_singleton_method(cCB_SUBST, "_sym2subst", rb_define_singleton_method 1810 ext/tk/tkutil/tkutil.c rb_define_singleton_method(cCB_SUBST, "subst_arg", rb_define_singleton_method 1812 ext/tk/tkutil/tkutil.c rb_define_singleton_method(cCB_SUBST, "_get_subst_key", rb_define_singleton_method 1814 ext/tk/tkutil/tkutil.c rb_define_singleton_method(cCB_SUBST, "_get_all_subst_keys", rb_define_singleton_method 1816 ext/tk/tkutil/tkutil.c rb_define_singleton_method(cCB_SUBST, "_setup_subst_table", rb_define_singleton_method 1818 ext/tk/tkutil/tkutil.c rb_define_singleton_method(cCB_SUBST, "_get_extra_args_tbl", rb_define_singleton_method 1820 ext/tk/tkutil/tkutil.c rb_define_singleton_method(cCB_SUBST, "_define_attribute_aliases", rb_define_singleton_method 1830 ext/tk/tkutil/tkutil.c rb_define_singleton_method(cTkCallbackEntry, "inspect", tk_cbe_inspect, 0); rb_define_singleton_method 1846 ext/tk/tkutil/tkutil.c rb_define_singleton_method(cTK, "new", tk_s_new, -1); rb_define_singleton_method 1852 ext/tk/tkutil/tkutil.c rb_define_singleton_method(TK_None, "to_s", tkNone_to_s, 0); rb_define_singleton_method 1853 ext/tk/tkutil/tkutil.c rb_define_singleton_method(TK_None, "inspect", tkNone_inspect, 0); rb_define_singleton_method 1861 ext/tk/tkutil/tkutil.c rb_define_singleton_method(mTK, "untrust", tk_obj_untrust, 1); rb_define_singleton_method 1863 ext/tk/tkutil/tkutil.c rb_define_singleton_method(mTK, "eval_cmd", tk_eval_cmd, -1); rb_define_singleton_method 1864 ext/tk/tkutil/tkutil.c rb_define_singleton_method(mTK, "callback", tk_do_callback, -1); rb_define_singleton_method 1865 ext/tk/tkutil/tkutil.c rb_define_singleton_method(mTK, "install_cmd", tk_install_cmd, -1); rb_define_singleton_method 1866 ext/tk/tkutil/tkutil.c rb_define_singleton_method(mTK, "uninstall_cmd", tk_uninstall_cmd, 1); rb_define_singleton_method 1867 ext/tk/tkutil/tkutil.c rb_define_singleton_method(mTK, "_symbolkey2str", tk_symbolkey2str, 1); rb_define_singleton_method 1868 ext/tk/tkutil/tkutil.c rb_define_singleton_method(mTK, "hash_kv", tk_hash_kv, -1); rb_define_singleton_method 1869 ext/tk/tkutil/tkutil.c rb_define_singleton_method(mTK, "_get_eval_string", rb_define_singleton_method 1871 ext/tk/tkutil/tkutil.c rb_define_singleton_method(mTK, "_get_eval_enc_str", rb_define_singleton_method 1873 ext/tk/tkutil/tkutil.c rb_define_singleton_method(mTK, "_conv_args", tk_conv_args, -1); rb_define_singleton_method 1875 ext/tk/tkutil/tkutil.c rb_define_singleton_method(mTK, "bool", tcl2rb_bool, 1); rb_define_singleton_method 1876 ext/tk/tkutil/tkutil.c rb_define_singleton_method(mTK, "number", tcl2rb_number, 1); rb_define_singleton_method 1877 ext/tk/tkutil/tkutil.c rb_define_singleton_method(mTK, "string", tcl2rb_string, 1); rb_define_singleton_method 1878 ext/tk/tkutil/tkutil.c rb_define_singleton_method(mTK, "num_or_str", tcl2rb_num_or_str, 1); rb_define_singleton_method 1879 ext/tk/tkutil/tkutil.c rb_define_singleton_method(mTK, "num_or_nil", tcl2rb_num_or_nil, 1); rb_define_singleton_method 3920 ext/win32ole/win32ole.c rb_define_singleton_method(cWIN32OLE, "connect", fole_s_connect, -1); rb_define_singleton_method 3921 ext/win32ole/win32ole.c rb_define_singleton_method(cWIN32OLE, "const_load", fole_s_const_load, -1); rb_define_singleton_method 3923 ext/win32ole/win32ole.c rb_define_singleton_method(cWIN32OLE, "ole_free", fole_s_free, 1); rb_define_singleton_method 3924 ext/win32ole/win32ole.c rb_define_singleton_method(cWIN32OLE, "ole_reference_count", fole_s_reference_count, 1); rb_define_singleton_method 3925 ext/win32ole/win32ole.c rb_define_singleton_method(cWIN32OLE, "ole_show_help", fole_s_show_help, -1); rb_define_singleton_method 3926 ext/win32ole/win32ole.c rb_define_singleton_method(cWIN32OLE, "codepage", fole_s_get_code_page, 0); rb_define_singleton_method 3927 ext/win32ole/win32ole.c rb_define_singleton_method(cWIN32OLE, "codepage=", fole_s_set_code_page, 1); rb_define_singleton_method 3928 ext/win32ole/win32ole.c rb_define_singleton_method(cWIN32OLE, "locale", fole_s_get_locale, 0); rb_define_singleton_method 3929 ext/win32ole/win32ole.c rb_define_singleton_method(cWIN32OLE, "locale=", fole_s_set_locale, 1); rb_define_singleton_method 3930 ext/win32ole/win32ole.c rb_define_singleton_method(cWIN32OLE, "create_guid", fole_s_create_guid, 0); rb_define_singleton_method 3931 ext/win32ole/win32ole.c rb_define_singleton_method(cWIN32OLE, "ole_initialize", fole_s_ole_initialize, 0); rb_define_singleton_method 3932 ext/win32ole/win32ole.c rb_define_singleton_method(cWIN32OLE, "ole_uninitialize", fole_s_ole_uninitialize, 0); rb_define_singleton_method 1271 ext/win32ole/win32ole_event.c rb_define_singleton_method(cWIN32OLE_EVENT, "message_loop", fev_s_msg_loop, 0); rb_define_singleton_method 889 ext/win32ole/win32ole_type.c rb_define_singleton_method(cWIN32OLE_TYPE, "ole_classes", foletype_s_ole_classes, 1); rb_define_singleton_method 890 ext/win32ole/win32ole_type.c rb_define_singleton_method(cWIN32OLE_TYPE, "typelibs", foletype_s_typelibs, 0); rb_define_singleton_method 891 ext/win32ole/win32ole_type.c rb_define_singleton_method(cWIN32OLE_TYPE, "progids", foletype_s_progids, 0); rb_define_singleton_method 829 ext/win32ole/win32ole_typelib.c rb_define_singleton_method(cWIN32OLE_TYPELIB, "typelibs", foletypelib_s_typelibs, 0); rb_define_singleton_method 697 ext/win32ole/win32ole_variant.c rb_define_singleton_method(cWIN32OLE_VARIANT, "array", folevariant_s_array, 2); rb_define_singleton_method 3549 ext/zlib/zlib.c rb_define_singleton_method(obj, "path", rb_gzfile_path, 0); rb_define_singleton_method 3752 ext/zlib/zlib.c rb_define_singleton_method(obj, "path", rb_gzfile_path, 0); rb_define_singleton_method 4347 ext/zlib/zlib.c rb_define_singleton_method(cDeflate, "deflate", rb_deflate_s_deflate, -1); rb_define_singleton_method 4348 ext/zlib/zlib.c rb_define_singleton_method(mZlib, "deflate", rb_deflate_s_deflate, -1); rb_define_singleton_method 4359 ext/zlib/zlib.c rb_define_singleton_method(cInflate, "inflate", rb_inflate_s_inflate, 1); rb_define_singleton_method 4360 ext/zlib/zlib.c rb_define_singleton_method(mZlib, "inflate", rb_inflate_s_inflate, 1); rb_define_singleton_method 4475 ext/zlib/zlib.c rb_define_singleton_method(cGzipFile, "wrap", rb_gzfile_s_wrap, -1); rb_define_singleton_method 4501 ext/zlib/zlib.c rb_define_singleton_method(cGzipWriter, "open", rb_gzwriter_s_open,-1); rb_define_singleton_method 4512 ext/zlib/zlib.c rb_define_singleton_method(cGzipReader, "open", rb_gzreader_s_open,-1); rb_define_singleton_method 5849 file.c rb_define_singleton_method(rb_cFile, name, func, argc); rb_define_singleton_method 5936 file.c rb_define_singleton_method(rb_cFile, "stat", rb_file_s_stat, 1); rb_define_singleton_method 5937 file.c rb_define_singleton_method(rb_cFile, "lstat", rb_file_s_lstat, 1); rb_define_singleton_method 5938 file.c rb_define_singleton_method(rb_cFile, "ftype", rb_file_s_ftype, 1); rb_define_singleton_method 5940 file.c rb_define_singleton_method(rb_cFile, "atime", rb_file_s_atime, 1); rb_define_singleton_method 5941 file.c rb_define_singleton_method(rb_cFile, "mtime", rb_file_s_mtime, 1); rb_define_singleton_method 5942 file.c rb_define_singleton_method(rb_cFile, "ctime", rb_file_s_ctime, 1); rb_define_singleton_method 5943 file.c rb_define_singleton_method(rb_cFile, "birthtime", rb_file_s_birthtime, 1); rb_define_singleton_method 5945 file.c rb_define_singleton_method(rb_cFile, "utime", rb_file_s_utime, -1); rb_define_singleton_method 5946 file.c rb_define_singleton_method(rb_cFile, "chmod", rb_file_s_chmod, -1); rb_define_singleton_method 5947 file.c rb_define_singleton_method(rb_cFile, "chown", rb_file_s_chown, -1); rb_define_singleton_method 5948 file.c rb_define_singleton_method(rb_cFile, "lchmod", rb_file_s_lchmod, -1); rb_define_singleton_method 5949 file.c rb_define_singleton_method(rb_cFile, "lchown", rb_file_s_lchown, -1); rb_define_singleton_method 5951 file.c rb_define_singleton_method(rb_cFile, "link", rb_file_s_link, 2); rb_define_singleton_method 5952 file.c rb_define_singleton_method(rb_cFile, "symlink", rb_file_s_symlink, 2); rb_define_singleton_method 5953 file.c rb_define_singleton_method(rb_cFile, "readlink", rb_file_s_readlink, 1); rb_define_singleton_method 5955 file.c rb_define_singleton_method(rb_cFile, "unlink", rb_file_s_unlink, -1); rb_define_singleton_method 5956 file.c rb_define_singleton_method(rb_cFile, "delete", rb_file_s_unlink, -1); rb_define_singleton_method 5957 file.c rb_define_singleton_method(rb_cFile, "rename", rb_file_s_rename, 2); rb_define_singleton_method 5958 file.c rb_define_singleton_method(rb_cFile, "umask", rb_file_s_umask, -1); rb_define_singleton_method 5959 file.c rb_define_singleton_method(rb_cFile, "truncate", rb_file_s_truncate, 2); rb_define_singleton_method 5960 file.c rb_define_singleton_method(rb_cFile, "mkfifo", rb_file_s_mkfifo, -1); rb_define_singleton_method 5961 file.c rb_define_singleton_method(rb_cFile, "expand_path", rb_file_s_expand_path, -1); rb_define_singleton_method 5962 file.c rb_define_singleton_method(rb_cFile, "absolute_path", rb_file_s_absolute_path, -1); rb_define_singleton_method 5963 file.c rb_define_singleton_method(rb_cFile, "realpath", rb_file_s_realpath, -1); rb_define_singleton_method 5964 file.c rb_define_singleton_method(rb_cFile, "realdirpath", rb_file_s_realdirpath, -1); rb_define_singleton_method 5965 file.c rb_define_singleton_method(rb_cFile, "basename", rb_file_s_basename, -1); rb_define_singleton_method 5966 file.c rb_define_singleton_method(rb_cFile, "dirname", rb_file_s_dirname, 1); rb_define_singleton_method 5967 file.c rb_define_singleton_method(rb_cFile, "extname", rb_file_s_extname, 1); rb_define_singleton_method 5968 file.c rb_define_singleton_method(rb_cFile, "path", rb_file_s_path, 1); rb_define_singleton_method 5974 file.c rb_define_singleton_method(rb_cFile, "split", rb_file_s_split, 1); rb_define_singleton_method 5975 file.c rb_define_singleton_method(rb_cFile, "join", rb_file_s_join, -2); rb_define_singleton_method 9459 gc.c rb_define_singleton_method(rb_mGC, "start", gc_start_internal, -1); rb_define_singleton_method 9460 gc.c rb_define_singleton_method(rb_mGC, "enable", rb_gc_enable, 0); rb_define_singleton_method 9461 gc.c rb_define_singleton_method(rb_mGC, "disable", rb_gc_disable, 0); rb_define_singleton_method 9462 gc.c rb_define_singleton_method(rb_mGC, "stress", gc_stress_get, 0); rb_define_singleton_method 9463 gc.c rb_define_singleton_method(rb_mGC, "stress=", gc_stress_set_m, 1); rb_define_singleton_method 9464 gc.c rb_define_singleton_method(rb_mGC, "count", gc_count, 0); rb_define_singleton_method 9465 gc.c rb_define_singleton_method(rb_mGC, "stat", gc_stat, -1); rb_define_singleton_method 9466 gc.c rb_define_singleton_method(rb_mGC, "latest_gc_info", gc_latest_gc_info, -1); rb_define_singleton_method 9478 gc.c rb_define_singleton_method(rb_mProfiler, "enabled?", gc_profile_enable_get, 0); rb_define_singleton_method 9479 gc.c rb_define_singleton_method(rb_mProfiler, "enable", gc_profile_enable, 0); rb_define_singleton_method 9480 gc.c rb_define_singleton_method(rb_mProfiler, "raw_data", gc_profile_record_get, 0); rb_define_singleton_method 9481 gc.c rb_define_singleton_method(rb_mProfiler, "disable", gc_profile_disable, 0); rb_define_singleton_method 9482 gc.c rb_define_singleton_method(rb_mProfiler, "clear", gc_profile_clear, 0); rb_define_singleton_method 9483 gc.c rb_define_singleton_method(rb_mProfiler, "result", gc_profile_result, 0); rb_define_singleton_method 9484 gc.c rb_define_singleton_method(rb_mProfiler, "report", gc_profile_report, -1); rb_define_singleton_method 9485 gc.c rb_define_singleton_method(rb_mProfiler, "total_time", gc_profile_total_time, 0); rb_define_singleton_method 9525 gc.c rb_define_singleton_method(rb_mGC, "verify_internal_consistency", gc_verify_internal_consistency, 0); rb_define_singleton_method 9527 gc.c rb_define_singleton_method(rb_mGC, "malloc_allocated_size", gc_malloc_allocated_size, 0); rb_define_singleton_method 9528 gc.c rb_define_singleton_method(rb_mGC, "malloc_allocations", gc_malloc_allocations, 0); rb_define_singleton_method 9532 gc.c rb_define_singleton_method(rb_mGC, "add_stress_to_class", rb_gcdebug_add_stress_to_class, -1); rb_define_singleton_method 9533 gc.c rb_define_singleton_method(rb_mGC, "remove_stress_to_class", rb_gcdebug_remove_stress_to_class, -1); rb_define_singleton_method 4264 hash.c rb_define_singleton_method(rb_cHash, "[]", rb_hash_s_create, -1); rb_define_singleton_method 4265 hash.c rb_define_singleton_method(rb_cHash, "try_convert", rb_hash_s_try_convert, 1); rb_define_singleton_method 4353 hash.c rb_define_singleton_method(envtbl,"[]", rb_f_getenv, 1); rb_define_singleton_method 4354 hash.c rb_define_singleton_method(envtbl,"fetch", env_fetch, -1); rb_define_singleton_method 4355 hash.c rb_define_singleton_method(envtbl,"[]=", env_aset, 2); rb_define_singleton_method 4356 hash.c rb_define_singleton_method(envtbl,"store", env_aset, 2); rb_define_singleton_method 4357 hash.c rb_define_singleton_method(envtbl,"each", env_each_pair, 0); rb_define_singleton_method 4358 hash.c rb_define_singleton_method(envtbl,"each_pair", env_each_pair, 0); rb_define_singleton_method 4359 hash.c rb_define_singleton_method(envtbl,"each_key", env_each_key, 0); rb_define_singleton_method 4360 hash.c rb_define_singleton_method(envtbl,"each_value", env_each_value, 0); rb_define_singleton_method 4361 hash.c rb_define_singleton_method(envtbl,"delete", env_delete_m, 1); rb_define_singleton_method 4362 hash.c rb_define_singleton_method(envtbl,"delete_if", env_delete_if, 0); rb_define_singleton_method 4363 hash.c rb_define_singleton_method(envtbl,"keep_if", env_keep_if, 0); rb_define_singleton_method 4364 hash.c rb_define_singleton_method(envtbl,"clear", rb_env_clear, 0); rb_define_singleton_method 4365 hash.c rb_define_singleton_method(envtbl,"reject", env_reject, 0); rb_define_singleton_method 4366 hash.c rb_define_singleton_method(envtbl,"reject!", env_reject_bang, 0); rb_define_singleton_method 4367 hash.c rb_define_singleton_method(envtbl,"select", env_select, 0); rb_define_singleton_method 4368 hash.c rb_define_singleton_method(envtbl,"select!", env_select_bang, 0); rb_define_singleton_method 4369 hash.c rb_define_singleton_method(envtbl,"shift", env_shift, 0); rb_define_singleton_method 4370 hash.c rb_define_singleton_method(envtbl,"invert", env_invert, 0); rb_define_singleton_method 4371 hash.c rb_define_singleton_method(envtbl,"replace", env_replace, 1); rb_define_singleton_method 4372 hash.c rb_define_singleton_method(envtbl,"update", env_update, 1); rb_define_singleton_method 4373 hash.c rb_define_singleton_method(envtbl,"inspect", env_inspect, 0); rb_define_singleton_method 4374 hash.c rb_define_singleton_method(envtbl,"rehash", env_none, 0); rb_define_singleton_method 4375 hash.c rb_define_singleton_method(envtbl,"to_a", env_to_a, 0); rb_define_singleton_method 4376 hash.c rb_define_singleton_method(envtbl,"to_s", env_to_s, 0); rb_define_singleton_method 4377 hash.c rb_define_singleton_method(envtbl,"key", env_key, 1); rb_define_singleton_method 4378 hash.c rb_define_singleton_method(envtbl,"index", env_index, 1); rb_define_singleton_method 4379 hash.c rb_define_singleton_method(envtbl,"size", env_size, 0); rb_define_singleton_method 4380 hash.c rb_define_singleton_method(envtbl,"length", env_size, 0); rb_define_singleton_method 4381 hash.c rb_define_singleton_method(envtbl,"empty?", env_empty_p, 0); rb_define_singleton_method 4382 hash.c rb_define_singleton_method(envtbl,"keys", env_keys, 0); rb_define_singleton_method 4383 hash.c rb_define_singleton_method(envtbl,"values", env_values, 0); rb_define_singleton_method 4384 hash.c rb_define_singleton_method(envtbl,"values_at", env_values_at, -1); rb_define_singleton_method 4385 hash.c rb_define_singleton_method(envtbl,"include?", env_has_key, 1); rb_define_singleton_method 4386 hash.c rb_define_singleton_method(envtbl,"member?", env_has_key, 1); rb_define_singleton_method 4387 hash.c rb_define_singleton_method(envtbl,"has_key?", env_has_key, 1); rb_define_singleton_method 4388 hash.c rb_define_singleton_method(envtbl,"has_value?", env_has_value, 1); rb_define_singleton_method 4389 hash.c rb_define_singleton_method(envtbl,"key?", env_has_key, 1); rb_define_singleton_method 4390 hash.c rb_define_singleton_method(envtbl,"value?", env_has_value, 1); rb_define_singleton_method 4391 hash.c rb_define_singleton_method(envtbl,"to_hash", env_to_hash, 0); rb_define_singleton_method 4392 hash.c rb_define_singleton_method(envtbl,"to_h", env_to_hash, 0); rb_define_singleton_method 4393 hash.c rb_define_singleton_method(envtbl,"assoc", env_assoc, 1); rb_define_singleton_method 4394 hash.c rb_define_singleton_method(envtbl,"rassoc", env_rassoc, 1); rb_define_singleton_method 212 include/ruby/intern.h void rb_define_singleton_method(VALUE, const char*, VALUE(*)(ANYARGS), int); rb_define_singleton_method 12243 io.c rb_define_singleton_method(rb_cFile, "open", rb_io_s_open, -1); rb_define_singleton_method 12247 io.c rb_define_singleton_method(rb_cIO, "new", rb_io_s_new, -1); rb_define_singleton_method 12248 io.c rb_define_singleton_method(rb_cIO, "open", rb_io_s_open, -1); rb_define_singleton_method 12249 io.c rb_define_singleton_method(rb_cIO, "sysopen", rb_io_s_sysopen, -1); rb_define_singleton_method 12250 io.c rb_define_singleton_method(rb_cIO, "for_fd", rb_io_s_for_fd, -1); rb_define_singleton_method 12251 io.c rb_define_singleton_method(rb_cIO, "popen", rb_io_s_popen, -1); rb_define_singleton_method 12252 io.c rb_define_singleton_method(rb_cIO, "foreach", rb_io_s_foreach, -1); rb_define_singleton_method 12253 io.c rb_define_singleton_method(rb_cIO, "readlines", rb_io_s_readlines, -1); rb_define_singleton_method 12254 io.c rb_define_singleton_method(rb_cIO, "read", rb_io_s_read, -1); rb_define_singleton_method 12255 io.c rb_define_singleton_method(rb_cIO, "binread", rb_io_s_binread, -1); rb_define_singleton_method 12256 io.c rb_define_singleton_method(rb_cIO, "write", rb_io_s_write, -1); rb_define_singleton_method 12257 io.c rb_define_singleton_method(rb_cIO, "binwrite", rb_io_s_binwrite, -1); rb_define_singleton_method 12258 io.c rb_define_singleton_method(rb_cIO, "select", rb_f_select, -1); rb_define_singleton_method 12259 io.c rb_define_singleton_method(rb_cIO, "pipe", rb_io_s_pipe, -1); rb_define_singleton_method 12260 io.c rb_define_singleton_method(rb_cIO, "try_convert", rb_io_s_try_convert, 1); rb_define_singleton_method 12261 io.c rb_define_singleton_method(rb_cIO, "copy_stream", rb_io_s_copy_stream, -1); rb_define_singleton_method 2428 iseq.c rb_define_singleton_method(rb_cISeq, "load_from_binary", iseqw_s_load_from_binary, 1); rb_define_singleton_method 2429 iseq.c rb_define_singleton_method(rb_cISeq, "load_from_binary_extra_data", iseqw_s_load_from_binary_extra_data, 1); rb_define_singleton_method 2453 iseq.c rb_define_singleton_method(rb_cISeq, "load", iseq_s_load, -1); rb_define_singleton_method 2457 iseq.c rb_define_singleton_method(rb_cISeq, "compile", iseqw_s_compile, -1); rb_define_singleton_method 2458 iseq.c rb_define_singleton_method(rb_cISeq, "new", iseqw_s_compile, -1); rb_define_singleton_method 2459 iseq.c rb_define_singleton_method(rb_cISeq, "compile_file", iseqw_s_compile_file, -1); rb_define_singleton_method 2460 iseq.c rb_define_singleton_method(rb_cISeq, "compile_option", iseqw_s_compile_option_get, 0); rb_define_singleton_method 2461 iseq.c rb_define_singleton_method(rb_cISeq, "compile_option=", iseqw_s_compile_option_set, 1); rb_define_singleton_method 2462 iseq.c rb_define_singleton_method(rb_cISeq, "disasm", iseqw_s_disasm, 1); rb_define_singleton_method 2463 iseq.c rb_define_singleton_method(rb_cISeq, "disassemble", iseqw_s_disasm, 1); rb_define_singleton_method 2464 iseq.c rb_define_singleton_method(rb_cISeq, "of", iseqw_s_of, 1); rb_define_singleton_method 17231 parse.c rb_define_singleton_method(Ripper, "dedent_string", parser_dedent_string, 2); rb_define_singleton_method 11558 parse.y rb_define_singleton_method(Ripper, "dedent_string", parser_dedent_string, 2); rb_define_singleton_method 2915 proc.c rb_define_singleton_method(rb_cProc, "new", rb_proc_s_new, -1); rb_define_singleton_method 7601 process.c rb_define_singleton_method(rb_mProcess, "exec", rb_f_exec, -1); rb_define_singleton_method 7602 process.c rb_define_singleton_method(rb_mProcess, "fork", rb_f_fork, 0); rb_define_singleton_method 7603 process.c rb_define_singleton_method(rb_mProcess, "spawn", rb_f_spawn, -1); rb_define_singleton_method 7604 process.c rb_define_singleton_method(rb_mProcess, "exit!", rb_f_exit_bang, -1); rb_define_singleton_method 7605 process.c rb_define_singleton_method(rb_mProcess, "exit", rb_f_exit, -1); rb_define_singleton_method 7606 process.c rb_define_singleton_method(rb_mProcess, "abort", rb_f_abort, -1); rb_define_singleton_method 1634 random.c rb_define_singleton_method(rb_cRandom, "srand", rb_f_srand, -1); rb_define_singleton_method 1635 random.c rb_define_singleton_method(rb_cRandom, "rand", random_s_rand, -1); rb_define_singleton_method 1636 random.c rb_define_singleton_method(rb_cRandom, "new_seed", random_seed, 0); rb_define_singleton_method 1637 random.c rb_define_singleton_method(rb_cRandom, "raw_seed", random_raw_seed, 1); rb_define_singleton_method 3925 re.c rb_define_singleton_method(rb_cRegexp, "compile", rb_class_new_instance, -1); rb_define_singleton_method 3926 re.c rb_define_singleton_method(rb_cRegexp, "quote", rb_reg_s_quote, 1); rb_define_singleton_method 3927 re.c rb_define_singleton_method(rb_cRegexp, "escape", rb_reg_s_quote, 1); rb_define_singleton_method 3928 re.c rb_define_singleton_method(rb_cRegexp, "union", rb_reg_s_union_m, -2); rb_define_singleton_method 3929 re.c rb_define_singleton_method(rb_cRegexp, "last_match", rb_reg_s_last_match, -1); rb_define_singleton_method 3930 re.c rb_define_singleton_method(rb_cRegexp, "try_convert", rb_reg_s_try_convert, 1); rb_define_singleton_method 9658 string.c rb_define_singleton_method(rb_cString, "try_convert", rb_str_s_try_convert, 1); rb_define_singleton_method 9801 string.c rb_define_singleton_method(rb_cSymbol, "all_symbols", rb_sym_all_symbols, 0); /* in symbol.c */ rb_define_singleton_method 306 struct.c rb_define_singleton_method(nstr, "new", rb_class_new_instance, -1); rb_define_singleton_method 307 struct.c rb_define_singleton_method(nstr, "[]", rb_class_new_instance, -1); rb_define_singleton_method 308 struct.c rb_define_singleton_method(nstr, "members", rb_struct_s_members_m, 0); rb_define_singleton_method 1189 struct.c rb_define_singleton_method(rb_cStruct, "new", rb_struct_s_def, -1); rb_define_singleton_method 4744 thread.c rb_define_singleton_method(rb_cThread, "new", thread_s_new, -1); rb_define_singleton_method 4745 thread.c rb_define_singleton_method(rb_cThread, "start", thread_start, -2); rb_define_singleton_method 4746 thread.c rb_define_singleton_method(rb_cThread, "fork", thread_start, -2); rb_define_singleton_method 4747 thread.c rb_define_singleton_method(rb_cThread, "main", rb_thread_s_main, 0); rb_define_singleton_method 4748 thread.c rb_define_singleton_method(rb_cThread, "current", thread_s_current, 0); rb_define_singleton_method 4749 thread.c rb_define_singleton_method(rb_cThread, "stop", rb_thread_stop, 0); rb_define_singleton_method 4750 thread.c rb_define_singleton_method(rb_cThread, "kill", rb_thread_s_kill, 1); rb_define_singleton_method 4751 thread.c rb_define_singleton_method(rb_cThread, "exit", rb_thread_exit, 0); rb_define_singleton_method 4752 thread.c rb_define_singleton_method(rb_cThread, "pass", thread_s_pass, 0); rb_define_singleton_method 4753 thread.c rb_define_singleton_method(rb_cThread, "list", rb_thread_list, 0); rb_define_singleton_method 4754 thread.c rb_define_singleton_method(rb_cThread, "abort_on_exception", rb_thread_s_abort_exc, 0); rb_define_singleton_method 4755 thread.c rb_define_singleton_method(rb_cThread, "abort_on_exception=", rb_thread_s_abort_exc_set, 1); rb_define_singleton_method 4756 thread.c rb_define_singleton_method(rb_cThread, "report_on_exception", rb_thread_s_report_exc, 0); rb_define_singleton_method 4757 thread.c rb_define_singleton_method(rb_cThread, "report_on_exception=", rb_thread_s_report_exc_set, 1); rb_define_singleton_method 4759 thread.c rb_define_singleton_method(rb_cThread, "DEBUG", rb_thread_s_debug, 0); rb_define_singleton_method 4760 thread.c rb_define_singleton_method(rb_cThread, "DEBUG=", rb_thread_s_debug_set, 1); rb_define_singleton_method 4762 thread.c rb_define_singleton_method(rb_cThread, "handle_interrupt", rb_thread_s_handle_interrupt, 1); rb_define_singleton_method 4763 thread.c rb_define_singleton_method(rb_cThread, "pending_interrupt?", rb_thread_s_pending_interrupt_p, -1); rb_define_singleton_method 4812 time.c rb_define_singleton_method(rb_cTime, "now", time_s_now, 0); rb_define_singleton_method 4813 time.c rb_define_singleton_method(rb_cTime, "at", time_s_at, -1); rb_define_singleton_method 4814 time.c rb_define_singleton_method(rb_cTime, "utc", time_s_mkutc, -1); rb_define_singleton_method 4815 time.c rb_define_singleton_method(rb_cTime, "gm", time_s_mkutc, -1); rb_define_singleton_method 4816 time.c rb_define_singleton_method(rb_cTime, "local", time_s_mktime, -1); rb_define_singleton_method 4817 time.c rb_define_singleton_method(rb_cTime, "mktime", time_s_mktime, -1); rb_define_singleton_method 4459 transcode.c rb_define_singleton_method(rb_cEncodingConverter, "asciicompat_encoding", econv_s_asciicompat_encoding, 1); rb_define_singleton_method 4460 transcode.c rb_define_singleton_method(rb_cEncodingConverter, "search_convpath", econv_s_search_convpath, -1); rb_define_singleton_method 2677 vm.c rb_define_singleton_method(rb_cRubyVM, "stat", vm_stat, -1); rb_define_singleton_method 2864 vm.c rb_define_singleton_method(rb_cRubyVM, "USAGE_ANALYSIS_INSN_STOP", usage_analysis_insn_stop, 0); rb_define_singleton_method 2865 vm.c rb_define_singleton_method(rb_cRubyVM, "USAGE_ANALYSIS_OPERAND_STOP", usage_analysis_operand_stop, 0); rb_define_singleton_method 2866 vm.c rb_define_singleton_method(rb_cRubyVM, "USAGE_ANALYSIS_REGISTER_STOP", usage_analysis_register_stop, 0); rb_define_singleton_method 2909 vm.c rb_define_singleton_method(rb_cRubyVM, "SDR", sdr, 0); rb_define_singleton_method 2910 vm.c rb_define_singleton_method(rb_cRubyVM, "NSDR", nsdr, 0); rb_define_singleton_method 3025 vm.c rb_define_singleton_method(rb_vm_top_self(), "to_s", main_to_s, 0); rb_define_singleton_method 1456 vm_trace.c rb_define_singleton_method(rb_cTracePoint, "new", tracepoint_new_s, -1); rb_define_singleton_method 1471 vm_trace.c rb_define_singleton_method(rb_cTracePoint, "trace", tracepoint_trace_s, -1); rb_define_singleton_method 1489 vm_trace.c rb_define_singleton_method(rb_cTracePoint, "stat", tracepoint_stat_s, 0);