ARB
|
#include "arb_strbuf.h"
Go to the source code of this file.
Functions | |
GBS_strstruct * | GBS_stropen (long init_size) |
char * | GBS_strclose (GBS_strstruct *strstr) |
void | GBS_strforget (GBS_strstruct *strstr) |
char * | GBS_mempntr (GBS_strstruct *strstr) |
long | GBS_memoffset (GBS_strstruct *strstr) |
void | GBS_str_cut_tail (GBS_strstruct *strstr, size_t byte_count) |
void | GBS_strncat (GBS_strstruct *strstr, const char *ptr, size_t len) |
void | GBS_strcat (GBS_strstruct *strstr, const char *ptr) |
void | GBS_strnprintf (GBS_strstruct *strstr, long maxlen, const char *templat,...) |
void | GBS_chrcat (GBS_strstruct *strstr, char ch) |
void | GBS_chrncat (GBS_strstruct *strstr, char ch, size_t n) |
void | GBS_intcat (GBS_strstruct *strstr, long val) |
void | GBS_floatcat (GBS_strstruct *strstr, double val) |
Variables | |
static GBS_strstruct | last_used |
GBS_strstruct* GBS_stropen | ( | long | init_size | ) |
create a new memory file
init_size | estimated used size |
Definition at line 39 of file arb_strbuf.cxx.
References GBS_strstruct::alloc_mem(), arb_assert, GBS_strstruct::get_buffer_size(), GBS_strstruct::reassign_mem(), and GBS_strstruct::release_mem().
Referenced by aed_start_naligning(), AP_probe_design_event(), ARB_main(), arb_shell_expand(), awt_create_select_filter_window_aw_cb(), awtc_nn_search_all_listed(), collectIntFunResults(), complete_newick_comment(), GBL_streams::concatenated(), do_extract_words(), ED4_init_notFoundMessage(), ed_submit_info_event(), filter_columnstat_SAIs(), filter_seq(), g_b_undo_info(), g_bs_get_string_of_tag_hash(), g_bs_read_tagged_hash(), GB_find_executable(), GB_read_fp(), gbl_exec(), gbl_merge(), gbl_readdb(), gbl_translate(), GBS_eval_env(), GBS_fread_string(), GBS_hashtab_2_string(), GBS_log_action_to(), GBS_regreplace(), GBS_replace_tabs_by_spaces(), GBT_commit_rename_session(), GBT_join_strings(), GBT_store_marked_species(), GEN_write_position(), AW_selection_list::get_content_as_string(), get_match_hinfo_formatted(), get_match_info_formatted(), match_string(), MG_diff_strings(), MP_all_species_string(), MP_match_string(), Package::Package(), pd_get_the_gene_names(), pd_get_the_names(), PT_find_exProb(), ptpd_read_names(), ArbImporter::read_data(), MG_remap::remap(), remove_by_tab(), PT_FamilyFinder::results2string(), AP_pos_var::save_aliEntry_to_SAI(), SEC_xstring_to_foldedHelixList(), set_field_of_queried_cb(), set_suffix(), sina_start(), st_ml_add_quality_string_to_species(), stream2str(), GBL_IMPL::trace_params(), TreeAdmin::tree_append_remark(), and write_entry().
char* GBS_strclose | ( | GBS_strstruct * | strstr | ) |
Definition at line 69 of file arb_strbuf.cxx.
References GBS_strforget(), and GBS_strstruct::get_copy().
Referenced by aed_start_naligning(), AP_probe_design_event(), ARB_main(), arb_shell_expand(), collectIntFunResults(), complete_newick_comment(), GBL_streams::concatenated(), do_extract_words(), ed_submit_info_event(), filter_columnstat_SAIs(), filter_seq(), g_b_undo_info(), g_bs_get_string_of_tag_hash(), g_bs_read_tagged_hash(), GB_find_executable(), GB_read_fp(), gbl_exec(), gbl_merge(), gbl_readdb(), gbl_translate(), GBS_eval_env(), GBS_fread_string(), GBS_hashtab_2_string(), GBS_log_action_to(), GBS_regreplace(), GBS_replace_tabs_by_spaces(), GBT_commit_rename_session(), GBT_join_strings(), GBT_store_marked_species(), GEN_write_position(), AW_selection_list::get_content_as_string(), get_match_hinfo_formatted(), get_match_info_formatted(), match_string(), MG_diff_strings(), MP_all_species_string(), MP_match_string(), pd_get_the_gene_names(), pd_get_the_names(), PT_find_exProb(), ptpd_read_names(), ArbImporter::read_data(), MG_remap::remap(), remove_by_tab(), PT_FamilyFinder::results2string(), SEC_xstring_to_foldedHelixList(), set_field_of_queried_cb(), set_suffix(), stream2str(), GBL_IMPL::trace_params(), and write_entry().
void GBS_strforget | ( | GBS_strstruct * | strstr | ) |
Definition at line 76 of file arb_strbuf.cxx.
References GBS_strstruct::get_buffer_size(), and GBS_strstruct::reassign_mem().
Referenced by awt_create_select_filter_window_aw_cb(), awtc_nn_search_all_listed(), ED4_finish_and_show_notFoundMessage(), GBS_eval_env(), GBS_regreplace(), GBS_strclose(), GBT_commit_rename_session(), pd_get_the_gene_names(), AP_pos_var::save_aliEntry_to_SAI(), SEC_xstring_to_foldedHelixList(), sina_start(), st_ml_add_quality_string_to_species(), TreeAdmin::tree_append_remark(), and Package::~Package().
char* GBS_mempntr | ( | GBS_strstruct * | strstr | ) |
Definition at line 86 of file arb_strbuf.cxx.
References GBS_strstruct::get_data().
Referenced by awt_create_select_filter_window_aw_cb(), awtc_nn_search_all_listed(), ED4_finish_and_show_notFoundMessage(), Package::print_xsubs(), MG_remap::remap(), AP_pos_var::save_aliEntry_to_SAI(), set_suffix(), sina_start(), st_ml_add_quality_string_to_species(), stream2str(), and TreeAdmin::tree_append_remark().
long GBS_memoffset | ( | GBS_strstruct * | strstr | ) |
Definition at line 91 of file arb_strbuf.cxx.
References GBS_strstruct::get_position().
Referenced by match_string(), MP_all_species_string(), MP_match_string(), nt_build_conf_string_rek(), pd_get_the_gene_names(), pd_get_the_names(), MG_remap::remap(), and stream2str().
void GBS_str_cut_tail | ( | GBS_strstruct * | strstr, |
size_t | byte_count | ||
) |
Definition at line 96 of file arb_strbuf.cxx.
References GBS_strstruct::cut_tail().
Referenced by GBT_store_marked_species(), nt_build_conf_string_rek(), pd_get_the_gene_names(), pd_get_the_names(), PT_FamilyFinder::results2string(), and stream2str().
void GBS_strncat | ( | GBS_strstruct * | strstr, |
const char * | ptr, | ||
size_t | len | ||
) |
Definition at line 101 of file arb_strbuf.cxx.
References GBS_strstruct::ncat().
Referenced by Package::append_code(), filter_seq(), GBS_eval_env(), GBS_floatcat(), GBS_intcat(), GBS_regreplace(), GBS_spaces(), MG_diff_strings(), nt_build_sai_string_by_hash(), and set_field_of_queried_cb().
void GBS_strcat | ( | GBS_strstruct * | strstr, |
const char * | ptr | ||
) |
Definition at line 108 of file arb_strbuf.cxx.
References GBS_strstruct::cat().
Referenced by aed_start_naligning(), AP_probe_design_event(), append_named_value(), ARB_main(), arb_shell_expand(), awt_create_select_filter_window_aw_cb(), awtc_nn_search_all_listed(), cat_internal(), GBL_streams::concatenated(), do_extract_words(), ED4_finish_and_show_notFoundMessage(), ed_submit_info_event(), EDB_root_bact::fill_data(), filter_columnstat_SAIs(), g_b_undo_info(), g_bs_merge_tags(), GB_find_executable(), gbl_exec(), gbl_merge(), gbl_readdb(), GBS_eval_env(), GBS_log_action_to(), GBS_regreplace(), GBT_append_to_config_string(), GBT_join_strings(), GBT_store_marked_species(), GEN_write_position(), AW_selection_list::get_content_as_string(), get_match_hinfo_formatted(), get_match_info_formatted(), match_string(), MG_diff_strings(), MP_all_species_string(), MP_match_string(), nt_build_conf_marked(), nt_build_conf_string_rek(), nt_build_sai_string(), nt_build_sai_string_by_hash(), pd_get_the_gene_names(), pd_get_the_names(), PT_find_exProb(), ptpd_read_names(), ArbImporter::read_data(), SEC_xstring_to_foldedHelixList(), set_suffix(), sina_start(), st_ml_add_quality_string_to_species(), GBL_IMPL::trace_params(), TreeAdmin::tree_append_remark(), and write_entry().
void GBS_strnprintf | ( | GBS_strstruct * | strstr, |
long | maxlen, | ||
const char * | templat, | ||
... | |||
) |
Definition at line 113 of file arb_strbuf.cxx.
References va_start(), and GBS_strstruct::vnprintf().
Referenced by PT_FamilyFinder::results2string(), SEC_xstring_to_foldedHelixList(), streamIntFunResults(), and streamIntFunResultsInBrackets().
void GBS_chrcat | ( | GBS_strstruct * | strstr, |
char | ch | ||
) |
Definition at line 119 of file arb_strbuf.cxx.
References GBS_strstruct::put().
Referenced by aed_start_naligning(), AP_probe_design_event(), Package::append_code(), ARB_main(), arb_shell_expand(), awt_create_select_filter_window_aw_cb(), awtc_nn_search_all_listed(), cat_internal(), complete_newick_comment(), do_extract_words(), filter_seq(), g_b_undo_info(), GB_read_fp(), gbl_exec(), gbl_translate(), GBS_fread_string(), gbs_hash_to_strstruct(), GBS_log_action_to(), GBS_regreplace(), GBS_replace_tabs_by_spaces(), GBT_join_strings(), GBT_store_marked_species(), GEN_write_position(), AW_selection_list::get_content_as_string(), match_string(), MG_diff_strings(), MP_all_species_string(), MP_match_string(), nt_build_conf_marked(), nt_build_conf_string_rek(), nt_build_sai_string(), nt_build_sai_string_by_hash(), pd_get_the_gene_names(), pd_get_the_names(), PT_find_exProb(), ptpd_read_names(), MG_remap::remap(), remove_by_tab(), AP_pos_var::save_aliEntry_to_SAI(), SEC_xstring_to_foldedHelixList(), set_suffix(), st_ml_add_quality_string_to_species(), stream2str(), TreeAdmin::tree_append_remark(), and write_entry().
void GBS_chrncat | ( | GBS_strstruct * | strstr, |
char | ch, | ||
size_t | n | ||
) |
Definition at line 123 of file arb_strbuf.cxx.
References GBS_strstruct::nput().
Referenced by MG_remap::remap().
void GBS_intcat | ( | GBS_strstruct * | strstr, |
long | val | ||
) |
Definition at line 127 of file arb_strbuf.cxx.
References buffer, and GBS_strncat().
Referenced by aed_start_naligning(), g_bs_read_tagged_hash(), gbs_hash_to_strstruct(), pd_get_the_gene_names(), pd_get_the_names(), and sina_start().
void GBS_floatcat | ( | GBS_strstruct * | strstr, |
double | val | ||
) |
Definition at line 133 of file arb_strbuf.cxx.
References buffer, and GBS_strncat().
Referenced by aed_start_naligning(), AP_pos_var::save_aliEntry_to_SAI(), and sina_start().
|
static |
Definition at line 37 of file arb_strbuf.cxx.