Searched refs:rb_define_singleton_method (Results 1 - 25 of 82) sorted by relevance

1234

/macosx-10.10.1/ruby-106/ruby/ext/-test-/printf/
H A Dprintf.c28 rb_define_singleton_method(m, "i", printf_test_i, 1);
29 rb_define_singleton_method(m, "s", printf_test_s, 1);
30 rb_define_singleton_method(m, "v", printf_test_v, 1);
/macosx-10.10.1/ruby-106/ruby/ext/-test-/path_to_class/
H A Dpath_to_class.c14 rb_define_singleton_method(klass, "path_to_class", path_to_class, 1);
/macosx-10.10.1/ruby-106/ruby/ext/-test-/symbol/
H A Dintern.c13 rb_define_singleton_method(klass, "interned?", bug_sym_interned_p, 1);
H A Dtype.c24 rb_define_singleton_method(klass, #type"?", bug_sym_##type##_p, 1);
42 rb_define_singleton_method(klass, "attrset", bug_sym_attrset, 1);
/macosx-10.10.1/ruby-106/ruby/ext/-test-/funcall/
H A Dpassing_block.c22 rb_define_singleton_method(cRelay,
26 rb_define_singleton_method(cRelay,
/macosx-10.10.1/ruby-106/ruby/ext/-test-/num2int/
H A Dnum2int.c106 rb_define_singleton_method(cNum2int, "print_num2short", print_num2short, 1);
107 rb_define_singleton_method(cNum2int, "print_num2ushort", print_num2ushort, 1);
109 rb_define_singleton_method(cNum2int, "print_num2int", print_num2int, 1);
110 rb_define_singleton_method(cNum2int, "print_num2uint", print_num2uint, 1);
112 rb_define_singleton_method(cNum2int, "print_num2long", print_num2long, 1);
113 rb_define_singleton_method(cNum2int, "print_num2ulong", print_num2ulong, 1);
116 rb_define_singleton_method(cNum2int, "print_num2ll", print_num2ll, 1);
117 rb_define_singleton_method(cNum2int, "print_num2ull", print_num2ull, 1);
/macosx-10.10.1/ruby-106/ruby/ext/-test-/typeddata/
H A Dtypeddata.c19 rb_define_singleton_method(klass, "check", test_check, 1);
/macosx-10.10.1/ruby-106/ruby/ext/psych/
H A Dpsych.c27 rb_define_singleton_method(mPsych, "libyaml_version", libyaml_version, 0);
/macosx-10.10.1/ruby-106/ruby/ext/readline/
H A Dreadline.c1736 rb_define_singleton_method(mReadline, "input=",
1738 rb_define_singleton_method(mReadline, "output=",
1740 rb_define_singleton_method(mReadline, "completion_proc=",
1742 rb_define_singleton_method(mReadline, "completion_proc",
1744 rb_define_singleton_method(mReadline, "completion_case_fold=",
1746 rb_define_singleton_method(mReadline, "completion_case_fold",
1748 rb_define_singleton_method(mReadline, "line_buffer",
1750 rb_define_singleton_method(mReadline, "point",
1752 rb_define_singleton_method(mReadline, "set_screen_size",
1754 rb_define_singleton_method(mReadlin
[all...]
/macosx-10.10.1/ruby-106/ruby/ext/-test-/wait_for_single_fd/
H A Dwait_for_single_fd.c28 rb_define_singleton_method(rb_cIO, "wait_for_single_fd",
/macosx-10.10.1/ruby-106/ruby/ext/socket/
H A Dtcpsocket.c80 rb_define_singleton_method(rb_cTCPSocket, "gethostbyname", tcp_s_gethostbyname, 1);
H A Dsocket.c1972 rb_define_singleton_method(rb_cSocket, "socketpair", rsock_sock_s_socketpair, -1);
1973 rb_define_singleton_method(rb_cSocket, "pair", rsock_sock_s_socketpair, -1);
1974 rb_define_singleton_method(rb_cSocket, "gethostname", sock_gethostname, 0);
1975 rb_define_singleton_method(rb_cSocket, "gethostbyname", sock_s_gethostbyname, 1);
1976 rb_define_singleton_method(rb_cSocket, "gethostbyaddr", sock_s_gethostbyaddr, -1);
1977 rb_define_singleton_method(rb_cSocket, "getservbyname", sock_s_getservbyname, -1);
1978 rb_define_singleton_method(rb_cSocket, "getservbyport", sock_s_getservbyport, -1);
1979 rb_define_singleton_method(rb_cSocket, "getaddrinfo", sock_s_getaddrinfo, -1);
1980 rb_define_singleton_method(rb_cSocket, "getnameinfo", sock_s_getnameinfo, -1);
1981 rb_define_singleton_method(rb_cSocke
[all...]
/macosx-10.10.1/ruby-106/ruby/
H A Dhash.c3461 rb_define_singleton_method(rb_cHash, "[]", rb_hash_s_create, -1);
3462 rb_define_singleton_method(rb_cHash, "try_convert", rb_hash_s_try_convert, 1);
3540 rb_define_singleton_method(envtbl,"[]", rb_f_getenv, 1);
3541 rb_define_singleton_method(envtbl,"fetch", env_fetch, -1);
3542 rb_define_singleton_method(envtbl,"[]=", env_aset, 2);
3543 rb_define_singleton_method(envtbl,"store", env_aset, 2);
3544 rb_define_singleton_method(envtbl,"each", env_each_pair, 0);
3545 rb_define_singleton_method(envtbl,"each_pair", env_each_pair, 0);
3546 rb_define_singleton_method(envtbl,"each_key", env_each_key, 0);
3547 rb_define_singleton_method(envtb
[all...]
H A Ddir.c2126 rb_define_singleton_method(rb_cDir, "open", dir_s_open, -1);
2127 rb_define_singleton_method(rb_cDir, "foreach", dir_foreach, -1);
2128 rb_define_singleton_method(rb_cDir, "entries", dir_entries, -1);
2143 rb_define_singleton_method(rb_cDir,"chdir", dir_s_chdir, -1);
2144 rb_define_singleton_method(rb_cDir,"getwd", dir_s_getwd, 0);
2145 rb_define_singleton_method(rb_cDir,"pwd", dir_s_getwd, 0);
2146 rb_define_singleton_method(rb_cDir,"chroot", dir_s_chroot, 1);
2147 rb_define_singleton_method(rb_cDir,"mkdir", dir_s_mkdir, -1);
2148 rb_define_singleton_method(rb_cDir,"rmdir", dir_s_rmdir, 1);
2149 rb_define_singleton_method(rb_cDi
[all...]
H A Dencoding.c1854 rb_define_singleton_method(rb_cEncoding, "list", enc_list, 0);
1855 rb_define_singleton_method(rb_cEncoding, "name_list", rb_enc_name_list, 0);
1856 rb_define_singleton_method(rb_cEncoding, "aliases", rb_enc_aliases, 0);
1857 rb_define_singleton_method(rb_cEncoding, "find", enc_find, 1);
1858 rb_define_singleton_method(rb_cEncoding, "compatible?", enc_compatible_p, 2);
1861 rb_define_singleton_method(rb_cEncoding, "_load", enc_load, 1);
1863 rb_define_singleton_method(rb_cEncoding, "default_external", get_default_external, 0);
1864 rb_define_singleton_method(rb_cEncoding, "default_external=", set_default_external, 1);
1865 rb_define_singleton_method(rb_cEncoding, "default_internal", get_default_internal, 0);
1866 rb_define_singleton_method(rb_cEncodin
[all...]
/macosx-10.10.1/ruby-106/ruby/ext/tk/tkutil/
H A Dtkutil.c1765 rb_define_singleton_method(cCB_SUBST, "inspect", cbsubst_inspect, 0);
1768 rb_define_singleton_method(cSUBST_INFO, "inspect", substinfo_inspect, 0);
1771 rb_define_singleton_method(cCB_SUBST, "ret_val", cbsubst_ret_val, 1);
1772 rb_define_singleton_method(cCB_SUBST, "scan_args", cbsubst_scan_args, 2);
1773 rb_define_singleton_method(cCB_SUBST, "_sym2subst",
1775 rb_define_singleton_method(cCB_SUBST, "subst_arg",
1777 rb_define_singleton_method(cCB_SUBST, "_get_subst_key",
1779 rb_define_singleton_method(cCB_SUBST, "_get_all_subst_keys",
1781 rb_define_singleton_method(cCB_SUBST, "_setup_subst_table",
1783 rb_define_singleton_method(cCB_SUBS
[all...]
/macosx-10.10.1/ruby-106/ruby/ext/-test-/old_thread_select/
H A Dold_thread_select.c73 rb_define_singleton_method(rb_cIO, "old_thread_select",
/macosx-10.10.1/ruby-106/ruby/ext/digest/bubblebabble/
H A Dbubblebabble.c136 rb_define_singleton_method(cDigest_Class, "bubblebabble", rb_digest_class_s_bubblebabble, -1);
/macosx-10.10.1/ruby-106/ruby/ext/openssl/
H A Dossl_engine.c384 rb_define_singleton_method(cEngine, "load", ossl_engine_s_load, -1);
385 rb_define_singleton_method(cEngine, "cleanup", ossl_engine_s_cleanup, 0);
386 rb_define_singleton_method(cEngine, "engines", ossl_engine_s_engines, 0);
387 rb_define_singleton_method(cEngine, "by_id", ossl_engine_s_by_id, 1);
H A Dossl_rand.c176 rb_define_singleton_method((class), (name), (func), (argc));
H A Dossl_hmac.c248 rb_define_singleton_method(cHMAC, "digest", ossl_hmac_s_digest, 3);
249 rb_define_singleton_method(cHMAC, "hexdigest", ossl_hmac_s_hexdigest, 3);
H A Dossl_bn.c801 rb_define_singleton_method(cBN, "rand", ossl_bn_s_rand, -1);
802 rb_define_singleton_method(cBN, "pseudo_rand", ossl_bn_s_pseudo_rand, -1);
803 rb_define_singleton_method(cBN, "rand_range", ossl_bn_s_rand_range, 1);
804 rb_define_singleton_method(cBN, "pseudo_rand_range", ossl_bn_s_pseudo_rand_range, 1);
806 rb_define_singleton_method(cBN, "generate_prime", ossl_bn_s_generate_prime, -1);
/macosx-10.10.1/ruby-106/ruby/ext/dl/
H A Dhandle.c400 rb_define_singleton_method(rb_cDLHandle, "sym", rb_dlhandle_s_sym, 1);
401 rb_define_singleton_method(rb_cDLHandle, "[]", rb_dlhandle_s_sym, 1);
/macosx-10.10.1/ruby-106/ruby/ext/fiddle/
H A Dhandle.c406 rb_define_singleton_method(rb_cHandle, "sym", rb_fiddle_handle_s_sym, 1);
407 rb_define_singleton_method(rb_cHandle, "[]", rb_fiddle_handle_s_sym, 1);
/macosx-10.10.1/ruby-106/ruby/tool/
H A Dcompile_prelude.rb164 rb_define_singleton_method(prelude, "to_s", prelude_prefix_path, 0);
168 rb_define_singleton_method(prelude, "require", prelude_require, 1);

Completed in 195 milliseconds

1234