Ruby
2.1.10p492(2016-04-01revision54464)
|
#include "ruby/ruby.h"
#include "ruby/encoding.h"
#include "internal.h"
#include "regenc.h"
#include <ctype.h>
#include "ruby/util.h"
Go to the source code of this file.
Data Structures | |
struct | rb_encoding_entry |
struct | default_encoding |
Macros | |
#define | ENCODING_COUNT ENCINDEX_BUILTIN_MAX |
#define | UNSPECIFIED_ENCODING INT_MAX |
#define | ENCODING_NAMELEN_MAX 63 |
#define | valid_encoding_name_p(name) ((name) && strlen(name) <= ENCODING_NAMELEN_MAX) |
#define | enc_autoload_p(enc) (!rb_enc_mbmaxlen(enc)) |
#define | is_data_encoding(obj) (RTYPEDDATA_P(obj) && RTYPEDDATA_TYPE(obj) == &encoding_data_type) |
#define | is_obj_encoding(obj) (RB_TYPE_P((obj), T_DATA) && is_data_encoding(obj)) |
#define | ENC_REGISTER(enc) enc_register_at(ENCINDEX_##enc, rb_enc_name(&OnigEncoding##enc), &OnigEncoding##enc) |
#define | ENCDB_REGISTER(name, enc) enc_register_at(ENCINDEX_##enc, name, NULL) |
#define | rb_intern(str) rb_intern_const(str) |
#define | ctype_test(c, ctype) (rb_isascii(c) && ONIGENC_IS_ASCII_CODE_CTYPE((c), (ctype))) |
Variables | |
static ID | id_encoding |
VALUE | rb_cEncoding |
static VALUE | rb_encoding_list |
struct { | |
struct rb_encoding_entry * list | |
int count | |
int size | |
st_table * names | |
} | enc_table |
static const rb_data_type_t | encoding_data_type |
rb_encoding | OnigEncodingUTF_8 |
rb_encoding | OnigEncodingUS_ASCII |
static struct default_encoding | default_external = {0} |
static struct default_encoding | default_internal = {-2} |
#define ctype_test | ( | c, | |
ctype | |||
) | (rb_isascii(c) && ONIGENC_IS_ASCII_CODE_CTYPE((c), (ctype))) |
Definition at line 1935 of file encoding.c.
Referenced by rb_isalnum(), rb_isalpha(), rb_isblank(), rb_iscntrl(), rb_isdigit(), rb_isgraph(), rb_islower(), rb_isprint(), rb_ispunct(), rb_isspace(), rb_isupper(), and rb_isxdigit().
#define enc_autoload_p | ( | enc | ) | (!rb_enc_mbmaxlen(enc)) |
Definition at line 61 of file encoding.c.
Referenced by check_encoding(), enc_autoload(), enc_inspect(), load_encoding(), must_encindex(), rb_enc_find_index(), and rb_enc_register().
#define ENC_REGISTER | ( | enc | ) | enc_register_at(ENCINDEX_##enc, rb_enc_name(&OnigEncoding##enc), &OnigEncoding##enc) |
Referenced by rb_enc_init().
Referenced by rb_enc_init().
#define ENCODING_COUNT ENCINDEX_BUILTIN_MAX |
Definition at line 55 of file encoding.c.
Referenced by rb_enc_init().
#define ENCODING_NAMELEN_MAX 63 |
Definition at line 58 of file encoding.c.
Referenced by set_encoding_const().
#define is_data_encoding | ( | obj | ) | (RTYPEDDATA_P(obj) && RTYPEDDATA_TYPE(obj) == &encoding_data_type) |
Definition at line 77 of file encoding.c.
Referenced by enc_capable(), enc_inspect(), and rb_enc_get_index().
Definition at line 78 of file encoding.c.
Referenced by enc_check_encoding(), and enc_find().
#define rb_intern | ( | str | ) | rb_intern_const(str) |
#define UNSPECIFIED_ENCODING INT_MAX |
Definition at line 56 of file encoding.c.
Referenced by enc_find(), enc_set_default_encoding(), and rb_enc_find_index().
#define valid_encoding_name_p | ( | name | ) | ((name) && strlen(name) <= ENCODING_NAMELEN_MAX) |
Definition at line 59 of file encoding.c.
Referenced by enc_alias(), and enc_register_at().
|
static |
Definition at line 113 of file encoding.c.
References enc_autoload(), enc_autoload_p, index, rb_enc_from_index(), and rb_enc_to_index.
Referenced by enc_check_encoding().
Definition at line 519 of file encoding.c.
References enc_alias_internal(), idx, rb_enc_from_index(), set_encoding_const(), and valid_encoding_name_p.
Referenced by rb_enc_alias(), and rb_encdb_alias().
Definition at line 512 of file encoding.c.
References enc_dup_name(), enc_table, st_data_t, and st_insert2().
Referenced by enc_alias(), enc_set_default_encoding(), and rb_locale_encindex().
Definition at line 487 of file encoding.c.
References must_encoding(), Qfalse, Qtrue, and rb_enc_asciicompat.
Referenced by Init_Encoding().
|
static |
Definition at line 659 of file encoding.c.
References rb_encoding_entry::base, enc_autoload_p, ENC_INDEX_MASK, enc_register_at(), enc_table, ENC_TO_ENCINDEX, i, load_encoding(), rb_enc_name, and OnigEncodingTypeST::ruby_encoding_index.
Referenced by check_encoding(), must_encindex(), and rb_enc_find_index().
Definition at line 716 of file encoding.c.
References BUILTIN_TYPE, FALSE, is_data_encoding, SPECIAL_CONST_P, SYMBOL_P, T_DATA, T_FILE, T_REGEXP, T_STRING, and TRUE.
Referenced by enc_compatible_p().
Definition at line 338 of file encoding.c.
References rb_eArgError, rb_enc_registered(), and rb_raise().
Referenced by rb_enc_alias(), and rb_enc_replicate().
Definition at line 125 of file encoding.c.
References check_encoding(), data, is_obj_encoding, and RDATA.
Referenced by must_encoding(), rb_enc_get_index(), rb_find_encoding(), rb_to_encoding(), and rb_to_encoding_index().
Definition at line 1200 of file encoding.c.
References enc, enc_capable(), Qnil, rb_enc_compatible(), and rb_enc_from_encoding().
Referenced by Init_Encoding().
Definition at line 471 of file encoding.c.
References ENC_DUMMY_P, must_encoding(), Qfalse, and Qtrue.
Referenced by Init_Encoding().
Definition at line 1221 of file encoding.c.
References enc_name, and rb_scan_args().
Referenced by Init_Encoding().
Definition at line 502 of file encoding.c.
References st_data_t, and strdup.
Referenced by enc_alias_internal().
Definition at line 1165 of file encoding.c.
References enc, idx, is_obj_encoding, Qnil, rb_enc_from_encoding_index(), str_to_encindex(), and UNSPECIFIED_ENCODING.
Referenced by enc_m_loader(), and Init_Encoding().
Definition at line 1052 of file encoding.c.
References DATA_PTR(), enc, enc_autoload_p, ENC_DUMMY_P, is_data_encoding, not_encoding(), PRIsVALUE, rb_enc_from_index(), rb_enc_name, rb_enc_sprintf(), rb_enc_to_index, rb_eTypeError, rb_obj_class(), rb_raise(), and rb_usascii_encoding().
Referenced by Init_Encoding().
Definition at line 1135 of file encoding.c.
References ary, rb_ary_new2, rb_ary_replace(), and rb_encoding_list.
Definition at line 66 of file encoding.c.
Definition at line 1079 of file encoding.c.
References DATA_PTR(), rb_enc_name, and rb_usascii_str_new2.
Definition at line 1106 of file encoding.c.
References args, enc_names_i(), enc_table, rb_ary_new2, rb_to_encoding_index(), st_data_t, and st_foreach().
Referenced by Init_Encoding().
Definition at line 1085 of file encoding.c.
References arg, int, OBJ_FREEZE, rb_ary_push(), rb_usascii_str_new2, ST_CONTINUE, and str.
Referenced by enc_names().
|
static |
Definition at line 81 of file encoding.c.
References rb_cEncoding, and TypedData_Wrap_Struct.
Referenced by enc_register_at(), and Init_Encoding().
|
static |
Definition at line 291 of file encoding.c.
References enc_register_at(), enc_table, enc_table_expand(), and index.
Referenced by enc_replicate_with_index(), rb_enc_register(), rb_enc_replicate(), rb_encdb_alias(), rb_encdb_declare(), and rb_encdb_replicate().
|
static |
Definition at line 257 of file encoding.c.
References rb_encoding_entry::enc, enc_new(), enc_table, index, list, memset(), rb_encoding_entry::name, OnigEncodingTypeST::name, name, NIL_P(), rb_ary_entry(), rb_ary_store(), rb_encoding_list, OnigEncodingTypeST::ruby_encoding_index, st_data_t, st_insert(), STRCASECMP, strdup, valid_encoding_name_p, and xmalloc.
Referenced by enc_autoload(), enc_register(), enc_replicate_with_index(), and rb_enc_register().
Definition at line 401 of file encoding.c.
References rb_enc_from_encoding_index(), rb_enc_replicate(), rb_to_encoding(), and StringValueCStr.
Referenced by Init_Encoding().
|
static |
Definition at line 409 of file encoding.c.
References enc_register(), enc_register_at(), idx, rb_enc_from_index(), set_base_encoding(), and set_encoding_const().
Referenced by rb_encdb_dummy(), and rb_encdb_replicate().
Definition at line 1213 of file encoding.c.
References Qnil, and rb_undefined_alloc().
Referenced by Init_Encoding().
|
static |
Definition at line 1339 of file encoding.c.
References default_encoding::enc, enc_alias_internal(), enc_table, FALSE, default_encoding::index, Init_enc_set_filesystem_encoding(), NIL_P(), rb_enc_to_index, rb_to_encoding(), st_data_t, st_insert(), strdup, TRUE, and UNSPECIFIED_ENCODING.
Referenced by rb_enc_set_default_external(), and rb_enc_set_default_internal().
Definition at line 779 of file encoding.c.
References ENCODING_INLINE_MAX, ENCODING_SET_INLINED, INT2NUM, rb_id_encoding(), and rb_ivar_set().
Referenced by rb_enc_associate_index(), and rb_enc_set_index().
Definition at line 241 of file encoding.c.
References count, enc_table, memset(), and realloc().
Referenced by enc_register(), and rb_enc_init().
Definition at line 1412 of file encoding.c.
References rb_enc_default_external().
Referenced by Init_Encoding().
Definition at line 1497 of file encoding.c.
References rb_enc_default_internal().
Referenced by Init_Encoding().
Definition at line 51 of file localeinit.c.
References cp, ENCINDEX_ASCII, idx, int, rb_default_external_encoding(), rb_enc_find_index(), rb_enc_to_index, and snprintf.
Referenced by enc_set_default_encoding().
Definition at line 1889 of file encoding.c.
References CLASS_OF, enc_ascii_compatible_p(), enc_compatible_p(), enc_dummy_p(), enc_dump(), enc_find(), enc_inspect(), enc_list, enc_load(), enc_m_loader(), enc_name, enc_names(), enc_new(), enc_replicate(), enc_s_alloc(), enc_table, get_default_external(), get_default_internal(), i, list, NULL, Qnil, rb_ary_new2, rb_ary_push(), rb_cEncoding, rb_cObject, rb_define_alloc_func(), rb_define_class(), rb_define_method(), rb_define_singleton_method(), rb_enc_aliases(), rb_enc_name_list(), rb_encoding_list, rb_gc_register_mark_object(), rb_locale_charmap(), rb_marshal_define_compat(), rb_undef_method(), RBASIC_CLEAR_CLASS, set_default_external(), and set_default_internal().
Definition at line 628 of file encoding.c.
References debug, e, enc_autoload_p, enc_table, FL_TAINT, FL_UNSET, idx, ISALNUM, ISUPPER, NIL_P(), OBJ_FREEZE, Qfalse, rb_enc_registered(), rb_errinfo, rb_protect(), rb_set_errinfo(), rb_sprintf(), require_enc(), RSTRING_END, RSTRING_PTR, ruby_debug, ruby_verbose, s, and TOLOWER.
Referenced by enc_autoload(), and rb_enc_find_index().
|
static |
Definition at line 152 of file encoding.c.
References enc, enc_autoload(), enc_autoload_p, ENC_INDEX_MASK, ENC_TO_ENCINDEX, rb_eEncodingError, rb_enc_from_index(), rb_enc_name, rb_loaderror(), and rb_raise().
Referenced by rb_enc_associate_index(), rb_enc_get_from_index(), and rb_enc_set_index().
|
static |
Definition at line 142 of file encoding.c.
References DATA_PTR(), enc_check_encoding(), index, and not_encoding().
Referenced by enc_ascii_compatible_p(), and enc_dummy_p().
NORETURN | ( | static void | not_encodingVALUE enc | ) |
Definition at line 135 of file encoding.c.
References PRIsVALUE, rb_eTypeError, rb_obj_class(), and rb_raise().
Referenced by enc_inspect(), and must_encoding().
Definition at line 1251 of file encoding.c.
References ENCINDEX_ASCII.
rb_encoding* rb_ascii8bit_encoding | ( | void | ) |
Definition at line 1242 of file encoding.c.
References enc_table, ENCINDEX_ASCII, and rb_enc_init().
Referenced by do_opendir(), do_writeconv(), file_path_convert(), get_actual_encoding(), int_chr(), io_ascii8bit_binmode(), load_file_internal(), make_writeconv(), parser_str_new(), rb_define_dummy_encoding(), rb_encdb_dummy(), rb_external_str_with_enc(), rb_file_open_internal(), rb_glob(), rb_gzreader_ungetc(), rb_gzwriter_write(), rb_io_ext_int_to_encs(), rb_io_extract_modeenc(), rb_reg_initialize(), rb_reg_initialize_m(), rb_reg_initialize_str(), rb_reg_new(), rb_reg_prepare_enc(), rb_reg_preprocess_dregexp(), rb_reg_s_union(), rb_str_concat(), rb_str_conv_enc_opts(), rb_str_dump(), rb_str_encode_ospath(), rb_strftime_with_timespec(), rb_symname_p(), rb_w32_readdir(), reg_fragment_setenc_gen(), ruby_brace_glob(), ruby_glob(), ruby_init_loadpath_safe(), strio_binmode(), strio_read(), strio_ungetc(), and strio_write().
rb_encoding* rb_default_external_encoding | ( | void | ) |
Definition at line 1366 of file encoding.c.
References default_encoding::enc, default_encoding::index, rb_enc_from_index(), and rb_locale_encoding().
Referenced by argf_external_encoding(), argf_internal_encoding(), Init_enc_set_filesystem_encoding(), io_read_encoding(), ole_init_cp(), rb_enc_default_external(), rb_enc_reg_error_desc(), rb_external_str_new(), rb_external_str_new_cstr(), rb_inspect(), rb_io_ext_int_to_encs(), rb_reg_desc(), rb_str_export(), rb_str_inspect(), rb_str_quote_unprintable(), rb_str_symname_p(), require_libraries(), strio_init(), strio_set_encoding(), and validate_enc_binmode().
rb_encoding* rb_default_internal_encoding | ( | void | ) |
Definition at line 1451 of file encoding.c.
References default_encoding::enc, default_encoding::index, and rb_enc_from_index().
Referenced by file_path_convert(), int_chr(), ole_init_cp(), parse(), process_options(), rb_enc_default_internal(), rb_enc_reg_error_desc(), rb_external_str_with_enc(), rb_io_ext_int_to_encs(), rb_reg_desc(), rb_str_inspect(), rb_str_quote_unprintable(), and rb_str_symname_p().
Definition at line 437 of file encoding.c.
References enc, ENC_SET_DUMMY, enc_table, index, rb_ascii8bit_encoding(), and rb_enc_replicate().
Referenced by make_dummy_encoding(), ole_cp2encoding(), rb_nkf_enc_get(), and str_transcode0().
Definition at line 528 of file encoding.c.
References enc_alias(), enc_check_duplication(), enc_table, idx, rb_enc_find_index(), and rb_enc_init().
Definition at line 1679 of file encoding.c.
References enc_table, rb_ary_new(), rb_enc_aliases_enc_i(), rb_hash_new(), st_data_t, and st_foreach().
Referenced by Init_Encoding().
Definition at line 1642 of file encoding.c.
References ary, enc, idx, int, key, NIL_P(), OBJ_FREEZE, p, rb_ary_entry(), rb_ary_store(), rb_enc_from_index(), rb_enc_name, rb_hash_aset(), rb_usascii_str_new2, ST_CONTINUE, str, and STRCASECMP.
Referenced by rb_enc_aliases().
int rb_enc_ascget | ( | const char * | p, |
const char * | e, | ||
int * | len, | ||
rb_encoding * | enc | ||
) |
Definition at line 970 of file encoding.c.
References c, ISASCII, MBCLEN_CHARFOUND_P, rb_enc_asciicompat, rb_enc_isascii, rb_enc_mbc_to_codepoint, and rb_enc_precise_mbclen().
Referenced by check_pipe_command(), chopped_length(), rb_reg_expr_str(), rb_reg_quote(), rb_str_casecmp(), rb_str_chomp_bang(), rb_str_split_m(), rmext(), str_end_with_asciichar(), swallow(), tr_setup_table(), tr_trans(), and trnext().
VALUE rb_enc_associate | ( | VALUE | obj, |
rb_encoding * | enc | ||
) |
Definition at line 826 of file encoding.c.
References rb_enc_associate_index(), and rb_enc_to_index.
Referenced by append_fspath(), copy_home_path(), econv_primitive_convert(), econv_putback(), gzfile_getc(), gzfile_newstr(), intern_str(), io_enc_str(), io_shift_cbuf(), lex_getline(), load_file_internal(), locale_path(), parser_nextc(), parser_str_new(), process_options(), rb_ary_join(), rb_check_id_cstr(), rb_dir_getwd(), rb_econv_append(), rb_enc_reg_error_desc(), rb_enc_str_new(), rb_enc_vsprintf(), rb_external_str_with_enc(), rb_file_expand_path_internal(), rb_file_join(), rb_intern3(), rb_nkf_convert(), rb_reg_desc(), rb_reg_initialize(), rb_reg_preprocess(), rb_reg_preprocess_dregexp(), rb_reg_quote(), rb_reg_s_union(), rb_reg_to_s(), rb_str_append(), rb_str_concat(), rb_str_conv_enc_opts(), rb_str_dump(), rb_str_ellipsize(), rb_str_force_encoding(), rb_str_format(), rb_str_inspect(), rb_str_justify(), rb_str_shared_replace(), rb_str_splice(), rb_str_sub_bang(), rb_str_subpat_set(), reg_fragment_setenc_gen(), require_libraries(), ruby__sfvextra(), str_gsub(), strio_binmode(), strio_read(), strio_set_encoding(), syserr_initialize(), and tr_trans().
Definition at line 798 of file encoding.c.
References enc, ENC_CODERANGE_ASCIIONLY, ENC_CODERANGE_CLEAR, enc_set_index(), must_encindex(), obj, rb_check_frozen, rb_eArgError, rb_enc_asciicompat, rb_enc_from_index(), rb_enc_get_index(), rb_enc_mbminlen, rb_raise(), rb_str_fill_terminator(), RB_TYPE_P, SPECIAL_CONST_P, and T_STRING.
Referenced by encoded_dup(), make_econv_exception(), parser_set_encode(), r_ivar(), r_symreal(), rb_enc_associate(), rb_enc_copy(), rb_find_file_ext_safe(), rb_find_file_safe(), str_encode_associate(), and str_encode_bang().
rb_encoding* rb_enc_check | ( | VALUE | str1, |
VALUE | str2 | ||
) |
Definition at line 838 of file encoding.c.
References enc, rb_eEncCompatError, rb_enc_compatible(), rb_enc_get(), rb_enc_name, and rb_raise().
Referenced by append_fspath(), rb_file_expand_path_internal(), rb_file_join(), rb_str_append(), rb_str_chomp_bang(), rb_str_count(), rb_str_delete_bang(), rb_str_end_with(), rb_str_enumerate_lines(), rb_str_format(), rb_str_index(), rb_str_index_m(), rb_str_justify(), rb_str_plus(), rb_str_rindex(), rb_str_splice(), rb_str_split_m(), rb_str_squeeze_bang(), rb_str_start_with(), rb_str_subpat_set(), rb_str_upto(), readline_attempted_completion_function(), realpath_rec(), and tr_trans().
int rb_enc_code_to_mbclen | ( | int | code, |
rb_encoding * | enc | ||
) |
Definition at line 1025 of file encoding.c.
References ONIGENC_CODE_TO_MBCLEN.
int rb_enc_codelen | ( | int | c, |
rb_encoding * | enc | ||
) |
Definition at line 1014 of file encoding.c.
References n, ONIGENC_CODE_TO_MBCLEN, rb_eArgError, rb_enc_name, and rb_raise().
Referenced by parser_tokaddmbc(), rb_enc_uint_chr(), rb_str_buf_cat_ascii(), rb_str_concat(), rb_str_format(), strio_ungetc(), and tr_trans().
unsigned int rb_enc_codepoint | ( | const char * | p, |
const char * | e, | ||
rb_encoding * | enc | ||
) |
Definition at line 1008 of file encoding.c.
References rb_enc_codepoint_len().
unsigned int rb_enc_codepoint_len | ( | const char * | p, |
const char * | e, | ||
int * | len_p, | ||
rb_encoding * | enc | ||
) |
Definition at line 993 of file encoding.c.
References MBCLEN_CHARFOUND_LEN, MBCLEN_CHARFOUND_P, r, rb_eArgError, rb_enc_mbc_to_codepoint, rb_enc_name, rb_enc_precise_mbclen(), and rb_raise().
Referenced by rb_enc_codepoint(), rb_str_capitalize_bang(), rb_str_count(), rb_str_delete_bang(), rb_str_downcase_bang(), rb_str_enumerate_codepoints(), rb_str_format(), rb_str_lstrip_bang(), rb_str_split_m(), rb_str_squeeze_bang(), rb_str_swapcase_bang(), rb_str_upcase_bang(), readline_attempted_completion_function(), rmext(), strio_each_codepoint(), sym_printable(), tr_trans(), and trnext().
rb_encoding* rb_enc_compatible | ( | VALUE | str1, |
VALUE | str2 | ||
) |
Definition at line 849 of file encoding.c.
References enc2, ENC_CODERANGE_7BIT, ENCINDEX_US_ASCII, rb_enc_asciicompat, rb_enc_from_index(), rb_enc_get_index(), rb_enc_str_asciionly_p(), rb_enc_str_coderange(), RB_TYPE_P, RSTRING_LEN, T_STRING, and tmp.
Referenced by enc_compatible_p(), file_s_fnmatch(), literal_concat0(), location_format(), match_aref(), rb_enc_check(), rb_file_s_basename(), rb_reg_regsub(), rb_str_casecmp(), rb_str_sub_bang(), and ruby__sfvextra().
Definition at line 916 of file encoding.c.
References rb_enc_associate_index(), and rb_enc_get_index().
Referenced by ary_join_0(), ary_join_1(), date_s__parse_internal(), date_s__strptime_internal(), date_strftime_internal(), inspect_ary(), inspect_i(), rb_check_id(), rb_file_dirname(), rb_file_expand_path_internal(), rb_file_join(), rb_file_s_basename(), rb_reg_desc(), rb_reg_quote(), rb_reg_s_union(), rb_reg_to_s(), rb_str_format(), str_new(), str_new_empty(), and strio_read().
Definition at line 1380 of file encoding.c.
References rb_default_external_encoding(), and rb_enc_from_encoding().
Referenced by get_default_external().
Definition at line 1460 of file encoding.c.
References rb_default_internal_encoding(), and rb_enc_from_encoding().
Referenced by get_default_internal(), if(), and str_transcode0().
int rb_enc_fast_mbclen | ( | const char * | p, |
const char * | e, | ||
rb_encoding * | enc | ||
) |
Definition at line 940 of file encoding.c.
References ONIGENC_MBC_ENC_LEN, and UChar.
Referenced by enc_strlen(), rb_str_enumerate_chars(), rb_str_reverse(), rb_str_split_m(), scan_once(), and str_gsub().
rb_encoding* rb_enc_find | ( | const char * | name | ) |
Definition at line 708 of file encoding.c.
References idx, rb_enc_find_index(), and rb_enc_from_index().
Referenced by econv_get_replacement(), econv_insert_output(), make_encoding(), make_replacement(), and transcode_loop().
Definition at line 684 of file encoding.c.
References enc, enc_autoload(), enc_autoload_p, i, load_encoding(), rb_eArgError, rb_enc_from_index(), rb_enc_registered(), rb_raise(), rb_warn(), and UNSPECIFIED_ENCODING.
Referenced by id2encidx(), if(), Init_enc_set_filesystem_encoding(), Init_tcltklib(), make_econv_exception(), ole_cp2encoding(), opt_enc_index(), parse_mode_enc(), parser_set_encode(), process_options(), rb_econv_open0(), rb_enc_alias(), rb_enc_find(), rb_locale_encindex(), rb_nkf_enc_get(), rb_to_encoding_index(), str_find_encindex(), transcode_io(), and transcode_string().
void rb_enc_foreach_name | ( | int(*)(st_data_t name, st_data_t idx, st_data_t arg) | func, |
st_data_t | arg | ||
) |
Definition at line 1964 of file encoding.c.
References enc_table, func, and st_foreach().
Referenced by Init_w32_codepage().
VALUE rb_enc_from_encoding | ( | rb_encoding * | encoding | ) |
Definition at line 102 of file encoding.c.
References ENC_TO_ENCINDEX, idx, Qnil, and rb_enc_from_encoding_index().
Referenced by argf_external_encoding(), argf_internal_encoding(), do_writeconv(), econv_destination_encoding(), econv_insert_output(), econv_s_asciicompat_encoding(), econv_source_encoding(), enc_compatible_p(), get_user_from_path(), gettable_gen(), if(), Init_nkf(), io_set_encoding_by_bom(), load_file_internal(), make_econv_exception(), make_encobj(), process_options(), rb_enc_default_external(), rb_enc_default_internal(), rb_file_expand_path_internal(), rb_io_external_encoding(), rb_io_getline_1(), rb_io_internal_encoding(), rb_nkf_guess(), rb_parser_encoding(), rb_reg_to_s(), rb_str_ellipsize(), rb_str_enumerate_lines(), readline_attempted_completion_function(), set_encoding_const(), and strio_external_encoding().
Definition at line 87 of file encoding.c.
References enc, list, NIL_P(), rb_ary_entry(), rb_bug(), and rb_encoding_list.
Referenced by enc_find(), enc_replicate(), rb_enc_from_encoding(), and rb_obj_encoding().
rb_encoding* rb_enc_from_index | ( | int | index | ) |
Definition at line 590 of file encoding.c.
References ENC_INDEX_MASK, enc_table, index, and rb_enc_init().
Referenced by check_encoding(), dump_object(), econv_args(), enc_alias(), enc_arg(), enc_inspect(), enc_replicate_with_index(), file_path_convert(), get_actual_encoding(), if(), io_set_encoding_by_bom(), load_file_internal(), make_dummy_encoding(), make_econv_exception(), must_encindex(), ole_cp2encoding(), opt_enc_index(), parse_mode_enc(), parser_set_encode(), process_options(), rb_default_external_encoding(), rb_default_internal_encoding(), rb_econv_open0(), rb_enc_aliases_enc_i(), rb_enc_associate_index(), rb_enc_compatible(), rb_enc_cr_str_buf_cat(), rb_enc_find(), rb_enc_find_index(), rb_enc_get(), rb_enc_register(), rb_enc_replicate(), rb_enc_set_base(), rb_encdb_declare(), rb_encdb_replicate(), rb_encdb_set_unicode(), rb_filesystem_encoding(), rb_find_encoding(), rb_io_extract_encoding_option(), rb_locale_encoding(), rb_nkf_enc_get(), rb_str_buf_cat_ascii(), rb_str_comparable(), rb_str_inspect(), rb_w32_conv_from_wchar(), rb_w32_write_console(), str_encode_associate(), str_end_with_asciichar(), str_to_encoding(), str_transcode_enc_args(), and w_encoding().
rb_encoding* rb_enc_get | ( | VALUE | obj | ) |
Definition at line 832 of file encoding.c.
References rb_enc_from_index(), and rb_enc_get_index().
Referenced by check_dirname(), check_path_encoding(), check_pipe_command(), do_writeconv(), econv_set_replacement(), file_s_fnmatch(), fnmatch_brace(), intern_str(), io_encoding_set(), literal_concat0(), must_be_ascii_compatible(), must_not_be_anonymous(), ole_vstr2wc(), parser_prepare(), parser_yyerror(), path_check_0(), path_sub_ext(), prepare_getline_args(), push_glob(), rb_econv_open_opts(), rb_econv_prepare_options(), rb_enc_check(), rb_file_dirname(), rb_file_expand_path_internal(), rb_file_join(), rb_file_s_basename(), rb_file_s_extname(), rb_gzreader_ungetc(), rb_gzwriter_write(), rb_inspect(), rb_mod_const_defined(), rb_mod_const_get(), rb_must_asciicompat(), rb_path_to_class(), rb_push_glob(), rb_realpath_internal(), rb_reg_check_preprocess(), rb_reg_desc(), rb_reg_error_desc(), rb_reg_init_copy(), rb_reg_initialize_m(), rb_reg_initialize_str(), rb_reg_prepare_enc(), rb_reg_preprocess_dregexp(), rb_reg_quote(), rb_reg_regsub(), rb_reg_s_union(), rb_reg_source(), rb_reg_to_s(), rb_str_chomp_bang(), rb_str_conv_enc_opts(), rb_str_dump(), rb_str_ellipsize(), rb_str_encode_ospath(), rb_str_enumerate_chars(), rb_str_enumerate_lines(), rb_str_fill_terminator(), rb_str_format(), rb_str_symname_type(), rb_string_value_cstr(), rb_to_encoding_index(), realpath_rec(), reg_enc_error(), reg_fragment_setenc_gen(), reg_named_capture_assign_gen(), ruby__sfvextra(), str_find_encindex(), strio_each_codepoint(), strio_external_encoding(), strio_getc(), strio_getline(), strio_substr(), strio_ungetc(), strio_write(), strscan_getch(), sym_check_asciionly(), syserr_initialize(), time_strftime(), transcode_loop(), and update_char_offset().
rb_encoding* rb_enc_get_from_index | ( | int | index | ) |
Definition at line 602 of file encoding.c.
References must_encindex().
Referenced by get_actual_encoding().
Definition at line 739 of file encoding.c.
References BUILTIN_TYPE, enc_check_encoding(), ENCODING_GET_INLINED, ENCODING_INLINE_MAX, i, is_data_encoding, NIL_P(), NUM2INT, rb_funcall(), rb_id2str(), rb_id_encoding(), rb_intern, rb_ivar_get(), SPECIAL_CONST_P, SYM2ID, SYMBOL_P, T_DATA, T_FILE, T_REGEXP, T_STRING, and tmp.
Referenced by rb_enc_associate_index(), rb_enc_compatible(), rb_enc_copy(), rb_enc_get(), rb_obj_encoding(), str_transcode_enc_args(), transcode_string(), w_encoding(), and w_symbol().
Definition at line 563 of file encoding.c.
References ASCII, ENC_REGISTER, enc_table, enc_table_expand(), ENCDB_REGISTER, ENCINDEX_BUILTIN_MAX, ENCODING_COUNT, EUC_JP, st_init_strcasetable(), UTF8_MAC, UTF_16, UTF_16BE, UTF_16LE, UTF_32, UTF_32BE, UTF_32LE, and UTF_8.
Referenced by rb_ascii8bit_encoding(), rb_enc_alias(), rb_enc_from_index(), rb_usascii_encoding(), and rb_utf8_encoding().
int rb_enc_mbclen | ( | const char * | p, |
const char * | e, | ||
rb_encoding * | enc | ||
) |
Definition at line 946 of file encoding.c.
References int, MBCLEN_CHARFOUND_LEN, MBCLEN_CHARFOUND_P, min(), n, ONIGENC_PRECISE_MBC_ENC_LEN, rb_enc_mbminlen, and UChar.
Referenced by bracket(), enc_strlen(), gzfile_getc(), intern_str(), io_getc(), is_special_global_name(), rb_enc_symname_type(), rb_str_casecmp(), rb_str_enumerate_chars(), rb_str_enumerate_lines(), rb_str_format(), rb_str_reverse(), str_nth_len(), str_null_char(), strio_getc(), strio_ungetc(), and strscan_getch().
Definition at line 1634 of file encoding.c.
References ary, enc_table, rb_ary_new2, rb_enc_name_list_i(), st_data_t, and st_foreach().
Referenced by Init_Encoding().
Definition at line 1610 of file encoding.c.
References ary, OBJ_FREEZE, rb_ary_push(), rb_usascii_str_new2, ST_CONTINUE, and str.
Referenced by rb_enc_name_list().
int rb_enc_precise_mbclen | ( | const char * | p, |
const char * | e, | ||
rb_encoding * | enc | ||
) |
Definition at line 958 of file encoding.c.
References n, ONIGENC_CONSTRUCT_MBCLEN_NEEDMORE, ONIGENC_PRECISE_MBC_ENC_LEN, and UChar.
Referenced by coderange_scan(), enc_pred_char(), enc_succ_char(), fnmatch_helper(), gzreader_charboundary(), io_getc(), make_econv_exception(), rb_enc_ascget(), rb_enc_codepoint_len(), rb_enc_strlen_cr(), rb_enc_uint_chr(), rb_io_each_codepoint(), rb_io_getline_1(), rb_reg_expr_str(), rb_str_coderange_scan_restartable(), rb_str_concat(), rb_str_dump(), rb_str_inspect(), rb_str_scrub(), rb_str_succ(), unescape_escaped_nonascii(), and unescape_nonascii().
int rb_enc_register | ( | const char * | name, |
rb_encoding * | encoding | ||
) |
Definition at line 304 of file encoding.c.
References enc_autoload_p, ENC_DUMMY_P, enc_register(), enc_register_at(), index, rb_eArgError, rb_enc_from_index(), rb_enc_name, rb_enc_registered(), rb_raise(), set_encoding_const(), and STRCASECMP.
Definition at line 608 of file encoding.c.
References enc_table, idx, st_data_t, and st_lookup().
Referenced by enc_check_duplication(), load_encoding(), rb_enc_find_index(), rb_enc_register(), rb_enc_set_base(), rb_encdb_alias(), rb_encdb_declare(), rb_encdb_dummy(), rb_encdb_replicate(), rb_filesystem_encindex(), and rb_locale_encindex().
int rb_enc_replicate | ( | const char * | name, |
rb_encoding * | encoding | ||
) |
Definition at line 380 of file encoding.c.
References enc_check_duplication(), enc_register(), idx, rb_enc_from_index(), set_base_encoding(), and set_encoding_const().
Referenced by enc_replicate(), and rb_define_dummy_encoding().
Definition at line 360 of file encoding.c.
References idx, rb_enc_from_index(), rb_enc_registered(), and set_base_encoding().
Definition at line 1418 of file encoding.c.
References enc_set_default_encoding(), NIL_P(), rb_eArgError, and rb_raise().
Referenced by process_options(), and set_default_external().
Definition at line 1503 of file encoding.c.
References enc_set_default_encoding().
Referenced by process_options(), and set_default_internal().
Definition at line 371 of file encoding.c.
References enc, ENC_SET_DUMMY, enc_table, and index.
Definition at line 790 of file encoding.c.
References enc_set_index(), must_encindex(), and rb_check_frozen.
Referenced by pack_pack(), and str_enc_copy().
int rb_enc_tolower | ( | int | c, |
rb_encoding * | enc | ||
) |
Definition at line 1037 of file encoding.c.
References ONIGENC_ASCII_CODE_TO_LOWER_CASE, and ONIGENC_IS_ASCII_CODE.
Referenced by rb_str_capitalize_bang(), rb_str_downcase_bang(), and rb_str_swapcase_bang().
int rb_enc_toupper | ( | int | c, |
rb_encoding * | enc | ||
) |
Definition at line 1031 of file encoding.c.
References ONIGENC_ASCII_CODE_TO_UPPER_CASE, and ONIGENC_IS_ASCII_CODE.
Referenced by bracket(), fnmatch_helper(), rb_str_capitalize_bang(), rb_str_format(), rb_str_swapcase_bang(), and rb_str_upcase_bang().
int rb_enc_unicode_p | ( | rb_encoding * | enc | ) |
Definition at line 496 of file encoding.c.
References ONIGENC_IS_UNICODE.
Referenced by rb_reg_expr_str(), and rb_str_inspect().
Definition at line 543 of file encoding.c.
References enc_alias(), enc_register(), idx, and rb_enc_registered().
Definition at line 328 of file encoding.c.
References enc_register(), idx, rb_enc_from_index(), rb_enc_registered(), and set_encoding_const().
Definition at line 447 of file encoding.c.
References enc, enc_replicate_with_index(), ENC_SET_DUMMY, enc_table, index, rb_ascii8bit_encoding(), and rb_enc_registered().
Definition at line 425 of file encoding.c.
References enc_register(), enc_replicate_with_index(), idx, rb_enc_from_index(), and rb_enc_registered().
Definition at line 554 of file encoding.c.
References OnigEncodingTypeST::flags, ONIGENC_FLAG_UNICODE, and rb_enc_from_index().
Definition at line 1315 of file encoding.c.
References ENCINDEX_ASCII, idx, and rb_enc_registered().
Referenced by rb_filesystem_encoding().
rb_encoding* rb_filesystem_encoding | ( | void | ) |
Definition at line 1324 of file encoding.c.
References rb_enc_from_index(), and rb_filesystem_encindex().
Referenced by copy_home_path(), dir_initialize(), env_fetch(), etc_systmpdir(), file_path_convert(), push_glob(), rb_dir_getwd(), rb_f_getenv(), rb_file_expand_path_internal(), rb_filesystem_str_new(), rb_filesystem_str_new_cstr(), rb_str_encode_ospath(), and rb_w32_special_folder().
rb_encoding* rb_find_encoding | ( | VALUE | enc | ) |
Definition at line 226 of file encoding.c.
References enc_check_encoding(), idx, NULL, rb_enc_from_index(), RDATA, and str_find_encindex().
Referenced by find_encoding().
Definition at line 236 of file encoding.c.
Referenced by gc_mark_roots().
Definition at line 732 of file encoding.c.
References CONST_ID, and id_encoding.
Referenced by enc_set_index(), id2encidx(), rb_enc_get_index(), w_encoding(), and w_obj_each().
Definition at line 1938 of file encoding.c.
References ctype_test, and ONIGENC_CTYPE_ALNUM.
Definition at line 1939 of file encoding.c.
References ctype_test, and ONIGENC_CTYPE_ALPHA.
Definition at line 1940 of file encoding.c.
References ctype_test, and ONIGENC_CTYPE_BLANK.
Definition at line 1941 of file encoding.c.
References ctype_test, and ONIGENC_CTYPE_CNTRL.
Definition at line 1942 of file encoding.c.
References ctype_test, and ONIGENC_CTYPE_DIGIT.
Referenced by f_format().
Definition at line 1943 of file encoding.c.
References ctype_test, and ONIGENC_CTYPE_GRAPH.
Definition at line 1944 of file encoding.c.
References ctype_test, and ONIGENC_CTYPE_LOWER.
Definition at line 1945 of file encoding.c.
References ctype_test, and ONIGENC_CTYPE_PRINT.
Definition at line 1946 of file encoding.c.
References ctype_test, and ONIGENC_CTYPE_PUNCT.
Referenced by rb_id2str().
Definition at line 1947 of file encoding.c.
References ctype_test, and ONIGENC_CTYPE_SPACE.
Referenced by rb_str_lstrip_bang(), rb_str_rstrip_bang(), and rb_str_split_m().
Definition at line 1948 of file encoding.c.
References ctype_test, and ONIGENC_CTYPE_UPPER.
Definition at line 1949 of file encoding.c.
References ctype_test, and ONIGENC_CTYPE_XDIGIT.
Definition at line 23 of file localeinit.c.
Referenced by Init_Encoding(), and rb_locale_encindex().
Definition at line 1287 of file encoding.c.
References enc_alias_internal(), ENCINDEX_ASCII, ENCINDEX_US_ASCII, idx, Init_w32_codepage(), NIL_P(), rb_cEncoding, rb_enc_find_index(), rb_enc_registered(), rb_locale_charmap(), and StringValueCStr.
Referenced by rb_locale_encoding().
rb_encoding* rb_locale_encoding | ( | void | ) |
Definition at line 1309 of file encoding.c.
References rb_enc_from_index(), and rb_locale_encindex().
Referenced by env_str_new(), etc_getlogin(), load_file_internal(), locale_path(), process_options(), rb_default_external_encoding(), rb_loaderror(), rb_loaderror_with_path(), rb_locale_str_new(), rb_locale_str_new_cstr(), rb_str_export_locale(), rb_strftime_with_timespec(), readline_attempted_completion_function(), and syserr_initialize().
Definition at line 930 of file encoding.c.
References ENC_INDEX_MASK, idx, rb_enc_from_encoding_index(), rb_enc_get_index(), rb_eTypeError, and rb_raise().
Referenced by Init_Regexp(), Init_String(), str_transcode0(), and sym_encoding().
rb_encoding* rb_to_encoding | ( | VALUE | enc | ) |
Definition at line 219 of file encoding.c.
References enc_check_encoding(), RDATA, and str_to_encoding().
Referenced by decorate_convpath(), dir_initialize(), enc_replicate(), enc_set_default_encoding(), int_chr(), rb_io_extract_encoding_option(), rb_str_force_encoding(), and strio_set_encoding().
Definition at line 171 of file encoding.c.
References enc_check_encoding(), idx, NIL_P(), rb_check_string_type(), rb_enc_asciicompat, rb_enc_find_index(), rb_enc_get(), and StringValueCStr.
Referenced by econv_args(), enc_arg(), enc_names(), rb_io_extract_encoding_option(), and transcode_io().
Definition at line 1952 of file encoding.c.
References c, ONIGENC_ASCII_CODE_TO_LOWER_CASE, and rb_isascii.
Referenced by readline_attempted_completion_function().
Definition at line 1958 of file encoding.c.
References c, ONIGENC_ASCII_CODE_TO_UPPER_CASE, and rb_isascii.
Definition at line 1281 of file encoding.c.
References ENCINDEX_US_ASCII.
rb_encoding* rb_usascii_encoding | ( | void | ) |
Definition at line 1272 of file encoding.c.
References enc_table, ENCINDEX_US_ASCII, and rb_enc_init().
Referenced by do_opendir(), enc_inspect(), file_path_convert(), Init_id(), intern_str(), mk_inspect(), of2str(), parser_str_new(), push_glob(), rb_ary_join(), rb_external_str_with_enc(), rb_intern2(), rb_nkf_convert(), rb_reg_desc(), rb_reg_initialize(), rb_reg_quote(), rb_reg_to_s(), rb_str_concat(), rb_str_inspect(), rb_str_upto(), rb_strftime_with_timespec(), reg_fragment_setenc_gen(), setup_exception(), time_asctime(), and time_to_s().
Definition at line 1266 of file encoding.c.
References ENCINDEX_UTF_8.
rb_encoding* rb_utf8_encoding | ( | void | ) |
Definition at line 1257 of file encoding.c.
References enc_table, ENCINDEX_UTF_8, and rb_enc_init().
Referenced by alias(), append_utf8(), do_opendir(), env_fetch(), env_str_new(), etc_getlogin(), get_user_from_path(), Init_nkf(), Init_tcltklib(), load_file_internal(), make_econv_exception(), parser_initialize(), parser_prepare(), parser_str_new(), parser_tokadd_utf8(), rb_f_getenv(), rb_file_expand_path_internal(), rb_memsearch(), rb_str_dump(), rb_str_encode_ospath(), rb_str_subpos(), scalar(), start_document(), start_mapping(), start_sequence(), str_strlen(), and transcode_string().
Definition at line 621 of file encoding.c.
References rb_require_safe(), rb_safe_level, and safe.
Referenced by load_encoding().
|
static |
Definition at line 346 of file encoding.c.
References rb_encoding_entry::base, enc, ENC_SET_DUMMY, enc_table, index, and rb_enc_dummy_p().
Referenced by enc_replicate_with_index(), rb_enc_replicate(), and rb_enc_set_base().
Definition at line 1441 of file encoding.c.
References rb_enc_set_default_external(), and rb_warning().
Referenced by Init_Encoding().
Definition at line 1523 of file encoding.c.
References rb_enc_set_default_internal(), and rb_warning().
Referenced by Init_Encoding().
|
static |
Definition at line 1559 of file encoding.c.
References ALLOCA_N, ENCODING_NAMELEN_MAX, ISALNUM, ISDIGIT, ISLOWER, ISUPPER, len, MEMCPY, name, ONIGENC_ASCII_CODE_TO_UPPER_CASE, rb_cEncoding, rb_define_const(), rb_enc_from_encoding(), s, and strlen().
Referenced by enc_alias(), enc_replicate_with_index(), rb_enc_register(), rb_enc_replicate(), and rb_encdb_declare().
Definition at line 190 of file encoding.c.
References idx, rb_eArgError, rb_enc_asciicompat, rb_enc_find_index(), rb_enc_get(), rb_raise(), StringValue, and StringValueCStr.
Referenced by rb_find_encoding(), and str_to_encindex().
Definition at line 203 of file encoding.c.
References idx, PRIsVALUE, rb_eArgError, rb_raise(), and str_find_encindex().
Referenced by enc_find(), and str_to_encoding().
|
static |
Definition at line 213 of file encoding.c.
References rb_enc_from_index(), and str_to_encindex().
Referenced by rb_to_encoding().
int count |
Definition at line 48 of file encoding.c.
Referenced by asn1time_to_time(), clock_gettime(), code_page_i(), constat_apply(), enc_table_expand(), EVENTSINK_Invoke(), find_coclass(), find_iid(), gc_profile_dump_on(), gc_profile_total_time(), gc_stat_internal(), nkf_split_options(), ole_const_load(), ole_types_from_typelib(), oleclass_from_typelib(), ossl_x509_get_extensions(), ossl_x509crl_get_extensions(), ossl_x509req_get_attributes(), ossl_x509revoked_get_extensions(), rb_ivar_count(), rb_read_internal(), rb_write_internal(), rb_write_internal2(), read_num(), typeinfo_from_ole(), update_coverage(), and waitpid().
|
static |
Definition at line 1334 of file encoding.c.
|
static |
Definition at line 1448 of file encoding.c.
struct { ... } enc_table |
Referenced by enc_alias_internal(), enc_autoload(), enc_names(), enc_register(), enc_register_at(), enc_set_default_encoding(), enc_table_expand(), Init_Encoding(), load_encoding(), rb_ascii8bit_encoding(), rb_define_dummy_encoding(), rb_enc_alias(), rb_enc_aliases(), rb_enc_foreach_name(), rb_enc_from_index(), rb_enc_init(), rb_enc_name_list(), rb_enc_registered(), rb_enc_set_dummy(), rb_encdb_dummy(), rb_usascii_encoding(), rb_utf8_encoding(), and set_base_encoding().
|
static |
Definition at line 71 of file encoding.c.
|
static |
Definition at line 36 of file encoding.c.
Referenced by rb_id_encoding().
struct rb_encoding_entry* list |
Definition at line 47 of file encoding.c.
Referenced by add_modules(), enc_register_at(), fc_i(), gc_mark_roots(), get_destination_insn(), get_next_insn(), get_prev_insn(), glob_free_pattern(), glob_make_pattern(), Init_Encoding(), iseq_insns_unification(), iseq_optimize(), iseq_peephole_optimize(), iseq_set_sequence(), iseq_set_sequence_stackcaching(), libyaml_version(), list_append_gen(), numeric_getaddrinfo(), pipe_add_fptr(), pipe_atexit(), pipe_del_fptr(), rb_enc_from_encoding_index(), rb_objspace_call_finalizer(), rb_objspace_free(), rb_set_end_proc(), recursive_list_access(), require_libraries(), resize_property_list(), ruby_glob0(), select_internal(), switch(), thread_join(), and verify_list().
st_table* names |
Definition at line 50 of file encoding.c.
Referenced by make_hostent_internal(), match_inspect(), and sock_s_gethostbyaddr().
rb_encoding OnigEncodingUS_ASCII |
rb_encoding OnigEncodingUTF_8 |
VALUE rb_cEncoding |
Definition at line 37 of file encoding.c.
Referenced by enc_new(), Init_Encoding(), Init_Exception(), Init_transcode(), rb_locale_encindex(), and set_encoding_const().
|
static |
Definition at line 38 of file encoding.c.
Referenced by enc_list(), enc_register_at(), Init_Encoding(), and rb_enc_from_encoding_index().
Definition at line 49 of file encoding.c.
Referenced by add_code_range_to_buf0(), argf_memsize(), backtrace_each(), backtrace_to_location_ary(), backtrace_to_str_ary(), BSD_vfprintf(), check_machine_stack_size(), closure_memsize(), cont_capture(), cont_memsize(), cont_save_machine_stack(), date_strftime_alloc(), dh_generate(), dlcfunc_memsize(), dln_find_exe_r(), dln_find_file_r(), dsa_generate(), enum_each_cons_size(), enum_each_slice_size(), enumerator_init(), enumerator_initialize(), enumerator_size(), env_memsize(), fiber_memsize(), finish_overlapped(), finish_overlapped_socket(), fmt_setup(), function_memsize(), get_keys(), get_line_info(), get_user_from_path(), get_values(), getifaddrs(), heap_pages_expand_sorted(), io_fread(), iseq_memsize(), iseq_set_local_table(), lazy_initialize(), make_readconv(), mmrot3_(), mmswap_(), obj_memsize_of(), objspace_malloc_fixup(), objspace_malloc_prepare(), objspace_xcalloc(), ole_mb2wc(), ole_vstr2wc(), ole_wc2mb_alloc(), onig_memsize(), onig_region_memsize(), onig_set_match_stack_limit_size(), ossl_dh_s_generate(), ossl_rsa_s_generate(), overlapped_socket_io(), parser_memsize(), rb_ary_initialize(), rb_dlptr_initialize(), rb_dlptr_minus(), rb_dlptr_new2(), rb_dlptr_plus(), rb_dlptr_s_malloc(), rb_dlptr_size_get(), rb_dlptr_size_set(), rb_econv_memsize(), rb_fiddle_ptr_initialize(), rb_fiddle_ptr_minus(), rb_fiddle_ptr_new2(), rb_fiddle_ptr_plus(), rb_fiddle_ptr_s_malloc(), rb_fiddle_ptr_size_get(), rb_fiddle_ptr_size_set(), rb_file_expand_path_internal(), rb_hash_hash(), rb_hash_keys(), rb_hash_values(), rb_io_memsize(), rb_iseq_disasm(), rb_str_justify(), rb_strftime_alloc(), rb_struct_new(), rb_transcoding_memsize(), rb_w32_read(), rb_w32_write(), rb_zstream_set_avail_out(), recvmsg(), reg_get_val(), remove_invalid_alternative_data(), replace_to_long_name(), resize_property_list(), rsa_generate(), ruby_qsort(), sendmsg(), st_init_table_with_size(), strscan_memsize(), tcltklib_compile_info(), thread_memsize(), unset_addr_list_add(), unset_addr_list_init(), vm_memsize(), wmap_aset_update(), wmap_final_func(), wmap_finalize(), wmap_memsize(), wstati64(), yaml_emitter_set_output_string(), yaml_parser_set_input_string(), yaml_parser_update_buffer(), yaml_string_read_handler(), and yaml_string_write_handler().