Ruby
2.4.2p198(2017-09-14revision59899)
|
#include <ruby.h>
Data Fields | |
struct RBasic | basic |
union { | |
struct { | |
long len | |
char * ptr | |
union { | |
long capa | |
VALUE shared | |
} aux | |
} heap | |
char ary [RSTRING_EMBED_LEN_MAX+1] | |
} | as |
char RString::ary[RSTRING_EMBED_LEN_MAX+1] |
Definition at line 972 of file ruby.h.
Referenced by rb_mod_nesting(), rb_str_enumerate_bytes(), rb_str_enumerate_chars(), rb_str_enumerate_codepoints(), rb_str_enumerate_lines(), rb_str_scan(), rb_struct_define(), rb_struct_define_under(), rb_sym_all_symbols(), struct_make_members_list(), and symbols_i().
union { ... } RString::as |
union { ... } RString::aux |
struct RBasic RString::basic |
Definition at line 962 of file ruby.h.
Referenced by setup_fake_str().
long RString::capa |
Definition at line 968 of file ruby.h.
Referenced by rb_str_buf_new(), rb_str_casemap(), rb_str_change_terminator_length(), rb_str_init(), rb_str_resize(), rb_str_set_len(), str_buf_cat(), str_fill_term(), and str_make_independent_expand().
struct { ... } RString::heap |
Referenced by gc_mark_children().
long RString::len |
Definition at line 965 of file ruby.h.
Referenced by r_bytes0(), r_bytes1_buffered(), r_ivar(), r_object0(), w_long(), and w_object().
char* RString::ptr |
Definition at line 966 of file ruby.h.
Referenced by mark_dump_arg(), mark_load_arg(), name_err_receiver(), r_object0(), rb_check_symbol_cstr(), rb_str_conv_enc_opts(), rb_str_drop_bytes(), rb_str_enumerate_chars(), rb_str_enumerate_codepoints(), rb_str_enumerate_lines(), rb_str_quote_unprintable(), rb_str_resize(), rb_str_setbyte(), rb_str_split_m(), rb_str_sum(), rb_str_symname_p(), rb_string_value(), rb_struct_hash(), rb_tainted_str_new_cstr(), recursive_eql(), recursive_equal(), str_make_independent_expand(), str_replace_shared_without_enc(), and sym_inspect().
VALUE RString::shared |
Definition at line 969 of file ruby.h.
Referenced by rb_str_tmp_frozen_release(), str_new_frozen(), str_replace(), and str_shared_replace().