GnuCOBOL
2.0
A free COBOL compiler
|
Go to the source code of this file.
Data Structures | |
struct | __cob_settings |
struct | config_enum |
struct | cob_time |
struct | config_tbl |
Typedefs | |
typedef struct __cob_settings | cob_settings |
#define _ | ( | s | ) | s |
Definition at line 43 of file coblocal.h.
#define _OFFSET_OF_ |
Definition at line 172 of file coblocal.h.
Definition at line 133 of file coblocal.h.
Referenced by cob_decimal_set_ieee128dec().
Definition at line 137 of file coblocal.h.
Referenced by cob_decimal_set_ieee128dec().
#define COB_128_IS_EXTEND | ( | x | ) | ((COB_128_MSW(x) & COB_DEC_EXTEND) == COB_DEC_EXTEND) |
Definition at line 118 of file coblocal.h.
Referenced by cob_decimal_set_ieee128dec().
#define COB_128_IS_SPECIAL | ( | x | ) | ((COB_128_MSW(x) & COB_DEC_SPECIAL) == COB_DEC_SPECIAL) |
Definition at line 115 of file coblocal.h.
Referenced by cob_decimal_set_ieee128dec().
#define COB_128_LSW | ( | x | ) | x[0] |
Definition at line 103 of file coblocal.h.
Referenced by cob_decimal_set_ieee128dec().
#define COB_128_MSW | ( | x | ) | x[1] |
Definition at line 102 of file coblocal.h.
Referenced by cob_decimal_get_ieee128dec(), and cob_decimal_set_ieee128dec().
Definition at line 141 of file coblocal.h.
Referenced by cob_decimal_get_ieee128dec(), and cob_decimal_set_ieee128dec().
Definition at line 135 of file coblocal.h.
Referenced by cob_decimal_get_ieee128dec(), and cob_decimal_set_ieee128dec().
Definition at line 139 of file coblocal.h.
Referenced by cob_decimal_get_ieee128dec(), and cob_decimal_set_ieee128dec().
Definition at line 122 of file coblocal.h.
Referenced by cob_decimal_set_ieee64dec().
Definition at line 126 of file coblocal.h.
Referenced by cob_decimal_set_ieee64dec().
#define COB_64_IS_EXTEND | ( | x | ) | ((x & COB_DEC_EXTEND) == COB_DEC_EXTEND) |
Definition at line 117 of file coblocal.h.
Referenced by cob_decimal_set_ieee64dec().
#define COB_64_IS_SPECIAL | ( | x | ) | ((x & COB_DEC_SPECIAL) == COB_DEC_SPECIAL) |
Definition at line 114 of file coblocal.h.
Referenced by cob_decimal_set_ieee64dec().
Definition at line 130 of file coblocal.h.
Referenced by cob_decimal_get_ieee64dec(), and cob_decimal_set_ieee64dec().
Definition at line 124 of file coblocal.h.
Referenced by cob_decimal_get_ieee64dec(), and cob_decimal_set_ieee64dec().
Definition at line 128 of file coblocal.h.
Referenced by cob_decimal_get_ieee64dec(), and cob_decimal_set_ieee64dec().
#define COB_ACCEPT_STATUS cobglobptr->cob_accept_status |
Definition at line 187 of file coblocal.h.
Referenced by cob_accept_escape_key(), cob_check_pos_status(), and cob_exit_screen().
#define COB_ATTR_INIT | ( | u, | |
v, | |||
x, | |||
y, | |||
z | |||
) |
Definition at line 150 of file coblocal.h.
Referenced by cob_accept_arg_number(), cob_alloc_field(), cob_alloc_set_field_int(), cob_alloc_set_field_uint(), cob_decimal_get_field(), cob_decimal_move_temp(), cob_display_arg_number(), cob_get_int(), cob_intr_date_of_integer(), cob_intr_day_of_integer(), cob_intr_module_date(), cob_intr_module_time(), cob_intr_random(), cob_move_all(), cob_set_int(), display_numeric(), indirect_move(), and pretty_display_numeric().
Definition at line 192 of file coblocal.h.
Referenced by cob_beep(), and cob_sys_sound_bell().
#define COB_CHK_PARMS | ( | x, | |
z | |||
) |
Definition at line 167 of file coblocal.h.
Referenced by cob_sys_and(), cob_sys_calledby(), cob_sys_change_dir(), cob_sys_chdir(), cob_sys_check_file_exist(), cob_sys_close_file(), cob_sys_copy_file(), cob_sys_copyfile(), cob_sys_create_dir(), cob_sys_create_file(), cob_sys_delete_dir(), cob_sys_delete_file(), cob_sys_eq(), cob_sys_error_proc(), cob_sys_exit_proc(), cob_sys_file_delete(), cob_sys_file_info(), cob_sys_flush_file(), cob_sys_get_csr_pos(), cob_sys_get_current_dir(), cob_sys_get_scr_size(), cob_sys_getopt_long_long(), cob_sys_hosted(), cob_sys_imp(), cob_sys_justify(), cob_sys_mkdir(), cob_sys_nimp(), cob_sys_nor(), cob_sys_not(), cob_sys_oc_nanosleep(), cob_sys_open_file(), cob_sys_or(), cob_sys_parameter_size(), cob_sys_printable(), cob_sys_read_file(), cob_sys_rename_file(), cob_sys_return_args(), cob_sys_sleep(), cob_sys_system(), cob_sys_tolower(), cob_sys_toupper(), cob_sys_write_file(), cob_sys_xf4(), cob_sys_xf5(), and cob_sys_xor().
#define COB_D2I | ( | x | ) | ((x) & 0x0F) |
Definition at line 177 of file coblocal.h.
Referenced by cob_cmp_numdisp(), cob_decimal_get_packed(), cob_decimal_set_display(), cob_display_get_int(), cob_display_get_long_long(), cob_fatal_error(), cob_move_display_to_binary(), and cob_move_display_to_packed().
Definition at line 110 of file coblocal.h.
Referenced by cob_decimal_get_ieee128dec(), and cob_decimal_get_ieee64dec().
Definition at line 112 of file coblocal.h.
Referenced by cob_decimal_get_ieee128dec(), cob_decimal_get_ieee64dec(), cob_decimal_set_ieee128dec(), and cob_decimal_set_ieee64dec().
Definition at line 108 of file coblocal.h.
#define COB_DECIMAL_INF -32767 |
Definition at line 83 of file coblocal.h.
Referenced by cob_decimal_print().
#define COB_DECIMAL_NAN -32768 |
Definition at line 80 of file coblocal.h.
Referenced by cob_alloc_field(), cob_decimal_div(), cob_decimal_get_field(), cob_decimal_pow(), cob_decimal_print(), cob_decimal_set_ieee128dec(), cob_decimal_set_ieee64dec(), and cob_div_quotient().
#define COB_DEPTH_LEVEL 32U |
Definition at line 77 of file coblocal.h.
Referenced by cob_exit_intrinsic(), cob_init_intrinsic(), and make_field_entry().
Definition at line 191 of file coblocal.h.
Referenced by cob_display().
Definition at line 194 of file coblocal.h.
Referenced by cob_convert_key().
#define COB_FIELD_INIT | ( | x, | |
y, | |||
z | |||
) |
Definition at line 144 of file coblocal.h.
Referenced by cob_alloc_field(), cob_alloc_set_field_int(), cob_alloc_set_field_spaces(), cob_alloc_set_field_str(), cob_alloc_set_field_uint(), cob_decimal_move_temp(), cob_intr_char(), cob_intr_concatenate(), cob_intr_currency_symbol(), cob_intr_current_date(), cob_intr_date_of_integer(), cob_intr_day_of_integer(), cob_intr_exception_file(), cob_intr_exception_location(), cob_intr_exception_statement(), cob_intr_exception_status(), cob_intr_formatted_current_date(), cob_intr_formatted_date(), cob_intr_formatted_datetime(), cob_intr_formatted_time(), cob_intr_highest_algebraic(), cob_intr_locale_compare(), cob_intr_lowest_algebraic(), cob_intr_module_caller_id(), cob_intr_module_date(), cob_intr_module_formatted_date(), cob_intr_module_id(), cob_intr_module_path(), cob_intr_module_source(), cob_intr_module_time(), cob_intr_mon_decimal_point(), cob_intr_mon_thousands_sep(), cob_intr_num_decimal_point(), cob_intr_num_thousands_sep(), cob_intr_random(), format_field(), and substitute().
#define COB_GET_SIGN | ( | f | ) | (COB_FIELD_HAVE_SIGN (f) ? cob_real_get_sign (f) : 0) |
Definition at line 158 of file coblocal.h.
Referenced by cob_cmp_all(), cob_cmp_alnum(), cob_decimal_set_display(), cob_display_get_int(), cob_display_get_long_long(), cob_inspect_init(), cob_move_alphanum_to_edited(), cob_move_display_to_alphanum(), cob_move_display_to_binary(), cob_move_display_to_display(), cob_move_display_to_edited(), and cob_move_display_to_packed().
#define COB_HIDDEN extern |
Definition at line 57 of file coblocal.h.
#define COB_I2D | ( | x | ) | ((x) + '0') |
Definition at line 183 of file coblocal.h.
Referenced by cob_move_binary_to_display(), cob_move_packed_to_display(), and save_status().
#define COB_MAX_X_COORD cobglobptr->cob_max_x |
Definition at line 189 of file coblocal.h.
Referenced by cob_screen_init().
#define COB_MAX_Y_COORD cobglobptr->cob_max_y |
Definition at line 188 of file coblocal.h.
Referenced by cob_screen_init().
#define COB_MODULE_PTR cobglobptr->cob_current_module |
Definition at line 185 of file coblocal.h.
Referenced by add_decimal_digits(), cob_accept(), cob_check_numdisp(), cob_check_numval(), cob_check_numval_f(), cob_check_pos_status(), cob_chk_file_mapping(), cob_cmp_all(), cob_cmp_alnum(), cob_cmp_numdisp(), cob_correct_numeric(), cob_fatal_error(), cob_file_sort_init(), cob_intr_currency_symbol(), cob_intr_formatted_current_date(), cob_intr_formatted_datetime(), cob_intr_formatted_time(), cob_intr_module_caller_id(), cob_intr_module_date(), cob_intr_module_formatted_date(), cob_intr_module_id(), cob_intr_module_path(), cob_intr_module_source(), cob_intr_module_time(), cob_intr_mon_decimal_point(), cob_intr_mon_thousands_sep(), cob_intr_num_decimal_point(), cob_intr_num_thousands_sep(), cob_intr_numval_f(), cob_intr_seconds_from_formatted_time(), cob_is_numeric(), cob_module_enter(), cob_module_leave(), cob_move_alphanum_to_display(), cob_move_display_to_edited(), cob_move_edited_to_display(), cob_real_get_sign(), cob_real_put_sign(), cob_restore_func(), cob_save_func(), cob_set_location(), cob_sys_calledby(), cob_sys_change_dir(), cob_sys_chdir(), cob_sys_check_file_exist(), cob_sys_copy_file(), cob_sys_create_dir(), cob_sys_delete_dir(), cob_sys_delete_file(), cob_sys_file_delete(), cob_sys_file_info(), cob_sys_getopt_long_long(), cob_sys_hosted(), cob_sys_justify(), cob_sys_oc_nanosleep(), cob_sys_parameter_size(), cob_sys_printable(), cob_sys_rename_file(), cob_sys_return_args(), cob_sys_sleep(), cob_sys_system(), cob_sys_x91(), cob_table_sort_init(), cob_trace_section(), display_common(), field_is_zero(), get_num_int_digits_for_no_zero_sup(), numval(), open_cbl_file(), and pretty_display_numeric().
#define COB_MPF_CUTOFF 1024UL |
Definition at line 93 of file coblocal.h.
Referenced by cob_mpf_exp(), and cob_mpf_log().
#define COB_MPF_PREC 2048UL |
Definition at line 89 of file coblocal.h.
Referenced by cob_init_intrinsic(), cob_init_numeric(), cob_mpf_acos(), cob_mpf_asin(), cob_mpf_atan(), cob_mpf_cos(), cob_mpf_exp(), cob_mpf_log(), cob_mpf_log10(), cob_mpf_sin(), and cob_mpf_tan().
#define COB_MPZ_DEF 1024UL |
Definition at line 86 of file coblocal.h.
Referenced by cob_decimal_init(), cob_init_intrinsic(), and cob_init_numeric().
#define COB_MPZ_ENDIAN -1 |
Definition at line 104 of file coblocal.h.
Referenced by cob_decimal_get_ieee128dec(), and cob_decimal_get_ieee64dec().
#define COB_PUT_SIGN | ( | f, | |
s | |||
) | do { if (COB_FIELD_HAVE_SIGN (f)) cob_real_put_sign (f, s); } ONCE_COB |
Definition at line 160 of file coblocal.h.
Referenced by cob_cmp_all(), cob_cmp_alnum(), cob_decimal_get_display(), cob_decimal_set_display(), cob_display_get_int(), cob_display_get_long_long(), cob_inspect_finish(), cob_move_alphanum_to_display(), cob_move_alphanum_to_edited(), cob_move_binary_to_display(), cob_move_display_to_alphanum(), cob_move_display_to_binary(), cob_move_display_to_display(), cob_move_display_to_edited(), cob_move_display_to_packed(), cob_move_edited_to_display(), and cob_move_packed_to_display().
#define COB_TERM_BUFF cobglobptr->cob_term_buff |
Definition at line 186 of file coblocal.h.
Referenced by cob_accept(), display_numeric(), field_accept(), and pretty_display_numeric().
Definition at line 193 of file coblocal.h.
Referenced by field_accept(), and screen_accept().
Definition at line 195 of file coblocal.h.
Referenced by cob_convert_key().
#define ENV_BOOL (1 << 4) /* int boolean; Yes, True, 1, No, False, 0, ... */ |
Definition at line 293 of file coblocal.h.
Referenced by get_config_val(), and set_config_val().
#define ENV_CHAR (1 << 5) /* inline 'char[]' field */ |
Definition at line 294 of file coblocal.h.
Referenced by get_config_val(), and set_config_val().
#define ENV_ENUM (1 << 8) /* Value must in 'enum' list as match */ |
Definition at line 297 of file coblocal.h.
Referenced by set_config_val().
Definition at line 298 of file coblocal.h.
Referenced by set_config_val().
#define ENV_INT (1 << 2) /* an 'int' */ |
Definition at line 291 of file coblocal.h.
Referenced by get_config_val(), and set_config_val().
Definition at line 290 of file coblocal.h.
Referenced by get_config_val(), and set_config_val().
Definition at line 296 of file coblocal.h.
Referenced by cb_config_entry(), cob_exit_common(), get_config_val(), and set_config_val().
#define ENV_SIZE (1 << 3) /* size; number with K - kb, M - mb, G - GB */ |
Definition at line 292 of file coblocal.h.
Referenced by get_config_val(), and set_config_val().
#define ENV_STR (1 << 6) /* a pointer to a string */ |
Definition at line 295 of file coblocal.h.
Referenced by cb_config_entry(), cob_exit_common(), get_config_val(), and set_config_val().
#define F_OK 0 |
Definition at line 61 of file coblocal.h.
#define GRP_CALL 1 |
Definition at line 307 of file coblocal.h.
#define GRP_FILE 2 |
Definition at line 308 of file coblocal.h.
#define GRP_HIDE 0 |
Definition at line 306 of file coblocal.h.
Referenced by cb_config_entry(), and cob_rescan_env_vals().
#define GRP_MAX 6 |
Definition at line 312 of file coblocal.h.
Referenced by print_runtime_env().
#define GRP_MISC 4 |
Definition at line 310 of file coblocal.h.
#define GRP_SCREEN 3 |
Definition at line 309 of file coblocal.h.
#define GRP_SYSENV 5 |
Definition at line 311 of file coblocal.h.
#define N_ | ( | s | ) | s |
Definition at line 44 of file coblocal.h.
#define offsetof | ( | s_name, | |
m_name | |||
) | (int)(long)&(((s_name*)0))->m_name |
Definition at line 173 of file coblocal.h.
Referenced by cob_file_sort_init().
#define R_OK 4 |
Definition at line 73 of file coblocal.h.
#define SETPOS | ( | member | ) | offsetof(cob_settings,member),sizeof(cobsetptr->member),0,0 |
Definition at line 314 of file coblocal.h.
Definition at line 301 of file coblocal.h.
Referenced by cb_config_entry(), cob_load_config(), conf_runtime_error_value(), and print_runtime_env().
Definition at line 302 of file coblocal.h.
Referenced by cb_config_entry(), cob_load_config(), and print_runtime_env().
Definition at line 300 of file coblocal.h.
Referenced by cb_config_entry(), cob_load_config(), cob_rescan_env_vals(), and print_runtime_env().
Definition at line 304 of file coblocal.h.
Referenced by print_runtime_env(), and set_config_val_by_name().
Definition at line 303 of file coblocal.h.
Referenced by cb_config_entry(), and print_runtime_env().
#define W_OK 2 |
Definition at line 69 of file coblocal.h.
#define X_OK 1 |
Definition at line 65 of file coblocal.h.
typedef struct __cob_settings cob_settings |
int cob_check_env_false | ( | char * | ) |
int cob_check_env_true | ( | char * | ) |
int cob_ctoi | ( | const char | ) |
Definition at line 2651 of file common.c.
Referenced by cob_get_current_date_and_time(), seconds_from_formatted_time(), test_century(), test_day_of_year(), test_decade(), test_hour(), test_millenium(), test_month(), test_unit_year(), and test_week().
Definition at line 3104 of file intrinsic.c.
References COB_ATTR_INIT, cob_decimal_get_field(), cob_decimal_set_field(), COB_FIELD_INIT, COB_FLAG_HAVE_SIGN, cob_move(), cob_trim_decimal(), COB_TYPE_NUMERIC_DISPLAY, make_field_entry(), NULL, cob_decimal::scale, and cob_decimal::value.
Referenced by cob_move().
Definition at line 2007 of file numeric.c.
References cob_decimal_get_field(), and cob_decimal_set_field().
Referenced by cob_move().
void cob_exit_call | ( | void | ) |
Definition at line 1204 of file call.c.
References call_table, cob_free(), struct_handle::handle, HASH_SIZE, call_hash::name, call_hash::next, struct_handle::next, NULL, call_hash::path, and struct_handle::path.
Referenced by cob_terminate_routines().
void cob_exit_fileio | ( | void | ) |
Definition at line 6282 of file fileio.c.
References _, cob_file::assign, cob_close(), COB_CLOSE_NORMAL, __cob_settings::cob_display_warn, cob_field_to_string(), COB_FILE_MAX, COB_FILE_SPECIAL, cob_free(), COB_OPEN_CLOSED, COB_OPEN_LOCKED, file_list::file, cob_file::flag_nonexistent, iscleanup(), file_list::next, NULL, cob_file::open_mode, runtime_buffer, and cob_file::select_name.
Referenced by cob_terminate_routines().
void cob_exit_intrinsic | ( | void | ) |
Definition at line 6521 of file intrinsic.c.
References calc_base, calc_struct::calc_field, COB_DEPTH_LEVEL, cob_free(), cob_log_half, cob_mexp, cob_mpft, cob_mpft2, cob_mpft_get, cob_mpzt, cob_pi, cob_sqrt_two, cob_u32_t, cob_field::data, and cob_decimal::value.
Referenced by cob_terminate_routines().
void cob_exit_numeric | ( | void | ) |
Definition at line 2637 of file numeric.c.
References cob_decimal_base, cob_free(), COB_MAX_BINARY, COB_MAX_DEC_STRUCT, cob_mexp, cob_mpft, cob_mpft_get, cob_mpz_ten16m1, cob_mpz_ten34m1, cob_mpze10, cob_mpzt, cob_mpzt2, d1, and cob_decimal::value.
Referenced by cob_terminate_routines().
void cob_exit_screen | ( | void | ) |
Definition at line 2401 of file screenio.c.
References COB_ACCEPT_STATUS, cob_free(), cob_move_to_beg_of_last_line(), __cob_global::cob_screen_initialized, and NULL.
Referenced by cob_runtime_error(), and cob_terminate_routines().
void cob_exit_strings | ( | void | ) |
Definition at line 634 of file strings.c.
References cob_free(), figurative_ptr, figurative_size, inspect_mark, and NULL.
Referenced by cob_terminate_routines().
void cob_field_to_string | ( | const cob_field * | , |
void * | , | ||
const size_t | |||
) |
Definition at line 1492 of file common.c.
References cob_field::data, cob_field::size, and unlikely.
Referenced by cob_call_field(), cob_cancel_field(), cob_delete_file(), cob_display_env_value(), cob_display_environment(), cob_exit_fileio(), cob_fatal_error(), cob_get_environment(), cob_intr_locale_compare(), cob_intr_locale_date(), cob_open(), cob_set_locale(), and cob_sys_getopt_long_long().
struct cob_time cob_get_current_date_and_time | ( | void | ) |
Definition at line 2699 of file common.c.
References cob_ctoi(), cob_time::day_of_month, cob_time::day_of_week, cob_time::hour, cob_time::minute, cob_time::month, cob_time::nanosecond, NULL, cob_time::offset_known, one_indexed_day_of_week_from_monday(), cob_time::second, set_unknown_offset(), cob_time::utc_offset, and cob_time::year.
Referenced by cob_accept_time(), cob_intr_current_date(), format_current_date(), and get_system_offset_time_ptr().
int cob_get_exception_code | ( | void | ) |
Definition at line 1193 of file common.c.
References __cob_global::cob_exception_code.
Referenced by cob_string_append(), and cob_unstring_into().
const char* cob_get_exception_name | ( | void | ) |
Definition at line 1199 of file common.c.
References __cob_global::cob_exception_code, cob_exception_tab_code, cob_exception_tab_name, EXCEPTION_TAB_SIZE, and NULL.
Referenced by cob_intr_exception_status().
cob_settings* cob_get_settings_ptr | ( | void | ) |
void cob_init_call | ( | cob_global * | , |
cob_settings * | |||
) |
Definition at line 1307 of file call.c.
References cache_preload(), CALL_BUFF_SIZE, cob_fast_malloc(), cob_free(), COB_LIBRARY_PATH, __cob_settings::cob_library_path, cob_malloc(), COB_MEDIUM_BUFF, COB_MEDIUM_MAX, COB_MODULE_EXT, COB_NORMAL_BUFF, __cob_settings::cob_preload_str, cob_set_library_path(), COB_SMALL_BUFF, cob_strdup(), HASH_SIZE, NULL, PATHSEP_CHAR, PATHSEP_STR, resolve_size, and SLASH_CHAR.
Referenced by cob_init().
void cob_init_fileio | ( | cob_global * | , |
cob_settings * | |||
) |
Definition at line 6345 of file fileio.c.
References check_eop_status, cob_fast_malloc(), COB_FILE_BUFF, cob_file_write_opt(), cob_malloc(), COB_SMALL_BUFF, __cob_settings::cob_sort_chunk, __cob_settings::cob_sort_memory, __cob_settings::cob_varseq_type, cob_vsq_len, eop_status, file_open_buff, file_open_env, file_open_name, NULL, and runtime_buffer.
Referenced by cob_init().
void cob_init_intrinsic | ( | cob_global * | ) |
Definition at line 6555 of file intrinsic.c.
References calc_base, calc_struct::calc_field, calc_struct::calc_size, COB_DEPTH_LEVEL, cob_log_half, COB_LOG_HALF_LEN, cob_log_half_str, cob_malloc(), cob_mexp, COB_MPF_PREC, cob_mpft, cob_mpft2, cob_mpft_get, COB_MPZ_DEF, cob_mpzt, cob_pi, COB_PI_LEN, cob_pi_str, cob_sqrt_two, COB_SQRT_TWO_LEN, cob_sqrt_two_str, cob_u32_t, curr_entry, cob_field::data, NULL, cob_decimal::scale, cob_field::size, and cob_decimal::value.
Referenced by cob_init().
void cob_init_move | ( | cob_global * | , |
cob_settings * | |||
) |
Definition at line 1683 of file move.c.
Referenced by cob_init().
void cob_init_numeric | ( | cob_global * | ) |
Definition at line 2671 of file numeric.c.
References cob_decimal_base, cob_decimal_init(), cob_malloc(), COB_MAX_BINARY, COB_MAX_DEC_STRUCT, cob_mexp, COB_MPF_PREC, cob_mpft, cob_mpft_get, COB_MPZ_DEF, cob_mpz_ten16m1, cob_mpz_ten34m1, cob_mpze10, cob_mpzt, cob_mpzt2, cob_u32_t, cob_uli_t, d1, last_packed_val, and packed_value.
Referenced by cob_init().
void cob_init_screenio | ( | cob_global * | , |
cob_settings * | |||
) |
Definition at line 2567 of file screenio.c.
Referenced by cob_init().
void cob_init_strings | ( | void | ) |
Definition at line 652 of file strings.c.
References cob_field::attr, cob_malloc(), COB_NORMAL_BUFF, cob_u8_ptr, const_alpha_attr, const_strall_attr, cob_field::data, DLM_DEFAULT_NUM, dlm_list_size, figurative_ptr, figurative_size, inspect_mark, inspect_mark_size, NULL, and cob_field::size.
Referenced by cob_init().
void cob_init_termio | ( | cob_global * | , |
cob_settings * | |||
) |
Definition at line 343 of file termio.c.
Referenced by cob_init().
void cob_parameter_check | ( | const char * | , |
const int | |||
) |
Definition at line 1907 of file common.c.
References _, __cob_global::cob_call_params, cob_runtime_error(), and cob_stop_run().
void cob_print_ieeedec | ( | const cob_field * | , |
FILE * | |||
) |
Definition at line 1647 of file numeric.c.
References cob_decimal_print(), cob_decimal_set_double(), cob_decimal_set_ieee128dec(), cob_decimal_set_ieee64dec(), COB_FIELD_TYPE, COB_TYPE_NUMERIC_DOUBLE, COB_TYPE_NUMERIC_FLOAT, COB_TYPE_NUMERIC_FP_DEC128, COB_TYPE_NUMERIC_FP_DEC64, and cob_field::data.
Referenced by display_common().
void cob_print_realbin | ( | const cob_field * | , |
FILE * | , | ||
const int | |||
) |
Definition at line 1676 of file numeric.c.
References CB_FMT_PLLD, CB_FMT_PLLU, cob_binary_get_sint64(), cob_binary_get_uint64(), COB_FIELD_HAVE_SIGN, cob_s64_t, and cob_u64_t.
Referenced by display_common().
int cob_real_get_sign | ( | cob_field * | ) |
Definition at line 2205 of file common.c.
References COB_FIELD_NO_SIGN_NIBBLE, COB_FIELD_SIGN_LEADING, COB_FIELD_SIGN_SEPARATE, COB_FIELD_TYPE, cob_get_sign_ascii(), cob_get_sign_ebcdic(), COB_MODULE_PTR, COB_TYPE_NUMERIC_DISPLAY, COB_TYPE_NUMERIC_PACKED, cob_field::data, cob_field::size, and unlikely.
void cob_real_put_sign | ( | cob_field * | , |
const int | |||
) |
Definition at line 2246 of file common.c.
References COB_FIELD_NO_SIGN_NIBBLE, COB_FIELD_SIGN_LEADING, COB_FIELD_SIGN_SEPARATE, COB_FIELD_TYPE, COB_MODULE_PTR, cob_put_sign_ascii(), cob_put_sign_ebcdic(), COB_TYPE_NUMERIC_DISPLAY, COB_TYPE_NUMERIC_PACKED, cob_u8_t, cob_field::data, cob_field::size, and unlikely.
void cob_runtime_error | ( | const char * | , |
... | |||
) |
Definition at line 1543 of file common.c.
References _, cob_exit_screen(), cob_free(), cob_source_file, cob_source_line, hdlrs, handlerlist::next, NULL, handlerlist::proc, and runtime_err_str.
Referenced by cob_call(), cob_call_error(), cob_cancel(), cob_check_based(), cob_check_linkage(), cob_check_numeric(), cob_check_odo(), cob_check_ref_mod(), cob_check_subscript(), cob_check_version(), cob_command_line(), cob_external_addr(), cob_fatal_error(), cob_get_sort_tempfile(), cob_longjmp(), cob_parameter_check(), cob_resolve_func(), cob_savenv(), cob_screen_init(), cob_sys_check_file_exist(), cob_sys_file_info(), cob_sys_getopt_long_long(), and cob_sys_system().
char* cob_save_env_value | ( | char * | , |
char * | |||
) |
Definition at line 4319 of file common.c.
References cob_fast_malloc(), cob_free(), and NULL.
void cob_screen_set_mode | ( | const cob_u32_t | ) |
Definition at line 2388 of file screenio.c.
Referenced by cob_sys_system().
char* cob_strdup | ( | const char * | ) |
Definition at line 1308 of file common.c.
References cob_malloc().
Referenced by cache_dynload(), cache_preload(), cob_chk_call_path(), cob_chk_file_env(), cob_chk_file_mapping(), cob_expand_env_string(), cob_getenv(), cob_gettmpdir(), cob_init(), cob_init_call(), cob_putenv(), cob_set_locale(), cob_set_location(), cob_strcat(), cob_trace_section(), indexed_open(), insert(), and var_print().