ARB
|
#include <attributes.h>
#include <cstdlib>
Go to the source code of this file.
Functions | |
const char * | GBS_readable_size (unsigned long long size, const char *unit_suffix) |
const char * | GBS_readable_timediff (size_t seconds) |
const char * | ARB_float_2_ascii (const float f) |
const char * | ARB_getenv_ignore_empty (const char *envvar) |
char * | ARB_executable (const char *exe_name, const char *path) |
char | ARB_path_contains_unwanted_chars (const char *path) |
void | ARB_warn_about_unwanted_chars (const char *path, const char *path_description) |
Definition at line 23 of file arb_misc.cxx.
References GBS_global_string().
Referenced by ARB_main(), compress_sequence_tree(), PT_statistic::dump(), enter_stage_1_build_tree(), enter_stage_2_load_tree(), GB_get_usable_memory(), get_physical_memory(), pars_check_size(), PartitionSpec::print_info(), PT_statistic::printCountAndMem(), PT_statistic::printCountPercentAndMem(), and rerun_importTest_cb().
Definition at line 46 of file arb_misc.cxx.
References arb_assert, and buffer.
Referenced by ARB_main(), BasicStatus::set_gauge(), and start_pt_server().
const char* ARB_float_2_ascii | ( | const float | f | ) |
calculate the "best" ascii representation for float 'f'
Definition at line 66 of file arb_misc.cxx.
References arb_assert, buffer, NULp, and result.
Referenced by dump_internal(), GB_read_as_string(), and gb_write_one_child().
Definition at line 102 of file arb_misc.cxx.
Referenced by ARB_zfopen(), GB_getenv(), GB_getenvARB_XCMD(), GB_getenvARB_XTERM(), GB_getenvPATH(), GB_getenvUSER(), getenv_executable(), getenv_existing_directory(), and pd_query_pt_server().
Search for full executable.
exe_name | name of executable (e.g. 'arb_edit4'). When specified with full path -> accepted as is. |
path | colon separated list of directories (as contained in environment variable PATH) |
Definition at line 107 of file arb_misc.cxx.
References ARB_strdup(), buffer, GB_is_executablefile(), NULp, and start.
Referenced by ARB_zfopen(), detect_sina_version(), GB_find_executable(), and getenv_executable().
Definition at line 143 of file arb_misc.cxx.
References NULp.
Referenced by ARB_warn_about_unwanted_chars(), detect_sina_version(), GB_find_executable(), getenv_autodirectory(), getenv_executable(), and getenv_existing_directory().
Definition at line 150 of file arb_misc.cxx.
References ARB_path_contains_unwanted_chars(), and GB_warningf().
Referenced by ARB_zfopen(), detect_sina_version(), GB_find_executable(), getenv_autodirectory(), getenv_executable(), and getenv_existing_directory().