Ruby  2.0.0p648(2015-12-16revision53162)
Data Structures | Macros | Enumerations | Functions | Variables
ruby.c File Reference
#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 numberof(array)   (int)(sizeof(array) / sizeof((array)[0]))
 
#define DEFAULT_RUBYGEMS_ENABLED   "enabled"
 
#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 M(shortopt, longopt, desc)
 
#define SHOW(m)
 
#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_version_v, dump_copyright, dump_usage,
  dump_help, dump_yydebug, dump_syntax, dump_parsetree,
  dump_parsetree_with_comment, dump_insns, dump_flag_count
}
 

Functions

char * getenv ()
 
static void init_ids (struct cmdline_options *)
 
static struct cmdline_optionscmdline_options_init (struct cmdline_options *opt)
 
static NODEload_file (VALUE, VALUE, int, struct cmdline_options *)
 
static void forbid_setid (const char *, struct cmdline_options *)
 
static void usage (const char *name, int help)
 
static void push_include (const char *path, VALUE(*filter)(VALUE))
 
void ruby_push_include (const char *path, VALUE(*filter)(VALUE))
 
static VALUE identical_path (VALUE path)
 
static VALUE locale_path (VALUE path)
 
void ruby_incpush (const char *path)
 
static VALUE expand_include_path (VALUE path)
 
void ruby_incpush_expand (const char *path)
 
void ruby_init_loadpath_safe (int safe_level)
 
void ruby_init_loadpath (void)
 
static void add_modules (VALUE *req_list, const char *mod)
 
static void require_libraries (VALUE *req_list)
 
static rb_env_ttoplevel_context (VALUE toplevel_binding)
 
static void process_sflag (int *sflag)
 
static long proc_options (long argc, char **argv, struct cmdline_options *opt, int envopt)
 
static void moreswitches (const char *s, struct cmdline_options *opt, int envopt)
 
static void enable_option (const char *str, int len, void *arg)
 
static void disable_option (const char *str, int len, void *arg)
 
static void dump_option (const char *str, int len, void *arg)
 
static void set_option_encoding_once (const char *type, VALUE *name, const char *e, long elen)
 
static void ruby_init_prelude (void)
 
static int opt_enc_index (VALUE enc_name)
 
static VALUE false_value (void)
 
static VALUE true_value (void)
 
static VALUE uscore_get (void)
 
static VALUE rb_f_sub (int argc, VALUE *argv)
 
static VALUE rb_f_gsub (int argc, VALUE *argv)
 
static VALUE rb_f_chop (void)
 
static VALUE rb_f_chomp (int argc, VALUE *argv)
 
void Init_enc (void)
 
static VALUE process_options (int argc, char **argv, struct cmdline_options *opt)
 
static VALUE load_file_internal (VALUE arg)
 
static VALUE restore_lineno (VALUE lineno)
 
void * rb_load_file (const char *fname)
 
static void set_arg0 (VALUE val, ID id)
 
void ruby_script (const char *name)
 Sets the current script name to this value. More...
 
void ruby_set_script_name (VALUE name)
 Sets the current script name to this value. More...
 
static void verbose_setter (VALUE val, ID id, void *data)
 
static VALUE opt_W_getter (ID id, void *data)
 
void ruby_prog_init (void)
 Defines built-in variables. More...
 
void ruby_set_argv (int argc, char **argv)
 
void * ruby_process_options (int argc, char **argv)
 
static void fill_standard_fds (void)
 
void ruby_sysinit (int *argc, char ***argv)
 Initializes the process for ruby(1). More...
 

Variables

struct {
   int   argc
 
   char **   argv
 
origarg
 
VALUE rb_argv0
 

Macro Definition Documentation

◆ check_envopt

#define check_envopt (   name,
  allow_envopt 
)
Value:
(((allow_envopt) || !envopt) ? (void)0 : \
rb_raise(rb_eRuntimeError, "invalid switch in RUBYOPT: --" name))
void rb_raise(VALUE exc, const char *fmt,...)
Definition: error.c:1788
VALUE rb_eRuntimeError
Definition: error.c:515
const char * name
Definition: nkf.c:208

◆ DEFAULT_RUBYGEMS_ENABLED

#define DEFAULT_RUBYGEMS_ENABLED   "enabled"

Definition at line 60 of file ruby.c.

Referenced by usage().

◆ DISABLE_BIT

#define DISABLE_BIT (   bit)    (1U << disable_##bit)

Definition at line 63 of file ruby.c.

Referenced by cmdline_options_init(), and process_options().

◆ DUMP_BIT

#define DUMP_BIT (   bit)    (1U << dump_##bit)

Definition at line 70 of file ruby.c.

Referenced by proc_options(), and process_options().

◆ forbid_setid

#define forbid_setid (   s)    forbid_setid((s), opt)

Definition at line 127 of file ruby.c.

Referenced by load_file_internal(), proc_options(), and process_options().

◆ is_option_end

#define is_option_end (   c,
  allow_hyphen 
)    (!(c) || ((allow_hyphen) && (c) == '-') || (c) == '=')

◆ is_option_with_arg

#define is_option_with_arg (   name,
  allow_hyphen,
  allow_envopt 
)
Value:
(strncmp((name), s, n = sizeof(name) - 1) == 0 && is_option_end(s[n], (allow_hyphen)) ? \
(check_envopt(name, (allow_envopt)), s += n, need_argument(name, s), 1) : 0)
#define check_envopt(name, allow_envopt)
#define is_option_end(c, allow_hyphen)
#define need_argument(name, s)
const char * name
Definition: nkf.c:208

Referenced by proc_options().

◆ M

#define M (   shortopt,
  longopt,
  desc 
)
Value:
{ \
shortopt " " longopt " " desc, \
(unsigned short)sizeof(shortopt), \
(unsigned short)sizeof(longopt), \
}

Referenced by usage().

◆ MAXPATHLEN

#define MAXPATHLEN   1024

Definition at line 46 of file ruby.c.

Referenced by process_options(), and ruby_init_loadpath_safe().

◆ NAME_MATCH_P

#define NAME_MATCH_P (   name,
  str,
  len 
)    ((len) < (int)sizeof(name) && strncmp((str), (name), (len)) == 0)

Definition at line 685 of file ruby.c.

Referenced by disable_option(), and enable_option().

◆ need_argument

#define need_argument (   name,
 
)
Value:
((*(s)++ ? !*(s) : (!--argc || !((s) = *++argv))) ? \
rb_raise(rb_eRuntimeError, "missing argument for --" name) \
: (void)0)
VALUE rb_eRuntimeError
Definition: error.c:515
int argc
Definition: ruby.c:130
const char * name
Definition: nkf.c:208
char ** argv
Definition: ruby.c:131

◆ numberof

#define numberof (   array)    (int)(sizeof(array) / sizeof((array)[0]))

Definition at line 55 of file ruby.c.

Referenced by usage().

◆ PREFIX_PATH

#define PREFIX_PATH ( )    RUBY_RELATIVE(exec_prefix, sizeof(exec_prefix)-1)

Referenced by ruby_init_loadpath_safe().

◆ PREPARE_PARSE_MAIN

#define PREPARE_PARSE_MAIN (   expr)
Value:
do { \
rb_env_t *env = toplevel_context(toplevel_binding); \
th->parse_in_eval--; \
th->base_block = &env->block; \
expr; \
th->parse_in_eval++; \
th->base_block = 0; \
} while (0)
static rb_env_t * toplevel_context(VALUE toplevel_binding)
Definition: ruby.c:562
#define env

Referenced by process_options().

◆ rb_define_readonly_boolean

#define rb_define_readonly_boolean (   name,
  val 
)    rb_define_virtual_variable((name), (val) ? true_value : false_value, 0)

Definition at line 1205 of file ruby.c.

Referenced by process_options().

◆ rb_progname

#define rb_progname   (GET_VM()->progname)

◆ RUBY_RELATIVE

#define RUBY_RELATIVE (   path,
  len 
)    rubylib_mangled_path((path), (len))

Referenced by ruby_init_loadpath_safe().

◆ rubylib_mangled_path

#define rubylib_mangled_path   rb_str_new

Definition at line 250 of file ruby.c.

Referenced by push_include(), and ruby_init_loadpath_safe().

◆ set_encoding_part

#define set_encoding_part (   type)
Value:
if (!(p = strchr(s, ':'))) { \
set_##type##_encoding_once(opt, s, 0); \
break; \
} \
else if (p > s) { \
set_##type##_encoding_once(opt, s, p-s); \
}
Win32OLEIDispatch * p
Definition: win32ole.c:786
int type
Definition: tcltklib.c:111
char * strchr(char *, char)

Referenced by proc_options().

◆ set_external_encoding_once

#define set_external_encoding_once (   opt,
  e,
  elen 
)    set_option_encoding_once("default_external", &(opt)->ext.enc.name, (e), (elen))

Definition at line 761 of file ruby.c.

Referenced by proc_options().

◆ set_internal_encoding_once

#define set_internal_encoding_once (   opt,
  e,
  elen 
)    set_option_encoding_once("default_internal", &(opt)->intern.enc.name, (e), (elen))

Definition at line 759 of file ruby.c.

Referenced by proc_options().

◆ set_source_encoding_once

#define set_source_encoding_once (   opt,
  e,
  elen 
)    set_option_encoding_once("source", &(opt)->src.enc.name, (e), (elen))

Definition at line 763 of file ruby.c.

Referenced by proc_options().

◆ SET_WHEN

#define SET_WHEN (   name,
  bit,
  str,
  len 
)
Value:
if (NAME_MATCH_P((name), (str), (len))) { \
*(unsigned int *)arg |= (bit); \
return; \
}
#define NAME_MATCH_P(name, str, len)
Definition: ruby.c:685
const char * name
Definition: nkf.c:208

Definition at line 694 of file ruby.c.

◆ SET_WHEN_DISABLE

#define SET_WHEN_DISABLE (   bit)    SET_WHEN(#bit, DISABLE_BIT(bit), str, len)

Referenced by disable_option().

◆ SET_WHEN_DUMP

#define SET_WHEN_DUMP (   bit)    SET_WHEN(#bit, DUMP_BIT(bit), str, len)

Referenced by dump_option().

◆ SHOW

#define SHOW (   m)
Value:
do { \
int wrap = help && (m).namelen + (m).secondlen - 2 > w; \
printf(" %.*s%-*.*s%-*s%s\n", (m).namelen-1, (m).str, \
(wrap ? 0 : w - (m).namelen + 1), \
(help ? (m).secondlen-1 : 0), (m).str + (m).namelen, \
(wrap ? w + 3 : 0), (wrap ? "\n" : ""), \
(m).str + (m).namelen + (m).secondlen); \
} while (0)

Referenced by usage().

◆ src_encoding_index

#define src_encoding_index   GET_VM()->src_encoding_index

Definition at line 109 of file ruby.c.

Referenced by cmdline_options_init(), load_file_internal(), and process_options().

◆ UNSET_WHEN

#define UNSET_WHEN (   name,
  bit,
  str,
  len 
)
Value:
if (NAME_MATCH_P((name), (str), (len))) { \
*(unsigned int *)arg &= ~(bit); \
return; \
}
#define NAME_MATCH_P(name, str, len)
Definition: ruby.c:685
const char * name
Definition: nkf.c:208

Definition at line 688 of file ruby.c.

◆ UNSET_WHEN_DISABLE

#define UNSET_WHEN_DISABLE (   bit)    UNSET_WHEN(#bit, DISABLE_BIT(bit), str, len)

Referenced by enable_option().

Enumeration Type Documentation

◆ disable_flag_bits

Enumerator
disable_gems 
disable_rubyopt 
disable_flag_count 

Definition at line 64 of file ruby.c.

◆ dump_flag_bits

Enumerator
dump_version 
dump_version_v 
dump_copyright 
dump_usage 
dump_help 
dump_yydebug 
dump_syntax 
dump_parsetree 
dump_parsetree_with_comment 
dump_insns 
dump_flag_count 

Definition at line 71 of file ruby.c.

Function Documentation

◆ add_modules()

static void add_modules ( VALUE req_list,
const char *  mod 
)
static

Definition at line 522 of file ruby.c.

References list, mod, rb_ary_new(), rb_ary_push(), rb_str_new2(), and RBASIC.

Referenced by proc_options().

◆ cmdline_options_init()

static struct cmdline_options* cmdline_options_init ( struct cmdline_options opt)
static

◆ disable_option()

static void disable_option ( const char *  str,
int  len,
void *  arg 
)
static

Definition at line 714 of file ruby.c.

References NAME_MATCH_P, rb_warn(), and SET_WHEN_DISABLE.

Referenced by proc_options().

◆ dump_option()

static void dump_option ( const char *  str,
int  len,
void *  arg 
)
static

Definition at line 727 of file ruby.c.

References rb_warn(), SET_WHEN_DUMP, usage(), version(), and yydebug.

Referenced by proc_options().

◆ enable_option()

static void enable_option ( const char *  str,
int  len,
void *  arg 
)
static

Definition at line 701 of file ruby.c.

References NAME_MATCH_P, rb_warn(), and UNSET_WHEN_DISABLE.

Referenced by proc_options().

◆ expand_include_path()

static VALUE expand_include_path ( VALUE  path)
static

Definition at line 342 of file ruby.c.

References p, Qnil, rb_file_expand_path(), and RSTRING_PTR.

Referenced by ruby_incpush_expand(), and ruby_init_loadpath_safe().

◆ false_value()

static VALUE false_value ( void  )
static

Definition at line 1194 of file ruby.c.

References Qfalse.

◆ fill_standard_fds()

static void fill_standard_fds ( void  )
static

Definition at line 1919 of file ruby.c.

References buf, dup2(), errno, fstat, and stat.

Referenced by ruby_sysinit().

◆ forbid_setid()

static void forbid_setid ( const char *  s,
struct cmdline_options opt 
)
static

◆ getenv()

char* getenv ( )

◆ identical_path()

static VALUE identical_path ( VALUE  path)
static

Definition at line 324 of file ruby.c.

Referenced by ruby_init_loadpath_safe().

◆ Init_enc()

void Init_enc ( void  )

Definition at line 7 of file dmyext.c.

Referenced by init_libraries_internal(), and process_options().

◆ init_ids()

static void init_ids ( struct cmdline_options opt)
static

◆ load_file()

static NODE * load_file ( VALUE  parser,
VALUE  fname,
int  script,
struct cmdline_options opt 
)
static

◆ load_file_internal()

static VALUE load_file_internal ( VALUE  arg)
static

◆ locale_path()

static VALUE locale_path ( VALUE  path)
static

Definition at line 329 of file ruby.c.

References rb_enc_associate(), and rb_locale_encoding().

Referenced by ruby_incpush().

◆ moreswitches()

static void moreswitches ( const char *  s,
struct cmdline_options opt,
int  envopt 
)
static

◆ opt_enc_index()

static int opt_enc_index ( VALUE  enc_name)
static

◆ opt_W_getter()

static VALUE opt_W_getter ( ID  id,
void *  data 
)
static

Definition at line 1836 of file ruby.c.

References INT2FIX, Qfalse, Qnil, and Qtrue.

Referenced by ruby_prog_init().

◆ proc_options()

static long proc_options ( long  argc,
char **  argv,
struct cmdline_options opt,
int  envopt 
)
static

◆ process_options()

static VALUE process_options ( int  argc,
char **  argv,
struct cmdline_options opt 
)
static

Definition at line 1300 of file ruby.c.

References argc, argv, 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, cmdline_options::ext, fbuf, FL_TAINT, FL_UNSET, forbid_setid, GET_THREAD(), GET_VM, getenv(), i, Init_enc(), cmdline_options::intern, load_file(), MAXPATHLEN, moreswitches(), OBJ_TAINT, opt_enc_index(), origarg, PATH_ENV, PREPARE_PARSE_MAIN, proc_options(), process_sflag(), Qfalse, Qnil, Qtrue, Qundef, 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_chomp(), rb_f_chop(), rb_f_gsub(), rb_f_sub(), 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_require(), rb_set_safe_level(), rb_stdio_set_default_encoding(), rb_stdout, rb_str_dup(), rb_str_new_cstr(), rb_warning(), cmdline_options::req_list, require_libraries(), RSTRING_PTR, ruby_init_loadpath_safe(), ruby_init_prelude(), ruby_set_argv(), ruby_set_script_name(), ruby_show_copyright(), ruby_show_version(), cmdline_options::safe_level, cmdline_options::script, cmdline_options::script_name, cmdline_options::sflag, cmdline_options::src, src_encoding_index, usage(), cmdline_options::verbose, version(), cmdline_options::xflag, and yydebug.

Referenced by ruby_process_options().

◆ process_sflag()

static void process_sflag ( int *  sflag)
static

◆ push_include()

static void push_include ( const char *  path,
VALUE(*)(VALUE filter 
)
static

Definition at line 254 of file ruby.c.

References CharNext, GET_VM, p, PATH_SEP_CHAR, rb_ary_push(), and rubylib_mangled_path.

Referenced by ruby_push_include().

◆ rb_f_chomp()

static VALUE rb_f_chomp ( int  argc,
VALUE argv 
)
static

Definition at line 1289 of file ruby.c.

References argc, argv, rb_funcall_passing_block(), rb_intern, rb_lastline_set(), and uscore_get().

Referenced by process_options().

◆ rb_f_chop()

static VALUE rb_f_chop ( void  )
static

Definition at line 1269 of file ruby.c.

References rb_funcall_passing_block(), rb_intern, rb_lastline_set(), and uscore_get().

Referenced by process_options().

◆ rb_f_gsub()

static VALUE rb_f_gsub ( int  argc,
VALUE argv 
)
static

Definition at line 1251 of file ruby.c.

References argc, argv, rb_funcall_passing_block(), rb_intern, rb_lastline_set(), and uscore_get().

Referenced by process_options().

◆ rb_f_sub()

static VALUE rb_f_sub ( int  argc,
VALUE argv 
)
static

Definition at line 1232 of file ruby.c.

References argc, argv, rb_funcall_passing_block(), rb_intern, rb_lastline_set(), and uscore_get().

Referenced by process_options().

◆ rb_load_file()

void* rb_load_file ( const char *  fname)

Definition at line 1751 of file ruby.c.

References cmdline_options_init(), load_file(), rb_parser_new(), and rb_str_new_cstr().

Referenced by rb_load_internal().

◆ require_libraries()

static void require_libraries ( VALUE req_list)
static

◆ restore_lineno()

static VALUE restore_lineno ( VALUE  lineno)
static

Definition at line 1734 of file ruby.c.

References rb_gv_set().

Referenced by load_file().

◆ ruby_incpush_expand()

void ruby_incpush_expand ( const char *  path)

Definition at line 353 of file ruby.c.

References expand_include_path(), and ruby_push_include().

Referenced by proc_options().

◆ ruby_init_loadpath_safe()

void ruby_init_loadpath_safe ( int  safe_level)

◆ ruby_init_prelude()

static void ruby_init_prelude ( void  )
static

Definition at line 1169 of file ruby.c.

References Init_prelude(), rb_cObject, rb_const_remove(), and rb_intern_const.

Referenced by process_options().

◆ ruby_push_include()

void ruby_push_include ( const char *  path,
VALUE(*)(VALUE filter 
)

Definition at line 316 of file ruby.c.

References push_include().

Referenced by ruby_incpush(), ruby_incpush_expand(), and ruby_init_loadpath_safe().

◆ set_arg0()

static void set_arg0 ( VALUE  val,
ID  id 
)
static

◆ set_option_encoding_once()

static void set_option_encoding_once ( const char *  type,
VALUE name,
const char *  e,
long  elen 
)
static

◆ toplevel_context()

static rb_env_t* toplevel_context ( VALUE  toplevel_binding)
static

Definition at line 562 of file ruby.c.

References env, rb_binding_t::env, GetBindingPtr, and GetEnvPtr.

◆ true_value()

static VALUE true_value ( void  )
static

Definition at line 1200 of file ruby.c.

References Qtrue.

◆ usage()

static void usage ( const char *  name,
int  help 
)
static

Definition at line 135 of file ruby.c.

References DEFAULT_RUBYGEMS_ENABLED, i, M, name, numberof, and SHOW.

Referenced by dump_option(), proc_options(), and process_options().

◆ uscore_get()

static VALUE uscore_get ( void  )
static

◆ verbose_setter()

static void verbose_setter ( VALUE  val,
ID  id,
void *  data 
)
static

Definition at line 1829 of file ruby.c.

References Qtrue, RTEST, and val.

Referenced by ruby_prog_init().

Variable Documentation

◆ argc

int argc

Definition at line 130 of file ruby.c.

Referenced by addrinfo_getnameinfo(), addrinfo_initialize(), addrinfo_s_getaddrinfo(), alloc_invoke_arguments(), argf_each_line(), argf_forward(), argf_getline(), argf_getpartial(), argf_gets(), argf_lines(), argf_read(), argf_read_nonblock(), argf_readline(), argf_readlines(), argf_readpartial(), argf_seek_m(), argf_set_encoding(), ary_ensure_room_for_unshift(), ary_take_first_or_last(), BigDecimal_ceil(), BigDecimal_div2(), BigDecimal_dump(), BigDecimal_floor(), BigDecimal_global_new(), BigDecimal_initialize(), BigDecimal_limit(), BigDecimal_mode(), BigDecimal_new(), BigDecimal_power(), BigDecimal_round(), BigDecimal_to_s(), BigDecimal_truncate(), bind_eval(), bmcall(), bsock_recv(), bsock_recv_nonblock(), bsock_setsockopt(), bsock_shutdown(), call_cfunc_m1(), call_cfunc_m2(), callback(), cbsubst_get_subst_arg(), cbsubst_initialize(), cbsubst_table_setup(), check_funcall_missing(), class_instance_method_list(), collect_all(), collect_i(), compat_init_setproctitle(), console_getch(), console_raw(), console_set_raw(), core_hash_merge(), count_iter_i(), count_nodes(), count_objects(), count_objects_size(), count_tdata_objects(), cParser_initialize(), cState_initialize(), curry(), d_lite_new_offset(), d_lite_new_start(), d_lite_next_day(), d_lite_next_month(), d_lite_next_year(), d_lite_prev_day(), d_lite_prev_month(), d_lite_prev_year(), d_lite_step(), d_lite_strftime(), date_s__parse(), date_s__parse_internal(), date_s__strptime(), date_s__strptime_internal(), date_s_civil(), date_s_commercial(), date_s_httpdate(), date_s_iso8601(), date_s_jd(), date_s_jisx0301(), date_s_ordinal(), date_s_parse(), date_s_rfc2822(), date_s_rfc3339(), date_s_strptime(), date_s_today(), date_s_valid_civil_p(), date_s_valid_commercial_p(), date_s_valid_jd_p(), date_s_valid_ordinal_p(), date_s_xmlschema(), date_strftime_internal(), datetime_s__strptime(), datetime_s_civil(), datetime_s_commercial(), datetime_s_httpdate(), datetime_s_iso8601(), datetime_s_jd(), datetime_s_jisx0301(), datetime_s_now(), datetime_s_ordinal(), datetime_s_parse(), datetime_s_rfc2822(), datetime_s_rfc3339(), datetime_s_strptime(), datetime_s_xmlschema(), define_filetest_function(), define_final(), delete_slaves(), dir_entries(), dir_foreach(), dir_globs(), dir_initialize(), dir_open_dir(), dir_s_aref(), dir_s_chdir(), dir_s_glob(), dir_s_home(), dir_s_mkdir(), dir_s_open(), do_checksum(), drop_i(), dt_lite_iso8601(), dt_lite_jisx0301(), dt_lite_rfc3339(), dt_lite_strftime(), each_with_index_i(), econv_args(), econv_init(), econv_primitive_convert(), econv_putback(), econv_s_search_convpath(), enc_dump(), enum_chunk(), enum_count(), enum_cycle(), enum_each_entry(), enum_each_with_index(), enum_find(), enum_find_index(), enum_first(), enum_inject(), enum_reverse_each(), enum_slice_before(), enum_to_a(), enum_zip(), enumerator_block_call(), enumerator_each(), enumerator_init(), enumerator_initialize(), enumerator_with_index(), enumerator_with_index_i(), enumerator_with_object_i(), env_fetch(), env_values_at(), esignal_init(), establishShell(), etc_getgrgid(), etc_getpwuid(), ev_advise(), ev_on_event(), exc_exception(), exc_initialize(), exit_initialize(), exp2(), f_round_common(), fdbm_fetch_m(), fdbm_initialize(), fdbm_s_open(), fdbm_values_at(), fev_initialize(), fev_off_event(), fev_on_event(), fev_on_event_with_outargs(), fgdbm_fetch_m(), fgdbm_initialize(), fgdbm_s_open(), fgdbm_values_at(), fiber_switch(), file_s_fnmatch(), find_index_iter_i(), fix_to_s(), flat_map_i(), flo_round(), float_rationalize(), flock_winnt(), fole_getproperty_with_bracket(), fole_initialize(), fole_invoke(), fole_missing(), fole_s_connect(), fole_s_const_load(), fole_s_show_help(), fole_setproperty(), fole_setproperty_with_bracket(), folevariant_ary_aref(), folevariant_ary_aset(), free_invoke_arguments(), fsdbm_fetch_m(), fsdbm_initialize(), fsdbm_s_open(), fsdbm_values_at(), function_call(), gc_profile_report(), gc_stat(), generator_each(), generator_initialize(), get_hash(), goruby_options(), gzfile_s_open(), gzfile_wrap(), gzreader_gets(), hist_push_method(), initialize(), inspect_enumerator(), int_chr(), int_round(), integer_rationalize(), interrupt_init(), invoke_block_from_c(), invoke_tcl_proc(), io_getch(), io_getpartial(), io_read(), io_read_nonblock(), io_readpartial(), io_s_write(), io_wait_readable(), io_wait_writable(), ip_addr(), ip_cancel_eval(), ip_cancel_eval_unwind(), ip_create_slave(), ip_do_one_event(), ip_fromUTF8(), ip_init(), ip_invoke(), ip_invoke_core(), ip_invoke_immediate(), ip_invoke_real(), ip_invoke_with_position(), ip_mainloop(), ip_mainloop_watchdog(), ip_peeraddr(), ip_recvfrom(), ip_ruby_cmd(), ip_ruby_eval(), ip_RubyExitCommand(), ip_toUTF8(), iseq_build_from_ary_body(), iseq_compile_each(), iseq_s_compile(), iseq_s_compile_file(), iseq_s_load(), lazy_drop_func(), lazy_drop_while_func(), lazy_flat_map_func(), lazy_flat_map_i(), lazy_grep_func(), lazy_grep_iter(), lazy_init_block_i(), lazy_init_iterator(), lazy_initialize(), lazy_map_func(), lazy_reject_func(), lazy_select_func(), lazy_super(), lazy_take_func(), lazy_take_while_func(), lazy_to_enum(), lazy_to_enum_i(), lazy_zip(), lazy_zip_func(), lib_do_one_event(), lib_do_one_event_core(), lib_fromUTF8(), lib_mainloop(), lib_mainloop_watchdog(), lib_merge_tklist(), lib_split_tklist_core(), lib_thread_callback(), lib_toUTF8(), m_core_hash_merge_ptr(), main(), make_exception(), make_no_method_exception(), make_passing_arg(), marshal_dump(), marshal_load(), match_aref(), match_values_at(), math_log(), member_i(), memsize_of_all_m(), method_missing(), mObject_to_json(), moreswitches(), mString_to_json_raw(), mSyslog_log(), mSyslog_open(), mSyslog_reopen(), mutex_sleep(), name_err_initialize(), new_callinfo(), new_insn_body(), new_insn_core(), new_insn_send(), next_ii(), nilclass_rationalize(), nometh_err_initialize(), nucomp_f_complex(), nucomp_rationalize(), nucomp_s_convert(), nucomp_s_new(), nucomp_s_polar(), num_round(), num_step(), nurat_ceil_n(), nurat_f_rational(), nurat_floor_n(), nurat_rationalize(), nurat_round_n(), nurat_s_convert(), nurat_s_new(), nurat_truncate_n(), obj_respond_to(), obj_to_enum(), ole_bind_obj(), ole_invoke(), open_key_args(), os_each_obj(), ossl_asn1_initialize(), ossl_bn_initialize(), ossl_bn_is_prime(), ossl_bn_is_prime_fasttest(), ossl_bn_s_generate_prime(), ossl_bn_to_s(), ossl_cipher_decrypt(), ossl_cipher_encrypt(), ossl_cipher_init(), ossl_cipher_pkcs5_keyivgen(), ossl_cipher_update(), ossl_dh_initialize(), ossl_dh_s_generate(), ossl_digest_finish(), ossl_digest_initialize(), ossl_dsa_export(), ossl_dsa_initialize(), ossl_pkcs12_initialize(), ossl_pkcs12_s_create(), ossl_pkcs7_decrypt(), ossl_pkcs7_initialize(), ossl_pkcs7_s_encrypt(), ossl_pkcs7_s_sign(), ossl_pkcs7_s_write_smime(), ossl_pkcs7_verify(), ossl_pkey_new_from_data(), ossl_rsa_export(), ossl_rsa_initialize(), ossl_rsa_private_decrypt(), ossl_rsa_private_encrypt(), ossl_rsa_public_decrypt(), ossl_rsa_public_encrypt(), ossl_rsa_s_generate(), ossl_spki_initialize(), ossl_ssl_initialize(), ossl_ssl_read(), ossl_ssl_read_internal(), ossl_ssl_read_nonblock(), ossl_sslctx_flush_sessions(), ossl_sslctx_initialize(), ossl_x509_initialize(), ossl_x509attr_initialize(), ossl_x509crl_initialize(), ossl_x509ext_initialize(), ossl_x509extfactory_create_ext(), ossl_x509extfactory_initialize(), ossl_x509name_add_entry(), ossl_x509name_initialize(), ossl_x509name_to_s(), ossl_x509req_initialize(), ossl_x509stctx_initialize(), ossl_x509store_verify(), parse(), path_basename(), path_binread(), path_each_line(), path_expand_path(), path_fnmatch(), path_mkdir(), path_open(), path_read(), path_readlines(), path_realdirpath(), path_realpath(), path_s_glob(), path_sub(), path_sysopen(), pipe_open(), pipe_open_s(), prepare_getline_args(), proc_call(), proc_curry(), proc_options(), proc_wait(), proc_wait2(), process_options(), pty_check(), pty_getpty(), raise_method_missing(), rand_random(), random_init(), random_rand(), random_s_rand(), range_first(), range_initialize(), range_last(), range_step(), rawmode_opt(), rb_add_method_cfunc(), rb_apply(), rb_arg_error_new(), rb_ary_aref(), rb_ary_aset(), rb_ary_count(), rb_ary_cycle(), rb_ary_fetch(), rb_ary_fill(), rb_ary_first(), rb_ary_flatten(), rb_ary_flatten_bang(), rb_ary_index(), rb_ary_initialize(), rb_ary_insert(), rb_ary_join_m(), rb_ary_last(), rb_ary_permutation(), rb_ary_pop_m(), rb_ary_product(), rb_ary_push_m(), rb_ary_rindex(), rb_ary_rotate_bang(), rb_ary_rotate_m(), rb_ary_s_create(), rb_ary_sample(), rb_ary_shift_m(), rb_ary_shuffle(), rb_ary_shuffle_bang(), rb_ary_slice_bang(), rb_ary_unshift_m(), rb_ary_values_at(), rb_ary_zip(), rb_big_to_s(), rb_block_call(), rb_call(), rb_call0(), rb_call_super(), rb_check_argv(), rb_check_block_call(), rb_check_funcall(), rb_check_funcall_with_hook(), rb_class_initialize(), rb_class_instance_methods(), rb_class_new_instance(), rb_class_private_instance_methods(), rb_class_protected_instance_methods(), rb_class_public_instance_methods(), rb_cont_call(), rb_define_global_function(), rb_define_method(), rb_define_method_id(), rb_define_module_function(), rb_define_private_method(), rb_define_protected_method(), rb_define_singleton_method(), rb_deflate_deflate(), rb_deflate_flush(), rb_deflate_initialize(), rb_deflate_s_deflate(), rb_digest_class_s_bubblebabble(), rb_digest_class_s_digest(), rb_digest_class_s_hexdigest(), rb_digest_instance_digest(), rb_digest_instance_hexdigest(), rb_dl_dlopen(), rb_dlcfunc_initialize(), rb_dlhandle_initialize(), rb_dlptr_aref(), rb_dlptr_aset(), rb_dlptr_initialize(), rb_dlptr_s_malloc(), rb_dlptr_to_s(), rb_dlptr_to_str(), rb_enum_values_pack(), rb_enumeratorize(), rb_enumeratorize_with_size(), rb_error_arity(), rb_exec_arg_init(), rb_exec_fillarg(), rb_execarg_init(), rb_execarg_new(), rb_f_abort(), rb_f_caller(), rb_f_caller_locations(), rb_f_catch(), rb_f_chomp(), rb_f_eval(), rb_f_exec(), rb_f_exit(), rb_f_exit_bang(), rb_f_gets(), rb_f_gsub(), rb_f_integer(), rb_f_kill(), rb_f_load(), rb_f_open(), rb_f_p(), rb_f_p_internal(), rb_f_print(), rb_f_printf(), rb_f_public_send(), rb_f_puts(), rb_f_raise(), rb_f_rand(), rb_f_readline(), rb_f_readlines(), rb_f_select(), rb_f_send(), rb_f_sleep(), rb_f_spawn(), rb_f_sprintf(), rb_f_srand(), rb_f_sub(), rb_f_system(), rb_f_test(), rb_f_throw(), rb_f_trace_var(), rb_f_untrace_var(), rb_fiber_m_resume(), rb_fiber_m_transfer(), rb_fiber_resume(), rb_fiber_s_yield(), rb_fiber_start(), rb_fiber_transfer(), rb_fiber_yield(), rb_fiddle_handle_initialize(), rb_fiddle_ptr_aref(), rb_fiddle_ptr_aset(), rb_fiddle_ptr_initialize(), rb_fiddle_ptr_s_malloc(), rb_fiddle_ptr_to_s(), rb_fiddle_ptr_to_str(), rb_file_initialize(), rb_file_s_absolute_path(), rb_file_s_basename(), rb_file_s_chmod(), rb_file_s_chown(), rb_file_s_expand_path(), rb_file_s_realdirpath(), rb_file_s_realpath(), rb_file_s_umask(), rb_file_s_utime(), rb_funcall2(), rb_funcall3(), rb_funcall_passing_block(), rb_funcall_with_block(), rb_get_values_at(), rb_gzfile_s_wrap(), rb_gzreader_each(), rb_gzreader_gets(), rb_gzreader_initialize(), rb_gzreader_lines(), rb_gzreader_read(), rb_gzreader_readline(), rb_gzreader_readlines(), rb_gzreader_readpartial(), rb_gzreader_s_open(), rb_gzwriter_flush(), rb_gzwriter_initialize(), rb_gzwriter_s_open(), rb_hash_default(), rb_hash_fetch_m(), rb_hash_flatten(), rb_hash_initialize(), rb_hash_s_create(), rb_hash_values_at(), rb_inflate_initialize(), rb_io_advise(), rb_io_each_line(), rb_io_getline(), rb_io_gets_m(), rb_io_initialize(), rb_io_ioctl(), rb_io_lines(), rb_io_open_with_args(), rb_io_print(), rb_io_printf(), rb_io_puts(), rb_io_readline(), rb_io_readlines(), rb_io_reopen(), rb_io_s_binread(), rb_io_s_binwrite(), rb_io_s_copy_stream(), rb_io_s_for_fd(), rb_io_s_foreach(), rb_io_s_new(), rb_io_s_open(), rb_io_s_pipe(), rb_io_s_popen(), rb_io_s_read(), rb_io_s_readlines(), rb_io_s_sysopen(), rb_io_s_write(), rb_io_seek_m(), rb_io_set_encoding(), rb_io_sysread(), rb_io_sysseek(), rb_iseq_build_from_ary(), rb_iseq_disasm(), rb_make_exception(), rb_marshal_dump(), rb_method_call(), rb_method_call_with_block(), rb_method_missing(), rb_mod_attr(), rb_mod_attr_accessor(), rb_mod_attr_reader(), rb_mod_attr_writer(), rb_mod_class_variables(), rb_mod_const_defined(), rb_mod_const_get(), rb_mod_constants(), rb_mod_define_method(), rb_mod_include(), rb_mod_modfunc(), rb_mod_module_eval(), rb_mod_module_exec(), rb_mod_prepend(), rb_mod_private(), rb_mod_private_constant(), rb_mod_private_method(), rb_mod_protected(), rb_mod_public(), rb_mod_public_constant(), rb_mod_public_method(), rb_mod_remove_method(), rb_mod_s_constants(), rb_mod_undef_method(), rb_obj_call_init(), rb_obj_define_method(), rb_obj_display(), rb_obj_extend(), rb_obj_instance_eval(), rb_obj_instance_exec(), rb_obj_methods(), rb_obj_private_methods(), rb_obj_protected_methods(), rb_obj_public_methods(), rb_obj_respond_to(), rb_obj_singleton_methods(), rb_open_file(), rb_proc_call_with_block(), rb_proc_exec_n(), rb_proc_s_new(), rb_raise_method_missing(), rb_reg_initialize_m(), rb_reg_match_m(), rb_reg_s_last_match(), rb_reg_s_union(), rb_scan_args(), rb_scan_open_args(), rb_spawn(), rb_spawn_err(), rb_spawn_internal(), rb_spawn_process(), rb_str_aref_m(), rb_str_aset_m(), rb_str_byteslice(), rb_str_center(), rb_str_chomp(), rb_str_chomp_bang(), rb_str_count(), rb_str_delete(), rb_str_delete_bang(), rb_str_each_line(), rb_str_encode(), rb_str_end_with(), rb_str_enumerate_lines(), rb_str_format(), rb_str_gsub(), rb_str_gsub_bang(), rb_str_index_m(), rb_str_init(), rb_str_justify(), rb_str_lines(), rb_str_ljust(), rb_str_match_m(), rb_str_rindex_m(), rb_str_rjust(), rb_str_slice_bang(), rb_str_split_m(), rb_str_squeeze(), rb_str_squeeze_bang(), rb_str_start_with(), rb_str_sub(), rb_str_sub_bang(), rb_str_sum(), rb_str_to_i(), rb_str_upto(), rb_struct_initialize_m(), rb_struct_s_def(), rb_struct_select(), rb_struct_values_at(), rb_thread_backtrace_locations_m(), rb_thread_backtrace_m(), rb_thread_pending_interrupt_p(), rb_thread_s_pending_interrupt_p(), rb_threadptr_raise(), rb_vm_call(), rb_vm_invoke_proc(), rb_w32_asynchronize(), rb_w32_sysinit(), rb_warn_m(), rb_yield_0(), rb_yield_values2(), rb_zlib_adler32(), rb_zlib_crc32(), readline_readline(), rsock_bsock_send(), rsock_s_recvfrom(), rsock_s_recvfrom_nonblock(), ruby_options(), ruby_process_options(), ruby_set_argv(), ruby_sysinit(), send_internal(), set_const_visibility(), set_method_visibility(), setup_args(), setup_method_cfunc_struct(), sig_trap(), sock_initialize(), sock_recvfrom(), sock_recvfrom_nonblock(), sock_s_getaddrinfo(), sock_s_gethostbyaddr(), sock_s_getnameinfo(), sock_s_getservbyname(), sock_s_getservbyport(), specific_eval(), str_encode(), str_encode_bang(), str_gsub(), str_transcode(), str_transcode0(), strio_each(), strio_getline(), strio_gets(), strio_init(), strio_initialize(), strio_lines(), strio_read(), strio_readline(), strio_readlines(), strio_reopen(), strio_s_open(), strio_seek(), strio_set_encoding(), strio_sysread(), strscan_initialize(), stub_sysinit(), sym_aref(), sym_call(), syserr_initialize(), syslog_write(), take_i(), take_while_i(), tcp_init(), tcp_svr_init(), test_check(), thread_backtrace_to_ary(), thread_join_m(), thread_raise_m(), thread_s_new(), time_arg(), time_dump(), time_getlocaltime(), time_init(), time_init_1(), time_localtime_m(), time_round(), time_s_at(), time_s_mktime(), time_s_mkutc(), time_utc_or_local(), tk_conv_args(), tk_do_callback(), tk_eval_cmd(), tk_fromUTF8(), tk_funcall(), tk_get_eval_string(), tk_hash_kv(), tk_install_cmd(), tk_s_new(), tk_toUTF8(), top_define_method(), top_include(), top_private(), top_public(), tracepoint_new_s(), tracepoint_trace_s(), udp_init(), udp_recvfrom_nonblock(), udp_send(), vm_backtrace_to_ary(), vm_call0(), vm_call0_cfunc_with_frame(), vm_call_cfunc_with_frame(), vm_call_opt_call(), vm_call_super(), vm_callee_setup_arg_complex(), vm_callee_setup_keyword_arg(), vm_invoke_proc(), vm_thread_backtrace(), vm_thread_backtrace_locations(), vm_yield(), vm_yield_setup_args(), vm_yield_setup_block_args(), vm_yield_setup_block_args_complex(), vm_yield_with_cfunc(), vm_yield_with_cref(), window_box(), yielder_yield_i(), zip_ary(), and zip_i().

◆ argv

char** argv

Definition at line 131 of file ruby.c.

Referenced by addrinfo_getnameinfo(), addrinfo_initialize(), addrinfo_s_getaddrinfo(), alloc_invoke_arguments(), argf_each_line(), argf_forward(), argf_getline(), argf_getpartial(), argf_gets(), argf_initialize(), argf_lines(), argf_read(), argf_read_nonblock(), argf_readline(), argf_readlines(), argf_readpartial(), argf_seek_m(), argf_set_encoding(), ary_take_first_or_last(), asn1time_to_time(), BigDecimal_ceil(), BigDecimal_div2(), BigDecimal_dump(), BigDecimal_floor(), BigDecimal_global_new(), BigDecimal_initialize(), BigDecimal_limit(), BigDecimal_mode(), BigDecimal_new(), BigDecimal_power(), BigDecimal_round(), BigDecimal_to_s(), BigDecimal_truncate(), BigMath_s_exp(), BigMath_s_log(), bind_eval(), bsock_recv(), bsock_recv_nonblock(), bsock_setsockopt(), bsock_shutdown(), call_cfunc_1(), call_cfunc_10(), call_cfunc_11(), call_cfunc_12(), call_cfunc_13(), call_cfunc_14(), call_cfunc_15(), call_cfunc_2(), call_cfunc_3(), call_cfunc_4(), call_cfunc_5(), call_cfunc_6(), call_cfunc_7(), call_cfunc_8(), call_cfunc_9(), call_cfunc_m1(), call_cfunc_m2(), call_original_exit(), call_trace_func(), cbsubst_get_subst_arg(), cbsubst_initialize(), cbsubst_table_setup(), check_funcall_missing(), class_instance_method_list(), collect_all(), collect_i(), compat_init_setproctitle(), console_getch(), console_raw(), console_set_raw(), core_hash_merge(), count_iter_i(), count_nodes(), count_objects(), count_objects_size(), count_tdata_objects(), cParser_initialize(), cState_initialize(), curry(), d_lite_new_offset(), d_lite_new_start(), d_lite_next_day(), d_lite_next_month(), d_lite_next_year(), d_lite_prev_day(), d_lite_prev_month(), d_lite_prev_year(), d_lite_step(), d_lite_strftime(), date_s__parse(), date_s__parse_internal(), date_s__strptime(), date_s__strptime_internal(), date_s_civil(), date_s_commercial(), date_s_httpdate(), date_s_iso8601(), date_s_jd(), date_s_jisx0301(), date_s_ordinal(), date_s_parse(), date_s_rfc2822(), date_s_rfc3339(), date_s_strptime(), date_s_today(), date_s_valid_civil_p(), date_s_valid_commercial_p(), date_s_valid_jd_p(), date_s_valid_ordinal_p(), date_s_xmlschema(), date_strftime_internal(), datetime_s__strptime(), datetime_s_civil(), datetime_s_commercial(), datetime_s_httpdate(), datetime_s_iso8601(), datetime_s_jd(), datetime_s_jisx0301(), datetime_s_now(), datetime_s_ordinal(), datetime_s_parse(), datetime_s_rfc2822(), datetime_s_rfc3339(), datetime_s_strptime(), datetime_s_xmlschema(), define_final(), delete_slaves(), dir_entries(), dir_foreach(), dir_globs(), dir_initialize(), dir_open_dir(), dir_s_aref(), dir_s_chdir(), dir_s_glob(), dir_s_home(), dir_s_mkdir(), dir_s_open(), do_checksum(), do_spawn(), drop_i(), dt_lite_iso8601(), dt_lite_jisx0301(), dt_lite_rfc3339(), dt_lite_strftime(), each_with_index_i(), econv_args(), econv_init(), econv_primitive_convert(), econv_putback(), econv_s_search_convpath(), enc_dump(), enum_chunk(), enum_count(), enum_cycle(), enum_each_entry(), enum_each_with_index(), enum_find(), enum_find_index(), enum_first(), enum_inject(), enum_reverse_each(), enum_slice_before(), enum_to_a(), enum_zip(), enumerator_block_call(), enumerator_each(), enumerator_init(), enumerator_initialize(), enumerator_with_index(), enumerator_with_index_i(), enumerator_with_object_i(), env_fetch(), env_values_at(), esignal_init(), establishShell(), etc_getgrgid(), etc_getpwuid(), ev_advise(), ev_on_event(), exc_exception(), exc_initialize(), exit_initialize(), exp2(), f_round_common(), fdbm_fetch_m(), fdbm_initialize(), fdbm_s_open(), fdbm_values_at(), fev_initialize(), fev_off_event(), fev_on_event(), fev_on_event_with_outargs(), fgdbm_fetch_m(), fgdbm_initialize(), fgdbm_s_open(), fgdbm_values_at(), fiber_switch(), file_s_fnmatch(), find_index_iter_i(), fix_to_s(), flat_map_i(), flo_round(), float_rationalize(), fole_getproperty_with_bracket(), fole_initialize(), fole_invoke(), fole_missing(), fole_s_connect(), fole_s_const_load(), fole_s_show_help(), fole_setproperty(), fole_setproperty_with_bracket(), folevariant_ary_aref(), folevariant_ary_aset(), fromDefaultEnc_toUTF8(), fsdbm_fetch_m(), fsdbm_initialize(), fsdbm_s_open(), fsdbm_values_at(), function_call(), gc_profile_report(), gc_stat(), generator_each(), generator_initialize(), get_hash(), goruby_options(), gzfile_s_open(), gzfile_wrap(), gzreader_gets(), hist_push_method(), initialize(), inspect_enumerator(), int_chr(), int_round(), integer_rationalize(), interrupt_init(), invoke_block_from_c(), invoke_tcl_proc(), io_getch(), io_getpartial(), io_read(), io_read_nonblock(), io_readpartial(), io_s_write(), io_wait_readable(), io_wait_writable(), ip_addr(), ip_cancel_eval(), ip_cancel_eval_unwind(), ip_create_slave(), ip_create_slave_core(), ip_do_one_event(), ip_fromUTF8(), ip_get_variable2(), ip_get_variable2_core(), ip_init(), ip_invoke(), ip_invoke_core(), ip_invoke_immediate(), ip_invoke_real(), ip_invoke_with_position(), ip_mainloop(), ip_mainloop_watchdog(), ip_make_menu_embeddable(), ip_make_menu_embeddable_core(), ip_peeraddr(), ip_recvfrom(), ip_ruby_cmd(), ip_ruby_eval(), ip_RubyExitCommand(), ip_set_variable2(), ip_set_variable2_core(), ip_thread_tkwait(), ip_thread_vwait(), ip_toUTF8(), ip_unset_variable2(), ip_unset_variable2_core(), iseq_build_from_ary_body(), iseq_s_compile(), iseq_s_compile_file(), iseq_s_load(), iso8601_timediv(), join_argv(), lazy_drop_func(), lazy_drop_while_func(), lazy_flat_map_func(), lazy_flat_map_i(), lazy_grep_func(), lazy_grep_iter(), lazy_init_block_i(), lazy_init_iterator(), lazy_initialize(), lazy_map_func(), lazy_reject_func(), lazy_select_func(), lazy_super(), lazy_take_func(), lazy_take_while_func(), lazy_to_enum(), lazy_to_enum_i(), lazy_zip(), lazy_zip_arrays_func(), lazy_zip_func(), lib_do_one_event(), lib_do_one_event_core(), lib_fromUTF8(), lib_mainloop(), lib_mainloop_watchdog(), lib_merge_tklist(), lib_split_tklist_core(), lib_thread_callback(), lib_toUTF8(), m_core_hash_merge_ptr(), main(), make_exception(), make_no_method_exception(), make_passing_arg(), marshal_dump(), marshal_load(), match_aref(), match_values_at(), math_log(), member_i(), memsize_of_all_m(), method_missing(), mObject_to_json(), moreswitches(), mString_to_json_raw(), mSyslog_log(), mSyslog_open(), mSyslog_reopen(), mutex_sleep(), name_err_initialize(), new_insn_body(), new_insn_core(), next_ii(), nilclass_rationalize(), nometh_err_initialize(), nucomp_f_complex(), nucomp_rationalize(), nucomp_s_convert(), nucomp_s_new(), nucomp_s_polar(), num_round(), num_step(), nurat_ceil_n(), nurat_f_rational(), nurat_floor_n(), nurat_rationalize(), nurat_round_n(), nurat_s_convert(), nurat_s_new(), nurat_truncate_n(), obj_respond_to(), obj_to_enum(), ole_bind_obj(), ole_invoke(), open_key_args(), os_each_obj(), ossl_asn1_initialize(), ossl_bn_initialize(), ossl_bn_is_prime(), ossl_bn_is_prime_fasttest(), ossl_bn_s_generate_prime(), ossl_bn_to_s(), ossl_cipher_decrypt(), ossl_cipher_encrypt(), ossl_cipher_init(), ossl_cipher_pkcs5_keyivgen(), ossl_cipher_update(), ossl_dh_initialize(), ossl_dh_s_generate(), ossl_digest_finish(), ossl_digest_initialize(), ossl_dsa_export(), ossl_dsa_initialize(), ossl_pkcs12_initialize(), ossl_pkcs12_s_create(), ossl_pkcs7_decrypt(), ossl_pkcs7_initialize(), ossl_pkcs7_s_encrypt(), ossl_pkcs7_s_sign(), ossl_pkcs7_s_write_smime(), ossl_pkcs7_verify(), ossl_pkey_new_from_data(), ossl_rsa_export(), ossl_rsa_initialize(), ossl_rsa_private_decrypt(), ossl_rsa_private_encrypt(), ossl_rsa_public_decrypt(), ossl_rsa_public_encrypt(), ossl_rsa_s_generate(), ossl_spki_initialize(), ossl_ssl_initialize(), ossl_ssl_read(), ossl_ssl_read_internal(), ossl_ssl_read_nonblock(), ossl_sslctx_flush_sessions(), ossl_sslctx_initialize(), ossl_x509_initialize(), ossl_x509attr_initialize(), ossl_x509crl_initialize(), ossl_x509ext_initialize(), ossl_x509extfactory_create_ext(), ossl_x509extfactory_initialize(), ossl_x509name_add_entry(), ossl_x509name_initialize(), ossl_x509name_to_s(), ossl_x509req_initialize(), ossl_x509stctx_initialize(), ossl_x509store_verify(), parse(), path_basename(), path_binread(), path_each_line(), path_expand_path(), path_fnmatch(), path_mkdir(), path_open(), path_read(), path_readlines(), path_realdirpath(), path_realpath(), path_s_glob(), path_sub(), path_sysopen(), pipe_open(), pipe_open_s(), prepare_getline_args(), proc_call(), proc_curry(), proc_exec_cmd(), proc_exec_v(), proc_options(), proc_wait(), proc_wait2(), process_options(), process_sflag(), pty_check(), pty_getpty(), raise_method_missing(), rand_random(), random_init(), random_rand(), random_s_rand(), range_first(), range_initialize(), range_last(), range_step(), rawmode_opt(), rb_apply(), rb_ary_aref(), rb_ary_aset(), rb_ary_count(), rb_ary_cycle(), rb_ary_fetch(), rb_ary_fill(), rb_ary_first(), rb_ary_flatten(), rb_ary_flatten_bang(), rb_ary_index(), rb_ary_initialize(), rb_ary_insert(), rb_ary_join_m(), rb_ary_last(), rb_ary_permutation(), rb_ary_pop_m(), rb_ary_product(), rb_ary_push_m(), rb_ary_rindex(), rb_ary_rotate_bang(), rb_ary_rotate_m(), rb_ary_s_create(), rb_ary_sample(), rb_ary_shift_m(), rb_ary_shuffle(), rb_ary_slice_bang(), rb_ary_unshift_m(), rb_ary_values_at(), rb_ary_zip(), rb_big_to_s(), rb_block_call(), rb_call(), rb_call0(), rb_call_super(), rb_check_argv(), rb_check_block_call(), rb_check_deadlock(), rb_check_funcall(), rb_check_funcall_with_hook(), rb_class_initialize(), rb_class_instance_methods(), rb_class_new_instance(), rb_class_private_instance_methods(), rb_class_protected_instance_methods(), rb_class_public_instance_methods(), rb_cont_call(), rb_deflate_deflate(), rb_deflate_flush(), rb_deflate_initialize(), rb_deflate_s_deflate(), rb_digest_class_s_bubblebabble(), rb_digest_class_s_digest(), rb_digest_class_s_hexdigest(), rb_digest_instance_digest(), rb_digest_instance_hexdigest(), rb_dl_dlopen(), rb_dlcfunc_initialize(), rb_dlhandle_initialize(), rb_dlptr_aref(), rb_dlptr_aset(), rb_dlptr_initialize(), rb_dlptr_s_malloc(), rb_dlptr_to_s(), rb_dlptr_to_str(), rb_enum_values_pack(), rb_enumeratorize(), rb_enumeratorize_with_size(), rb_exec_arg_init(), rb_exec_fillarg(), rb_execarg_init(), rb_execarg_new(), rb_f_abort(), rb_f_caller(), rb_f_caller_locations(), rb_f_catch(), rb_f_chomp(), rb_f_eval(), rb_f_exec(), rb_f_exit(), rb_f_exit_bang(), rb_f_gets(), rb_f_gsub(), rb_f_integer(), rb_f_kill(), rb_f_load(), rb_f_open(), rb_f_p(), rb_f_p_internal(), rb_f_print(), rb_f_printf(), rb_f_public_send(), rb_f_puts(), rb_f_raise(), rb_f_rand(), rb_f_readline(), rb_f_readlines(), rb_f_select(), rb_f_send(), rb_f_sleep(), rb_f_spawn(), rb_f_sprintf(), rb_f_srand(), rb_f_sub(), rb_f_system(), rb_f_test(), rb_f_throw(), rb_f_trace_var(), rb_f_untrace_var(), rb_fiber_m_resume(), rb_fiber_m_transfer(), rb_fiber_resume(), rb_fiber_s_yield(), rb_fiber_start(), rb_fiber_transfer(), rb_fiber_yield(), rb_fiddle_handle_initialize(), rb_fiddle_new_function(), rb_fiddle_ptr_aref(), rb_fiddle_ptr_aset(), rb_fiddle_ptr_initialize(), rb_fiddle_ptr_s_malloc(), rb_fiddle_ptr_to_s(), rb_fiddle_ptr_to_str(), rb_file_initialize(), rb_file_s_absolute_path(), rb_file_s_basename(), rb_file_s_chmod(), rb_file_s_chown(), rb_file_s_expand_path(), rb_file_s_realdirpath(), rb_file_s_realpath(), rb_file_s_umask(), rb_file_s_utime(), rb_funcall(), rb_funcall2(), rb_funcall3(), rb_funcall_passing_block(), rb_funcall_with_block(), rb_get_values_at(), rb_gzfile_s_wrap(), rb_gzreader_each(), rb_gzreader_gets(), rb_gzreader_initialize(), rb_gzreader_lines(), rb_gzreader_read(), rb_gzreader_readline(), rb_gzreader_readlines(), rb_gzreader_readpartial(), rb_gzreader_s_open(), rb_gzwriter_flush(), rb_gzwriter_initialize(), rb_gzwriter_s_open(), rb_hash_default(), rb_hash_fetch_m(), rb_hash_flatten(), rb_hash_initialize(), rb_hash_s_create(), rb_hash_values_at(), rb_inflate_initialize(), rb_io_advise(), rb_io_each_line(), rb_io_getline(), rb_io_gets_m(), rb_io_initialize(), rb_io_ioctl(), rb_io_lines(), rb_io_open_with_args(), rb_io_print(), rb_io_printf(), rb_io_puts(), rb_io_readline(), rb_io_readlines(), rb_io_reopen(), rb_io_s_binread(), rb_io_s_binwrite(), rb_io_s_copy_stream(), rb_io_s_for_fd(), rb_io_s_foreach(), rb_io_s_new(), rb_io_s_open(), rb_io_s_pipe(), rb_io_s_popen(), rb_io_s_read(), rb_io_s_readlines(), rb_io_s_sysopen(), rb_io_s_write(), rb_io_seek_m(), rb_io_set_encoding(), rb_io_sysread(), rb_io_sysseek(), rb_make_exception(), rb_marshal_dump(), rb_method_call(), rb_method_call_with_block(), rb_method_missing(), rb_mod_attr(), rb_mod_attr_accessor(), rb_mod_attr_reader(), rb_mod_attr_writer(), rb_mod_class_variables(), rb_mod_const_defined(), rb_mod_const_get(), rb_mod_constants(), rb_mod_define_method(), rb_mod_include(), rb_mod_modfunc(), rb_mod_module_eval(), rb_mod_module_exec(), rb_mod_prepend(), rb_mod_private(), rb_mod_private_constant(), rb_mod_private_method(), rb_mod_protected(), rb_mod_public(), rb_mod_public_constant(), rb_mod_public_method(), rb_mod_remove_method(), rb_mod_s_constants(), rb_mod_undef_method(), rb_name_error(), rb_name_error_str(), rb_obj_call_init(), rb_obj_define_method(), rb_obj_display(), rb_obj_extend(), rb_obj_instance_eval(), rb_obj_instance_exec(), rb_obj_methods(), rb_obj_private_methods(), rb_obj_protected_methods(), rb_obj_public_methods(), rb_obj_singleton_methods(), rb_open_file(), rb_proc_call_with_block(), rb_proc_exec_n(), rb_proc_s_new(), rb_raise_method_missing(), rb_reg_initialize_m(), rb_reg_match_m(), rb_reg_s_last_match(), rb_scan_args(), rb_scan_open_args(), rb_spawn(), rb_spawn_err(), rb_spawn_internal(), rb_spawn_process(), rb_str_aref_m(), rb_str_aset_m(), rb_str_byteslice(), rb_str_center(), rb_str_chomp(), rb_str_chomp_bang(), rb_str_count(), rb_str_delete(), rb_str_delete_bang(), rb_str_each_line(), rb_str_encode(), rb_str_end_with(), rb_str_enumerate_lines(), rb_str_format(), rb_str_gsub(), rb_str_gsub_bang(), rb_str_index_m(), rb_str_init(), rb_str_justify(), rb_str_lines(), rb_str_ljust(), rb_str_match_m(), rb_str_rindex_m(), rb_str_rjust(), rb_str_slice_bang(), rb_str_split_m(), rb_str_squeeze(), rb_str_squeeze_bang(), rb_str_start_with(), rb_str_sub(), rb_str_sub_bang(), rb_str_sum(), rb_str_to_i(), rb_str_upto(), rb_struct_initialize_m(), rb_struct_s_def(), rb_struct_values_at(), rb_thread_backtrace_locations_m(), rb_thread_backtrace_m(), rb_thread_pending_interrupt_p(), rb_thread_s_pending_interrupt_p(), rb_threadptr_raise(), rb_threadptr_signal_exit(), rb_threadptr_signal_raise(), rb_vm_call(), rb_vm_invoke_proc(), rb_w32_aspawn(), rb_w32_aspawn_flags(), rb_w32_asynchronize(), rb_w32_sysinit(), rb_warn_m(), rb_yield_0(), rb_yield_values(), rb_yield_values2(), rb_zlib_adler32(), rb_zlib_crc32(), readline_readline(), rsock_bsock_send(), rsock_s_recvfrom(), rsock_s_recvfrom_nonblock(), ruby_options(), ruby_process_options(), ruby_set_argv(), ruby_sysinit(), save_env_i(), send_internal(), set_argv(), set_const_visibility(), set_method_visibility(), sig_trap(), sock_initialize(), sock_recvfrom(), sock_recvfrom_nonblock(), sock_s_getaddrinfo(), sock_s_gethostbyaddr(), sock_s_getnameinfo(), sock_s_getservbyname(), sock_s_getservbyport(), specific_eval(), str_encode(), str_encode_bang(), str_gsub(), str_transcode(), str_transcode0(), strio_each(), strio_getline(), strio_gets(), strio_init(), strio_initialize(), strio_lines(), strio_read(), strio_readline(), strio_readlines(), strio_reopen(), strio_s_open(), strio_seek(), strio_set_encoding(), strio_sysread(), strscan_initialize(), stub_sysinit(), sym_aref(), sym_call(), syserr_initialize(), syslog_write(), take_i(), take_while_i(), tcp_init(), tcp_svr_init(), test_check(), thread_backtrace_to_ary(), thread_join_m(), thread_raise_m(), thread_s_new(), time_arg(), time_dump(), time_getlocaltime(), time_init(), time_init_1(), time_localtime_m(), time_round(), time_s_at(), time_s_mktime(), time_s_mkutc(), time_utc_or_local(), tk_conv_args(), tk_do_callback(), tk_eval_cmd(), tk_fromUTF8(), tk_funcall(), tk_get_eval_string(), tk_hash_kv(), tk_install_cmd(), tk_s_new(), tk_toUTF8(), top_define_method(), top_include(), top_private(), top_public(), tracepoint_new_s(), tracepoint_trace_s(), udp_init(), udp_recvfrom_nonblock(), udp_send(), valid_civil_sub(), valid_commercial_sub(), valid_jd_sub(), valid_ordinal_sub(), vm_backtrace_to_ary(), vm_call0(), vm_call0_body(), vm_call0_cfunc(), vm_call0_cfunc_with_frame(), vm_call_bmethod(), vm_call_bmethod_body(), vm_call_iseq_setup_normal(), vm_call_iseq_setup_tailcall(), vm_call_method(), vm_call_method_missing(), vm_call_opt_call(), vm_call_super(), vm_callee_setup_arg(), vm_callee_setup_arg_complex(), vm_invoke_proc(), vm_thread_backtrace(), vm_thread_backtrace_locations(), vm_yield(), vm_yield_setup_args(), vm_yield_setup_block_args(), vm_yield_setup_block_args_complex(), vm_yield_with_cfunc(), vm_yield_with_cref(), window_box(), yielder_yield_i(), zip_ary(), and zip_i().

◆ origarg

struct { ... } origarg

◆ rb_argv0

VALUE rb_argv0

Definition at line 1191 of file ruby.c.

Referenced by ruby_process_options().