|
#define | HASH_DEBUG 0 |
|
#define | HAS_EXTRA_STATES(hash, klass) |
|
#define | SET_DEFAULT(hash, ifnone) |
|
#define | SET_PROC_DEFAULT(hash, proc) set_proc_default(hash, proc) |
|
#define | COPY_DEFAULT(hash, hash2) copy_default(RHASH(hash), RHASH(hash2)) |
|
#define | st_index_hash(index) key64_hash(rb_hash_start(index), prime2) |
|
#define | rb_ident_cmp st_numcmp |
|
#define | identhash rb_hashtype_ident |
|
#define | RHASH_AR_TABLE_MAX_BOUND RHASH_AR_TABLE_MAX_SIZE |
|
#define | RHASH_AR_TABLE_REF(hash, n) (&RHASH_AR_TABLE(hash)->pairs[n]) |
|
#define | RHASH_AR_CLEARED_HINT 0xff |
|
#define | RHASH_AR_TABLE_SIZE(h) |
|
#define | RHASH_AR_TABLE_BOUND_RAW(h) |
|
#define | RHASH_AR_TABLE_BOUND(h) |
|
#define | RHASH_ST_TABLE_SET(h, s) rb_hash_st_table_set(h, s) |
|
#define | RHASH_TYPE(hash) (RHASH_AR_TABLE_P(hash) ? &objhash : RHASH_ST_TABLE(hash)->type) |
|
#define | HASH_ASSERT(expr) RUBY_ASSERT_MESG_WHEN(HASH_DEBUG, expr, #expr) |
|
#define | hash_verify(h) ((void)0) |
|
#define | RHASH_SET_ST_FLAG(h) FL_SET_RAW(h, RHASH_ST_TABLE_FLAG) |
|
#define | RHASH_UNSET_ST_FLAG(h) FL_UNSET_RAW(h, RHASH_ST_TABLE_FLAG) |
|
#define | RHASH_AR_TABLE_SIZE_INC(h) HASH_AR_TABLE_SIZE_ADD(h, 1) |
|
#define | NOINSERT_UPDATE_CALLBACK(func) |
|
#define | UPDATE_CALLBACK(iter_lev, func) ((iter_lev) > 0 ? func##_noinsert : func##_insert) |
|
#define | RHASH_UPDATE_ITER(h, iter_lev, key, func, a) |
|
#define | RHASH_UPDATE(hash, key, func, arg) RHASH_UPDATE_ITER(hash, RHASH_ITER_LEV(hash), key, func, arg) |
|
#define | to_hash rb_to_hash_type |
|
#define | GET_ENVIRON(e) (e) |
|
#define | FREE_ENVIRON(e) |
|
#define | ENVMATCH(n1, n2) (strcmp((n1), (n2)) == 0) |
|
#define | ENVNMATCH(s1, s2, n) (memcmp((s1), (s2), (n)) == 0) |
|
#define | get_env_ptr(var, val) (var = get_env_cstr(val, #var)) |
|
#define | env_name(s) env_name(&(s)) |
|
#define | rb_intern(str) rb_intern_const(str) |
|
|
VALUE | rb_hash_freeze (VALUE hash) |
|
VALUE | rb_hash_set_ifnone (VALUE hash, VALUE ifnone) |
|
VALUE | rb_hash (VALUE obj) |
|
long | rb_dbl_long_hash (double d) |
|
size_t | rb_hash_ar_table_size (void) |
|
int | rb_hash_ar_table_p (VALUE hash) |
|
ar_table * | rb_hash_ar_table (VALUE hash) |
|
st_table * | rb_hash_st_table (VALUE hash) |
|
void | rb_hash_st_table_set (VALUE hash, st_table *st) |
|
| NOINLINE (static int ar_equal(VALUE x, VALUE y)) |
|
void | rb_hash_transient_heap_evacuate (VALUE hash, int promote) |
|
void | st_foreach_safe (st_table *table, st_foreach_func *func, st_data_t a) |
|
void | rb_ivar_set_internal (VALUE obj, ID id, VALUE val) |
|
int | rb_hash_stlike_foreach (VALUE hash, st_foreach_callback_func *func, st_data_t arg) |
|
int | rb_hash_stlike_foreach_with_replace (VALUE hash, st_foreach_check_callback_func *func, st_update_callback_func *replace, st_data_t arg) |
|
void | rb_hash_foreach (VALUE hash, rb_foreach_func *func, VALUE farg) |
|
VALUE | rb_hash_new (void) |
|
MJIT_FUNC_EXPORTED VALUE | rb_hash_new_with_size (st_index_t size) |
|
VALUE | rb_hash_dup (VALUE hash) |
|
MJIT_FUNC_EXPORTED VALUE | rb_hash_resurrect (VALUE hash) |
|
MJIT_FUNC_EXPORTED struct st_table * | rb_hash_tbl_raw (VALUE hash) |
|
struct st_table * | rb_hash_tbl (VALUE hash, const char *file, int line) |
|
| NORETURN (static void no_new_key(void)) |
|
int | rb_hash_stlike_update (VALUE hash, st_data_t key, st_update_callback_func func, st_data_t arg) |
|
VALUE | rb_to_hash_type (VALUE hash) |
|
VALUE | rb_check_hash_type (VALUE hash) |
|
VALUE | rb_hash_rehash (VALUE hash) |
|
VALUE | rb_hash_default_value (VALUE hash, VALUE key) |
|
MJIT_FUNC_EXPORTED int | rb_hash_stlike_lookup (VALUE hash, st_data_t key, st_data_t *pval) |
|
VALUE | rb_hash_aref (VALUE hash, VALUE key) |
|
VALUE | rb_hash_lookup2 (VALUE hash, VALUE key, VALUE def) |
|
VALUE | rb_hash_lookup (VALUE hash, VALUE key) |
|
VALUE | rb_hash_fetch (VALUE hash, VALUE key) |
|
VALUE | rb_hash_set_default_proc (VALUE hash, VALUE proc) |
|
int | rb_hash_stlike_delete (VALUE hash, st_data_t *pkey, st_data_t *pval) |
|
VALUE | rb_hash_delete_entry (VALUE hash, VALUE key) |
|
VALUE | rb_hash_delete (VALUE hash, VALUE key) |
|
VALUE | rb_hash_delete_if (VALUE hash) |
|
VALUE | rb_hash_reject_bang (VALUE hash) |
|
VALUE | rb_hash_reject (VALUE hash) |
|
VALUE | rb_hash_values_at (int argc, VALUE *argv, VALUE hash) |
|
VALUE | rb_hash_fetch_values (int argc, VALUE *argv, VALUE hash) |
|
VALUE | rb_hash_select (VALUE hash) |
|
VALUE | rb_hash_select_bang (VALUE hash) |
|
VALUE | rb_hash_keep_if (VALUE hash) |
|
VALUE | rb_hash_clear (VALUE hash) |
|
VALUE | rb_hash_key_str (VALUE key) |
|
VALUE | rb_hash_aset (VALUE hash, VALUE key, VALUE val) |
|
VALUE | rb_hash_size (VALUE hash) |
|
size_t | rb_hash_size_num (VALUE hash) |
|
VALUE | rb_hash_set_pair (VALUE hash, VALUE arg) |
|
MJIT_FUNC_EXPORTED VALUE | rb_hash_keys (VALUE hash) |
|
VALUE | rb_hash_values (VALUE hash) |
|
MJIT_FUNC_EXPORTED VALUE | rb_hash_has_key (VALUE hash, VALUE key) |
|
VALUE | rb_hash_update_by (VALUE hash1, VALUE hash2, rb_hash_update_func *func) |
|
VALUE | rb_hash_assoc (VALUE hash, VALUE key) |
|
VALUE | rb_hash_rassoc (VALUE hash, VALUE obj) |
|
MJIT_FUNC_EXPORTED VALUE | rb_hash_compare_by_id_p (VALUE hash) |
|
VALUE | rb_ident_hash_new (void) |
|
st_table * | rb_init_identtable (void) |
|
int | rb_hash_add_new_element (VALUE hash, VALUE key, VALUE val) |
|
void | rb_hash_bulk_insert (long argc, const VALUE *argv, VALUE hash) |
|
int | rb_env_path_tainted (void) |
|
void | ruby_setenv (const char *name, const char *value) |
|
void | ruby_unsetenv (const char *name) |
|
VALUE | rb_env_clear (void) |
|
void | Init_Hash (void) |
|