#include "ruby.h"
#include "util.h"
#include "st.h"
#include <stdarg.h>
Go to the source code of this file.
|
|
Definition at line 22 of file array.c. Referenced by rb_ary_clear(), rb_ary_delete(), rb_ary_new(), rb_ary_pop(), rb_ary_store(), and rb_ary_unshift(). |
|
|
Definition at line 45 of file array.c. Referenced by rb_ary_frozen_p(), rb_ary_modify_check(), rb_ary_sort_bang(), and sort_unlock(). |
|
|
Definition at line 149 of file array.c. Referenced by rb_ary_new3(), rb_bug(), rb_compile_error(), rb_compile_error_append(), rb_fatal(), rb_funcall(), rb_funcall_rescue(), rb_loaderror(), rb_name_error(), rb_raise(), rb_rescue2(), rb_scan_args(), rb_struct_define(), rb_struct_new(), rb_sys_warning(), rb_warn(), rb_warning(), rb_yield_values(), and warn_printf(). |
|
|
Definition at line 100 of file array.c. References NEWOBJ, OBJSETUP, T_ARRAY, and VALUE. Referenced by ary_new(), Init_Array(), rb_ary_s_create(), and rb_ary_subseq(). |
|
||||||||||||
|
Definition at line 2608 of file array.c. References Qtrue, RARRAY, rb_hash_aset(), rb_hash_new(), and VALUE. Referenced by rb_ary_and(), rb_ary_diff(), rb_ary_or(), and rb_ary_uniq_bang(). |
|
|
Definition at line 460 of file array.c. References ELTS_SHARED, FL_SET, FL_TEST, NEWOBJ, OBJ_FREEZE, OBJSETUP, RARRAY, rb_cArray, T_ARRAY, and VALUE. Referenced by rb_ary_replace(), rb_ary_shift(), and rb_ary_subseq(). |
|
||||||||||||
|
Definition at line 114 of file array.c. References ALLOC_N, ary_alloc(), RARRAY, rb_eArgError, rb_raise(), and VALUE. Referenced by rb_ary_new2(), rb_ary_subseq(), and rb_ary_times(). |
|
|
Definition at line 1555 of file array.c. References RARRAY, rb_eArgError, and rb_raise(). |
|
||||||||||||||||||||
|
Definition at line 2863 of file array.c. References NIL_P, RARRAY, rb_ary_elt(), rb_ary_includes(), rb_ary_pop(), rb_ary_push(), rb_ary_splice(), rb_check_array_type(), rb_eArgError, rb_obj_id(), rb_raise(), and VALUE. Referenced by rb_ary_flatten_bang(). |
|
|
Definition at line 1355 of file array.c. References inspect_key, NIL_P, Qnil, rb_ary_new(), rb_thread_current(), rb_thread_local_aref(), rb_thread_local_aset(), rb_warn(), T_ARRAY, TYPE, and VALUE. Referenced by inspect_ensure(), rb_inspecting_p(), and rb_protect_inspect(). |
|
|
|
Definition at line 1423 of file array.c. References OBJ_TAINT, OBJ_TAINTED, Qtrue, RARRAY, rb_inspect(), rb_str_buf_append(), rb_str_buf_cat2(), rb_str_buf_new2(), and VALUE. Referenced by rb_ary_inspect(). |
|
|
Definition at line 1348 of file array.c. Referenced by rb_protect_inspect(). |
|
|
Definition at line 1377 of file array.c. References get_inspect_tbl(), NIL_P, Qfalse, rb_ary_pop(), and VALUE. Referenced by rb_protect_inspect(). |
|
||||||||||||
|
Definition at line 1239 of file array.c. References rb_ary_join(), and VALUE. Referenced by rb_ary_join(). |
|
||||||||||||||||
|
Definition at line 35 of file array.c. References VALUE. Referenced by rb_ary_initialize(). |
|
||||||||||||
|
Definition at line 2667 of file array.c. References ary_make_hash(), RARRAY, rb_ary_elt(), rb_ary_new2(), rb_ary_push(), RHASH, st_data_t, st_delete(), to_ary(), and VALUE. Referenced by Init_Array(). |
|
||||||||||||||||
|
Definition at line 1032 of file array.c. References FIX2LONG, FIXNUM_P, NUM2LONG, RARRAY, rb_ary_splice(), rb_ary_store(), rb_eArgError, rb_eTypeError, rb_raise(), rb_range_beg_len(), SYMBOL_P, and VALUE. Referenced by Init_Array(). |
|
||||||||||||
|
Definition at line 709 of file array.c. References NUM2LONG, rb_ary_entry(), and VALUE. Referenced by Init_Array(). |
|
|
Definition at line 1690 of file array.c. References RARRAY, rb_ary_new2(), rb_ary_new4(), rb_ary_push(), rb_block_given_p(), rb_yield(), and VALUE. Referenced by Init_Array(). |
|
|
Definition at line 1722 of file array.c. References RARRAY, rb_ary_modify(), rb_ary_store(), rb_yield(), and VALUE. Referenced by Init_Array(). |
|
|
Definition at line 2827 of file array.c. References rb_ary_compact_bang(), rb_ary_dup(), and VALUE. Referenced by Init_Array(). |
|
|
Definition at line 2794 of file array.c. References end, NIL_P, Qnil, RARRAY, rb_ary_modify(), REALLOC_N, and VALUE. Referenced by Init_Array(), and rb_ary_compact(). |
|
||||||||||||
|
Definition at line 1912 of file array.c. References NUM2LONG, rb_ary_delete_at(), and VALUE. Referenced by Init_Array(). |
|
|
Definition at line 2032 of file array.c. References rb_ary_reject_bang(), and VALUE. Referenced by Init_Array(). |
|
||||||||||||
|
Definition at line 2638 of file array.c. References ary_make_hash(), RARRAY, rb_ary_elt(), rb_ary_new(), rb_ary_push(), RHASH, st_lookup(), to_ary(), and VALUE. Referenced by Init_Array(). |
|
|
Definition at line 1149 of file array.c. References LONG2NUM, RARRAY, rb_yield(), and VALUE. Referenced by Init_Array(). |
|
||||||||||||
|
Definition at line 566 of file array.c. References Qnil, RARRAY, and VALUE. Referenced by flatten(), rb_ary_and(), rb_ary_cmp(), rb_ary_diff(), rb_ary_entry(), rb_ary_eql(), rb_ary_equal(), rb_ary_or(), rb_ary_select(), rb_ary_transpose(), rb_ary_uniq_bang(), and rb_ary_zip(). |
|
|
Definition at line 1216 of file array.c. References Qfalse, Qtrue, RARRAY, and VALUE. Referenced by Init_Array(). |
|
||||||||||||
|
Definition at line 2496 of file array.c. References Qfalse, Qtrue, RARRAY, rb_ary_elt(), rb_eql(), T_ARRAY, TYPE, and VALUE. Referenced by Init_Array(). |
|
||||||||||||
|
Definition at line 2467 of file array.c. References Qfalse, Qtrue, RARRAY, rb_ary_elt(), rb_equal(), rb_intern(), rb_respond_to(), T_ARRAY, TYPE, and VALUE. Referenced by Init_Array(). |
|
||||||||||||||||
|
Definition at line 812 of file array.c. References NUM2LONG, RARRAY, rb_block_given_p(), rb_eIndexError, rb_raise(), rb_scan_args(), rb_warn(), rb_yield(), and VALUE. Referenced by Init_Array(). |
|
||||||||||||||||
|
Definition at line 2220 of file array.c. References end, LONG2NUM, NIL_P, NUM2LONG, Qfalse, Qtrue, RARRAY, rb_ary_modify(), rb_block_given_p(), rb_mem_clear(), rb_range_beg_len(), rb_scan_args(), rb_yield(), REALLOC_N, and VALUE. Referenced by Init_Array(). |
|
||||||||||||||||
|
Definition at line 731 of file array.c. References NUM2LONG, Qnil, RARRAY, rb_ary_new2(), rb_ary_push(), rb_scan_args(), and VALUE. Referenced by Init_Array(). |
|
|
Definition at line 2948 of file array.c. References rb_ary_dup(), rb_ary_flatten_bang(), and VALUE. Referenced by Init_Array(). |
|
|
Definition at line 2908 of file array.c. References flatten(), NIL_P, Qnil, RARRAY, rb_ary_new(), rb_check_array_type(), and VALUE. Referenced by Init_Array(), and rb_ary_flatten(). |
|
|
Definition at line 90 of file array.c. References ARY_TMPLOCK, FL_TEST, OBJ_FROZEN, Qfalse, Qtrue, and VALUE. Referenced by Init_Array(). |
|
|
Definition at line 2520 of file array.c. References LONG2FIX, NUM2LONG, RARRAY, rb_hash(), and VALUE. Referenced by Init_Array(). |
|
||||||||||||
|
Definition at line 855 of file array.c. References LONG2NUM, Qnil, RARRAY, rb_equal(), and VALUE. Referenced by Init_Array(). |
|
||||||||||||||||
|
Definition at line 908 of file array.c. References rb_ary_aref(), rb_ary_new2(), rb_ary_push(), rb_frame_last_func(), rb_id2name(), rb_warn(), and VALUE. Referenced by Init_Array(). |
|
||||||||||||||||
|
Definition at line 265 of file array.c. References FIXNUM_P, LONG2NUM, memfill(), NIL_P, NUM2LONG, RARRAY, rb_ary_modify(), rb_ary_replace(), rb_ary_store(), rb_block_given_p(), rb_check_array_type(), rb_eArgError, rb_raise(), rb_scan_args(), rb_warn(), rb_warning(), rb_yield(), REALLOC_N, and VALUE. Referenced by Init_Array(). |
|
||||||||||||||||
|
Definition at line 1084 of file array.c. References NUM2LONG, RARRAY, rb_ary_new4(), rb_ary_splice(), rb_eArgError, rb_raise(), and VALUE. Referenced by Init_Array(). |
|
|
Definition at line 1450 of file array.c. References inspect_ary(), RARRAY, rb_inspecting_p(), rb_protect_inspect(), rb_str_new2(), and VALUE. Referenced by Init_Array(). |
|
||||||||||||||||
|
Definition at line 1308 of file array.c. References NIL_P, rb_ary_join(), rb_output_fs, rb_scan_args(), and VALUE. Referenced by Init_Array(). |
|
||||||||||||||||
|
Definition at line 767 of file array.c. References NUM2LONG, Qnil, RARRAY, rb_ary_new2(), rb_ary_push(), rb_scan_args(), and VALUE. Referenced by Init_Array(). |
|
|
Definition at line 1200 of file array.c. References LONG2NUM, RARRAY, and VALUE. Referenced by Init_Array(). |
|
|
Definition at line 59 of file array.c. References ALLOC_N, ELTS_SHARED, FL_TEST, FL_UNSET, MEMCPY, RARRAY, rb_ary_modify_check(), and VALUE. Referenced by rb_ary_clear(), rb_ary_collect_bang(), rb_ary_compact_bang(), rb_ary_delete(), rb_ary_delete_at(), rb_ary_fill(), rb_ary_initialize(), rb_ary_reject_bang(), rb_ary_replace(), rb_ary_reverse(), rb_ary_sort_bang(), rb_ary_splice(), rb_ary_store(), and rb_ary_unshift(). |
|
|
Definition at line 48 of file array.c. References ARY_TMPLOCK, FL_TEST, OBJ_FROZEN, OBJ_TAINTED, rb_error_frozen(), rb_eRuntimeError, rb_eSecurityError, rb_raise(), rb_safe_level, and VALUE. Referenced by rb_ary_modify(), rb_ary_pop(), and rb_ary_shift(). |
|
|
Definition at line 2846 of file array.c. References LONG2NUM, NIL_P, RARRAY, and VALUE. Referenced by Init_Array(). |
|
||||||||||||
|
Definition at line 2700 of file array.c. References ary_make_hash(), RARRAY, rb_ary_elt(), rb_ary_new2(), rb_ary_push(), RHASH, st_data_t, st_delete(), to_ary(), and VALUE. Referenced by Init_Array(). |
|