#include "ruby.h"
#include "env.h"
#include "st.h"
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include <errno.h>
Go to the source code of this file.
|
|
Definition at line 29 of file error.c. Referenced by error_handle(), exit_initialize(), exit_success_p(), pst_success_p(), rb_f_exit(), rb_f_exit_bang(), rb_f_system(), rb_thread_kill(), and rb_thread_signal_exit(). |
|
|
|
|
|
Definition at line 498 of file error.c. References NIL_P, RARRAY, rb_ary_new3(), rb_eTypeError, rb_raise(), T_ARRAY, T_STRING, TYPE, and VALUE. Referenced by exc_set_backtrace(). |
|
|
Definition at line 1545 of file error.c. References NIL_P, rb_eSyntaxError, rb_exc_new2(), rb_exc_new3(), rb_obj_as_string(), rb_str_cat2(), rb_write_error(), ruby_errinfo, ruby_in_eval, and VALUE. Referenced by err_print(), and rb_compile_error_append(). |
|
|
|
|
||||||||||||
|
Definition at line 37 of file error.c. References ruby_set_current_source(), ruby_sourcefile, ruby_sourceline, and snprintf(). Referenced by err_snprintf(), and rb_bug(). |
|
||||||||||||
|
Definition at line 70 of file error.c. References args, err_append(), and err_snprintf(). Referenced by rb_compile_error(). |
|
||||||||||||||||||||
|
Definition at line 54 of file error.c. References args, err_position(), and vsnprintf(). Referenced by err_print(), and warn_print(). |
|
|
Definition at line 488 of file error.c. References ID, Qnil, rb_intern(), rb_ivar_defined(), rb_ivar_get(), and VALUE. Referenced by Init_Exception(). |
|
||||||||||||||||
|
Definition at line 377 of file error.c. References exc_initialize(), rb_obj_clone(), and VALUE. Referenced by Init_Exception(). |
|
||||||||||||||||
|
Definition at line 349 of file error.c. References Qnil, rb_iv_set(), rb_scan_args(), and VALUE. Referenced by exc_exception(), and Init_Exception(). |
|
|
Definition at line 437 of file error.c. References CLASS_OF, rb_class_name(), rb_obj_as_string(), rb_str_buf_append(), rb_str_buf_cat(), rb_str_buf_new2(), rb_str_dup(), RSTRING, and VALUE. Referenced by Init_Exception(). |
|
||||||||||||
|
Definition at line 531 of file error.c. References check_backtrace(), rb_iv_set(), and VALUE. Referenced by Init_Exception(). |
|
|
Definition at line 401 of file error.c. References CLASS_OF, NIL_P, OBJ_TAINT, OBJ_TAINTED, rb_attr_get(), rb_class_name(), rb_intern(), and VALUE. Referenced by Init_Exception(). |
|
|
Definition at line 423 of file error.c. References rb_funcall(), rb_intern(), and VALUE. Referenced by Init_Exception(). |
|
||||||||||||||||
|
Definition at line 546 of file error.c. References EXIT_SUCCESS, FIXNUM_P, INT2FIX, rb_call_super(), rb_iv_set(), and VALUE. Referenced by Init_Exception(). |
|
|
Definition at line 570 of file error.c. References rb_attr_get(), rb_intern(), and VALUE. Referenced by Init_Exception(). |
|
|
Definition at line 585 of file error.c. References EXIT_SUCCESS, INT2FIX, NIL_P, Qfalse, Qtrue, rb_attr_get(), rb_intern(), and VALUE. Referenced by Init_Exception(). |
|
|
Definition at line 851 of file error.c. References name, set_syserr(), snprintf(), st_lookup(), syserr_tbl, and VALUE. Referenced by rb_sys_fail(). |
|
|
|
Definition at line 1174 of file error.c. References set_syserr(). Referenced by rb_call_inits(). |
|
||||||||||||||||
|
Definition at line 628 of file error.c. References name, Qnil, rb_call_super(), rb_iv_set(), and VALUE. Referenced by Init_Exception(), and nometh_err_initialize(). |
|
||||||||||||
|
Definition at line 769 of file error.c. References VALUE. Referenced by Init_Exception(). |
|
|
Definition at line 701 of file error.c. References rb_gc_mark_locations(), and VALUE. Referenced by name_err_mesg_new(). |
|
||||||||||||||||||||
|
Definition at line 709 of file error.c. References ALLOC_N, Data_Wrap_Struct, name_err_mesg_mark(), rb_cNameErrorMesg, and VALUE. Referenced by Init_Exception(). |
|
|
Definition at line 722 of file error.c. References args, Data_Get_Struct, NIL_P, OBJ_TAINT, OBJ_TAINTED, Qnil, rb_any_to_s(), rb_f_sprintf(), rb_inspect(), rb_obj_classname(), rb_protect(), rb_str_cat2(), rb_str_new2(), RSTRING, T_FALSE, T_NIL, T_TRUE, TYPE, and VALUE. Referenced by Init_Exception(). |
|
|
Definition at line 649 of file error.c. References rb_attr_get(), rb_intern(), and VALUE. Referenced by Init_Exception(). |
|
|
Definition at line 663 of file error.c. References CLASS_OF, NIL_P, OBJ_TAINT, OBJ_TAINTED, rb_attr_get(), rb_class_name(), rb_intern(), rb_iv_set(), StringValue, and VALUE. Referenced by Init_Exception(). |
|
|
Definition at line 784 of file error.c. References rb_attr_get(), rb_intern(), and VALUE. Referenced by Init_Exception(). |
|
||||||||||||||||
|
Definition at line 688 of file error.c. References args, name_err_initialize(), Qnil, rb_iv_set(), and VALUE. Referenced by Init_Exception(). |
|
|
Definition at line 1160 of file error.c. References rb_eTypeError, and rb_raise(). |
|
||||||||||||
|
Definition at line 791 of file error.c. References rb_eArgError, rb_raise(), rb_str_inspect(), rb_str_new2(), RSTRING, and VALUE. |
|
|
Definition at line 1153 of file error.c. References rb_loaderror(), and strerror(). |
|
|
Definition at line 1111 of file error.c. References get_syserr(), Qnil, rb_bug(), rb_class_new_instance(), rb_exc_raise(), rb_str_new2(), and VALUE. |
|
||||||||||||
|
Definition at line 181 of file error.c. References NIL_P, Qnil, rb_default_rs, rb_io_write(), rb_stderr, ruby_verbose, and VALUE. Referenced by Init_Exception(). |
|
||||||||||||
|
Definition at line 833 of file error.c. References INT2NUM, name, rb_define_class_under(), rb_define_const(), rb_eSystemCallError, rb_mErrno, st_add_direct(), st_lookup(), syserr_tbl, and VALUE. Referenced by get_syserr(), and Init_syserr(). |
|
||||||||||||
|
Definition at line 951 of file error.c. References CLASS_OF, FIXNUM_P, FL_SINGLETON, FL_TEST, NIL_P, Qfalse, Qtrue, rb_attr_get(), rb_const_get(), rb_equal(), rb_eSystemCallError, rb_intern(), rb_obj_is_kind_of(), RCLASS, T_ICLASS, TYPE, and VALUE. Referenced by Init_Exception(). |
|
|
Definition at line 935 of file error.c. References rb_attr_get(), rb_intern(), and VALUE. Referenced by Init_Exception(). |
|
||||||||||||||||
|
Definition at line 877 of file error.c. References FIXNUM_P, NIL_P, NUM2LONG, Qnil, rb_call_super(), rb_const_get(), rb_eSystemCallError, rb_eTypeError, rb_intern(), rb_iv_set(), rb_obj_class(), rb_raise(), rb_scan_args(), rb_str_new(), rb_str_new2(), rb_str_resize(), RBASIC, RSTRING, snprintf(), st_lookup(), strerror(), StringValue, syserr_tbl, T_OBJECT, TYPE, and VALUE. Referenced by Init_Exception(). |
|
||||||||||||
|
Definition at line 116 of file error.c. References args, err_snprintf(), and rb_write_error2(). |
|
|
Referenced by rb_check_type(). |
|
|
Definition at line 306 of file error.c. Referenced by Init_Exception(), and name_err_mesg_new(). |
|
|
|
Definition at line 290 of file error.c. Referenced by errinfo_setter(), Init_Exception(), and rb_make_exception(). |
|
|
Definition at line 294 of file error.c. Referenced by Init_Exception(), Init_Proc(), rb_fatal(), and rb_thread_deadlock(). |
|
|
Definition at line 299 of file error.c. Referenced by env_fetch(), Init_Exception(), match_begin(), match_end(), match_offset(), rb_ary_fetch(), rb_ary_splice(), rb_ary_store(), rb_ary_transpose(), rb_hash_fetch(), rb_str_aset(), rb_str_splice(), rb_str_subpat_set(), rb_struct_aref(), and rb_struct_aset(). |
|
|
Definition at line 292 of file error.c. Referenced by Init_Exception(), and rb_interrupt(). |
|
|
Definition at line 310 of file error.c. Referenced by dln_load(), Init_Exception(), load_failed(), load_file(), and rb_loaderror(). |
|
|
Definition at line 301 of file error.c. Referenced by Init_Exception(), process_sflag(), rb_autoload(), rb_method_missing(), and rb_name_error(). |
|
|
Definition at line 305 of file error.c. Referenced by Init_Exception(), Init_GC(), and ruby_xmalloc(). |
|
|
Definition at line 302 of file error.c. Referenced by Init_Exception(), rb_eval(), and rb_method_missing(). |
|
|
Definition at line 304 of file error.c. Referenced by Init_Exception(), rb_call(), and rb_notimplement(). |
|
|
Definition at line 300 of file error.c. Referenced by big2ull(), big2ulong(), id2ref(), Init_Exception(), Init_Numeric(), int_chr(), pack_pack(), rb_big2ll(), rb_big2long(), rb_big2ulong(), rb_num2fix(), rb_num2ll(), rb_num2long(), rb_quad_pack(), rb_range_beg_len(), time_add(), time_overflow_p(), and uv_to_utf8(). |
|
|
|
Definition at line 308 of file error.c. Referenced by Init_Exception(). |
|
|
|
Definition at line 293 of file error.c. Referenced by Init_Exception(), rb_thread_signal_raise(), and rb_thread_switch(). |
|
|
Definition at line 295 of file error.c. Referenced by handle_rescue(), Init_Exception(), Init_IO(), Init_Numeric(), Init_Proc(), Init_Regexp(), Init_Thread(), and rb_rescue(). |
|
|
Definition at line 309 of file error.c. Referenced by compile_error(), err_append(), and Init_Exception(). |
|
|
Definition at line 312 of file error.c. Referenced by Init_Exception(), set_syserr(), syserr_eqq(), and syserr_initialize(). |
|
|
Definition at line 291 of file error.c. Referenced by error_handle(), Init_Exception(), rb_longjmp(), rb_thread_signal_exit(), rb_thread_start_0(), rb_thread_switch(), ruby_cleanup(), and terminate_process(). |
|