Rizin
unix-like reverse engineering framework and cli tools
ht_inc.c File Reference

Go to the source code of this file.

Macros

#define LOAD_FACTOR   1
 
#define S_ARRAY_SIZE(x)   (sizeof(x) / sizeof(x[0]))
 
#define BUCKET_FOREACH(ht, bt, j, kv)
 
#define BUCKET_FOREACH_SAFE(ht, bt, j, count, kv)
 

Functions

static ut32 hashfn (HtName_(Ht) *ht, const KEY_TYPE k)
 
static ut32 bucketfn (HtName_(Ht) *ht, const KEY_TYPE k)
 
static KEY_TYPE dupkey (HtName_(Ht) *ht, const KEY_TYPE k)
 
static VALUE_TYPE dupval (HtName_(Ht) *ht, const VALUE_TYPE v)
 
static ut32 calcsize_key (HtName_(Ht) *ht, const KEY_TYPE k)
 
static ut32 calcsize_val (HtName_(Ht) *ht, const VALUE_TYPE v)
 
static void freefn (HtName_(Ht) *ht, HT_(Kv) *kv)
 
static ut32 next_idx (ut32 idx)
 
static ut32 compute_size (ut32 idx, ut32 sz)
 
static bool is_kv_equal (HtName_(Ht) *ht, const KEY_TYPE key, const ut32 key_len, const HT_(Kv) *kv)
 
static HT_ (Kv)
 
static HtName_ (Ht)
 
RZ_API void Ht_() free (HtName_(Ht) *ht)
 
static void internal_ht_grow (HtName_(Ht) *ht)
 
static void check_growing (HtName_(Ht) *ht)
 
RZ_API bool Ht_() insert_kv (HtName_(Ht) *ht, HT_(Kv) *kv, bool update)
 
static bool insert_update (HtName_(Ht) *ht, const KEY_TYPE key, VALUE_TYPE value, bool update)
 
RZ_API bool Ht_() insert (HtName_(Ht) *ht, const KEY_TYPE key, VALUE_TYPE value)
 
RZ_API bool Ht_() update (HtName_(Ht) *ht, const KEY_TYPE key, VALUE_TYPE value)
 
RZ_API bool Ht_() update_key (HtName_(Ht) *ht, const KEY_TYPE old_key, const KEY_TYPE new_key)
 
RZ_API VALUE_TYPE Ht_() find (HtName_(Ht) *ht, const KEY_TYPE key, bool *found)
 
RZ_API bool Ht_() delete (HtName_(Ht) *ht, const KEY_TYPE key)
 
RZ_API void Ht_() foreach (HtName_(Ht) *ht, HT_(ForeachCallback) cb, void *user)
 

Variables

static const ut32 ht_primes_sizes []
 

Macro Definition Documentation

◆ BUCKET_FOREACH

#define BUCKET_FOREACH (   ht,
  bt,
  j,
  kv 
)
Value:
if ((bt)->arr) \
for ((j) = 0, (kv) = (bt)->arr; (j) < (bt)->count; (j)++, (kv) = next_kv(ht, kv))
static SdbKv * next_kv(HtPP *ht, SdbKv *kv)
Definition: sdb.c:13

Definition at line 85 of file ht_inc.c.

◆ BUCKET_FOREACH_SAFE

#define BUCKET_FOREACH_SAFE (   ht,
  bt,
  j,
  count,
  kv 
)
Value:
if ((bt)->arr) \
for ((j) = 0, (kv) = (bt)->arr, (count) = (ht)->count; \
(j) < (bt)->count; \
(j) = (count) == (ht)->count ? j + 1 : j, (kv) = (count) == (ht)->count ? next_kv(ht, kv) : kv, (count) = (ht)->count)
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void count
Definition: sflib.h:98

Definition at line 89 of file ht_inc.c.

◆ LOAD_FACTOR

#define LOAD_FACTOR   1

Definition at line 6 of file ht_inc.c.

◆ S_ARRAY_SIZE

#define S_ARRAY_SIZE (   x)    (sizeof(x) / sizeof(x[0]))

Definition at line 7 of file ht_inc.c.

Function Documentation

◆ bucketfn()

static ut32 bucketfn ( HtName_(Ht) *  ht,
const KEY_TYPE  k 
)
inlinestatic

Definition at line 26 of file ht_inc.c.

26  {
27  return hashfn(ht, k) % ht->size;
28 }
const char * k
Definition: dsignal.c:11
static ut32 hashfn(HtName_(Ht) *ht, const KEY_TYPE k)
Definition: ht_inc.c:22

References hashfn(), and k.

Referenced by delete(), and update_key().

◆ calcsize_key()

static ut32 calcsize_key ( HtName_(Ht) *  ht,
const KEY_TYPE  k 
)
inlinestatic

Definition at line 38 of file ht_inc.c.

38  {
39  return ht->opt.calcsizeK ? ht->opt.calcsizeK(k) : 0;
40 }

References k.

Referenced by delete(), insert_update(), and update_key().

◆ calcsize_val()

static ut32 calcsize_val ( HtName_(Ht) *  ht,
const VALUE_TYPE  v 
)
inlinestatic

Definition at line 42 of file ht_inc.c.

42  {
43  return ht->opt.calcsizeV ? ht->opt.calcsizeV(v) : 0;
44 }
const char * v
Definition: dsignal.c:12

References v.

Referenced by insert_update().

◆ check_growing()

static void check_growing ( HtName_(Ht) *  ht)
static

Definition at line 186 of file ht_inc.c.

186  {
187  if (ht->count >= LOAD_FACTOR * ht->size) {
188  internal_ht_grow(ht);
189  }
190 }
#define LOAD_FACTOR
Definition: ht_inc.c:6
static void internal_ht_grow(HtName_(Ht) *ht)
Definition: ht_inc.c:154

References internal_ht_grow(), and LOAD_FACTOR.

Referenced by insert_kv(), and insert_update().

◆ compute_size()

static ut32 compute_size ( ut32  idx,
ut32  sz 
)
inlinestatic

Definition at line 59 of file ht_inc.c.

59  {
60  // when possible, use the precomputed prime numbers which help with
61  // collisions, otherwise, at least make the number odd with |1
62  return idx != UT32_MAX && idx < S_ARRAY_SIZE(ht_primes_sizes) ? ht_primes_sizes[idx] : (sz | 1);
63 }
static const ut32 ht_primes_sizes[]
Definition: ht_inc.c:10
#define S_ARRAY_SIZE(x)
Definition: ht_inc.c:7
int idx
Definition: setup.py:197
#define UT32_MAX
Definition: rz_types_base.h:99

References ht_primes_sizes, setup::idx, S_ARRAY_SIZE, and UT32_MAX.

Referenced by internal_ht_grow().

◆ delete()

RZ_API bool Ht_() delete ( HtName_(Ht) *  ht,
const KEY_TYPE  key 
)

Definition at line 336 of file ht_inc.c.

336  {
337  HT_(Bucket) *bt = &ht->table[bucketfn(ht, key)];
338  ut32 key_len = calcsize_key(ht, key);
339  HT_(Kv) * kv;
340  ut32 j;
341 
342  BUCKET_FOREACH(ht, bt, j, kv) {
343  if (is_kv_equal(ht, key, key_len, kv)) {
344  freefn(ht, kv);
345  void *src = next_kv(ht, kv);
346  memmove(kv, src, (bt->count - j - 1) * ht->opt.elem_size);
347  bt->count--;
348  ht->count--;
349  return true;
350  }
351  }
352  return false;
353 }
lzma_index * src
Definition: index.h:567
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void static offset struct stat static buf void long static basep static whence static length const void static len key
Definition: sflib.h:118
uint32_t ut32
static bool is_kv_equal(HtName_(Ht) *ht, const KEY_TYPE key, const ut32 key_len, const HT_(Kv) *kv)
Definition: ht_inc.c:65
static void freefn(HtName_(Ht) *ht, HT_(Kv) *kv)
Definition: ht_inc.c:46
#define BUCKET_FOREACH(ht, bt, j, kv)
Definition: ht_inc.c:85
static HT_(Kv)
Definition: ht_inc.c:77
static ut32 bucketfn(HtName_(Ht) *ht, const KEY_TYPE k)
Definition: ht_inc.c:26
static ut32 calcsize_key(HtName_(Ht) *ht, const KEY_TYPE k)
Definition: ht_inc.c:38

References BUCKET_FOREACH, bucketfn(), calcsize_key(), freefn(), HT_(), is_kv_equal(), key, next_kv(), and src.

◆ dupkey()

static KEY_TYPE dupkey ( HtName_(Ht) *  ht,
const KEY_TYPE  k 
)
inlinestatic

Definition at line 30 of file ht_inc.c.

30  {
31  return ht->opt.dupkey ? ht->opt.dupkey(k) : (KEY_TYPE)k;
32 }
#define KEY_TYPE
Definition: ht_inc.h:46

References k, and KEY_TYPE.

Referenced by HtName_(), and insert_update().

◆ dupval()

static VALUE_TYPE dupval ( HtName_(Ht) *  ht,
const VALUE_TYPE  v 
)
inlinestatic

Definition at line 34 of file ht_inc.c.

34  {
35  return ht->opt.dupvalue ? ht->opt.dupvalue(v) : (VALUE_TYPE)v;
36 }
#define VALUE_TYPE
Definition: ht_inc.h:47

References v, and VALUE_TYPE.

Referenced by insert_update().

◆ find()

RZ_API VALUE_TYPE Ht_() find ( HtName_(Ht) *  ht,
const KEY_TYPE  key,
bool found 
)

Definition at line 330 of file ht_inc.c.

330  {
331  HT_(Kv) *res = Ht_(find_kv)(ht, key, found);
332  return res ? res->value : HT_NULL_VALUE;
333 }
RZ_API const KEY_TYPE bool * found
Definition: ht_inc.h:130
#define Ht_(name)
Definition: ht_inc.h:44
#define HT_NULL_VALUE
Definition: ht_inc.h:49

References found, HT_(), Ht_, HT_NULL_VALUE, and key.

Referenced by rz_str_nstr(), and update_key().

◆ foreach()

RZ_API void Ht_() foreach ( HtName_(Ht) *  ht,
HT_(ForeachCallback)  cb,
void *  user 
)

Definition at line 355 of file ht_inc.c.

355  {
356  ut32 i;
357 
358  for (i = 0; i < ht->size; ++i) {
359  HT_(Bucket) *bt = &ht->table[i];
360  HT_(Kv) * kv;
361  ut32 j, count;
362 
363  BUCKET_FOREACH_SAFE(ht, bt, j, count, kv) {
364  if (!cb(user, kv->key, kv->value)) {
365  return;
366  }
367  }
368  }
369 }
lzma_index ** i
Definition: index.h:629
#define BUCKET_FOREACH_SAFE(ht, bt, j, count, kv)
Definition: ht_inc.c:89
static const char * cb[]
Definition: z80_tab.h:176

References BUCKET_FOREACH_SAFE, cb, count, HT_(), and i.

◆ free()

RZ_API void Ht_() free ( HtName_(Ht) *  ht)

Definition at line 130 of file ht_inc.c.

130  {
131  if (!ht) {
132  return;
133  }
134 
135  ut32 i;
136  for (i = 0; i < ht->size; i++) {
137  HT_(Bucket) *bt = &ht->table[i];
138  HT_(Kv) * kv;
139  ut32 j;
140 
141  if (ht->opt.freefn) {
142  BUCKET_FOREACH(ht, bt, j, kv) {
143  ht->opt.freefn(kv);
144  }
145  }
146 
147  free(bt->arr);
148  }
149  free(ht->table);
150  free(ht);
151 }
RZ_API void Ht_() free(HtName_(Ht) *ht)
Definition: ht_inc.c:130

References BUCKET_FOREACH, HT_(), and i.

Referenced by _6502_tokenize(), __add_cmd_panel(), __add_visual_mark(), __analysis_esil_function(), __analysis_fcn_check_bp_use(), __as_free(), __calculator_cb(), __check_panel_type(), __childrenFlagsOf(), __clear_layout_cb(), __close(), __config_toggle_cb(), __config_value_cb(), __core_analysis_fcn(), __core_cmd_search_asm_infinite(), __core_visual_print_command(), __core_visual_view_graph_update(), __create_almighty(), __create_default_panels(), __desc_cache_list_cb(), __dumpSections(), __esil_pop_argument(), __expandLine(), __fcns(), __flag_free_kv(), __fortune_cb(), __free_context(), __free_menu_item(), __free_modal(), __free_panel_model(), __free_resource(), __free_resource_entry(), __func_name_from_ord(), __get_panels_config_dir_path(), __get_panels_config_file_from_dir(), __handle_cmd_str_cache(), __handle_cursor_mode(), __handle_mouse_on_menu(), __handle_mouse_on_panel(), __handle_mouse_on_top(), __handle_mouse_on_X(), __handle_window_mode(), __handleComment(), __hashify(), __init_menu_color_settings_layout(), __init_menu_saved_layout(), __io_maps(), __io_reg_profile(), __io_step(), __io_step_over(), __load_cmdf(), __load_plugins(), __matchString(), __menu_panel_print(), __mht_free_kv(), __open(), __open_menu_cb(), __panels_new(), __panels_process(), __preline_flag(), __print_disassembly_cb(), __printPattern(), __r_debug_pid_free(), __rap_open(), __rap_reg_profile(), __rap_system(), __read(), __refs(), __reg_read(), __replace_current_panel_input(), __reset_filter(), __resize(), __resize_panel_down(), __resize_panel_left(), __resize_panel_right(), __resize_panel_up(), __riocache_free(), __rtr_shell(), __sdb_prompt(), __search_strings(), __search_strings_bin_create(), __search_strings_data_create(), __set_cmd_str_cache(), __set_read_only(), __show_status_input(), __strbuf_append_col_aligned(), __switch_op_new(), __sync_status_with_cursor(), __system(), __th_QueryDebugBuffer(), __update_help(), __update_help_contents(), __update_menu_contents(), __update_panel_contents(), __update_panel_title(), __update_prompt_color(), __version_cb(), __write(), __writeValueCb(), __xrefs(), _analysis_calls(), _cb_hit(), _CbInRangeAav(), _createKDNetPacket(), _extract_flags(), _extract_regs(), _fill_bin_import(), _fill_bin_symbol(), _free_resource(), _free_source_cb(), _free_stream(), _getopt_internal_r(), _parse_resource_directory(), _sendResponsePacket(), _server_handle_exec_file_read(), _server_handle_g(), _server_handle_M(), _server_handle_m(), _server_handle_P(), _server_handle_qC(), _server_handle_qfThreadInfo(), _server_handle_qSupported(), _write_asm(), _zip_buffer_free(), _zip_buffer_new(), _zip_cdir_free(), _zip_crypto_aes_free(), _zip_crypto_aes_new(), _zip_crypto_hmac_free(), _zip_crypto_hmac_new(), _zip_dirent_finalize(), _zip_dirent_free(), _zip_dirent_read(), _zip_ef_free(), _zip_ef_new(), _zip_hash_delete(), _zip_hash_free(), _zip_hash_revert(), _zip_new(), _zip_open(), _zip_progress_free(), _zip_read_data(), _zip_read_local_ef(), _zip_read_string(), _zip_source_window_new(), _zip_stdio_op_create_temp_output(), _zip_string_free(), _zip_string_new(), _zip_win32_named_op_create_temp_output(), _zip_winzip_aes_free(), _zip_winzip_aes_new(), add_abi_info(), add_footer(), add_hit_to_hits(), add_map(), add_new_bin_string(), add_refline(), add_single_addr_xrefs(), add_string_ref(), add_thread(), add_window_to_table(), addpoint(), addr_hint_record_fini(), address_bit(), addVar(), aea_stats_init(), aes_cbc_fini(), aes_ecb_fini(), agraph_edge_free(), agraph_follow_innodes(), agraph_node_free(), agraph_print(), agraph_print_edges(), agraph_print_node(), agraph_print_node_dot(), agraph_refresh(), agraph_update_title(), analBars(), analysis_block_on_exit(), analysis_class_print(), analysis_fcn_data(), analysis_mask(), analysis_set_os(), annotated_hexdump(), append_bound(), apply_maps_as_flags(), apprentice_1(), apprentice_compile(), apprentice_load(), apprentice_map(), ar_close(), ar_open_all(), ar_open_file(), ar_parse_header(), arch_hint_record_free_rb(), arch_parse_reg_profile(), arch_xap_disasm(), arf_clean_name(), args_free(), args_preprocessing(), arm64ass(), arm_fini(), arm_tokenize(), asciiart_backtrace(), asn1_parse_header(), assemble(), assemble_8051(), attribute_free_kv(), autocmplt_cmd_arg_choices(), autocmplt_cmd_arg_env(), autocmplt_cmd_arg_eval_full(), autocmplt_cmd_arg_fcn(), autocmplt_cmd_arg_file(), autocomplete_breakpoints(), autocomplete_functions(), autocomplete_macro(), autocomplete_process_path(), autocomplete_sdb(), autocompleteFilename(), avr_tokenize(), backedge_info(), backtrace_fuzzy(), backtrace_generic(), backtrace_vars(), backtrace_windows(), backtrace_windows_x64(), backtrace_x86_32(), backtrace_x86_32_analysis(), backtrace_x86_64(), backtrace_x86_64_analysis(), backward_kill_word(), base64decode(), base64encode(), base_type_to_format_no_unfold(), base_type_to_format_unfold(), basefind_array_free(), basefind_create_array_of_addresses(), basefind_new_bin_file(), basefind_thread_runner(), basicTests(), bbget(), bclose(), bfvm_free(), bin_class_print_rizin(), bin_file_string_search_free(), bin_pe_compute_authentihash(), bin_pe_dotnet_destroy_clr(), bin_pe_dotnet_init_clr(), bin_pe_dotnet_init_metadata(), bin_pe_get_actual_checksum(), bin_pe_init_imports(), bin_pe_init_rich_info(), bin_pe_init_security(), bin_pe_init_tls(), bin_pe_parse_imports(), bin_pe_versioninfo(), binsym(), binutils_assemble(), bits_hint_record_free_rb(), block_free(), block_load_cb(), block_store(), blowfish_fini(), BMK_benchFiles(), BMK_benchFileTable(), BMK_benchMem(), BMK_findMaxMem(), BMK_syntheticTest(), bochs_close(), bochs_open(), bochs_send_cmd(), boolify_var_cb(), bootimg_header_load(), break_stack_free(), bsd_desc_list(), bsd_info(), bsd_native_sysctl_map(), bsd_thread_list(), buf_bytes_fini(), buf_bytes_init(), buf_file_init(), buf_fini(), buf_io_fini(), buf_mmap_init(), buf_move_back(), buffer_free(), buffer_new(), build(), build_ARC_extmap(), build_debug_pid(), build_hash_table(), bytecode_clean(), c55plus_decode(), c55x_plus_disassemble(), c_parser_new_callable(), c_parser_new_enum_type(), c_parser_new_naked_callable(), c_parser_new_primitive_type(), c_parser_new_structure_type(), c_parser_new_typedef(), c_parser_new_union_type(), c_parser_state_free(), c_parser_state_free_keep_ht(), cabx_close(), cabx_free(), cabx_open(), cache_item_free(), calculate_decrypt(), calculate_encrypt(), calculate_hash(), callable_as_string(), callables_ht_free(), capture_filter_keywords(), carve_deps_at_address(), cb_asmarch(), cb_asmcpu(), cb_asmos(), cb_asmplatform(), cb_binprefix(), cb_binstrenc(), cb_cmd_esil_intr(), cb_cmd_esil_ioer(), cb_cmd_esil_mdev(), cb_cmd_esil_step(), cb_cmd_esil_step_out(), cb_cmd_esil_todo(), cb_color_getter(), cb_dbg_btalgo(), cb_dbg_gdb_page_size(), cb_dbg_gdb_retries(), cb_dbg_libs(), cb_dbg_unlibs(), cb_dirsrc(), cb_filepath(), cb_mdevrange(), cb_pager(), cb_runprofile(), cb_scrstrconv(), cb_strpurge(), cdb_alloc_free(), cdb_free(), cdb_init(), check_changes(), check_mingw(), check_msvcseh(), check_unknow(), chunk_fini(), classdump_c(), classdump_java(), classdump_objc(), classes(), classes_from_symbols(), cleanup(), cmd_aea(), cmd_analysis_esil(), cmd_analysis_graph(), cmd_analysis_trampoline(), cmd_debug_cont_syscall(), cmd_debug_current_modules(), cmd_debug_modules(), cmd_debug_pid(), cmd_desc_free(), cmd_foreach_cmdname_modes(), cmd_get_desc_best(), cmd_p_minus_e(), cmd_pCd(), cmd_pCD(), cmd_pCx(), cmd_prc(), cmd_print_bars(), cmd_print_blocks(), cmd_print_format(), cmd_print_fromage(), cmd_print_gadget(), cmd_print_op(), cmd_print_pv(), cmd_print_pxA(), cmd_pxr(), cmd_task_ctx_new(), cmd_task_free(), cmp(), code(), combine_sequences(), compare(), compare_zip(), compareString(), compress_file(), compute_pos(), config_path(), config_print_node(), config_visual_hit(), cons_stack_dump(), cons_stack_free(), cons_stack_load(), constant_pool_copy_from_buffer(), construct_rop_gadget(), construct_symbol_flagname(), consume_r(), cont_node_free(), context_free(), context_new(), convert_dot_to_image(), copy_object(), core_analysis_bytes_desc(), core_analysis_color_curr_node(), core_analysis_graph_construct_edges(), core_analysis_graph_construct_nodes(), core_analysis_graph_label(), core_analysis_graph_nodes(), core_analysis_var_list_show(), core_cmd_pipe(), core_cmd_tsrzcmd(), core_cmp_bits(), core_esil_init(), core_objc_free(), core_objc_new(), core_print_raw_buffer(), core_recover_golang_functions_go_1_16(), core_recover_golang_functions_go_1_18(), core_recover_golang_functions_go_1_2(), core_walk_function_blocks(), cplus_demangle_print(), cps2_fini(), cpu_memory_map(), crc_read(), create(), create_cache_bins(), create_child_env(), create_dummy_nodes(), create_temp_file(), createCResources(), createdb(), curl_close_cb(), cursor_free(), d_demangle(), d_growable_string_resize(), dalvik_disassemble(), dalvik_tokenize(), database_load_fuzz_file(), dbdiff_cb(), de_bruijn(), deallocate(), debug_qnx_read_at(), decode_ins(), decompress(), decompress_file(), decompress_file_allocDst(), def_opN(), DEFINE_HANDLE_TS_FCN(), DEFINE_HANDLE_TS_FCN_AND_SYMBOL(), deflate_index_free(), dem_list_delete(), dem_list_free(), dem_str_append(), dem_string_drain(), dem_string_free(), demangle_any(), demangle_class_object(), demangle_classname(), demangle_method(), demangle_object_with_type(), des_fini(), deserialize_checkpoints_cb(), deserialize_memory_cb(), deserialize_registers_cb(), destroy(), destroy_child_env(), dex_class_def_free(), dex_class_def_new(), dex_field_id_new(), dex_method_id_new(), dex_new_encoded_method(), dex_print_class_def(), dex_print_class_def_exports(), dex_print_encoded_field(), dex_print_encoded_method(), dex_proto_id_free(), dex_proto_id_new(), dex_resolve_entrypoints_in_class(), dex_resolve_symbol_in_class_methods(), dex_string_free(), dex_string_new(), dfs_node(), diff_unified_lines_hl(), digests_ht_free(), disasm_strings(), disassemble(), disassembly_as_table(), dmp_close(), dmp_open(), do_asm_search(), do_decode(), do_esil_search(), do_extract_currentfile(), do_handle_substitution_cmd(), do_handle_ts_unescape_arg(), do_ref_search(), do_section_search(), do_string_search(), do_syscall_search(), dot_executable_path(), download(), download_and_write(), draw_graph_nodes(), ds_atabs_option(), ds_build_op_str(), ds_disassemble(), ds_free(), ds_newline(), ds_print_as_string(), ds_print_calls_hints(), ds_print_comments_right(), ds_print_dwarf(), ds_print_esil_analysis(), ds_print_esil_analysis_init(), ds_print_lines_left(), ds_print_meta_infos(), ds_print_offset(), ds_print_ptr(), ds_print_relocs(), ds_print_shortcut(), ds_print_show_bytes(), ds_print_str(), ds_show_comments_describe(), ds_show_flags(), ds_show_functions(), ds_show_functions_argvar(), ds_show_xrefs(), ds_sub_jumps(), ds_update_ref_lines(), dump_element(), dump_maps(), echo_read(), egg_compile(), egg_option(), egg_patch_free(), elf_symbol_fini(), emit_branch(), emit_set_string(), emit_string(), encrypt_or_decrypt_block(), enrich_asm(), entries(), env(), esil_add(), esil_addeq(), esil_addrinfo(), esil_and(), esil_andeq(), esil_asr(), esil_asreq(), esil_bf(), esil_bigger(), esil_bigger_equal(), esil_cf(), esil_clear(), esil_cmp(), esil_dec(), esil_deceq(), esil_div(), esil_diveq(), esil_eq(), esil_goto(), esil_if(), esil_inc(), esil_inceq(), esil_lsl(), esil_lsleq(), esil_lsr(), esil_lsreq(), esil_mem_addeq_n(), esil_mem_andeq_n(), esil_mem_deceq_n(), esil_mem_diveq_n(), esil_mem_inceq_n(), esil_mem_lsleq_n(), esil_mem_lsreq_n(), esil_mem_modeq_n(), esil_mem_muleq_n(), esil_mem_oreq_n(), esil_mem_subeq_n(), esil_mem_xoreq_n(), esil_mod(), esil_modeq(), esil_mul(), esil_muleq(), esil_neg(), esil_negeq(), esil_num(), esil_of(), esil_ops_free(), esil_or(), esil_oreq(), esil_peek_n(), esil_peek_some(), esil_poke_n(), esil_poke_some(), esil_pop(), esil_repeat(), esil_rol(), esil_ror(), esil_set_delay_slot(), esil_set_jump_target(), esil_set_jump_target_set(), esil_sf(), esil_signed_div(), esil_signed_mod(), esil_smaller(), esil_smaller_equal(), esil_sub(), esil_subeq(), esil_weak_eq(), esil_xor(), esil_xoreq(), estimate_slide(), ewps_free(), exprmatch(), exprmatchreg(), extract(), extract_arg(), extract_binobj(), extract_sections_symbols(), extract_slice(), fcn_print_info(), file_apprentice(), file_ascmagic(), file_error_core(), file_load(), file_or_fd(), file_reset(), file_save(), file_stat(), file_vprintf(), fileCheck(), fill_args_json(), fill_argv_modes_help_strbuf(), fill_children_chars(), fill_hist_offset(), fill_wrapped_comment(), filter(), filter_classes(), filterFlags(), find_cabinet_file(), find_include(), fini(), fini_fi(), flag_load_cb(), flag_ordinals(), flag_set_comment(), flag_skiplist_free(), flagname_attr(), flags_at_offset(), flirt_module_new(), flirt_parse_version(), flirt_pat_parse_line(), flirt_pat_parse_pattern_mask(), foreach_list_cb(), foreach_offset_annotation(), foreachOffset(), forget_files(), forget_filter_chain(), format_MAKE_FUNCTION_arg_36(), formats_ht_free(), free_array(), free_bin(), free_dbi_stream(), free_driver(), free_filename(), free_filters(), free_gdata_stream(), free_ht_comp_dir(), free_item_name(), free_item_realname(), free_kv_key(), free_label_kv(), free_leaddr_pair(), free_list(), free_loc_table_list(), free_metadata_header(), free_mlist(), free_mmio_kv(), free_object(), free_omap_stream(), free_opcode(), free_pe_stream(), free_rz_bin_class(), free_security_directory(), free_String(), free_StringFileInfo(), free_StringTable(), free_tpi_stream(), free_tpi_type(), free_tracenodes_kv(), free_tsr2cmd_edit(), free_Var(), free_VarFileInfo(), free_VS_VERSIONINFO(), free_window(), free_write_req(), freeCResources(), fullSpeedBench(), func_walk_blocks(), function_list_print(), function_list_print_as_cmd(), function_load_cb(), function_print_calls(), function_print_to_json(), function_rename(), function_store(), function_task_ctx_new(), function_task_free(), FUZ_AddressOverflow(), FUZ_freeLowAddr(), FUZ_test(), FUZ_unitTests(), FUZZ_dataProducer_free(), fuzzerTests(), gdbr_attach(), gdbr_detach_pid(), gdbr_disconnect(), gdbr_exec_file_read(), gdbr_kill_pid(), gdbr_open_file(), gdbr_parse_processes_xml(), gdbr_parse_target_xml(), gdbr_pids_list(), gdbr_read_feature(), gdbr_read_osdata(), gdbr_read_processes_xml(), gdbr_read_target_xml(), gdbr_send_qRcmd(), gdbr_set_architecture(), gdbr_set_reg_profile(), gdbr_threads_list(), gdbr_write_bin_registers(), gdbr_write_memory(), gdbr_write_registers(), get_arguments(), get_array_object_generic(), get_backtrace_info(), get_bbnodes(), get_bbupdate(), get_bytes(), get_callable_type(), get_calls(), get_cd_from_cmdid(), get_cf_offset(), get_cgnodes(), get_class_name(), get_class_ro_t(), get_code_object(), get_complex_object(), get_constants(), get_crossing_matrix(), get_current_process_and_thread(), get_data(), get_dispatchmessage_offset(), get_elf_intrp(), get_enum_type(), get_file_name_from_handle(), get_filetype(), get_float_object(), get_help_wrong_cmd(), get_imports(), get_long_object(), get_main(), get_main_arena_with_symbol(), get_method_list_t(), get_namespace_and_name(), get_num(), get_operator_code(), get_opers(), get_rebase_info(), get_rebase_infos(), get_relocs(), get_section_name(), get_segments(), get_src_regname(), get_struct_type(), get_symbols(), get_symbols_list(), get_template(), get_template_params(), get_tpitype_basetype(), get_type_data(), get_typedef_type(), get_union_type(), get_word_from_canvas(), get_word_from_canvas_for_menu(), get_xrefs(), getcommapath(), GetHeapBlocks(), GetHeapGlobalsOffset(), getlistmask(), getnumbang(), getnummemend(), getnummemendbang(), getpcfromstack(), getreglist(), getregmembang(), getregmemend(), getregmemstartend(), GetSegmentHeapBlocks(), getshiftmemend(), GetSingleBlock(), GetSingleSegmentBlock(), getstr(), getViewerPath(), global_kv_free(), global_var_load_cb(), go_string_from_table(), goto_asmqjmps(), gprobe_getdeviceid(), gprobe_getinformation(), graph_construct_nodes(), guess_data_free(), guess_next_autocmplt_token(), gz_error(), gz_init(), gz_look(), gz_open(), gzclose_r(), gzclose_w(), gzcopy(), gzdopen(), gzlog_close(), gzlog_compress(), gzlog_open(), gzscan(), gztack(), handle_cmd_substitution_arg(), handle_entropy(), handle_hash_cfg(), handle_qStatus(), handle_stop_reason(), handle_ts_stmt(), handle_var_stack_access(), hash_cfg_config_free(), hash_cfg_config_new(), hash_context_create_desc_io_stdin(), hash_context_create_desc_io_string(), hash_context_fini(), hash_load_plugins(), hash_parse_hexadecimal(), hash_parse_string(), hash_print_crypto(), hash_print_digest(), hash_resize(), header(), hex_const_ext_free(), hex_insn_free(), hint_node_free(), hints_at_addr_kv_free(), hints_load_cb(), hit(), hole_free(), hole_new(), ht_free_flag(), HtName_(), http_logf(), hud_filter(), i8051_fini(), ihex_parse(), il_opdmp_bitv(), imports(), info(), init_items(), init_module_runtime_functions(), InitHeapInfo(), initialize_stack(), initializeEsil(), insert(), insertkeys(), InstallService(), inSymtab(), interact_commands(), internal_ht_grow(), interval_node_free(), io_close_dest(), io_create_mem_map(), io_map_new(), io_memory_resize(), io_open_dest_real(), iob_net_close(), iob_net_open(), iob_net_write(), ioMemcpy(), is_arena(), is_cpu_valid(), is_string_at(), java_attribute_free(), java_attribute_new(), java_attribute_resolve(), java_attribute_set_code(), java_attribute_set_constantvalue(), java_attribute_set_linenumbertable(), java_attribute_set_localvariabletable(), java_attribute_set_localvariabletypetable(), java_attribute_set_module(), java_attribute_set_modulemainclass(), java_attribute_set_modulepackages(), java_attribute_set_sourcefile(), java_constant_pool_free(), java_constant_pool_new(), java_field_free(), java_field_new(), java_fini(), java_interface_new(), java_method_free(), java_method_new(), java_set_sdb(), jemalloc_get_bins(), jemalloc_get_chunks(), jemalloc_print_narenas(), kd_read_packet(), kexts_from_load_commands(), kill_word(), kv_fini(), label_addrs_kv_free(), labels_kv_free(), lang_byte_array_nodejs(), lang_lib_file_run(), lang_pipe_run(), layer_sweep(), le_get_entries(), le_get_modname_by_ord(), libdemangle_handler_objc(), libdemangle_handler_swift(), libfree(), libs(), line_header_fini(), line_unit_free(), LLVMFuzzerTestOneInput(), load(), load_buffer(), load_omf_lnames(), load_process_final_line(), load_scripts_for(), load_sdb(), loadSystemPlugins(), local_var_meet_known_cb(), log_recover(), log_replace(), ls_del_n(), ls_delete(), ls_free(), ls_pop(), ls_pop_head(), lua_free_const_entry(), lua_free_dbg_upvalue_entry(), lua_free_local_var_entry(), lua_free_proto_entry(), lua_new_proto_entry(), lua_parse_debug(), lua_parse_header_53(), lua_parse_header_54(), LZ4_free(), LZ4IO_compressFilename_Legacy(), LZ4IO_compressMultipleFilenames(), LZ4IO_compressMultipleFilenames_Legacy(), LZ4IO_createCDict(), LZ4IO_createDict(), LZ4IO_decodeLegacyStream(), LZ4IO_decompressMultipleFilenames(), LZ4IO_freeCResources(), LZ4IO_freeDResources(), LZ4IO_freePreferences(), lzma_free(), lzmainfo(), m68k_tokenize(), m_free(), m_open_file(), MACH0_(), mach0_free(), mach0_info_free(), mach0_info_new(), mach_headerfields(), macro_call(), main(), main_help(), main_print_var(), make_string(), makedir(), map_cpu_memory(), map_free(), maps(), matcher(), mcadd(), mcore_free(), mem(), mem_free(), meta_load_cb(), meta_set(), meta_string_guess_add(), meta_variable_comment_append(), meta_variable_comment_editor(), meta_variable_comment_print(), meta_variable_comment_remove(), mht_free_kv(), microsoft_demangle(), mini_RzANode_print(), mips_assemble(), mips_tokenize(), module_free(), module_match_buffer(), mpc_ast_delete(), mpc_ast_delete_no_children(), mpc_ast_traverse_free(), mpc_ast_traverse_next(), mpc_between(), mpc_char_lit(), mpc_check_withf(), mpc_checkf(), mpc_cleanup(), mpc_define(), mpc_delete(), mpc_err_delete(), mpc_err_print_to(), mpc_escape(), mpc_free(), mpc_ident(), mpc_input_delete(), mpc_input_unmark(), mpc_optimise_unretained(), mpc_parse_dtor(), mpc_print_unretained(), mpc_re_escape_char(), mpc_re_mode(), mpc_real(), mpc_regex_lit(), mpc_string_lit(), mpc_tok_between(), mpc_undefine_and(), mpc_undefine_or(), mpc_undefine_unretained(), mpca_grammar(), mpca_grammar_st(), mpca_lang(), mpca_lang_contents(), mpca_lang_file(), mpca_lang_pipe(), mpca_lang_st(), mpca_state(), mpca_stmt_afold(), mpca_stmt_list_apply_to(), mpca_stmt_list_delete(), mpcaf_fold_regex(), mpcaf_grammar_char(), mpcaf_grammar_id(), mpcaf_grammar_repeat(), mpcaf_grammar_string(), mpcf_all_free(), mpcf_escape(), mpcf_escape_char_raw(), mpcf_escape_regex(), mpcf_escape_string_raw(), mpcf_float(), mpcf_free(), mpcf_hex(), mpcf_int(), mpcf_maths(), mpcf_nth_free(), mpcf_oct(), mpcf_re_and(), mpcf_re_escape(), mpcf_re_range(), mpcf_re_repeat(), mpcf_state_ast(), mpcf_str_ast(), mpcf_strfold(), mpcf_unescape(), mpcf_unescape_char_raw(), mpcf_unescape_regex(), mpcf_unescape_string_raw(), mprint(), msp_close(), msp_free(), msp_open(), myregread(), myregwrite(), new_pyc_opcodes(), new_section(), next_inst(), nextword(), node_malformed_error(), noreturn_successor_free(), normal_RzANode_print(), note_file_free(), note_prstatus_free(), ns_free_exc_list(), nso_free(), nso_new(), num_callback(), objc_build_refs(), old_transform_op(), on_close(), on_connect(), on_read(), oneshot_buffer(), oprep(), pager_all_matches(), pager_color_line(), pager_splitlines(), pal_seek(), parse(), parse_alias(), parse_aranges_raw(), parse_args(), parse_atomic_type(), parse_block_header(), parse_block_list(), parse_custom_name_entry(), parse_data_entry(), parse_data_type(), parse_dbi_stream_ex_header(), parse_declaration_node(), parse_def(), parse_die(), parse_element_entry(), parse_enum(), parse_enum_node(), parse_enum_type(), parse_enumerator(), parse_environment(), parse_export_entry(), parse_function(), parse_function_args(), parse_function_pointer(), parse_function_starts(), parse_global_entry(), parse_go_build_info(), parse_grep_expression(), parse_header(), parse_import_entry(), parse_line_header_source(), parse_line_raw(), parse_list(), parse_loc_raw(), parse_memory_entry(), parse_microsoft_rtti_mangled_name(), parse_note_file(), parse_omap_stream(), parse_options(), parse_parameter_declaration_node(), parse_parameter_list(), parse_pe_stream(), parse_primitive_type(), parse_relocation_info(), parse_signature(), parse_simple_type(), parse_sized_primitive_type(), parse_sole_type_name(), parse_struct_member(), parse_struct_node(), parse_structure(), parse_structure_type(), parse_symbol_table(), parse_table_entry(), parse_tmp_evals(), parse_type(), parse_type_abstract_declarator_node(), parse_type_declarator_node(), parse_type_descriptor_single(), parse_type_methodlist(), parse_type_mfunction(), parse_type_nodes_save(), parse_type_procedure(), parse_typedef(), parse_typedef_node(), parse_union(), parse_union_node(), parseCodeDirectory(), parseDragons(), parseHeap(), parseOperand(), parseOperands(), path_left_free_kv(), path_walker(), pcache_kv_free(), pdb_set_symbols(), Pe_r_bin_store_string(), Pe_r_bin_store_string_table(), perform_mapped_file_yank(), pj_drain(), pj_free(), pj_s(), pj_S(), place_original(), plugin_adler32_context_free(), plugin_crca_context_free(), plugin_entropy_context_free(), plugin_md4_context_free(), plugin_md5_context_free(), plugin_mod255_context_free(), plugin_parity_context_free(), plugin_sha1_context_free(), plugin_sha256_context_free(), plugin_sha384_context_free(), plugin_sha512_context_free(), plugin_xor16_context_free(), plugin_xor8_context_free(), popRN(), populate_symbols(), print_and_check_il(), print_cmd_analysis_after_traps_print(), print_debug_map_line(), print_diff(), print_double_linked_list_bin_graph(), print_double_linked_list_bin_simple(), print_ehdr_aux(), print_fcn_arg(), print_flag_rizin(), print_format_values(), print_graph_agg(), print_graph_dot(), print_heap_chunk(), print_heap_chunk_simple(), print_hex_from_base2(), print_json_string(), print_main_arena_bins(), print_malloc_info(), print_malloc_states(), print_new_results(), print_result_diff(), print_rop(), print_source_info(), print_space_stack(), print_stats(), print_windows(), printcmd(), printCol(), printPadded(), prj_dir_abs(), prj_relative_make(), prj_relative_restore(), proc_mem_img(), proc_mem_map(), process_cabinet(), process_constructors(), processNode(), procfs_pid_slurp(), prompt(), prompt_offset_and_seek(), prompt_offset_and_seek_file(), propagate_types_among_used_variables(), qnxr_cleanup(), rabin_do_operation(), rabin_dump_symbols(), rabin_show_srcline(), rasm_asm(), rasm_disasm(), raw_rtti_parse(), rax(), rc2_fini(), rc4_fini(), rc6_fini(), rc6_init_state(), rcc_fun(), rcc_next(), rcc_pusharg(), read_at(), read_cache_header(), read_data(), read_elf_intrp(), read_file(), read_image_metadata_tilde_header(), read_module_public_functions(), read_module_referenced_functions(), read_module_tail_bytes(), read_n_bits(), read_stdin(), read_to_memory(), read_unwind_info(), ReadKernelMemory(), readline_callback(), ReadMemory(), rebase_info1_free(), rebase_info2_free(), rebase_info3_free(), rebase_info_free(), recover_string_at(), recovery_apply_complete_object_locator(), recovery_complete_object_locator_free(), recovery_type_descriptor_free(), recursive_search_glob(), redirect_socket_to_pty(), reduce_false_positives(), references_handler(), reg_binding_item_fini(), reloc_set_flag(), relocs(), relocs_foreach(), remove_cycles(), rename_flag_ordinal(), rename_key(), reopen_in_malloc_cb(), reopen_nobin_headers(), replace_asm_test(), replace_cmd_kv(), replace_cmd_kv_file(), replace_directives_for(), replace_file_line(), resolveModuleOrdinal(), restore_attr(), riscv_op(), rizin_fortune_file(), rm_op(), rol_fini(), rop_classify(), rop_classify_arithmetic(), rop_classify_arithmetic_const(), rop_classify_nops(), rop_kuery(), ror_fini(), roundTripCheck(), rtr_visual(), rtrcmd(), rtti_itanium_class_type_info_fini(), rtti_itanium_class_type_info_free(), rtti_itanium_si_class_type_info_fini(), rtti_itanium_si_class_type_info_free(), rtti_itanium_vmi_class_type_info_fini(), rtti_itanium_vmi_class_type_info_free(), rtti_msvc_read_base_class_array(), rtti_type_descriptor_fini(), run(), run_basic_block_analysis(), run_new_command(), run_old_command(), run_rz_test(), runcmd(), rz_agraph_add_node_with_color(), rz_agraph_del_node(), rz_agraph_free(), rz_agraph_get_node(), rz_agraph_print_json(), rz_agraph_set_title(), rz_alloc_init(), rz_analysis_basic_block_list_handler(), rz_analysis_block_analyze_ops(), rz_analysis_block_automerge(), rz_analysis_block_update_hash(), rz_analysis_block_was_modified(), rz_analysis_bytes_free(), rz_analysis_cc_max_arg(), rz_analysis_cc_set(), rz_analysis_class_add_attr_unique(), rz_analysis_class_base_fini(), rz_analysis_class_base_get(), rz_analysis_class_base_get_all(), rz_analysis_class_base_list_handler(), rz_analysis_class_base_set(), rz_analysis_class_base_set_raw(), rz_analysis_class_create(), rz_analysis_class_delete(), rz_analysis_class_delete_attr(), rz_analysis_class_delete_attr_raw(), rz_analysis_class_exists(), rz_analysis_class_get_attr(), rz_analysis_class_get_attr_raw(), rz_analysis_class_method_delete(), rz_analysis_class_method_delete_class(), rz_analysis_class_method_fini(), rz_analysis_class_method_get(), rz_analysis_class_method_get_all(), rz_analysis_class_method_rename(), rz_analysis_class_method_rename_class(), rz_analysis_class_method_set(), rz_analysis_class_rename(), rz_analysis_class_rename_attr(), rz_analysis_class_rename_attr_raw(), rz_analysis_class_set_attr(), rz_analysis_class_set_attr_raw(), rz_analysis_class_unique_attr_id_raw(), rz_analysis_class_vtable_delete(), rz_analysis_class_vtable_delete_class(), rz_analysis_class_vtable_fini(), rz_analysis_class_vtable_get(), rz_analysis_class_vtable_get_all(), rz_analysis_class_vtable_list_handler(), rz_analysis_class_vtable_rename_class(), rz_analysis_class_vtable_set(), rz_analysis_cond_free(), rz_analysis_cond_to_string(), rz_analysis_create_function(), rz_analysis_cycle_frame_free(), rz_analysis_data_free(), rz_analysis_diff_fingerprint_bb(), rz_analysis_diff_free(), rz_analysis_disasm_text_free(), rz_analysis_dwarf_integrate_functions(), rz_analysis_esil_condition(), rz_analysis_esil_free(), rz_analysis_esil_interrupt_free(), rz_analysis_esil_load_interrupts(), rz_analysis_esil_load_source(), rz_analysis_esil_new(), rz_analysis_esil_release_source(), rz_analysis_esil_set_op(), rz_analysis_esil_signext(), rz_analysis_esil_trace_free(), rz_analysis_extract_rarg(), rz_analysis_fcn_arg_free(), rz_analysis_fcn_format_sig(), rz_analysis_free(), rz_analysis_function_all_opcode_stat_handler(), rz_analysis_function_args_and_vars_xrefs_handler(), rz_analysis_function_autoname_handler(), rz_analysis_function_autoname_var(), rz_analysis_function_clone_type(), rz_analysis_function_cost(), rz_analysis_function_free(), rz_analysis_function_get_json(), rz_analysis_function_get_signature(), rz_analysis_function_import_list_handler(), rz_analysis_function_list_ascii_handler(), rz_analysis_function_name_guess(), rz_analysis_function_rename(), rz_analysis_function_set_label(), rz_analysis_function_set_type(), rz_analysis_function_set_type_str(), rz_analysis_function_set_var(), rz_analysis_function_signature_handler(), rz_analysis_function_signature_type_handler(), rz_analysis_function_vars_bp_handler(), rz_analysis_function_vars_display_handler(), rz_analysis_function_vars_regs_handler(), rz_analysis_function_vars_sp_handler(), rz_analysis_function_vars_stackframe_handler(), rz_analysis_function_vars_type_handler(), rz_analysis_function_xrefs_handler(), rz_analysis_functions_map_handler(), rz_analysis_get_delta_jmptbl_info(), rz_analysis_get_jmptbl_info(), rz_analysis_global_variable_add_handler(), rz_analysis_global_variable_retype_handler(), rz_analysis_hint_free(), rz_analysis_hint_get(), rz_analysis_hint_set_arch(), rz_analysis_hint_set_esil(), rz_analysis_hint_set_offset(), rz_analysis_hint_set_opcode(), rz_analysis_hint_set_syntax(), rz_analysis_il_config_free(), rz_analysis_il_trace_instruction_free(), rz_analysis_il_trace_instruction_new(), rz_analysis_il_vm_free(), rz_analysis_il_vm_new(), rz_analysis_new(), rz_analysis_noreturn_add(), rz_analysis_noreturn_at_name(), rz_analysis_noreturn_functions(), rz_analysis_op_copy(), rz_analysis_op_free(), rz_analysis_op_hexstr(), rz_analysis_op_hint(), rz_analysis_op_to_string(), rz_analysis_reflines_free(), rz_analysis_reflines_get(), rz_analysis_reflines_str_free(), rz_analysis_rtti_demangle_class_name_handler(), rz_analysis_rtti_itanium_demangle_class_name(), rz_analysis_rtti_msvc_demangle_class_name(), rz_analysis_set_bits(), rz_analysis_set_cpu(), rz_analysis_set_limits(), rz_analysis_set_reg_profile(), rz_analysis_switch_op_free(), rz_analysis_syscall_show_handler(), rz_analysis_value_free(), rz_analysis_var_global_list_show(), rz_analysis_var_rename(), rz_analysis_vtable_info_free(), rz_analysis_walkthrough_casetbl(), rz_analysis_walkthrough_jmptbl(), rz_analysis_xref_free(), rz_analysis_xref_list_new(), rz_analysis_xrefs_to_graph_cmd_handler(), rz_analysis_xrefs_to_list_handler(), rz_analyze_bytes_handler(), rz_analyze_cycles_handler(), rz_analyze_opcode_handler(), rz_annotation_free(), rz_arena_list_free(), rz_asm_assemble(), rz_asm_code_free(), rz_asm_code_set_equ(), rz_asm_disassemble(), rz_asm_equ_item_free(), rz_asm_free(), rz_asm_massemble(), rz_asm_mdisassemble_hexstr(), rz_asm_mnemonics_byname(), rz_asm_new(), rz_asm_op_free(), rz_asm_op_set_hex(), rz_asm_op_set_hexbuf(), rz_asm_pseudo_byte(), rz_asm_pseudo_fill(), rz_asm_pseudo_incbin(), rz_asm_rasm_assemble(), rz_asm_set_cpu(), rz_asm_token_pattern_free(), rz_asm_token_string_clone(), rz_asm_token_string_free(), rz_asm_use(), rz_asn1_concatenate_strings(), rz_asn1_create_binary(), rz_asn1_create_object(), rz_asn1_free_binary(), rz_asn1_free_object(), rz_asn1_free_string(), rz_asn1_print_hexdump_padded(), rz_asn1_stringify_bits(), rz_asn1_stringify_bytes(), rz_asn1_stringify_integer(), rz_asn1_stringify_oid(), rz_asn1_stringify_time(), rz_asn1_stringify_utctime(), rz_assembly_of_hex_handler(), rz_assert_log(), rz_atomic_bool_free(), rz_axml_decode(), rz_backtrace_free(), rz_base64_decode_dyn(), rz_base_type_as_format(), rz_basefind(), rz_big_free(), rz_big_to_hexstr(), rz_bin_addr2text(), rz_bin_class_free(), rz_bin_coff_free(), rz_bin_demangle(), rz_bin_dex_classes(), rz_bin_dex_entrypoints(), rz_bin_dex_fields(), rz_bin_dex_free(), rz_bin_dex_imports(), rz_bin_dex_libraries(), rz_bin_dex_resolve_field_by_idx(), rz_bin_dex_resolve_method_by_idx(), rz_bin_dex_strings(), rz_bin_dex_symbols(), rz_bin_dmp64_free(), rz_bin_dmp64_init_bmp_pages(), rz_bin_dmp64_init_memory_runs(), rz_bin_dmp64_init_triage_datablocks(), rz_bin_dmp64_init_triage_drivers(), rz_bin_dwarf_arange_set_free(), rz_bin_dwarf_debug_abbrev_free(), rz_bin_dwarf_debug_info_free(), rz_bin_dwarf_line_header_free_file_cache(), rz_bin_dwarf_line_header_get_full_file_path(), rz_bin_dwarf_line_info_free(), rz_bin_dwarf_line_op_fini(), rz_bin_dwarf_parse_abbrev(), rz_bin_dwarf_parse_aranges(), rz_bin_dwarf_parse_info(), rz_bin_dwarf_parse_line(), rz_bin_dwarf_parse_loc(), rz_bin_elf_dt_dynamic_free(), rz_bin_elf_free(), rz_bin_elf_get_compiler(), rz_bin_elf_get_head_flag(), rz_bin_elf_get_libs(), rz_bin_elf_section_free(), rz_bin_elf_strtab_free(), rz_bin_fatmach0_extract(), rz_bin_fatmach0_free(), rz_bin_fatmach0_new(), rz_bin_field_free(), rz_bin_file_add_class(), rz_bin_file_free(), rz_bin_file_golang_compiler(), rz_bin_file_hash_free(), rz_bin_file_object_new_from_xtr_data(), rz_bin_file_strings(), rz_bin_filter_name(), rz_bin_filter_sym(), rz_bin_force_plugin(), rz_bin_free(), rz_bin_free_all_omf_obj(), rz_bin_import_free(), rz_bin_info_free(), rz_bin_java_class_as_json(), rz_bin_java_class_as_libraries(), rz_bin_java_class_as_sections(), rz_bin_java_class_as_source_code(), rz_bin_java_class_as_text(), rz_bin_java_class_const_pool_as_imports(), rz_bin_java_class_const_pool_as_json(), rz_bin_java_class_const_pool_as_symbols(), rz_bin_java_class_const_pool_as_text(), rz_bin_java_class_const_pool_resolve_index(), rz_bin_java_class_entrypoints(), rz_bin_java_class_fields_as_binfields(), rz_bin_java_class_fields_as_json(), rz_bin_java_class_fields_as_symbols(), rz_bin_java_class_fields_as_text(), rz_bin_java_class_free(), rz_bin_java_class_interfaces_as_json(), rz_bin_java_class_interfaces_as_text(), rz_bin_java_class_language(), rz_bin_java_class_methods_as_json(), rz_bin_java_class_methods_as_symbols(), rz_bin_java_class_methods_as_text(), rz_bin_java_class_name(), rz_bin_java_class_resolve_symbol(), rz_bin_java_class_strings(), rz_bin_le_free(), rz_bin_le_get_entrypoints(), rz_bin_le_get_libs(), rz_bin_le_get_relocs(), rz_bin_map_free(), rz_bin_mdmp_free(), rz_bin_mdmp_new_buf(), rz_bin_mdmp_pe_get_entrypoint(), rz_bin_mdmp_pe_get_imports(), rz_bin_mdmp_pe_get_symbols(), rz_bin_mem_free(), rz_bin_mz_free(), rz_bin_mz_get_main_vaddr(), rz_bin_mz_new(), rz_bin_ne_free(), rz_bin_ne_get_entrypoints(), rz_bin_ne_get_relocs(), rz_bin_ne_get_segments(), rz_bin_ne_get_symbols(), rz_bin_new(), rz_bin_object_free(), rz_bin_object_new(), rz_bin_object_set_items(), rz_bin_pdb_download(), rz_bin_pdb_extract_in_folder(), rz_bin_pdb_free(), rz_bin_pe_check_sections(), rz_bin_pe_free(), rz_bin_pe_get_clr_symbols(), rz_bin_pe_get_exports(), rz_bin_pe_get_imports(), rz_bin_pe_get_libs(), rz_bin_pe_get_sections(), rz_bin_pemixed_free(), rz_bin_pemixed_init_dos(), rz_bin_pemixed_init_native(), rz_bin_reloc_free(), rz_bin_reloc_storage_free(), rz_bin_reloc_target_builder_free(), rz_bin_reloc_target_builder_new(), rz_bin_resource_free(), rz_bin_section_free(), rz_bin_source_line_info_builder_build_and_fini(), rz_bin_source_line_info_free(), rz_bin_string_database_free(), rz_bin_string_decode_base64(), rz_bin_string_free(), rz_bin_strpurge(), rz_bin_symbol_free(), rz_bin_symserver_download(), rz_bin_te_free(), rz_bin_te_get_main_paddr(), rz_bin_te_new(), rz_bin_trycatch_free(), rz_bin_virtual_file_free(), rz_bin_wasm_destroy(), rz_bin_wasm_free_codes(), rz_bin_wasm_free_types(), rz_bin_wasm_get_data_entries(), rz_bin_wasm_get_element_entries(), rz_bin_wasm_get_export_entries(), rz_bin_wasm_get_global_entries(), rz_bin_wasm_get_import_entries(), rz_bin_wasm_get_memory_entries(), rz_bin_wasm_get_sections(), rz_bin_wasm_get_start(), rz_bin_wasm_get_table_entries(), rz_bin_xtrdata_free(), rz_bin_zimg_new_buf(), rz_bitmap_free(), rz_bp_add_sw(), rz_bp_free(), rz_bp_item_free(), rz_bp_item_set_cond(), rz_bp_item_set_data(), rz_bp_item_set_expr(), rz_bp_item_set_name(), rz_bp_new(), rz_bp_traptrace_add(), rz_bp_traptrace_free(), rz_buf_append_buf_slice(), rz_buf_free(), rz_buf_fwd_scan(), rz_buf_new_empty(), rz_buf_new_with_methods(), rz_buf_to_string(), rz_bv_fini(), rz_bv_free(), rz_bv_new(), rz_cmd(), rz_cmd_alias(), rz_cmd_alias_del(), rz_cmd_alias_free(), rz_cmd_alias_set(), rz_cmd_analysis(), rz_cmd_arena_print_handler(), rz_cmd_base64_decode_handler(), rz_cmd_base64_encode_handler(), rz_cmd_call(), rz_cmd_cmp_file_handler(), rz_cmd_cmp_hex_block_handler(), rz_cmd_cmp_hex_block_hexdiff_handler(), rz_cmd_cmp_hex_diff_lines_handler(), rz_cmd_cmp_hexpair_string_handler(), rz_cmd_cmp_string_handler(), rz_cmd_debug(), rz_cmd_debug_continue_until(), rz_cmd_debug_dmi(), rz_cmd_debug_dml_handler(), rz_cmd_debug_dmS_handler(), rz_cmd_debug_process_profile_edit_handler(), rz_cmd_debug_process_profile_handler(), rz_cmd_desc_details_free(), rz_cmd_dexs_handler(), rz_cmd_disassembly_all_possible_opcodes_handler(), rz_cmd_disassembly_all_possible_opcodes_treeview_handler(), rz_cmd_disassembly_basic_block_as_text_json_handler(), rz_cmd_disassembly_basic_block_handler(), rz_cmd_disassembly_function_handler(), rz_cmd_free(), rz_cmd_get_help(), rz_cmd_get_help_json(), rz_cmd_heap_arena_bins_print_handler(), rz_cmd_heap_bins_list_print(), rz_cmd_heap_chunk_print_handler(), rz_cmd_heap_chunks_print_handler(), rz_cmd_heap_fastbins_print(), rz_cmd_heap_info_print_handler(), rz_cmd_heap_tcache_print_handler(), rz_cmd_help(), rz_cmd_help_search_handler(), rz_cmd_info_demangle_handler(), rz_cmd_info_hashes_handler(), rz_cmd_info_kuery(), rz_cmd_info_pdb_load_handler(), rz_cmd_info_pdb_show_handler(), rz_cmd_info_section_bars_handler(), rz_cmd_javar_handler(), rz_cmd_kuery(), rz_cmd_macro(), rz_cmd_macro_add(), rz_cmd_macro_item_free(), rz_cmd_macro_rm(), rz_cmd_main_arena_print_handler(), rz_cmd_panels(), rz_cmd_parsed_args_free(), rz_cmd_parsed_args_setcmd(), rz_cmd_print(), rz_cmd_print_timestamp_current_handler(), rz_cmd_print_timestamp_dos_handler(), rz_cmd_print_timestamp_hfs_handler(), rz_cmd_print_timestamp_ntfs_handler(), rz_cmd_print_timestamp_unix_handler(), rz_cmd_remote(), rz_cmd_search(), rz_cmd_shell_cat_handler(), rz_cmd_shell_cd_handler(), rz_cmd_shell_echo_handler(), rz_cmd_shell_env_handler(), rz_cmd_shell_ls_handler(), rz_cmd_shell_mkdir_handler(), rz_cmd_shell_mv_handler(), rz_cmd_shell_pwd_handler(), rz_cmd_shell_sort_handler(), rz_cmd_shell_uniq_handler(), rz_cmd_shell_which_handler(), rz_cmd_state_output_free(), rz_cmd_state_output_print(), rz_coff_get_entry(), rz_coff_get_relocs(), rz_comment_filelink_handler(), rz_comment_unique_handler(), rz_config_bump(), rz_config_eval(), rz_config_free(), rz_config_hold_char_free(), rz_config_hold_num_free(), rz_config_node_desc(), rz_config_node_free(), rz_config_set(), rz_config_set_b(), rz_config_set_i(), rz_cons_breakword(), rz_cons_canvas_box(), rz_cons_canvas_fill(), rz_cons_canvas_free(), rz_cons_canvas_new(), rz_cons_canvas_print(), rz_cons_canvas_print_region(), rz_cons_canvas_resize(), rz_cons_canvas_to_string(), rz_cons_column(), rz_cons_context_free(), rz_cons_echo(), rz_cons_fill_line(), rz_cons_filter(), rz_cons_flush(), rz_cons_get_size(), rz_cons_grep_line(), rz_cons_grep_parsecmd(), rz_cons_grep_process(), rz_cons_grepbuf(), rz_cons_highlight(), rz_cons_hud_file(), rz_cons_hud_path(), rz_cons_hud_string(), rz_cons_input(), rz_cons_less_str(), rz_cons_pal_list(), rz_cons_pal_parse(), rz_cons_rainbow_free(), rz_cons_rainbow_get(), rz_cons_rainbow_new(), rz_cons_strcat_at(), rz_convert_mne_handler(), rz_core_agraph_add_node(), rz_core_agraph_print_sdb(), rz_core_analysis_all_vars_display(), rz_core_analysis_autoname_all_fcns(), rz_core_analysis_bytes(), rz_core_analysis_callgraph(), rz_core_analysis_cc_init(), rz_core_analysis_cycles(), rz_core_analysis_data(), rz_core_analysis_esil(), rz_core_analysis_esil_emulate(), rz_core_analysis_esil_init_mem(), rz_core_analysis_esil_init_mem_del(), rz_core_analysis_fcn_name(), rz_core_analysis_function_autoname(), rz_core_analysis_function_rename(), rz_core_analysis_function_set_signature(), rz_core_analysis_function_signature(), rz_core_analysis_function_signature_editor(), rz_core_analysis_hasrefs(), rz_core_analysis_hasrefs_to_depth(), rz_core_analysis_il_vm_status(), rz_core_analysis_name_free(), rz_core_analysis_propagate_noreturn(), rz_core_analysis_resolve_golang_strings(), rz_core_analysis_search(), rz_core_analysis_search_xrefs(), rz_core_analysis_sigdb_list(), rz_core_analysis_stats_free(), rz_core_analysis_type_init(), rz_core_analysis_type_match(), rz_core_analysis_types_propagation(), rz_core_analysis_value_pointers(), rz_core_analysis_var_display(), rz_core_asm_back_disassemble(), rz_core_asm_back_disassemble_all(), rz_core_asm_bwdisassemble(), rz_core_asm_hit_free(), rz_core_asm_plugins_print(), rz_core_asm_strsearch(), rz_core_autocomplete_add(), rz_core_autocomplete_free(), rz_core_bin_apply_classes(), rz_core_bin_apply_config(), rz_core_bin_apply_strings(), rz_core_bin_apply_symbols(), rz_core_bin_class_build_flag_name(), rz_core_bin_class_fields_print(), rz_core_bin_class_methods_print(), rz_core_bin_create_digests(), rz_core_bin_export_info(), rz_core_bin_field_build_flag_name(), rz_core_bin_fields_print(), rz_core_bin_imports_print(), rz_core_bin_info_print(), rz_core_bin_load(), rz_core_bin_method_build_flag_name(), rz_core_bin_pdb_get_filename(), rz_core_bin_pdb_gvars_as_string(), rz_core_bin_pdb_gvars_print(), rz_core_bin_pdb_load(), rz_core_bin_print_source_line_sample(), rz_core_bin_relocs_print(), rz_core_bin_sections_print(), rz_core_bin_set_arch_bits(), rz_core_bin_signatures_print(), rz_core_bin_super_build_flag_name(), rz_core_bin_whole_strings(), rz_core_clippy(), rz_core_cmd_buffer(), rz_core_cmd_command(), rz_core_cmd_file(), rz_core_cmd_foreach(), rz_core_cmd_foreach3(), rz_core_cmd_init(), rz_core_cmd_pipe_old(), rz_core_cmd_str_pipe(), rz_core_cmd_subst(), rz_core_cmd_subst_i(), rz_core_cmp_disasm(), rz_core_cmp_free(), rz_core_cmp_mem_data(), rz_core_cmp_mem_mem(), rz_core_cmpwatch_add(), rz_core_cmpwatch_free(), rz_core_cmpwatch_revert(), rz_core_cmpwatch_update(), rz_core_config_in_space(), rz_core_config_init(), rz_core_debug_bp_add(), rz_core_debug_bp_add_noreturn_func(), rz_core_debug_continue_until(), rz_core_debug_esil(), rz_core_debug_kill(), rz_core_disasm_instruction(), rz_core_disasm_pde(), rz_core_disasm_pdi_with_buf(), rz_core_disassemble_bytes(), rz_core_disassemble_instr(), rz_core_dump(), rz_core_editor(), rz_core_egg_compile(), rz_core_file_free(), rz_core_file_info_print(), rz_core_file_loadlib(), rz_core_file_open(), rz_core_file_print(), rz_core_file_reopen(), rz_core_file_reopen_debug(), rz_core_fortune_get_random(), rz_core_fortune_list(), rz_core_fortune_print_random(), rz_core_free(), rz_core_gadget_free(), rz_core_gadget_print(), rz_core_get_boundaries_prot(), rz_core_get_func_args(), rz_core_graph_print(), rz_core_hack_arm(), rz_core_hack_x86(), rz_core_init(), rz_core_io_cache_print(), rz_core_io_file_open(), rz_core_io_map_info_free(), rz_core_io_plugin_print(), rz_core_kuery_print(), rz_core_link_stroff(), rz_core_loadlibs(), rz_core_magic_at(), rz_core_meta_append(), rz_core_meta_editor(), rz_core_meta_print(), rz_core_meta_string_add(), rz_core_parse_rizinrc(), rz_core_print_bb_custom(), rz_core_print_bb_gml(), rz_core_print_disasm(), rz_core_print_disasm_all(), rz_core_print_disasm_instructions_with_buf(), rz_core_print_disasm_json(), rz_core_print_dump_str(), rz_core_print_function_disasm_json(), rz_core_print_hexdiff(), rz_core_print_hexdump(), rz_core_print_hexdump_byline(), rz_core_print_hexdump_byline_str(), rz_core_print_hexdump_diff(), rz_core_print_hexdump_diff_str(), rz_core_print_hexdump_or_hexdiff_str(), rz_core_print_jsondump(), rz_core_print_scrollbar(), rz_core_print_scrollbar_bottom(), rz_core_prompt(), rz_core_raw_file_print(), rz_core_recover_vars(), rz_core_rtr_add(), rz_core_rtr_cmd(), rz_core_rtr_cmds(), rz_core_rtr_gdb_run(), rz_core_rtr_http_run(), rz_core_rtr_pushout(), rz_core_run_script(), rz_core_search_cb(), rz_core_search_prelude(), rz_core_search_preludes(), rz_core_search_rop(), rz_core_seek_item_free(), rz_core_serve(), rz_core_shift_block(), rz_core_sym_name_init(), rz_core_sysenv_begin(), rz_core_sysenv_end(), rz_core_task_schedule(), rz_core_task_scheduler_init(), rz_core_theme_list(), rz_core_theme_load(), rz_core_transform_op(), rz_core_types_as_c_all(), rz_core_types_calling_conventions_print(), rz_core_types_enum_as_c_all(), rz_core_types_function_print(), rz_core_types_link(), rz_core_types_link_print(), rz_core_types_print_all(), rz_core_types_show_format(), rz_core_types_struct_as_c_all(), rz_core_types_struct_print(), rz_core_types_typedef_as_c_all(), rz_core_types_typedef_print(), rz_core_types_union_as_c_all(), rz_core_types_union_print(), rz_core_visual(), rz_core_visual_analysis_refresh(), rz_core_visual_analysis_refresh_column(), rz_core_visual_bit_editor(), rz_core_visual_classes(), rz_core_visual_cmd(), rz_core_visual_colors(), rz_core_visual_comments(), rz_core_visual_config(), rz_core_visual_config_hud(), rz_core_visual_debugtraces(), rz_core_visual_define(), rz_core_visual_esil(), rz_core_visual_graph(), rz_core_visual_hud(), rz_core_visual_hudclasses(), rz_core_visual_hudstuff(), rz_core_visual_title(), rz_core_visual_view_rop(), rz_core_visual_xrefs(), rz_core_write_base64_at(), rz_core_write_base64d_at(), rz_core_write_block(), rz_core_write_block_op_at(), rz_core_write_duplicate_at(), rz_core_write_hexpair(), rz_core_write_length_string_at(), rz_core_write_random_at(), rz_core_write_seq_at(), rz_core_write_string_at(), rz_core_write_string_wide_at(), rz_core_write_string_zero_at(), rz_core_yank(), rz_core_yank_dump(), rz_core_yank_hexpair(), rz_core_yank_hud_file(), rz_core_yank_hud_path(), rz_core_yank_paste(), rz_core_yank_string(), rz_coresym_cache_element_flc_fini(), rz_coresym_cache_element_free(), rz_coresym_cache_element_header_new(), rz_coresym_cache_element_new(), rz_coresym_cache_element_section_fini(), rz_coresym_cache_element_segment_fini(), rz_coresym_cache_element_symbol_fini(), rz_crypto_free(), rz_crypto_new(), rz_debruijn_offset(), rz_debruijn_pattern(), rz_debug_bochs_detach(), rz_debug_desc_free(), rz_debug_desc_list(), rz_debug_dmp_attach(), rz_debug_dmp_frames(), rz_debug_dmp_init(), rz_debug_dmp_threads(), rz_debug_execute(), rz_debug_free(), rz_debug_gdb_fini(), rz_debug_gdb_map_get(), rz_debug_gdb_modules_get(), rz_debug_gdb_reg_read(), rz_debug_gdb_reg_write(), rz_debug_get_baddr(), rz_debug_info_free(), rz_debug_map_free(), rz_debug_pid_free(), rz_debug_plugin_init(), rz_debug_plugin_set_reg_profile(), rz_debug_qnx_detach(), rz_debug_qnx_reg_read(), rz_debug_qnx_reg_write(), rz_debug_reg_profile_sync(), rz_debug_reg_sync(), rz_debug_session_list_memory(), rz_debug_set_arch(), rz_debug_snap_free(), rz_debug_snap_is_equal(), rz_debug_thread_list(), rz_debug_trace_at(), rz_debug_trace_free(), rz_debug_trace_new(), rz_debug_trace_reset(), rz_debug_traces_ascii(), rz_debug_winkd_threads(), rz_debug_winkd_wait(), rz_demangler_free(), rz_demangler_new(), rz_detected_string_free(), rz_diff_calculate_distance(), rz_diff_command_new(), rz_diff_free(), rz_diff_hex_visual(), rz_diff_io_close(), rz_diff_io_open(), rz_diff_levenstein_distance(), rz_diff_lines_new(), rz_diff_matches_new(), rz_diff_myers_distance(), rz_diff_opcodes_grouped_new(), rz_diff_opcodes_new(), rz_diff_parse_arguments(), rz_diff_slurp_file(), rz_diff_unified_files(), rz_diff_unified_json(), rz_diff_unified_text(), rz_dyld_locsym_new(), rz_dyldcache_free(), rz_dyldcache_symbols_from_locsym(), rz_egg_assemble_asm(), rz_egg_Cfile_free_cEnv(), rz_egg_Cfile_getCompiler(), rz_egg_Cfile_parseCompiled(), rz_egg_Cfile_parser(), rz_egg_Cfile_set_cEnv(), rz_egg_config_handler(), rz_egg_free(), rz_egg_include(), rz_egg_lang_include_init(), rz_egg_lang_include_path(), rz_egg_lang_parsechar(), rz_egg_load_file(), rz_egg_mkvar(), rz_egg_padding(), rz_egg_pattern(), rz_egg_raw(), rz_egg_raw_prepend(), rz_esil_of_assembly_handler(), rz_esil_of_hex_handler(), rz_event_free(), rz_file_abspath(), rz_file_abspath_rel(), rz_file_binsh(), rz_file_copy(), rz_file_exists(), rz_file_globsearch(), rz_file_gzslurp(), rz_file_is_deflated(), rz_file_mkstemp(), rz_file_mmap_free(), rz_file_path(), rz_file_rm(), rz_file_root(), rz_file_slurp(), rz_file_slurp_hexpairs(), rz_file_slurp_line(), rz_file_slurp_lines(), rz_file_slurp_lines_from_bottom(), rz_file_slurp_random_line_count(), rz_file_temp(), rz_file_tmpdir(), rz_flag_free(), rz_flag_get_by_spaces(), rz_flag_item_free(), rz_flag_item_set_alias(), rz_flag_item_set_color(), rz_flag_item_set_comment(), rz_flag_set(), rz_flag_set_next(), rz_flag_tags_get(), rz_flag_tags_list(), rz_flag_zone_item_free(), rz_graph_dfs(), rz_graph_dfs_node(), rz_graph_dfs_node_reverse(), rz_graph_free(), rz_graph_free_node_info(), rz_graph_node_free(), rz_hash_bang_handler(), rz_hash_cfg_calculate_small_block_string(), rz_hash_cfg_final(), rz_hash_cfg_free(), rz_hash_cfg_hmac(), rz_hash_cfg_init(), rz_hash_cfg_new(), rz_hash_entropy(), rz_hash_entropy_fraction(), rz_hash_free(), rz_heap_arena_list_wrapper(), rz_heap_arenas_list(), rz_heap_bin_content(), rz_heap_bin_free(), rz_heap_blocks_list(), rz_heap_chunk_free(), rz_heap_chunk_wrapper(), rz_heap_chunks_list(), rz_heap_chunks_list_wrapper(), rz_heap_debug_block_win(), rz_heap_fastbin_content(), rz_heap_get_arena(), rz_heap_list(), rz_heap_resolve_main_arena(), rz_heap_tcache_content(), rz_heap_write_heap_chunk(), rz_hex_from_c(), rz_hex_from_c_array(), rz_hex_from_js(), rz_hex_from_py(), rz_hex_from_py_array(), rz_hex_no_code(), rz_hex_of_assembly_handler(), rz_history_save_handler(), rz_id_pool_free(), rz_id_storage_free(), rz_il_bool_free(), rz_il_effect_label_free(), rz_il_event_free(), rz_il_event_json(), rz_il_event_stringify(), rz_il_mem_free(), rz_il_op_effect_free(), rz_il_op_pure_free(), rz_il_reg_binding_derive(), rz_il_reg_binding_exactly(), rz_il_reg_binding_free(), rz_il_validate_global_context_free(), rz_il_validate_global_context_new_empty(), rz_il_value_free(), rz_il_variable_free(), rz_il_variable_new(), rz_il_vm_fini(), rz_il_vm_free(), rz_interpret_handler(), rz_interpret_output_handler(), rz_interval_tree_delete(), rz_interval_tree_init(), rz_interval_tree_insert(), rz_io_ar_open(), rz_io_ar_open_many(), rz_io_cache_invalidate(), rz_io_cache_write(), rz_io_def_mmap_free(), rz_io_desc_free(), rz_io_extend_at(), rz_io_fini(), rz_io_free(), rz_io_map_set_name(), rz_io_open_buffer(), rz_io_plugin_init(), rz_io_set_write_mask(), rz_io_shift(), rz_io_system_run_oldhandler(), rz_io_write_at(), rz_io_zip_free_zipfileobj(), rz_io_zip_get_files(), rz_io_zip_open(), rz_io_zip_open_many(), rz_io_zip_slurp_file(), rz_is_heap(), rz_itv_free(), rz_json_free(), rz_lang_def_free(), rz_lang_free(), rz_lang_prompt(), rz_lang_run_file(), rz_lib_close(), rz_lib_dl_open(), rz_lib_free(), rz_lib_new(), rz_lib_open(), rz_lib_open_ptr(), rz_lib_opendir(), rz_lib_path(), rz_line_autocomplete(), rz_line_completion_init(), rz_line_free(), rz_line_hist_add(), rz_line_new(), rz_line_ns_completion_result_free(), rz_line_ns_completion_result_new(), rz_line_readline_cb(), rz_line_set_prompt(), rz_list_del_n(), rz_list_delete(), rz_list_free(), rz_list_mne_handler(), rz_list_of_sdblist(), rz_list_pop(), rz_list_pop_head(), rz_list_split(), rz_listinfo_free(), rz_load_panels_layout(), rz_magic_free(), rz_magic_new(), rz_main_free(), rz_main_rizin(), rz_main_rz_agent(), rz_main_rz_asm(), rz_main_rz_ax(), rz_main_rz_bin(), rz_main_rz_find(), rz_main_rz_gg(), rz_main_rz_run(), rz_main_rz_sign(), rz_main_rzpipe(), rz_main_version_print(), rz_mem_cmp_mask(), rz_mem_free(), rz_meta_item_fini(), rz_meta_item_free(), rz_num_between(), rz_num_conditional(), rz_num_free(), rz_num_get(), rz_num_math(), rz_num_tail(), rz_num_tailff(), rz_oids_free(), rz_oids_new(), rz_oids_sort(), rz_open_malloc_handler(), rz_open_maps_list_ascii_handler(), rz_parse_assemble(), rz_parse_filter_dup(), rz_parse_free(), rz_path_home(), rz_path_home_prefix(), rz_path_realpath(), rz_path_set_prefix(), rz_pkcs7_cms_to_string(), rz_pkcs7_free_attribute(), rz_pkcs7_free_cms(), rz_pkcs7_free_signerinfo(), rz_pkcs7_parse_cms(), rz_pkcs7_parse_spcinfo(), rz_platform_item_free(), rz_platform_profile_free(), rz_platform_profile_new(), rz_platform_profiles_init(), rz_platform_target_free(), rz_platform_target_index_free(), rz_platform_target_index_init(), rz_platform_target_index_new(), rz_platform_target_new(), rz_print_addr(), rz_print_areas_no_functions_handler(), rz_print_bitstream_handler(), rz_print_byte(), rz_print_byte_bitstream_handler(), rz_print_delta_pointer_table_handler(), rz_print_free(), rz_print_hexdiff_str(), rz_print_hexdump_bits_handler(), rz_print_hexdump_hexless_words_handler(), rz_print_hexdump_str(), rz_print_json_human(), rz_print_json_indent(), rz_print_json_path(), rz_project_load_file_raw(), rz_project_migrate_v1_v2(), rz_project_migrate_v2_v3(), rz_project_migrate_v3_v4(), rz_project_save_file(), rz_pseudo_convert(), rz_punycode_decode(), rz_punycode_encode(), rz_push_escaped_handler(), rz_pvector_free(), rz_pvector_init(), rz_pvector_new(), rz_pvector_new_with_len(), rz_pyc_disasm(), rz_range_add_from_string(), rz_range_free(), rz_range_new(), rz_rbtree_cont_free(), rz_rbtree_cont_insert(), rz_reg_arena_free(), rz_reg_arena_set_bytes(), rz_reg_arena_shrink(), rz_reg_arenas_hexdump_handler(), rz_reg_arenas_write_hex_handler(), rz_reg_cc_handler(), rz_reg_cond_handler(), rz_reg_free(), rz_reg_item_free(), rz_reg_new(), rz_reg_parse_gdb_profile(), rz_reg_profile_alias_free(), rz_reg_profile_def_free(), rz_reg_profile_gdb_handler(), rz_reg_set_bytes(), rz_reg_set_profile(), rz_regex_comp(), rz_regex_fini(), rz_regex_free(), rz_regex_get_match_list(), rz_regs_fpu_handler(), rz_regs_show_valgroup(), rz_remote_add_handler(), rz_remote_del_handler(), rz_remote_handler(), rz_remote_open_handler(), rz_remote_rap_bg_handler(), rz_remote_rap_handler(), rz_remote_send_handler(), rz_remote_tcp_handler(), rz_reopen_debug_handler(), rz_reopen_debug_rzrun_handler(), rz_resolve_jemalloc(), rz_run_config_env(), rz_run_free(), rz_run_get_environ_profile(), rz_run_parse(), rz_run_parsefile(), rz_run_parseline(), rz_run_start(), rz_save_panels_layout(), rz_scan_strings(), rz_scan_strings_raw(), rz_search_free(), rz_search_keyword_free(), rz_search_keyword_new_hex(), rz_search_keyword_new_hexmask(), rz_search_keyword_new_str(), rz_search_keyword_new_wide(), rz_search_new(), rz_seek_handler(), rz_seek_history_list_handler(), rz_serialize_analysis_diff_load(), rz_serialize_analysis_global_var_save(), rz_serialize_analysis_var_save(), rz_serialize_result_info_new(), rz_serialize_spaces_load(), rz_sign_flirt_info_fini(), rz_sign_flirt_node_free(), rz_sign_flirt_node_new(), rz_sign_flirt_parse_compressed_pattern_from_buffer(), rz_sign_flirt_parse_header_compressed_pattern_from_buffer(), rz_sign_flirt_parse_string_pattern_from_buffer(), rz_sign_sigdb_free(), rz_sign_sigdb_new(), rz_sign_sigdb_signature_free(), rz_skiplist_free(), rz_skiplist_new(), rz_skiplist_node_free(), rz_skiplist_node_new(), rz_socket_accept(), rz_socket_free(), rz_socket_http_accept(), rz_socket_http_close(), rz_socket_http_post(), rz_socket_proc_open(), rz_socket_rap_client_command(), rz_socket_rap_client_open(), rz_socket_rap_client_write(), rz_socket_rap_server_free(), rz_socket_rap_server_new(), rz_socket_spawn(), rz_spaces_add(), rz_spaces_free(), rz_spaces_new(), rz_spaces_rename(), rz_spaces_unset(), rz_stack_free(), rz_stack_new(), rz_stdin_slurp(), rz_str_ansi_filter(), rz_str_append(), rz_str_append_owned(), rz_str_appendf(), rz_str_appendlen(), rz_str_argv(), rz_str_argv_free(), rz_str_dup(), rz_str_home(), rz_str_replace_icase(), rz_str_replace_in(), rz_str_replace_thunked(), rz_str_rstr(), rz_str_scale(), rz_str_split_duplist(), rz_str_split_duplist_n(), rz_str_split_duplist_n_regex(), rz_str_trim_lines(), rz_str_utf16_encode(), rz_str_version(), rz_str_wc_to_mb_l(), rz_str_widget_list(), rz_strbuf_copy(), rz_strbuf_drain(), rz_strbuf_free(), rz_strbuf_prepend(), rz_strbuf_vappendf(), rz_strbuf_vsetf(), rz_strpool_free(), rz_strpool_new(), rz_strpool_slice(), rz_subprocess_free(), rz_subprocess_output_free(), rz_subprocess_start_opt(), rz_sys_chdir(), rz_sys_clearenv(), rz_sys_cmd_str(), rz_sys_cmdbg(), rz_sys_crash_handler(), rz_sys_dir(), rz_sys_fopen(), rz_sys_getenv(), rz_sys_getenv_asbool(), rz_sys_info_free(), rz_sys_mkdir(), rz_sys_mkdirp(), rz_sys_open(), rz_sys_perror_str(), rz_sys_pid_to_path(), rz_sys_run(), rz_sys_run_rop(), rz_sys_set_environ(), rz_sys_setenv(), rz_syscall_free(), rz_syscall_item_free(), rz_syscall_item_new_from_string(), rz_syscall_setup(), rz_syscmd_cat(), rz_syscmd_head(), rz_syscmd_join(), rz_syscmd_ls(), rz_syscmd_mkdir(), rz_syscmd_sort(), rz_syscmd_tail(), rz_syscmd_uniq(), rz_sysreg_item_free(), rz_sysreg_set_arch(), rz_sysregs_db_free(), rz_sysregs_db_new(), rz_table_add_row(), rz_table_add_row_columnsf(), rz_table_add_rowf(), rz_table_column_fini(), rz_table_columns(), rz_table_free(), rz_table_query(), rz_table_tofancystring(), rz_table_tosimplestring(), rz_table_tostring(), rz_table_visual_list(), rz_test_asm_test_free(), rz_test_asm_test_output_free(), rz_test_chdir(), rz_test_chdir_fromtest(), rz_test_cmd_test_free(), rz_test_fuzz_test_free(), rz_test_json_test_free(), rz_test_load_asm_test_file(), rz_test_load_cmd_test_file(), rz_test_load_json_test_file(), rz_test_main(), rz_test_run_asm_test(), rz_test_test_database_free(), rz_test_test_free(), rz_test_test_result_info_free(), rz_th_cond_free(), rz_th_cond_new(), rz_th_free(), rz_th_lock_free(), rz_th_new(), rz_th_pool_free(), rz_th_pool_new(), rz_th_queue_free(), rz_th_sem_free(), rz_th_sem_new(), rz_tree_free(), rz_tree_node_free(), rz_type_as_format_pair(), rz_type_base_enum_case_free(), rz_type_base_struct_member_free(), rz_type_base_union_member_free(), rz_type_callable_arg_free(), rz_type_callable_free(), rz_type_db_edit_base_type(), rz_type_db_find_enums_by_val(), rz_type_db_format_all(), rz_type_db_free(), rz_type_db_init(), rz_type_db_new(), rz_type_db_set_cpu(), rz_type_db_set_os(), rz_type_enum_c_handler(), rz_type_enum_c_nl_handler(), rz_type_format_bitfield(), rz_type_format_data_internal(), rz_type_format_nulltermstring(), rz_type_format_nulltermwidestring(), rz_type_format_string(), rz_type_format_struct(), rz_type_format_struct_size(), rz_type_format_time(), rz_type_format_uleb(), rz_type_free(), rz_type_function_names(), rz_type_list_c_handler(), rz_type_list_c_nl_handler(), rz_type_noreturn_function_names(), rz_type_parse_file(), rz_type_parse_file_stateless(), rz_type_parse_string_declaration_single(), rz_type_parse_string_single(), rz_type_parser_free(), rz_type_parser_free_purge(), rz_type_path_by_offset(), rz_type_path_free(), rz_type_structure_c_handler(), rz_type_structure_c_nl_handler(), rz_type_typedef_c_handler(), rz_type_union_c_handler(), rz_type_union_c_nl_handler(), rz_types_define(), rz_types_open_editor(), rz_types_open_file(), rz_uleb128_encode(), rz_utf_block_list(), rz_vector_clone(), rz_vector_free(), rz_vector_init(), rz_vector_new(), rz_w32_add_winmsg_breakpoint(), rz_w32_dbg_maps(), rz_w32_dbg_modules(), rz_w32_identify_window(), rz_write_assembly_file_handler(), rz_write_assembly_handler(), rz_write_assembly_inside_handler(), rz_write_block_handler(), rz_write_debruijn_handler(), rz_write_extend_hexbytes_handler(), rz_write_from_file_handler(), rz_write_from_io_xchg_handler(), rz_write_from_socket_handler(), rz_write_hex_from_file_handler(), rz_write_mask_set_handler(), rz_write_unified_patch_handler(), rz_write_zero_handler(), rz_x509_certificate_dump(), rz_x509_crl_to_string(), rz_x509_free_certificate(), rz_x509_free_crl(), rz_x509_free_crlentry(), rz_x509_free_extension(), rz_x509_free_extensions(), rz_x509_parse_crl(), rz_x509_signedinfo_dump(), rz_x509_tbscertificate_dump(), rz_yank_editor_handler(), rzfind_open(), rzfind_open_dir(), rzfind_open_file(), rzfind_options_fini(), rzil_print_register_bitv(), rzk__open(), rzp_open_spawn(), rzpipe_close(), rzpipe_cmdf(), rzpipe_write(), save_callable(), save_enum(), save_struct(), save_typedef(), save_union(), sdb_array_add_sorted(), sdb_array_delete(), sdb_array_insert(), sdb_array_pop_head(), sdb_array_pop_num(), sdb_array_pop_tail(), sdb_array_set(), sdb_array_sort(), sdb_array_sort_num(), sdb_close(), sdb_decode(), sdb_disk_create(), sdb_disk_finish(), sdb_drain(), sdb_dump_dupnext(), sdb_file(), sdb_fini(), sdb_fmt_free(), sdb_fmt_tobin(), sdb_fmt_tostr(), sdb_foreach_cdb(), sdb_free(), sdb_grep_dump(), sdb_ht_internal_insert(), sdb_itoa(), sdb_journal_load(), sdb_like(), sdb_load_arch_profile(), sdb_load_base_types(), sdb_load_sysregs(), sdb_new(), sdb_ns_free(), sdb_ns_new(), sdb_ns_path(), sdb_open(), sdb_query(), sdb_query_file(), sdb_query_lines(), sdb_querys(), sdb_save_dwarf_function(), sdb_set_enc(), sdb_set_internal(), sdb_text_load(), sdb_uncat(), sdbkv_fini(), sdbkv_free(), sdbkv_match(), sdbkv_new2(), search_collisions(), search_db_check_panel_type(), search_hash(), search_similar_pattern_in(), search_string_thread_runner(), sections(), sections_from_bin(), sections_from_mach0(), sections_print_json(), sections_print_table(), seek_to_node(), sep64_xtr_ctx_free(), sep64_xtr_ctx_get_slice(), sep64_xtr_ctx_new(), serialize_checkpoints(), serpent_fini(), session_sdb_save(), set_bin_relocs(), set_color_default(), set_default_type(), set_layout(), set_nested(), set_new_xref(), set_offset_hint(), set_profile_string(), set_prompt(), setup_regs(), sh_assembler(), sh_op_movl_param_bits(), sh_op_param_bits(), sh_op_to_str(), sh_tokenize(), show_analinfo(), show_config_options(), showanalysis(), showfile(), showstr(), slurp(), snes_analysis_fini(), snes_asm_fini(), socket_http_answer(), socket_http_get_recursive(), source_nul(), source_nul_cb(), sp_open(), space_free(), spp_eval_str(), spp_proc_eval(), srecord_parse(), sstrinfo_free(), stack_append_block(), stdin_gets(), step_line(), str_split_list_common(), str_split_list_common_regex(), str_value_free(), strbuf_free(), strbuf_rev_append_char(), strbuf_rev_prepend_char(), string_free(), string_scan_range(), string_scan_range_cfstring(), strings_print(), structured_member_walker(), subs_var_string(), substitute_args_fini(), subvar(), suffix_set(), symbols(), system_common_handler(), system_exec(), TAG_CALLBACK(), task_free(), tcache_free(), tcpme(), test_code(), test_compress(), test_corrupt(), test_decompress(), test_invalids(), test_lz4f_decompression(), test_lz4f_decompression_wBuffers(), test_type_for_path(), thumb_getshift(), tmpenvs_free(), tms320_fini(), tms320_tokenize(), to_bin_string(), tokenize_asm_generic(), tokenize_lines(), tokens_free(), tokens_new(), trad_pkware_free(), trad_pkware_new(), ts_parser_parse_wasm(), ts_set_allocator(), type_as_pretty_string(), type_decl_as_pretty_string(), type_format_print(), type_format_print_hexstring(), type_format_print_value(), type_format_print_variable(), type_list_c_all(), type_list_c_all_nl(), type_match(), type_parse_string(), typelinks_load_sdb(), types_cc_print(), types_ht_free(), types_xrefs(), types_xrefs_all(), types_xrefs_function(), types_xrefs_graph(), types_xrefs_summary(), unique_class_name(), unix_word_rubout(), unwind_function(), unzRepair(), update(), update_asmbits_options(), update_asmcpu_options(), update_asmfeatures_options(), update_asmplatforms_options(), update_flag_item_name(), update_varz_analysisysis(), use_stdin(), utf16be_to_utf8(), utf32toutf8(), utf8toutf32(), UTIL_createFileList(), UTIL_freeFileList(), UTIL_realloc(), uv__fs_scandir(), v2_v3_types_foreach_cb(), v850_tokenize(), v_writebuf(), val_ht_free(), VALIDATOR_EFFECT(), VALIDATOR_PURE(), var_field_free(), var_free(), var_ht_free(), var_kv_free(), var_kv_unown_free(), var_type_clone_or_default_type(), var_type_set_str(), var_variables_show(), variable_free(), vector_quick_sort(), vernum(), vf_close(), vf_open(), visual_comma(), visual_flagzone(), vle_free(), w32_dbg_wait(), w32_desc_list(), w32_info_user(), w32_list_heaps_blocks(), w32_select(), w32_thread_list(), w32dbg_wrap_free(), walk_exports(), walkSymbols(), wasm_dis(), wasm_op(), win32_close_file_func(), windbg_frames(), windbg_gcore(), windbg_init(), windbg_map_get(), windbg_modules_get(), windbg_open(), windbg_threads(), window_from_handle(), window_read(), winkd_bkpt(), winkd_ctx_fini(), winkd_download_module_and_pdb(), winkd_kdctx_free(), winkd_list_maps(), winkd_list_modules(), winkd_list_process(), winkd_list_threads(), winkd_query_mem(), winkd_read_reg(), winkd_read_ver(), winkd_sync(), winkd_wait_packet(), winkd_windmodule_free(), winkd_write_at(), winkd_write_at_phys(), winkd_write_reg(), winzip_aes_free(), winzip_aes_new(), write_memory_src_to_file(), write_n_bits(), write_op_val(), WriteKernelMemory(), WriteMemory(), x86_fini(), xnu_dbg_modules(), xnu_generate_corefile(), xnu_get_pid(), xnu_get_thread_with_info(), xnu_map_free(), xnu_thread_free(), xnu_update_thread_info(), xor_fini(), xrealloc(), xrefs_list_print(), xrefs_load_cb(), xtensa_insnbuf_free(), xtensa_isa_free(), XXH_free(), z80_tokenize(), zcfree(), zip_close(), zip_dir_add(), zip_discard(), zip_error_fini(), zip_fclose(), zip_file_set_encryption(), zip_register_progress_callback(), zip_secure_random(), zip_set_default_password(), zip_source_buffer_fragment_with_attributes_create(), zip_source_file_common_new(), zip_source_file_create(), zip_source_free(), zipCloseFileInZipRaw64(), and zone_load_cb().

◆ freefn()

static void freefn ( HtName_(Ht) *  ht,
HT_(Kv) *  kv 
)
inlinestatic

Definition at line 46 of file ht_inc.c.

46  {
47  if (ht->opt.freefn) {
48  ht->opt.freefn(kv);
49  }
50 }

Referenced by delete(), HtName_(), ls_newf(), rz_rbtree_aug_delete(), rz_rbtree_delete(), rz_rbtree_free(), rz_skiplist_new(), rz_type_db_edit_base_type(), and update_key().

◆ hashfn()

static ut32 hashfn ( HtName_(Ht) *  ht,
const KEY_TYPE  k 
)
inlinestatic

Definition at line 22 of file ht_inc.c.

22  {
23  return ht->opt.hashfn ? ht->opt.hashfn(k) : KEY_TO_HASH(k);
24 }
#define KEY_TO_HASH(x)
Definition: ht_inc.h:48

References k, and KEY_TO_HASH.

Referenced by bucketfn(), and HtName_().

◆ HT_()

static HT_ ( Kv  )
inlinestatic

Definition at line 77 of file ht_inc.c.

77  {
78  return (HT_(Kv) *)((char *)bt->arr + i * ht->opt.elem_size);
79 }

References i.

Referenced by delete(), find(), foreach(), free(), HtName_(), insert_kv(), insert_update(), internal_ht_grow(), and update_key().

◆ HtName_()

RZ_API HtName_ ( Ht  )
static

Definition at line 104 of file ht_inc.c.

104  {
105  HtName_(Ht) *ht = calloc(1, sizeof(*ht));
106  if (!ht) {
107  return NULL;
108  }
109  ht->size = size;
110  ht->count = 0;
111  ht->prime_idx = prime_idx;
112  ht->table = calloc(ht->size, sizeof(*ht->table));
113  if (!ht->table) {
114  free(ht);
115  return NULL;
116  }
117  ht->opt = *opt;
118  // if not provided, assume we are dealing with a regular HtName_(Ht), with
119  // HT_(Kv) as elements
120  if (ht->opt.elem_size == 0) {
121  ht->opt.elem_size = sizeof(HT_(Kv));
122  }
123  return ht;
124 }
#define NULL
Definition: cris-opc.c:27
static HtName_(Ht)
Definition: ht_inc.c:104
voidpf void uLong size
Definition: ioapi.h:138
void * calloc(size_t number, size_t size)
Definition: malloc.c:102

References calloc(), free(), HT_(), and NULL.

Referenced by internal_ht_grow().

◆ insert()

RZ_API bool Ht_() insert ( HtName_(Ht) *  ht,
const KEY_TYPE  key,
VALUE_TYPE  value 
)

Definition at line 246 of file ht_inc.c.

246  {
247  return insert_update(ht, key, value, false);
248 }
static int value
Definition: cmd_api.c:93
static bool insert_update(HtName_(Ht) *ht, const KEY_TYPE key, VALUE_TYPE value, bool update)
Definition: ht_inc.c:229

References insert_update(), key, and value.

◆ insert_kv()

RZ_API bool Ht_() insert_kv ( HtName_(Ht) *  ht,
HT_(Kv) *  kv,
bool  update 
)

Definition at line 218 of file ht_inc.c.

218  {
219  HT_(Kv) *kv_dst = reserve_kv(ht, kv->key, kv->key_len, update);
220  if (!kv_dst) {
221  return false;
222  }
223 
224  memcpy(kv_dst, kv, ht->opt.elem_size);
225  check_growing(ht);
226  return true;
227 }
RZ_API bool Ht_() update(HtName_(Ht) *ht, const KEY_TYPE key, VALUE_TYPE value)
Definition: ht_inc.c:252
static void check_growing(HtName_(Ht) *ht)
Definition: ht_inc.c:186
memcpy(mem, inblock.get(), min(CONTAINING_RECORD(inblock.get(), MEMBLOCK, data) ->size, size))

References check_growing(), HT_(), memcpy(), and update().

Referenced by internal_ht_grow().

◆ insert_update()

static bool insert_update ( HtName_(Ht) *  ht,
const KEY_TYPE  key,
VALUE_TYPE  value,
bool  update 
)
static

Definition at line 229 of file ht_inc.c.

229  {
230  ut32 key_len = calcsize_key(ht, key);
231  HT_(Kv) *kv_dst = reserve_kv(ht, key, key_len, update);
232  if (!kv_dst) {
233  return false;
234  }
235 
236  kv_dst->key = dupkey(ht, key);
237  kv_dst->key_len = key_len;
238  kv_dst->value = dupval(ht, value);
239  kv_dst->value_len = calcsize_val(ht, value);
240  check_growing(ht);
241  return true;
242 }
static ut32 calcsize_val(HtName_(Ht) *ht, const VALUE_TYPE v)
Definition: ht_inc.c:42
static KEY_TYPE dupkey(HtName_(Ht) *ht, const KEY_TYPE k)
Definition: ht_inc.c:30
static VALUE_TYPE dupval(HtName_(Ht) *ht, const VALUE_TYPE v)
Definition: ht_inc.c:34

References calcsize_key(), calcsize_val(), check_growing(), dupkey(), dupval(), HT_(), key, update(), and value.

Referenced by insert(), update(), and update_key().

◆ internal_ht_grow()

static void internal_ht_grow ( HtName_(Ht) *  ht)
static

Definition at line 154 of file ht_inc.c.

154  {
155  HtName_(Ht) * ht2;
156  HtName_(Ht) swap;
157  ut32 idx = next_idx(ht->prime_idx);
158  ut32 sz = compute_size(idx, ht->size * 2);
159  ut32 i;
160 
161  ht2 = internal_ht_new(sz, idx, &ht->opt);
162  if (!ht2) {
163  // we can't grow the ht anymore. Never mind, we'll be slower,
164  // but everything can continue to work
165  return;
166  }
167 
168  for (i = 0; i < ht->size; i++) {
169  HT_(Bucket) *bt = &ht->table[i];
170  HT_(Kv) * kv;
171  ut32 j;
172 
173  BUCKET_FOREACH(ht, bt, j, kv) {
174  Ht_(insert_kv)(ht2, kv, false);
175  }
176  }
177  // And now swap the internals.
178  swap = *ht;
179  *ht = *ht2;
180  *ht2 = swap;
181 
182  ht2->opt.freefn = NULL;
183  Ht_(free)(ht2);
184 }
static ut32 next_idx(ut32 idx)
Definition: ht_inc.c:52
static ut32 compute_size(ut32 idx, ut32 sz)
Definition: ht_inc.c:59
RZ_API bool Ht_() insert_kv(HtName_(Ht) *ht, HT_(Kv) *kv, bool update)
Definition: ht_inc.c:218
#define swap(a, b)
Definition: qsort.h:111

References BUCKET_FOREACH, compute_size(), free(), HT_(), Ht_, HtName_(), i, setup::idx, insert_kv(), next_idx(), NULL, and swap.

Referenced by check_growing().

◆ is_kv_equal()

static bool is_kv_equal ( HtName_(Ht) *  ht,
const KEY_TYPE  key,
const ut32  key_len,
const HT_(Kv) *  kv 
)
inlinestatic

Definition at line 65 of file ht_inc.c.

65  {
66  if (key_len != kv->key_len) {
67  return false;
68  }
69 
70  bool res = key == kv->key;
71  if (!res && ht->opt.cmp) {
72  res = !ht->opt.cmp(key, kv->key);
73  }
74  return res;
75 }

References key.

Referenced by delete(), and update_key().

◆ next_idx()

static ut32 next_idx ( ut32  idx)
inlinestatic

Definition at line 52 of file ht_inc.c.

52  {
53  if (idx != UT32_MAX && idx < S_ARRAY_SIZE(ht_primes_sizes) - 1) {
54  return idx + 1;
55  }
56  return UT32_MAX;
57 }

References ht_primes_sizes, setup::idx, S_ARRAY_SIZE, and UT32_MAX.

Referenced by internal_ht_grow(), and rz_bin_le_get_sections().

◆ update()

RZ_API bool Ht_() update ( HtName_(Ht) *  ht,
const KEY_TYPE  key,
VALUE_TYPE  value 
)

Definition at line 252 of file ht_inc.c.

252  {
253  return insert_update(ht, key, value, true);
254 }

References insert_update(), key, and value.

Referenced by insert_kv(), and insert_update().

◆ update_key()

RZ_API bool Ht_() update_key ( HtName_(Ht) *  ht,
const KEY_TYPE  old_key,
const KEY_TYPE  new_key 
)

Definition at line 257 of file ht_inc.c.

257  {
258  // First look for the value associated with old_key
259  bool found;
260  VALUE_TYPE value = Ht_(find)(ht, old_key, &found);
261  if (!found) {
262  return false;
263  }
264 
265  // Associate the existing value with new_key
266  bool inserted = insert_update(ht, new_key, value, false);
267  if (!inserted) {
268  return false;
269  }
270 
271  // Remove the old_key kv, paying attention to not double free the value
272  HT_(Bucket) *bt = &ht->table[bucketfn(ht, old_key)];
273  const int old_key_len = calcsize_key(ht, old_key);
274  HT_(Kv) * kv;
275  ut32 j;
276 
277  BUCKET_FOREACH(ht, bt, j, kv) {
278  if (is_kv_equal(ht, old_key, old_key_len, kv)) {
279  if (!ht->opt.dupvalue) {
280  // do not free the value part if dupvalue is not
281  // set, because the old value has been
282  // associated with the new key and it should not
283  // be freed
284  kv->value = HT_NULL_VALUE;
285  kv->value_len = 0;
286  }
287  freefn(ht, kv);
288 
289  void *src = next_kv(ht, kv);
290  memmove(kv, src, (bt->count - j - 1) * ht->opt.elem_size);
291  bt->count--;
292  ht->count--;
293  return true;
294  }
295  }
296 
297  return false;
298 }
RZ_API VALUE_TYPE Ht_() find(HtName_(Ht) *ht, const KEY_TYPE key, bool *found)
Definition: ht_inc.c:330

References BUCKET_FOREACH, bucketfn(), calcsize_key(), find(), found, freefn(), HT_(), Ht_, HT_NULL_VALUE, insert_update(), is_kv_equal(), next_kv(), src, value, and VALUE_TYPE.

Variable Documentation

◆ ht_primes_sizes

const ut32 ht_primes_sizes[]
static
Initial value:
= {
3, 7, 11, 17, 23, 29, 37, 47, 59, 71, 89, 107, 131,
163, 197, 239, 293, 353, 431, 521, 631, 761, 919,
1103, 1327, 1597, 1931, 2333, 2801, 3371, 4049, 4861,
5839, 7013, 8419, 10103, 12143, 14591, 17519, 21023,
25229, 30293, 36353, 43627, 52361, 62851, 75431, 90523,
108631, 130363, 156437, 187751, 225307, 270371, 324449,
389357, 467237, 560689, 672827, 807403, 968897, 1162687,
1395263, 1674319, 2009191, 2411033, 2893249, 3471899,
4166287, 4999559, 5999471, 7199369
}

Definition at line 10 of file ht_inc.c.

Referenced by compute_size(), HtName_(), and next_idx().