Ruby
1.9.3p551(2014-11-13revision48407)
|
#include "ruby/ruby.h"
#include "ruby/encoding.h"
#include "internal.h"
#include "eval_intern.h"
#include "dln.h"
#include <stdio.h>
#include <sys/types.h>
#include <ctype.h>
#include "ruby/util.h"
Go to the source code of this file.
Data Structures | |
struct | cmdline_options |
struct | load_file_arg |
Macros | |
#define | MAXPATHLEN 1024 |
#define | DISABLE_BIT(bit) (1U << disable_##bit) |
#define | DUMP_BIT(bit) (1U << dump_##bit) |
#define | src_encoding_index GET_VM()->src_encoding_index |
#define | forbid_setid(s) forbid_setid((s), opt) |
#define | rubylib_mangled_path rb_str_new |
#define | RUBY_RELATIVE(path, len) rubylib_mangled_path((path), (len)) |
#define | PREFIX_PATH() RUBY_RELATIVE(exec_prefix, sizeof(exec_prefix)-1) |
#define | NAME_MATCH_P(name, str, len) ((len) < (int)sizeof(name) && strncmp((str), (name), (len)) == 0) |
#define | UNSET_WHEN(name, bit, str, len) |
#define | SET_WHEN(name, bit, str, len) |
#define | UNSET_WHEN_DISABLE(bit) UNSET_WHEN(#bit, DISABLE_BIT(bit), str, len) |
#define | SET_WHEN_DISABLE(bit) SET_WHEN(#bit, DISABLE_BIT(bit), str, len) |
#define | SET_WHEN_DUMP(bit) SET_WHEN(#bit, DUMP_BIT(bit), str, len) |
#define | set_internal_encoding_once(opt, e, elen) set_option_encoding_once("default_internal", &(opt)->intern.enc.name, (e), (elen)) |
#define | set_external_encoding_once(opt, e, elen) set_option_encoding_once("default_external", &(opt)->ext.enc.name, (e), (elen)) |
#define | set_source_encoding_once(opt, e, elen) set_option_encoding_once("source", &(opt)->src.enc.name, (e), (elen)) |
#define | is_option_end(c, allow_hyphen) (!(c) || ((allow_hyphen) && (c) == '-') || (c) == '=') |
#define | check_envopt(name, allow_envopt) |
#define | need_argument(name, s) |
#define | is_option_with_arg(name, allow_hyphen, allow_envopt) |
#define | set_encoding_part(type) |
#define | rb_progname (GET_VM()->progname) |
#define | rb_define_readonly_boolean(name, val) rb_define_virtual_variable((name), (val) ? true_value : false_value, 0) |
#define | PREPARE_PARSE_MAIN(expr) |
Enumerations | |
enum | disable_flag_bits { disable_gems, disable_rubyopt, disable_flag_count } |
enum | dump_flag_bits { dump_version, dump_copyright, dump_usage, dump_yydebug, dump_syntax, dump_parsetree, dump_parsetree_with_comment, dump_insns, dump_flag_count } |
Variables | |
struct { | |
int argc | |
char ** argv | |
} | origarg |
VALUE | rb_argv0 |
return | str |
#define DISABLE_BIT | ( | bit | ) | (1U << disable_##bit) |
Definition at line 55 of file ruby.c.
Referenced by cmdline_options_init(), and process_options().
#define DUMP_BIT | ( | bit | ) | (1U << dump_##bit) |
Definition at line 62 of file ruby.c.
Referenced by proc_options(), and process_options().
Definition at line 117 of file ruby.c.
Referenced by load_file_internal(), proc_options(), and process_options().
#define is_option_with_arg | ( | name, | |
allow_hyphen, | |||
allow_envopt | |||
) |
Referenced by proc_options().
#define MAXPATHLEN 1024 |
Definition at line 46 of file ruby.c.
Referenced by process_options(), and ruby_init_loadpath_safe().
#define NAME_MATCH_P | ( | name, | |
str, | |||
len | |||
) | ((len) < (int)sizeof(name) && strncmp((str), (name), (len)) == 0) |
Definition at line 631 of file ruby.c.
Referenced by disable_option(), and enable_option().
#define PREFIX_PATH | ( | ) | RUBY_RELATIVE(exec_prefix, sizeof(exec_prefix)-1) |
Referenced by ruby_init_loadpath_safe().
#define PREPARE_PARSE_MAIN | ( | expr | ) |
#define rb_define_readonly_boolean | ( | name, | |
val | |||
) | rb_define_virtual_variable((name), (val) ? true_value : false_value, 0) |
Definition at line 1150 of file ruby.c.
Referenced by process_options().
#define rb_progname (GET_VM()->progname) |
Definition at line 1135 of file ruby.c.
Referenced by load_file_internal(), process_options(), ruby_process_options(), ruby_prog_init(), ruby_script(), and set_arg0().
#define RUBY_RELATIVE | ( | path, | |
len | |||
) | rubylib_mangled_path((path), (len)) |
Referenced by ruby_init_loadpath_safe().
#define rubylib_mangled_path rb_str_new |
Definition at line 204 of file ruby.c.
Referenced by push_include(), and ruby_init_loadpath_safe().
#define set_encoding_part | ( | type | ) |
Referenced by proc_options().
#define set_external_encoding_once | ( | opt, | |
e, | |||
elen | |||
) | set_option_encoding_once("default_external", &(opt)->ext.enc.name, (e), (elen)) |
Definition at line 706 of file ruby.c.
Referenced by proc_options().
#define set_internal_encoding_once | ( | opt, | |
e, | |||
elen | |||
) | set_option_encoding_once("default_internal", &(opt)->intern.enc.name, (e), (elen)) |
Definition at line 704 of file ruby.c.
Referenced by proc_options().
#define set_source_encoding_once | ( | opt, | |
e, | |||
elen | |||
) | set_option_encoding_once("source", &(opt)->src.enc.name, (e), (elen)) |
Definition at line 708 of file ruby.c.
Referenced by proc_options().
#define SET_WHEN_DISABLE | ( | bit | ) | SET_WHEN(#bit, DISABLE_BIT(bit), str, len) |
Referenced by disable_option().
Referenced by dump_option().
#define src_encoding_index GET_VM()->src_encoding_index |
Definition at line 99 of file ruby.c.
Referenced by cmdline_options_init(), load_file_internal(), and process_options().
#define UNSET_WHEN_DISABLE | ( | bit | ) | UNSET_WHEN(#bit, DISABLE_BIT(bit), str, len) |
Referenced by enable_option().
enum disable_flag_bits |
enum dump_flag_bits |
Definition at line 476 of file ruby.c.
References list, rb_ary_new(), rb_ary_push(), rb_str_new2(), and RBASIC.
Referenced by proc_options().
|
static |
Definition at line 102 of file ruby.c.
References cmdline_options::disable, DISABLE_BIT, cmdline_options::enc, cmdline_options::ext, init_ids(), cmdline_options::intern, MEMZERO, cmdline_options::src, and src_encoding_index.
Referenced by rb_load_file(), and ruby_process_options().
Definition at line 660 of file ruby.c.
References NAME_MATCH_P, rb_warn(), and SET_WHEN_DISABLE.
Referenced by proc_options().
Definition at line 673 of file ruby.c.
References rb_warn(), SET_WHEN_DUMP, usage(), version(), and yydebug.
Referenced by proc_options().
Definition at line 647 of file ruby.c.
References NAME_MATCH_P, rb_warn(), and UNSET_WHEN_DISABLE.
Referenced by proc_options().
Definition at line 296 of file ruby.c.
References path, Qnil, rb_file_expand_path(), and RSTRING_PTR.
Referenced by ruby_incpush_expand(), and ruby_init_loadpath_safe().
|
static |
Definition at line 1740 of file ruby.c.
References rb_eSecurityError, rb_raise(), cmdline_options::safe_level, and cmdline_options::setids.
char* getenv | ( | ) |
|
static |
Definition at line 1724 of file ruby.c.
References getegid(), geteuid(), getgid(), getuid(), cmdline_options::safe_level, and cmdline_options::setids.
Referenced by cmdline_options_init().
|
static |
Definition at line 1679 of file ruby.c.
References load_file_arg::fname, load_file_internal(), load_file_arg::opt, load_file_arg::parser, parser, rb_ensure(), rb_gv_get(), restore_lineno(), and load_file_arg::script.
Referenced by process_options(), and rb_load_file().
Definition at line 1515 of file ruby.c.
References c, CONST_ID, cmdline_options::enc, enc, cmdline_options::ext, FALSE, load_file_arg::fname, forbid_setid, INT2FIX, cmdline_options::intern, mode, moreswitches(), NIL_P, O_BINARY, load_file_arg::opt, opt_enc_index(), p, load_file_arg::parser, parser, Qnil, rb_ascii8bit_encoding(), rb_define_global_const(), rb_eLoadError, rb_enc_associate(), rb_enc_from_encoding(), rb_enc_from_index(), rb_funcall(), rb_io_close(), rb_io_fdopen(), rb_io_getbyte(), rb_io_gets(), rb_io_ungetbyte(), rb_load_fail(), rb_locale_encoding(), rb_parser_compile_file(), rb_parser_compile_string(), rb_parser_encoding(), rb_parser_end_seen_p(), rb_progname, rb_raise(), rb_stdin, rb_str_new(), rb_str_new2(), rb_str_new_cstr(), rb_update_max_fd(), rb_usascii_encoding(), rb_vm_set_progname(), cmdline_options::req_list, require_libraries(), RSTRING_LEN, RSTRING_PTR, load_file_arg::script, cmdline_options::script_name, cmdline_options::src, src_encoding_index, STRCASECMP, strrchr(), strstr(), and cmdline_options::xflag.
Referenced by load_file().
Definition at line 283 of file ruby.c.
References path, rb_enc_associate(), and rb_locale_encoding().
Referenced by ruby_incpush().
|
static |
Definition at line 585 of file ruby.c.
References argc, argv, i, ISSPACE, len, memcpy(), p, proc_options(), rb_str_cat(), rb_str_resize(), rb_str_tmp_new(), RSTRING_LEN, RSTRING_PTR, and strlen().
Referenced by load_file_internal(), and process_options().
Definition at line 1121 of file ruby.c.
References i, rb_enc_dummy_p(), rb_enc_find_index(), rb_enc_from_index(), rb_eRuntimeError, rb_raise(), and RSTRING_PTR.
Referenced by load_file_internal(), and process_options().
|
static |
Definition at line 712 of file ruby.c.
References add_modules(), arg, argc, c, cmdline_options::disable, disable_option(), cmdline_options::do_line, cmdline_options::do_loop, cmdline_options::do_print, cmdline_options::do_search, cmdline_options::do_split, cmdline_options::dump, DUMP_BIT, dump_option(), cmdline_options::e_script, enable_option(), cmdline_options::enc, enc_name, cmdline_options::ext, forbid_setid, is_option_with_arg, ISPRINT, n, p, Qfalse, Qnil, Qtrue, rb_eRuntimeError, rb_fatal(), rb_fs, rb_output_rs, rb_raise(), rb_reg_new(), rb_rs, rb_str_cat2(), rb_str_new(), rb_str_new2(), cmdline_options::req_list, ruby_debug, ruby_each_words(), ruby_incpush_expand(), ruby_set_inplace_mode(), ruby_show_version(), ruby_verbose, s, cmdline_options::safe_level, scan_oct, cmdline_options::script, set_encoding_part, set_external_encoding_once, set_internal_encoding_once, set_source_encoding_once, cmdline_options::sflag, cmdline_options::src, strlen(), TRUE, usage(), v, cmdline_options::verbose, version(), cmdline_options::xflag, and yydebug.
Referenced by moreswitches(), and process_options().
|
static |
Definition at line 1248 of file ruby.c.
References cmdline_options::disable, DISABLE_BIT, dln_find_file_r(), cmdline_options::do_line, cmdline_options::do_loop, cmdline_options::do_print, cmdline_options::do_search, cmdline_options::do_split, cmdline_options::dump, DUMP_BIT, cmdline_options::e_script, cmdline_options::enc, enc, env, rb_binding_t::env, cmdline_options::ext, fbuf, FL_TAINT, FL_UNSET, forbid_setid, GET_THREAD, GET_VM, GetBindingPtr, getenv(), GetEnvPtr, i, int, cmdline_options::intern, load_file(), MAXPATHLEN, moreswitches(), OBJ_TAINT, opt_enc_index(), origarg, parser, PATH_ENV, PREPARE_PARSE_MAIN, proc_options(), process_sflag(), Qfalse, Qnil, Qtrue, RARRAY_LEN, RARRAY_PTR(), rb_argv, rb_cObject, rb_const_get(), rb_default_internal_encoding(), rb_define_global_function(), rb_define_module(), rb_define_readonly_boolean, rb_enc_associate(), rb_enc_find_index(), rb_enc_from_encoding(), rb_enc_from_index(), rb_enc_set_default_external(), rb_enc_set_default_internal(), rb_f_chop(), rb_gc_set_params(), rb_intern, rb_io_flush(), rb_io_write(), rb_iseq_disasm(), rb_iseq_new_main(), rb_locale_encoding(), rb_obj_freeze(), rb_parser_append_print(), rb_parser_compile_string(), rb_parser_dump_tree(), rb_parser_new(), rb_parser_set_yydebug(), rb_parser_while_loop(), rb_progname, rb_realpath_internal(), rb_require(), rb_set_safe_level(), rb_stdio_set_default_encoding(), rb_stdout, rb_str_new_cstr(), rb_vm_set_progname(), cmdline_options::req_list, require_libraries(), RSTRING_PTR, ruby_init_loadpath_safe(), ruby_init_prelude(), ruby_set_argv(), ruby_show_copyright(), ruby_show_version(), s, cmdline_options::safe_level, cmdline_options::script, cmdline_options::script_name, cmdline_options::sflag, cmdline_options::src, src_encoding_index, th, usage(), cmdline_options::verbose, version(), cmdline_options::xflag, and yydebug.
Referenced by ruby_process_options().
Definition at line 519 of file ruby.c.
References args, argv, FALSE, ISALNUM, n, p, Qtrue, RARRAY_LEN, RARRAY_PTR(), rb_argv, rb_ary_shift(), rb_class_new_instance(), rb_eNameError, rb_exc_raise(), rb_gv_set(), rb_str_cat(), rb_str_cat2(), rb_str_new2(), strchr(), StringValuePtr, TRUE, and v.
Referenced by process_options().
Definition at line 208 of file ruby.c.
References CharNext, GET_VM, p, path, PATH_SEP_CHAR, rb_ary_push(), rubylib_mangled_path, and s.
Referenced by ruby_push_include().
Definition at line 1218 of file ruby.c.
References rb_funcall_passing_block(), rb_intern, rb_lastline_set(), str, and uscore_get().
Referenced by process_options().
rb_lastline_set | ( | str | ) |
Definition at line 1690 of file ruby.c.
References cmdline_options_init(), load_file(), and rb_parser_new().
Referenced by rb_load_internal().
Definition at line 491 of file ruby.c.
References rb_thread_struct::base_block, CONST_ID, GET_THREAD, Init_ext(), list, OBJ_FREEZE, rb_thread_struct::parse_in_eval, RARRAY_LEN, rb_ary_shift(), rb_cString, rb_default_external_encoding(), rb_enc_associate(), rb_funcall2(), rb_vm_top_self(), RBASIC, and th.
Referenced by load_file_internal(), and process_options().
Definition at line 290 of file ruby.c.
References locale_path(), and ruby_push_include().
Definition at line 307 of file ruby.c.
References expand_include_path(), and ruby_push_include().
Referenced by proc_options().
Definition at line 333 of file ruby.c.
References ruby_init_loadpath_safe().
Definition at line 339 of file ruby.c.
References dln_find_file_r(), expand_include_path(), fbuf, GET_VM, getenv(), identical_path(), MAXPATHLEN, p, PATH_ENV, PREFIX_PATH, Qnil, rb_ary_push(), rb_cObject, rb_const_set(), rb_intern_const, rb_ivar_set(), rb_obj_freeze(), rb_realpath_internal(), rb_str_freeze(), rb_str_new(), rb_str_new_cstr(), rb_str_resize(), RSTRING_PTR, ruby_initial_load_paths, ruby_push_include(), RUBY_RELATIVE, rubylib_mangled_path, STRCASECMP, strlcpy(), strlen(), and strrchr().
Referenced by process_options(), and ruby_init_loadpath().
Definition at line 1114 of file ruby.c.
References Init_prelude(), rb_cObject, rb_const_remove(), and rb_intern_const.
Referenced by process_options().
Definition at line 1817 of file ruby.c.
References cmdline_options_init(), process_options(), rb_gc_register_mark_object(), rb_progname, rb_str_new4(), and ruby_script().
Referenced by ruby_options().
Definition at line 1773 of file ruby.c.
References opt_W_getter(), rb_argv, rb_define_global_const(), rb_define_hooked_variable(), rb_define_variable(), rb_gvar_readonly_setter(), rb_progname, ruby_debug, ruby_verbose, set_arg0(), and verbose_setter().
Referenced by ruby_init().
Definition at line 270 of file ruby.c.
References push_include().
Referenced by ruby_incpush(), ruby_incpush_expand(), and ruby_init_loadpath_safe().
Definition at line 1715 of file ruby.c.
References rb_external_str_new(), rb_progname, rb_vm_set_progname(), and strlen().
Referenced by ruby_process_options().
Definition at line 1796 of file ruby.c.
References arg, argc, av, i, OBJ_FREEZE, origarg, rb_argv, rb_ary_clear(), rb_ary_push(), and rb_external_str_new_cstr().
Referenced by process_options().
Definition at line 1868 of file ruby.c.
References argc, argv, fill_standard_fds(), origarg, and rb_w32_sysinit().
Definition at line 1698 of file ruby.c.
References i, origarg, rb_eRuntimeError, rb_external_str_new(), rb_obj_freeze(), rb_progname, rb_raise(), RSTRING_LEN, RSTRING_PTR, s, setproctitle(), and StringValue.
Referenced by ruby_prog_init().
|
static |
Definition at line 689 of file ruby.c.
References INT2FIX, rb_eRuntimeError, rb_funcall(), rb_intern, rb_raise(), rb_str_new(), RSTRING_PTR, and strlen().
Definition at line 125 of file ruby.c.
Referenced by dump_option(), proc_options(), and process_options().
Definition at line 1154 of file ruby.c.
References NIL_P, rb_eTypeError, rb_lastline_get(), rb_obj_classname(), rb_raise(), T_STRING, and TYPE.
Referenced by rb_f_chop().
struct { ... } origarg |
Referenced by process_options(), ruby_set_argv(), ruby_sysinit(), and set_arg0().
return str |
Definition at line 1183 of file ruby.c.
Referenced by add_id(), allocate_converted_string(), appendline(), argf_getpartial(), argf_next_argv(), argf_read(), BigDecimal_split(), BigDecimal_to_f(), BigDecimal_to_s(), bubblebabble_str_new(), bug_str_modify(), bug_str_modify_expand(), bug_str_set_len(), cannot_be_coerced_into_BigDecimal(), constant_arg(), copy_stream_body(), date_s__strptime_internal(), date_s_httpdate(), date_s_iso8601(), date_s_jisx0301(), date_s_parse(), date_s_rfc2822(), date_s_rfc3339(), date_s_strptime(), date_s_xmlschema(), date_strftime_internal(), date_zone_to_diff(), datetime_s_httpdate(), datetime_s_iso8601(), datetime_s_jisx0301(), datetime_s_parse(), datetime_s_rfc2822(), datetime_s_rfc3339(), datetime_s_strptime(), datetime_s_xmlschema(), defined_expr(), dir_globs(), dir_inspect(), dir_s_glob(), do_writeconv(), dump_disasm_list(), econv_inspect(), econv_putback(), enc_inspect(), enc_names_i(), env_inspect(), env_key(), env_str_new(), err_append(), exc_inspect(), get_inline(), GetConfigPtr(), gzfile_error_inspect(), gzfile_newstr(), gzfile_read_more(), gzfile_read_raw_ensure(), gzfile_read_raw_partial(), gzfile_read_raw_rescue(), gzfile_read_raw_until_zero(), gzfile_reader_get_unused(), gzfile_write_raw(), gzreader_skip_linebreaks(), hexencode_str_new(), hist_push_method(), iconv_conv(), iconv_failure_inspect(), iconv_iconv(), iconv_s_conv(), infect(), insn_data_to_s_detail(), inspect2(), inspect_ary(), inspect_enumerator(), inspect_hash(), inspect_obj(), inspect_range(), inspect_struct(), io_binwrite(), io_enc_str(), io_getc(), io_getpartial(), io_read(), io_reader(), io_s_foreach(), io_shift_cbuf(), iseq_setup(), join_der(), make_inspect(), match_array(), match_at(), match_equal(), match_hash(), match_inspect(), match_to_s(), method_inspect(), mime_putc(), mktime_do(), name_err_mesg_load(), name_err_to_s(), obj_to_asn1derstr(), obj_to_asn1str(), ole_typedesc2val(), onig_match(), onig_search(), option_to_str(), ossl_asn1cons_to_der(), ossl_asn1prim_to_der(), ossl_bn_initialize(), ossl_bn_to_s(), ossl_buf2str(), ossl_cipher_final(), ossl_cipher_update(), ossl_dh_compute_key(), ossl_dh_export(), ossl_dh_to_der(), ossl_dh_to_text(), ossl_digest_finish(), ossl_dsa_export(), ossl_dsa_sign(), ossl_dsa_to_der(), ossl_dsa_to_text(), ossl_make_error(), ossl_pkcs12_to_der(), ossl_pkcs7_decrypt(), ossl_pkcs7_s_write_smime(), ossl_pkcs7_to_der(), ossl_pkcs7_to_pem(), ossl_pkey_sign(), ossl_rand_bytes(), ossl_rand_pseudo_bytes(), ossl_rand_seed(), ossl_rsa_export(), ossl_rsa_private_decrypt(), ossl_rsa_private_encrypt(), ossl_rsa_public_decrypt(), ossl_rsa_public_encrypt(), ossl_rsa_to_der(), ossl_rsa_to_text(), ossl_spki_print(), ossl_spki_set_challenge(), ossl_spki_to_der(), ossl_spki_to_pem(), ossl_ssl_read_internal(), ossl_ssl_session_to_der(), ossl_ssl_session_to_pem(), ossl_ssl_session_to_text(), ossl_sslctx_set_ciphers(), ossl_x509_get_signature_algorithm(), ossl_x509_to_der(), ossl_x509_to_pem(), ossl_x509_to_text(), ossl_x509attr_get_value(), ossl_x509attr_to_der(), ossl_x509crl_get_signature_algorithm(), ossl_x509crl_to_der(), ossl_x509crl_to_pem(), ossl_x509crl_to_text(), ossl_x509ext_to_der(), ossl_x509name_initialize(), ossl_x509name_to_der(), ossl_x509name_to_s(), ossl_x509name_to_s_old(), ossl_x509req_get_signature_algorithm(), ossl_x509req_to_der(), ossl_x509req_to_pem(), ossl_x509req_to_text(), parser_magic_comment(), parser_str_new(), path_basename(), path_dirname(), path_entries(), path_expand_path(), path_extname(), path_fnmatch(), path_initialize(), path_inspect(), path_mkdir(), path_readlink(), path_realdirpath(), path_realpath(), path_s_getwd(), path_split(), path_sub(), path_sub_ext(), path_unlink(), proc_to_s(), pst_inspect(), pst_to_s(), r_bytes0(), r_object0(), range_to_s(), rb_any_to_s(), rb_check_string_type(), rb_cstr_to_inum(), rb_digest_base_finish(), rb_digest_class_s_digest(), rb_digest_instance_digest(), rb_digest_instance_hexdigest(), rb_digest_instance_inspect(), rb_dlptr_s_to_ptr(), rb_econv_insert_output(), rb_enc_aliases_enc_i(), rb_enc_cr_str_buf_cat(), rb_enc_name_list_i(), rb_enc_str_new(), rb_enc_uint_chr(), rb_external_str_new_with_enc(), rb_f_chop(), rb_f_getenv(), rb_f_kill(), rb_find_file_ext_safe(), rb_find_file_safe(), rb_gdbm_fetch(), rb_gdbm_firstkey(), rb_gdbm_nextkey(), rb_gzfile_comment(), rb_gzfile_orig_name(), rb_gzfile_set_comment(), rb_gzfile_set_orig_name(), rb_gzreader_each(), rb_gzreader_readlines(), rb_id2str(), rb_intern3(), rb_io_each_line(), rb_io_getline_1(), rb_io_getline_fast(), rb_io_gets_m(), rb_io_putc(), rb_io_sysread(), rb_iseq_disasm(), rb_iseq_disasm_insn(), rb_obj_as_string(), rb_obj_inspect(), rb_p(), rb_proc_exec(), rb_reg_desc(), rb_reg_initialize_m(), rb_reg_match_m(), rb_reg_match_post(), rb_reg_match_pre(), rb_reg_nth_match(), rb_reg_preprocess_dregexp(), rb_reg_regcomp(), rb_reg_regsub(), rb_reg_source(), rb_reg_to_s(), rb_set_class_path(), rb_set_class_path_string(), rb_stat_inspect(), rb_str_append(), rb_str_aref(), rb_str_buf_append(), rb_str_buf_cat(), rb_str_buf_cat_ascii(), rb_str_buf_new(), rb_str_buf_new_cstr(), rb_str_capitalize(), rb_str_capitalize_bang(), rb_str_cat(), rb_str_catf(), rb_str_chomp(), rb_str_chomp_bang(), rb_str_chop_bang(), rb_str_clear(), rb_str_delete(), rb_str_delete_bang(), rb_str_downcase(), rb_str_downcase_bang(), rb_str_drop_bytes(), rb_str_each_byte(), rb_str_each_char(), rb_str_each_codepoint(), rb_str_each_line(), rb_str_ellipsize(), rb_str_encode(), rb_str_force_encoding(), rb_str_format(), rb_str_init(), rb_str_insert(), rb_str_lstrip(), rb_str_lstrip_bang(), rb_str_match_m(), rb_str_new_frozen(), rb_str_prepend(), rb_str_replace(), rb_str_resize(), rb_str_reverse_bang(), rb_str_rstrip(), rb_str_rstrip_bang(), rb_str_scan(), rb_str_squeeze(), rb_str_squeeze_bang(), rb_str_strip(), rb_str_strip_bang(), rb_str_sub(), rb_str_sub_bang(), rb_str_succ(), rb_str_succ_bang(), rb_str_swapcase(), rb_str_swapcase_bang(), rb_str_to_s(), rb_str_tr(), rb_str_tr_s(), rb_str_unlocktmp(), rb_str_upcase(), rb_str_upcase_bang(), rb_str_vcatf(), rb_syck_mktime(), rb_tainted_str_new_cstr(), rb_thread_current_status(), rb_thread_inspect(), rb_usascii_str_new(), rb_zlib_version(), read_all(), reg_match_pos(), remove_sign_bits(), rsock_s_recvfrom(), rsock_s_recvfrom_nonblock(), RUBY_ALIAS_FUNCTION(), ruby_brace_expand(), ruby_debug_print_value(), ruby_each_words(), ruby_setenv(), ruby_strtoul(), scan_digits(), set_file_encoding(), str_alloc(), str_buf_cat(), str_byte_aref(), str_encode(), str_encode_associate(), str_encode_bang(), str_gsub(), str_new(), str_replace(), str_replace_shared(), str_transcode0(), strftimev(), strio_getline(), strio_gets(), strio_read(), strio_set_encoding(), strio_substr(), strio_ungetbyte(), strscan_do_scan(), strscan_initialize(), strscan_set_string(), syck_emit_1quoted(), syck_emit_2quoted(), syck_emit_folded(), syck_emit_literal(), syck_match_implicit(), syck_out_scalar(), sycklex_bytecode_utf8(), sym_inspect(), sys_fail2(), syserr_initialize(), syslog_write(), time_dump(), time_mdump(), time_strftime(), tr_trans(), update_char_offset(), vm_check_if_namespace(), and writer().