GnuCOBOL
2.0
A free COBOL compiler
|
#include <setjmp.h>
#include <libcob/exception.def>
Go to the source code of this file.
Data Structures | |
struct | cob_field_attr |
struct | cob_field |
struct | cob_fp_128 |
struct | cob_decimal |
struct | cob_frame |
union | cob_content |
union | cob_call_union |
struct | cob_call_struct |
struct | __cob_screen |
struct | __cob_module |
struct | cob_func_loc |
struct | cob_file_key |
struct | cob_file |
struct | cob_linage |
struct | cob_report |
struct | __cob_global |
struct | cob_fileio_funcs |
struct | cobjmp_buf |
struct | longoption_def |
Typedefs | |
typedef struct __cob_screen | cob_screen |
typedef struct __cob_module | cob_module |
typedef struct __cob_global | cob_global |
typedef struct longoption_def | longoption_def |
#define __unaligned |
Definition at line 487 of file common.h.
Referenced by cob_cmp_s32(), cob_cmpswp_s32(), and cob_setswp_s32().
#define CB_FMT_LLD_F "%lldLL" |
Definition at line 60 of file common.h.
Referenced by output_call(), output_call_by_value_args(), and output_long_integer().
#define CB_FMT_LLU "%llu" |
#define CB_FMT_LLU_F "%lluULL" |
Definition at line 61 of file common.h.
Referenced by output_call(), and output_call_by_value_args().
#define CB_FMT_PLLD "%+*.*lld" |
Definition at line 58 of file common.h.
Referenced by cob_print_realbin().
#define CB_FMT_PLLU "%*.*llu" |
Definition at line 59 of file common.h.
Referenced by cob_print_realbin().
#define COB_ACCESS_DYNAMIC 2 |
Definition at line 752 of file common.h.
Referenced by cb_emit_read(), validate_file(), and yyparse().
#define COB_ACCESS_RANDOM 3 |
Definition at line 753 of file common.h.
Referenced by cb_emit_start(), cob_start(), validate_file(), and yyparse().
#define COB_ACCESS_SEQUENTIAL 1 |
Definition at line 751 of file common.h.
Referenced by build_file(), build_report(), cb_emit_read(), cob_delete(), cob_rewrite(), cob_write(), indexed_rewrite(), indexed_write(), relative_rewrite(), relative_write(), validate_file(), and yyparse().
#define COB_ASCENDING 0 |
Definition at line 735 of file common.h.
Referenced by cb_build_search_all(), cob_file_sort_compare(), sort_compare(), and yyparse().
#define COB_BSWAP_16 | ( | val | ) | (COB_BSWAP_16_CONSTANT (val)) |
Definition at line 256 of file common.h.
Referenced by cob_sys_check_file_exist().
#define COB_BSWAP_16_CONSTANT | ( | val | ) |
#define COB_BSWAP_32 | ( | val | ) | (COB_BSWAP_32_CONSTANT (val)) |
Definition at line 257 of file common.h.
Referenced by cob_cmpswp_s32(), cob_setswp_s32(), cob_sys_file_info(), cob_sys_read_file(), cob_sys_write_file(), cobxref_(), and get__reserved__lists_().
#define COB_BSWAP_64 | ( | val | ) | (COB_BSWAP_64_CONSTANT (val)) |
Definition at line 258 of file common.h.
Referenced by cob_binary_get_sint64(), cob_binary_get_uint64(), cob_binary_mget_sint64(), cob_binary_mget_uint64(), cob_binary_mset_sint64(), cob_binary_mset_uint64(), cob_binary_set_int64(), cob_binary_set_uint64(), cob_sys_check_file_exist(), cob_sys_file_info(), cob_sys_read_file(), and cob_sys_write_file().
#define COB_BSWAP_64_CONSTANT | ( | val | ) |
#define COB_CLOSE_LOCK 1 |
Definition at line 793 of file common.h.
Referenced by cob_close(), cob_file_close(), and yyparse().
#define COB_CLOSE_NO_REWIND 2 |
Definition at line 794 of file common.h.
Referenced by cob_file_close(), and yyparse().
#define COB_CLOSE_NORMAL 0 |
Definition at line 792 of file common.h.
Referenced by cob_exit_fileio(), cob_file_close(), cob_file_sort_giving(), cob_file_sort_using(), get__reserved__lists_(), LISTING_(), and yyparse().
#define COB_EQ 1 /* x == y */ |
Definition at line 726 of file common.h.
Referenced by indexed_read(), indexed_start(), relative_start(), and yyparse().
#define COB_FERROR_CANCEL 1 |
Definition at line 691 of file common.h.
Referenced by CHECKSRC_(), cob_fatal_error(), cobxref_(), GCic_(), get__reserved__lists_(), and LISTING_().
#define COB_FERROR_CHAINING 4 |
Definition at line 694 of file common.h.
Referenced by cob_fatal_error().
#define COB_FERROR_CODEGEN 3 |
Definition at line 693 of file common.h.
Referenced by cob_fatal_error(), cob_file_open(), cobxref_(), field_display(), GCic_(), get__reserved__lists_(), integer_of_ddd(), integer_of_formatted_date(), integer_of_mmdd(), integer_of_wwwd(), LISTING_(), and seconds_from_formatted_time().
#define COB_FERROR_FILE 11 |
Definition at line 701 of file common.h.
Referenced by cob_fatal_error(), cobxref_(), GCic_(), get__reserved__lists_(), and LISTING_().
#define COB_FERROR_FREE 13 |
Definition at line 703 of file common.h.
Referenced by cob_fatal_error(), cob_free(), and cob_realloc().
#define COB_FERROR_FUNCTION 12 |
Definition at line 702 of file common.h.
Referenced by cob_fatal_error(), cob_intr_boolean_of_integer(), cob_intr_char_national(), cob_intr_display_of(), cob_intr_exception_file_n(), cob_intr_exception_location_n(), cob_intr_integer_of_boolean(), cob_intr_national_of(), and cob_intr_standard_compare().
#define COB_FERROR_GLOBAL 6 |
Definition at line 696 of file common.h.
Referenced by cob_fatal_error(), and GCic_().
#define COB_FERROR_INITIALIZED 2 |
Definition at line 692 of file common.h.
Referenced by cob_call(), cob_call_field(), cob_cancel(), cob_cancel_field(), cob_fatal_error(), cob_get_global_ptr(), cob_longjmp(), cob_module_enter(), cob_resolve_internal(), and cob_savenv().
#define COB_FERROR_MEMORY 7 |
Definition at line 697 of file common.h.
Referenced by cob_fast_malloc(), cob_fatal_error(), cob_malloc(), and cob_realloc().
#define COB_FERROR_MODULE 8 |
Definition at line 698 of file common.h.
Referenced by cob_fatal_error().
#define COB_FERROR_NONE 0 |
Definition at line 690 of file common.h.
Referenced by cob_fatal_error().
#define COB_FERROR_RECURSIVE 9 |
Definition at line 699 of file common.h.
Referenced by cob_fatal_error().
#define COB_FERROR_STACK 5 |
Definition at line 695 of file common.h.
Referenced by cob_fatal_error(), cobxref_(), GCic_(), get__reserved__lists_(), and LISTING_().
#define COB_FI 7 /* First */ |
Definition at line 732 of file common.h.
Referenced by indexed_read_next(), indexed_start(), relative_start(), and yyparse().
#define COB_FIELD_BINARY_SWAP | ( | f | ) | ((f)->attr->flags & COB_FLAG_BINARY_SWAP) |
Definition at line 648 of file common.h.
Referenced by cob_binary_get_sint64(), cob_binary_get_uint64(), cob_binary_mget_sint64(), cob_binary_mget_uint64(), cob_binary_mset_sint64(), cob_binary_mset_uint64(), cob_binary_set_int64(), cob_binary_set_uint64(), and cob_decimal_set_binary().
#define COB_FIELD_BINARY_TRUNC | ( | f | ) | ((f)->attr->flags & COB_FLAG_BINARY_TRUNC) |
Definition at line 654 of file common.h.
Referenced by cob_decimal_get_binary(), cob_intr_highest_algebraic(), cob_intr_lowest_algebraic(), cob_move(), and cob_move_display_to_binary().
#define COB_FIELD_BLANK_ZERO | ( | f | ) | ((f)->attr->flags & COB_FLAG_BLANK_ZERO) |
Definition at line 646 of file common.h.
Referenced by cob_move_display_to_edited().
#define COB_FIELD_DATA | ( | f | ) | ((f)->data + (COB_FIELD_SIGN_LEADSEP (f) ? 1 : 0)) |
Definition at line 668 of file common.h.
Referenced by cob_decimal_get_display(), cob_decimal_set_display(), cob_display_get_int(), cob_display_get_long_long(), cob_inspect_init(), cob_move_alphanum_to_display(), 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(), cob_move_display_to_packed(), field_is_zero_or_no_zero_suppression(), and store_common_region().
#define COB_FIELD_DIGITS | ( | f | ) | ((f)->attr->digits) |
Definition at line 663 of file common.h.
Referenced by cob_cmp(), cob_cmp_packed(), cob_decimal_get_binary(), cob_decimal_get_field(), cob_decimal_get_packed(), cob_decimal_set_packed(), cob_intr_highest_algebraic(), cob_intr_lowest_algebraic(), cob_move(), cob_move_display_to_binary(), cob_move_display_to_packed(), cob_move_packed_to_display(), cob_packed_get_int(), cob_packed_get_long_long(), cob_set_packed_int(), display_numeric(), and pretty_display_numeric().
#define COB_FIELD_HAVE_SIGN | ( | f | ) | ((f)->attr->flags & COB_FLAG_HAVE_SIGN) |
Definition at line 643 of file common.h.
Referenced by cob_binary_mget_sint64(), cob_check_numdisp(), cob_cmp_llint(), cob_correct_numeric(), cob_decimal_get_binary(), cob_decimal_get_packed(), cob_decimal_set_binary(), cob_intr_highest_algebraic(), cob_intr_lowest_algebraic(), cob_is_numeric(), cob_move_binary_to_binary(), cob_move_binary_to_display(), cob_move_display_to_binary(), cob_move_display_to_packed(), cob_packed_get_sign(), cob_print_realbin(), cob_set_packed_int(), cob_set_packed_zero(), display_numeric(), and pretty_display_numeric().
#define COB_FIELD_IS_ALNUM | ( | f | ) | (COB_FIELD_TYPE (f) == COB_TYPE_ALPHANUMERIC) |
Definition at line 676 of file common.h.
Referenced by cob_move_all().
#define COB_FIELD_IS_FP | ( | f | ) | ((f)->attr->flags & COB_FLAG_IS_FP) |
Definition at line 652 of file common.h.
Referenced by cob_decimal_get_field().
#define COB_FIELD_IS_NATIONAL | ( | f | ) | (COB_FIELD_TYPE (f) & COB_TYPE_NATIONAL) |
Definition at line 677 of file common.h.
Referenced by cob_intr_length().
#define COB_FIELD_IS_NUMDISP | ( | f | ) | (COB_FIELD_TYPE (f) == COB_TYPE_NUMERIC_DISPLAY) |
Definition at line 675 of file common.h.
Referenced by cob_correct_numeric(), and cob_inspect_init().
#define COB_FIELD_IS_NUMERIC | ( | f | ) | (COB_FIELD_TYPE (f) & COB_TYPE_NUMERIC) |
Definition at line 674 of file common.h.
Referenced by cob_accept(), cob_check_pos_status(), cob_cmp(), cob_field_is_numeric_or_numeric_edited(), cob_file_sort_compare(), cob_intr_lcl_time_from_secs(), cob_intr_locale_date(), cob_intr_locale_time(), cob_move_all(), cob_unstring_into(), display_common(), field_accept(), format_field(), satisfied_full_clause(), sort_compare(), and valid_field_data().
#define COB_FIELD_IS_POINTER | ( | f | ) | ((f)->attr->flags & COB_FLAG_IS_POINTER) |
Definition at line 650 of file common.h.
Referenced by display_common().
#define COB_FIELD_JUSTIFIED | ( | f | ) | ((f)->attr->flags & COB_FLAG_JUSTIFIED) |
Definition at line 647 of file common.h.
Referenced by cob_move_alphanum_to_alphanum(), and cob_move_display_to_alphanum().
#define COB_FIELD_NO_SIGN_NIBBLE | ( | f | ) | ((f)->attr->flags & COB_FLAG_NO_SIGN_NIBBLE) |
Definition at line 651 of file common.h.
Referenced by cob_cmp_packed(), cob_decimal_get_packed(), cob_decimal_set_packed(), cob_is_numeric(), cob_move_display_to_packed(), cob_move_packed_to_display(), cob_packed_get_int(), cob_packed_get_long_long(), cob_packed_get_sign(), cob_real_get_sign(), cob_real_put_sign(), cob_set_packed_int(), and cob_set_packed_zero().
#define COB_FIELD_PIC | ( | f | ) | ((f)->attr->pic) |
Definition at line 666 of file common.h.
Referenced by cob_move_alphanum_to_edited(), cob_move_display_to_edited(), cob_move_edited_to_display(), and field_is_zero_or_no_zero_suppression().
#define COB_FIELD_REAL_BINARY | ( | f | ) | ((f)->attr->flags & COB_FLAG_REAL_BINARY) |
Definition at line 649 of file common.h.
Referenced by cob_intr_highest_algebraic(), cob_intr_lowest_algebraic(), cob_move(), cob_move_display_to_binary(), and display_common().
#define COB_FIELD_REAL_SIGN | ( | f | ) | ((f)->attr->flags & COB_FLAG_REAL_SIGN) |
#define COB_FIELD_SCALE | ( | f | ) | ((f)->attr->scale) |
Definition at line 664 of file common.h.
Referenced by cob_add_int(), cob_decimal_do_round(), cob_decimal_get_field(), cob_decimal_set_binary(), cob_decimal_set_display(), cob_decimal_set_packed(), cob_display_get_int(), cob_display_get_long_long(), cob_div_quotient(), cob_get_int(), cob_get_llint(), cob_intr_highest_algebraic(), cob_intr_lowest_algebraic(), cob_move(), cob_move_alphanum_to_display(), 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_packed_to_display(), cob_packed_get_int(), cob_packed_get_long_long(), display_numeric(), pretty_display_numeric(), and store_common_region().
#define COB_FIELD_SIGN_LEADING | ( | f | ) | ((f)->attr->flags & COB_FLAG_SIGN_LEADING) |
Definition at line 645 of file common.h.
Referenced by cob_check_numdisp(), cob_correct_numeric(), cob_real_get_sign(), cob_real_put_sign(), and display_numeric().
#define COB_FIELD_SIGN_LEADSEP | ( | f | ) | (((f)->attr->flags & COB_FLAG_LEADSEP) == COB_FLAG_LEADSEP) |
#define COB_FIELD_SIGN_SEPARATE | ( | f | ) | ((f)->attr->flags & COB_FLAG_SIGN_SEPARATE) |
Definition at line 644 of file common.h.
Referenced by cob_check_numdisp(), cob_correct_numeric(), cob_real_get_sign(), and cob_real_put_sign().
#define COB_FIELD_SIZE | ( | f | ) | (COB_FIELD_SIGN_SEPARATE (f) ? f->size - 1 : f->size) |
Definition at line 671 of file common.h.
Referenced by cob_decimal_get_display(), cob_decimal_set_display(), cob_display_get_int(), cob_display_get_long_long(), cob_inspect_init(), cob_intr_highest_algebraic(), cob_intr_lowest_algebraic(), cob_move_alphanum_to_display(), 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(), cob_unstring_into(), field_is_zero_or_no_zero_suppression(), and store_common_region().
#define COB_FIELD_TYPE | ( | f | ) | ((f)->attr->type) |
Definition at line 662 of file common.h.
Referenced by cob_accept(), cob_add_int(), cob_check_pos_status(), cob_cmp(), cob_cmp_all(), cob_cmp_alnum(), cob_cmp_float(), cob_decimal_get_field(), cob_decimal_set_field(), cob_field_is_numeric_or_numeric_edited(), cob_get_int(), cob_get_llint(), cob_inspect_converting(), cob_intr_highest_algebraic(), cob_intr_lowest_algebraic(), cob_is_numeric(), cob_move(), cob_move_fp_to_fp(), cob_numeric_cmp(), cob_print_ieeedec(), cob_real_get_sign(), cob_real_put_sign(), display_common(), display_numeric(), inspect_common(), and satisfied_full_clause().
#define COB_FILE_BUFF 4096 |
Definition at line 542 of file common.h.
Referenced by cob_fatal_error(), cob_init_fileio(), cob_load_config_file(), cob_srttmpfile(), and cob_sys_copy_file().
#define COB_FILE_EXCLUSIVE (COB_LOCK_EXCLUSIVE | COB_LOCK_OPEN_EXCLUSIVE) |
Definition at line 779 of file common.h.
Referenced by cob_file_unlock(), indexed_open(), indexed_read(), and indexed_read_next().
#define cob_file_key_ptr cob_file_key * |
#define COB_FILE_MAX (COB_FILE_BUFF - 1) |
Definition at line 548 of file common.h.
Referenced by cob_chk_file_env(), cob_chk_file_mapping(), cob_delete_file(), cob_exit_fileio(), cob_fatal_error(), cob_load_config_file(), cob_open(), cob_temp_name(), indexed_file_delete(), indexed_open(), and process_filename().
#define COB_FILE_MODE 0666 |
Definition at line 738 of file common.h.
Referenced by cob_fd_file_open(), cob_srttmpfile(), cob_sys_copy_file(), indexed_open(), and open_cbl_file().
#define COB_FILE_SPECIAL | ( | x | ) | ((x)->flag_select_features & (COB_SELECT_STDIN | COB_SELECT_STDOUT)) |
Definition at line 765 of file common.h.
Referenced by cob_close(), cob_exit_fileio(), cob_file_sort_giving(), and cob_file_unlock().
#define COB_FILE_STDIN | ( | x | ) | ((x)->flag_select_features & COB_SELECT_STDIN) |
Definition at line 767 of file common.h.
Referenced by cob_delete_file(), and cob_open().
#define COB_FILE_STDOUT | ( | x | ) | ((x)->flag_select_features & COB_SELECT_STDOUT) |
Definition at line 768 of file common.h.
Referenced by cob_delete_file(), and cob_open().
#define COB_FILE_TEMPORARY | ( | x | ) | ((x)->flag_select_features & COB_SELECT_TEMPORARY) |
#define COB_FILE_VERSION 1 |
Definition at line 722 of file common.h.
Referenced by output_file_initialization().
#define COB_FLAG_BINARY_SWAP (1U << 5) /* 0x0020 */ |
Definition at line 635 of file common.h.
Referenced by output_attr().
#define COB_FLAG_BINARY_TRUNC (1U << 11) /* 0x0800 */ |
Definition at line 641 of file common.h.
Referenced by output_attr().
#define COB_FLAG_BLANK_ZERO (1U << 3) /* 0x0008 */ |
Definition at line 633 of file common.h.
Referenced by output_attr().
#define COB_FLAG_HAVE_SIGN (1U << 0) /* 0x0001 */ |
Definition at line 630 of file common.h.
Referenced by cob_alloc_field(), cob_alloc_set_field_int(), cob_cmp(), cob_decimal_get_field(), cob_decimal_move_temp(), cob_get_int(), cob_intr_random(), cob_set_int(), display_numeric(), indirect_move(), output_attr(), and output_bin_field().
#define COB_FLAG_IS_FP (1U << 9) /* 0x0200 */ |
Definition at line 639 of file common.h.
Referenced by output_attr().
#define COB_FLAG_IS_POINTER (1U << 7) /* 0x0080 */ |
Definition at line 637 of file common.h.
Referenced by output_attr().
#define COB_FLAG_JUSTIFIED (1U << 4) /* 0x0010 */ |
Definition at line 634 of file common.h.
Referenced by output_attr().
#define COB_FLAG_LEADSEP (COB_FLAG_SIGN_SEPARATE | COB_FLAG_SIGN_LEADING) |
#define COB_FLAG_NO_SIGN_NIBBLE (1U << 8) /* 0x0100 */ |
Definition at line 638 of file common.h.
Referenced by output_attr().
#define COB_FLAG_REAL_BINARY (1U << 6) /* 0x0040 */ |
Definition at line 636 of file common.h.
Referenced by cob_set_int(), output_attr(), and output_bin_field().
#define COB_FLAG_SIGN_LEADING (1U << 2) /* 0x0004 */ |
Definition at line 632 of file common.h.
Referenced by display_numeric(), and output_attr().
#define COB_FLAG_SIGN_SEPARATE (1U << 1) /* 0x0002 */ |
Definition at line 631 of file common.h.
Referenced by display_numeric(), and output_attr().
#define COB_FOLD_LOWER 2 |
Definition at line 587 of file common.h.
Referenced by cb_encode_program_id(), cob_resolve_internal(), ppparse(), and process_command_line().
#define COB_FOLD_UPPER 1 |
Definition at line 586 of file common.h.
Referenced by cb_encode_program_id(), cob_resolve_internal(), ppparse(), and process_command_line().
#define COB_GE 5 /* x >= y */ |
Definition at line 730 of file common.h.
Referenced by indexed_read_next(), indexed_start(), relative_start(), and yyparse().
#define COB_GT 4 /* x > y */ |
Definition at line 729 of file common.h.
Referenced by indexed_read_next(), indexed_start(), relative_start(), and yyparse().
#define COB_LA 8 /* Last */ |
Definition at line 733 of file common.h.
Referenced by indexed_read_next(), indexed_start(), relative_start(), and yyparse().
#define COB_LARGE_BUFF 16384 |
Definition at line 544 of file common.h.
Referenced by cob_init(), main(), process_assemble(), and process_module_direct().
#define COB_LARGE_MAX (COB_LARGE_BUFF - 1) |
Definition at line 550 of file common.h.
Referenced by cob_init(), and main().
#define COB_LC_ALL 6 |
Definition at line 596 of file common.h.
Referenced by cob_set_locale().
#define COB_LC_CLASS 8 |
Definition at line 598 of file common.h.
Referenced by cob_set_locale().
#define COB_LC_COLLATE 0 |
Definition at line 590 of file common.h.
Referenced by cob_set_locale().
#define COB_LC_CTYPE 1 |
Definition at line 591 of file common.h.
Referenced by cob_set_locale().
#define COB_LC_MESSAGES 2 |
Definition at line 592 of file common.h.
Referenced by cob_set_locale().
#define COB_LC_MONETARY 3 |
Definition at line 593 of file common.h.
Referenced by cob_set_locale().
#define COB_LC_NUMERIC 4 |
Definition at line 594 of file common.h.
Referenced by cob_set_locale().
#define COB_LC_TIME 5 |
Definition at line 595 of file common.h.
Referenced by cob_set_locale().
#define COB_LC_USER 7 |
Definition at line 597 of file common.h.
Referenced by cob_set_locale().
#define COB_LE 3 /* x <= y */ |
Definition at line 728 of file common.h.
Referenced by indexed_read_next(), indexed_start(), relative_start(), and yyparse().
#define COB_LOCK_AUTOMATIC (1U << 2) |
Definition at line 775 of file common.h.
Referenced by cb_emit_rewrite(), cb_emit_write(), indexed_open(), indexed_read(), indexed_read_next(), indexed_rewrite(), and yyparse().
#define COB_LOCK_EXCLUSIVE (1U << 0) |
#define COB_LOCK_MULTIPLE (1U << 3) |
Definition at line 776 of file common.h.
Referenced by indexed_read(), indexed_read_next(), indexed_rewrite(), and yyparse().
#define COB_LOCK_OPEN_EXCLUSIVE (1U << 4) |
Definition at line 777 of file common.h.
Referenced by cob_close(), cob_open(), and yyparse().
#define COB_LT 2 /* x < y */ |
Definition at line 727 of file common.h.
Referenced by indexed_read_next(), indexed_start(), relative_start(), and yyparse().
#define COB_MAX_BINARY 39 |
Definition at line 565 of file common.h.
Referenced by cob_decimal_set_binary(), cob_exit_numeric(), cob_init_numeric(), and compute_size().
#define COB_MAX_DEC_STRUCT 32 |
Definition at line 571 of file common.h.
Referenced by cob_exit_numeric(), cob_init_numeric(), and decimal_alloc().
#define COB_MAX_DIGITS 38 |
Definition at line 562 of file common.h.
Referenced by cb_build_picture(), check_lit_length(), cob_check_numval(), cob_check_numval_f(), cob_decimal_div(), cob_move(), cob_move_all(), numval(), scan_define_options(), and scan_numeric().
#define COB_MAX_FIELD_PARAMS 36 /* ToDo: move to config.h */ |
Definition at line 559 of file common.h.
Referenced by cob_call(), output_call(), output_entry_function(), and yyparse().
#define COB_MAX_FIELD_SIZE 268435456 |
Definition at line 568 of file common.h.
Referenced by compute_size().
#define COB_MAX_WORDLEN 61 |
Definition at line 574 of file common.h.
Referenced by cb_build_identifier(), cb_config_entry(), and yylex().
#define COB_MEDIUM_BUFF 8192 |
Definition at line 543 of file common.h.
Referenced by cob_init(), cob_init_call(), cob_load_config(), cobc_check_action(), and print_runtime_env().
#define COB_MEDIUM_MAX (COB_MEDIUM_BUFF - 1) |
Definition at line 549 of file common.h.
Referenced by cob_accept(), cob_init_call(), cob_load_config(), cob_sys_system(), cobc_check_action(), display_numeric(), field_accept(), and pretty_display_numeric().
#define COB_MINI_BUFF 256 |
Definition at line 539 of file common.h.
Referenced by cb_build_class_name(), cb_check_field_debug(), cb_config_entry(), cb_encode_program_id(), cb_validate_program_data(), cobcrun_print_version(), codegen(), emit_entry(), finalize_file(), main(), print_runtime_env(), print_version(), and process_command_line().
#define COB_MINI_MAX (COB_MINI_BUFF - 1) |
Definition at line 545 of file common.h.
Referenced by cb_build_class_name(), cb_validate_program_data(), check_lit_length(), cobcrun_print_version(), codegen(), emit_entry(), finalize_file(), main(), print_version(), process_command_line(), read_literal(), scan_b(), scan_floating_numeric(), scan_h(), scan_numeric(), scan_o(), scan_x(), and scan_z().
#define cob_module_ptr cob_module * |
#define COB_NATIONAL_SIZE 2 |
Definition at line 683 of file common.h.
Referenced by cb_build_picture(), and cob_intr_length().
#define COB_NORMAL_BUFF 2048 |
Definition at line 541 of file common.h.
Referenced by ambiguous_error(), cb_load_conf(), cb_load_conf_file(), cb_name(), cob_init_call(), cob_init_strings(), insert(), and undefined_error().
#define COB_NORMAL_MAX (COB_NORMAL_BUFF - 1) |
Definition at line 547 of file common.h.
Referenced by ambiguous_error(), cb_load_conf(), cb_load_conf_file(), cob_resolve_internal(), process_filename(), and undefined_error().
#define COB_NOT_CONFIGURED 32768 |
Definition at line 861 of file common.h.
Referenced by cob_file_open(), indexed_open(), lineseq_read(), lineseq_write(), relative_delete(), relative_read(), relative_read_next(), relative_rewrite(), relative_start(), relative_write(), sequential_read(), sequential_rewrite(), and sequential_write().
#define COB_OPEN_CLOSED 0 |
Definition at line 783 of file common.h.
Referenced by cob_close(), cob_delete_file(), cob_exit_fileio(), cob_file_close(), cob_file_unlock(), and cob_open().
#define COB_OPEN_EXTEND 4 |
Definition at line 787 of file common.h.
Referenced by cob_fd_file_open(), cob_file_open(), cob_write(), indexed_open(), output_error_handler(), process_translate(), and yyparse().
#define COB_OPEN_I_O 3 |
Definition at line 786 of file common.h.
Referenced by cb_emit_open(), cob_delete(), cob_fd_file_open(), cob_file_open(), cob_read(), cob_read_next(), cob_rewrite(), cob_start(), cob_write(), indexed_open(), indexed_read(), indexed_read_next(), and yyparse().
#define COB_OPEN_INPUT 1 |
Definition at line 784 of file common.h.
Referenced by cob_fd_file_open(), cob_file_close(), cob_file_open(), cob_file_sort_using(), cob_open(), cob_read(), cob_read_next(), cob_start(), indexed_open(), indexed_read(), indexed_read_next(), output_error_handler(), process_translate(), and yyparse().
#define COB_OPEN_LOCKED 5 |
Definition at line 788 of file common.h.
Referenced by cob_close(), cob_delete_file(), cob_exit_fileio(), cob_file_unlock(), and cob_open().
#define COB_OPEN_OUTPUT 2 |
Definition at line 785 of file common.h.
Referenced by cob_fd_file_open(), cob_file_open(), cob_file_sort_giving(), cob_open(), cob_write(), indexed_open(), and yyparse().
#define COB_ORG_INDEXED 3 |
Definition at line 745 of file common.h.
Referenced by cb_emit_read(), cb_emit_rewrite(), cb_emit_start(), cb_emit_write(), check_valid_key(), cob_delete_file(), cob_file_unlock(), cob_sync(), finalize_file(), output_file_allocation(), output_file_initialization(), output_internal_function(), validate_file(), and yyparse().
#define COB_ORG_LINE_SEQUENTIAL 1 |
Definition at line 743 of file common.h.
Referenced by cb_emit_delete(), cb_emit_open(), cb_emit_rewrite(), cb_emit_write(), cob_file_close(), cob_file_open(), cob_file_sort_giving(), cob_sync(), finalize_file(), and yyparse().
#define COB_ORG_RELATIVE 2 |
Definition at line 744 of file common.h.
Referenced by cb_emit_read(), cb_emit_rewrite(), cb_emit_start(), cb_emit_write(), cob_fd_file_open(), output_file_allocation(), output_file_initialization(), output_internal_function(), validate_file(), and yyparse().
#define COB_ORG_SEQUENTIAL 0 |
Definition at line 742 of file common.h.
Referenced by build_file(), build_report(), cob_rewrite(), and yyparse().
#define COB_ORG_SORT 4 |
Definition at line 746 of file common.h.
Referenced by cb_emit_close(), cb_emit_delete(), cb_emit_delete_file(), cb_emit_open(), cb_emit_read(), cb_emit_release(), cb_emit_rewrite(), cb_emit_sort_giving(), cb_emit_sort_init(), cb_emit_sort_using(), cb_emit_write(), cob_delete_file(), cob_file_unlock(), cob_sync(), output_internal_function(), set_up_use_file(), validate_file(), and yyparse().
#define COB_READ_FIRST (1 << 2) |
Definition at line 815 of file common.h.
Referenced by indexed_read_next(), and relative_read_next().
#define COB_READ_IGNORE_LOCK (1 << 8) |
Definition at line 821 of file common.h.
Referenced by cb_emit_read().
#define COB_READ_LAST (1 << 3) |
Definition at line 816 of file common.h.
Referenced by indexed_read_next(), and relative_read_next().
#define COB_READ_LOCK (1 << 4) |
Definition at line 817 of file common.h.
Referenced by cb_emit_read(), indexed_read(), and indexed_read_next().
#define COB_READ_MASK (COB_READ_NEXT | COB_READ_PREVIOUS | COB_READ_FIRST | COB_READ_LAST) |
Definition at line 823 of file common.h.
Referenced by indexed_read_next(), and relative_read_next().
#define COB_READ_NEXT (1 << 0) |
Definition at line 813 of file common.h.
Referenced by cb_emit_read(), cob_file_sort_using(), indexed_read_next(), and relative_read_next().
#define COB_READ_NO_LOCK (1 << 5) |
Definition at line 818 of file common.h.
Referenced by cb_emit_read(), indexed_read(), and indexed_read_next().
#define COB_READ_PREVIOUS (1 << 1) |
Definition at line 814 of file common.h.
Referenced by cb_emit_read(), cob_read(), cob_read_next(), indexed_read_next(), and relative_read_next().
#define COB_READ_WAIT_LOCK (1 << 7) |
Definition at line 820 of file common.h.
Referenced by cb_emit_read(), indexed_read(), and indexed_read_next().
#define COB_S64_C | ( | x | ) | x ## LL |
Definition at line 54 of file common.h.
Referenced by validate_move().
#define cob_s64_t long long |
Definition at line 51 of file common.h.
Referenced by cb_emit_call(), cb_fits_long_long(), cb_get_long_long(), cob_binary_get_sint64(), cob_binary_mget_sint64(), cob_cmp_numdisp(), cob_decimal_get_binary(), cob_decimal_set_binary(), cob_display_get_long_long(), cob_get_int(), cob_get_llint(), cob_move_binary_to_binary(), cob_move_binary_to_display(), cob_move_display_to_binary(), cob_packed_get_long_long(), cob_print_realbin(), cob_sys_check_file_exist(), cob_sys_oc_nanosleep(), cob_sys_read_file(), cob_sys_write_file(), GCic_(), output_call_by_value_args(), relative_read_next(), and validate_move().
Definition at line 67 of file common.h.
Referenced by CHECKSRC_(), cobxref_(), and get__reserved__lists_().
#define COB_SCREEN_AUTO (1 << 4) |
Definition at line 899 of file common.h.
Referenced by cob_screen_get_all(), field_accept(), and yyparse().
#define COB_SCREEN_BELL (1 << 5) |
Definition at line 900 of file common.h.
Referenced by cb_emit_display(), cob_screen_attr(), and yyparse().
#define COB_SCREEN_BLACK 0 |
Definition at line 886 of file common.h.
Referenced by cob_screen_attr().
#define COB_SCREEN_BLANK_LINE (1 << 6) |
Definition at line 901 of file common.h.
Referenced by cob_screen_attr(), yyparse(), and zero_conflicting_flags().
#define COB_SCREEN_BLANK_SCREEN (1 << 7) |
Definition at line 902 of file common.h.
Referenced by cob_screen_attr(), yyparse(), and zero_conflicting_flags().
#define COB_SCREEN_BLINK (1 << 8) |
Definition at line 903 of file common.h.
Referenced by cob_screen_attr(), and yyparse().
#define COB_SCREEN_BLUE 1 |
Definition at line 887 of file common.h.
Referenced by cob_screen_attr().
#define COB_SCREEN_COLUMN_MINUS (1 << 3) |
Definition at line 898 of file common.h.
Referenced by cob_screen_moveyx(), has_relative_pos(), and yyparse().
#define COB_SCREEN_COLUMN_PLUS (1 << 2) |
Definition at line 897 of file common.h.
Referenced by cob_screen_moveyx(), has_relative_pos(), and yyparse().
#define COB_SCREEN_CYAN 3 |
Definition at line 889 of file common.h.
Referenced by cob_screen_attr().
#define COB_SCREEN_EMULATE_NL (1 << 27) |
Definition at line 922 of file common.h.
Referenced by cob_display(), and field_display().
#define COB_SCREEN_ERASE_EOL (1 << 9) |
Definition at line 904 of file common.h.
Referenced by cb_emit_display(), cob_screen_attr(), yyparse(), and zero_conflicting_flags().
#define COB_SCREEN_ERASE_EOS (1 << 10) |
Definition at line 905 of file common.h.
Referenced by cb_emit_display(), cob_screen_attr(), yyparse(), and zero_conflicting_flags().
#define COB_SCREEN_FULL (1 << 11) |
Definition at line 906 of file common.h.
Referenced by satisfied_full_clause(), and yyparse().
#define COB_SCREEN_GREEN 2 |
Definition at line 888 of file common.h.
Referenced by cob_screen_attr().
#define COB_SCREEN_HIGHLIGHT (1 << 12) |
Definition at line 907 of file common.h.
Referenced by check_not_highlight_and_lowlight(), cob_screen_attr(), output_set_attribute(), yyparse(), and zero_conflicting_flags().
#define COB_SCREEN_INITIAL (1 << 23) |
Definition at line 918 of file common.h.
Referenced by screen_accept(), and yyparse().
#define COB_SCREEN_INPUT (1 << 21) |
Definition at line 916 of file common.h.
Referenced by cob_prep_input(), cob_screen_puts(), and yyparse().
#define COB_SCREEN_LEFTLINE (1 << 25) |
#define COB_SCREEN_LINE_MINUS (1 << 1) |
Definition at line 896 of file common.h.
Referenced by cob_screen_moveyx(), has_relative_pos(), and yyparse().
#define COB_SCREEN_LINE_PLUS (1 << 0) |
Definition at line 895 of file common.h.
Referenced by cob_screen_moveyx(), has_relative_pos(), and yyparse().
#define COB_SCREEN_LOWER (1 << 29) |
Definition at line 924 of file common.h.
Referenced by cob_screen_get_all(), field_accept(), and yyparse().
#define COB_SCREEN_LOWLIGHT (1 << 13) |
Definition at line 908 of file common.h.
Referenced by check_not_highlight_and_lowlight(), cob_screen_attr(), output_set_attribute(), yyparse(), and zero_conflicting_flags().
#define COB_SCREEN_MAGENTA 5 |
Definition at line 891 of file common.h.
Referenced by cob_screen_attr().
#define COB_SCREEN_NO_DISP (1 << 26) |
Definition at line 921 of file common.h.
Referenced by cb_emit_display(), and field_display().
#define COB_SCREEN_NO_ECHO (1 << 24) |
Definition at line 919 of file common.h.
Referenced by cob_screen_get_all(), field_accept(), and yyparse().
#define COB_SCREEN_OVERLINE (1 << 18) |
#define COB_SCREEN_PROMPT (1 << 19) |
Definition at line 914 of file common.h.
Referenced by cob_accept(), field_accept(), and yyparse().
#define cob_screen_ptr cob_screen * |
#define COB_SCREEN_RED 4 |
Definition at line 890 of file common.h.
Referenced by cob_screen_attr().
#define COB_SCREEN_REQUIRED (1 << 14) |
Definition at line 909 of file common.h.
Referenced by satisfied_required_clause(), and yyparse().
#define COB_SCREEN_REVERSE (1 << 15) |
Definition at line 910 of file common.h.
Referenced by cob_screen_attr(), and yyparse().
#define COB_SCREEN_SCROLL_DOWN (1 << 22) |
Definition at line 917 of file common.h.
Referenced by field_accept(), field_display(), and yyparse().
#define COB_SCREEN_SECURE (1 << 16) |
Definition at line 911 of file common.h.
Referenced by cob_screen_get_all(), cob_screen_puts(), field_accept(), and yyparse().
#define COB_SCREEN_TYPE_ATTRIBUTE 3 |
Definition at line 930 of file common.h.
Referenced by cob_prep_input(), cob_screen_iterate(), output_screen_definition(), output_screen_from(), output_screen_init(), and output_screen_to().
#define COB_SCREEN_TYPE_FIELD 1 |
Definition at line 928 of file common.h.
Referenced by cob_prep_input(), cob_screen_iterate(), output_screen_definition(), output_screen_from(), output_screen_init(), and output_screen_to().
#define COB_SCREEN_TYPE_GROUP 0 |
Definition at line 927 of file common.h.
Referenced by cob_prep_input(), cob_screen_iterate(), output_screen_definition(), output_screen_from(), output_screen_init(), and output_screen_to().
#define COB_SCREEN_TYPE_VALUE 2 |
Definition at line 929 of file common.h.
Referenced by cob_prep_input(), cob_screen_iterate(), output_screen_definition(), output_screen_from(), output_screen_init(), and output_screen_to().
#define COB_SCREEN_UNDERLINE (1 << 17) |
Definition at line 912 of file common.h.
Referenced by cob_screen_attr(), and yyparse().
#define COB_SCREEN_UPDATE (1 << 20) |
Definition at line 915 of file common.h.
Referenced by field_accept(), and yyparse().
#define COB_SCREEN_UPPER (1 << 28) |
Definition at line 923 of file common.h.
Referenced by cob_screen_get_all(), field_accept(), and yyparse().
#define COB_SCREEN_WHITE 7 |
Definition at line 893 of file common.h.
Referenced by cob_screen_attr().
#define COB_SCREEN_YELLOW 6 |
Definition at line 892 of file common.h.
Referenced by cob_screen_attr().
#define COB_SELECT_EXTERNAL (1U << 1) |
Definition at line 758 of file common.h.
Referenced by output_file_initialization().
#define COB_SELECT_FILE_STATUS (1U << 0) |
Definition at line 757 of file common.h.
Referenced by cobxref_(), GCic_(), get__reserved__lists_(), LISTING_(), and output_file_initialization().
#define COB_SELECT_LINAGE (1U << 2) |
Definition at line 759 of file common.h.
Referenced by cob_file_close(), cob_file_open(), cob_file_write_opt(), lineseq_write(), and output_file_initialization().
#define COB_SELECT_STDIN (1U << 4) |
#define COB_SELECT_STDOUT (1U << 5) |
#define COB_SET_DATA | ( | x, | |
z | |||
) | (x.data = z, &x) |
Definition at line 686 of file common.h.
Referenced by get__reserved__lists_(), and LISTING_().
#define COB_SET_FLD | ( | v, | |
x, | |||
y, | |||
z | |||
) | (v.size = x, v.data = y, v.attr = z, &v) |
Definition at line 685 of file common.h.
Referenced by CHECKSRC_(), cobxref_(), GCic_(), get__reserved__lists_(), and LISTING_().
#define cob_sli_t long int |
Definition at line 32 of file common.h.
Referenced by cob_add_int(), cob_cmp_int(), cob_cmp_llint(), cob_decimal_get_double(), cob_decimal_get_mpf(), cob_decimal_set_binary(), cob_decimal_set_double(), cob_decimal_set_llint(), cob_decimal_set_mpf(), cob_mpf_exp(), and cob_mpf_log().
#define COB_SMALL_BUFF 1024 |
Definition at line 540 of file common.h.
Referenced by cb_build_picture(), cb_config_entry(), cb_load_conf_file(), cb_validate_program_data(), cob_check_numeric(), cob_init_call(), cob_init_fileio(), cob_intr_exception_location(), cob_intr_locale_date(), cob_load_config_file(), cob_resolve_internal(), and main().
#define COB_SMALL_MAX (COB_SMALL_BUFF - 1) |
Definition at line 546 of file common.h.
Referenced by cob_intr_exception_location(), cob_intr_locale_date(), main(), ppcopy(), and process_command_line().
#define COB_STATUS_00_SUCCESS 00 |
Definition at line 828 of file common.h.
Referenced by cob_close(), cob_delete_file(), cob_file_close(), cob_file_open(), cob_file_release(), cob_file_return(), cob_file_sort_close(), cob_file_sort_init(), cob_open(), cob_read(), cob_read_next(), cob_start(), cob_unlock_file(), indexed_close(), indexed_delete(), indexed_open(), indexed_read(), indexed_read_next(), indexed_rewrite(), indexed_start(), lineseq_read(), lineseq_write(), relative_delete(), relative_read(), relative_read_next(), relative_rewrite(), relative_start(), relative_write(), sequential_read(), sequential_rewrite(), and sequential_write().
#define COB_STATUS_02_SUCCESS_DUPLICATE 02 |
Definition at line 829 of file common.h.
Referenced by cob_read(), cob_read_next(), indexed_read_next(), indexed_rewrite(), and indexed_write().
#define COB_STATUS_04_SUCCESS_INCOMPLETE 04 |
Definition at line 830 of file common.h.
Referenced by sequential_read().
#define COB_STATUS_05_SUCCESS_OPTIONAL 05 |
Definition at line 831 of file common.h.
Referenced by cob_fd_file_open(), cob_file_open(), and indexed_open().
#define COB_STATUS_07_SUCCESS_NO_UNIT 07 |
Definition at line 832 of file common.h.
Referenced by cob_file_close().
#define COB_STATUS_10_END_OF_FILE 10 |
Definition at line 833 of file common.h.
Referenced by cob_fatal_error(), cob_file_return(), cob_read(), cob_read_next(), indexed_read_next(), lineseq_read(), relative_read_next(), and sequential_read().
#define COB_STATUS_14_OUT_OF_KEY_RANGE 14 |
Definition at line 834 of file common.h.
Referenced by cob_fatal_error(), and relative_read_next().
#define COB_STATUS_21_KEY_INVALID 21 |
Definition at line 835 of file common.h.
Referenced by cob_fatal_error(), indexed_delete(), indexed_read(), indexed_rewrite(), indexed_start(), and indexed_write().
#define COB_STATUS_22_KEY_EXISTS 22 |
Definition at line 836 of file common.h.
Referenced by cob_fatal_error(), indexed_rewrite(), and relative_write().
#define COB_STATUS_23_KEY_NOT_EXISTS 23 |
Definition at line 837 of file common.h.
Referenced by cob_fatal_error(), cob_read(), cob_read_next(), cob_start(), indexed_read(), indexed_read_next(), indexed_start(), relative_delete(), relative_read(), relative_rewrite(), and relative_start().
#define COB_STATUS_24_KEY_BOUNDARY 24 |
Definition at line 838 of file common.h.
Referenced by relative_delete(), relative_rewrite(), and relative_write().
#define COB_STATUS_30_PERMANENT_ERROR 30 |
Definition at line 839 of file common.h.
Referenced by cob_delete_file(), cob_fatal_error(), cob_fd_file_open(), cob_file_open(), cob_file_release(), cob_file_return(), cob_open(), indexed_open(), lineseq_read(), lineseq_write(), relative_delete(), relative_read(), relative_read_next(), relative_rewrite(), relative_write(), sequential_read(), sequential_rewrite(), and sequential_write().
#define COB_STATUS_35_NOT_EXISTS 35 |
Definition at line 842 of file common.h.
Referenced by cob_fatal_error(), cob_fd_file_open(), cob_file_open(), and indexed_open().
#define COB_STATUS_37_PERMISSION_DENIED 37 |
Definition at line 843 of file common.h.
Referenced by cob_fatal_error(), cob_fd_file_open(), cob_file_open(), and indexed_open().
#define COB_STATUS_38_CLOSED_WITH_LOCK 38 |
Definition at line 844 of file common.h.
Referenced by cob_delete_file(), and cob_open().
#define COB_STATUS_39_CONFLICT_ATTRIBUTE 39 |
Definition at line 845 of file common.h.
Referenced by indexed_open().
#define COB_STATUS_41_ALREADY_OPEN 41 |
Definition at line 846 of file common.h.
Referenced by cob_delete_file(), cob_fatal_error(), and cob_open().
#define COB_STATUS_42_NOT_OPEN 42 |
Definition at line 847 of file common.h.
Referenced by cob_close(), and cob_fatal_error().
#define COB_STATUS_43_READ_NOT_DONE 43 |
Definition at line 848 of file common.h.
Referenced by cob_delete(), cob_fatal_error(), and cob_rewrite().
#define COB_STATUS_44_RECORD_OVERFLOW 44 |
Definition at line 849 of file common.h.
Referenced by cob_fatal_error(), cob_rewrite(), and cob_write().
#define COB_STATUS_46_READ_ERROR 46 |
Definition at line 850 of file common.h.
Referenced by cob_fatal_error(), cob_read(), and cob_read_next().
#define COB_STATUS_47_INPUT_DENIED 47 |
Definition at line 851 of file common.h.
Referenced by cob_fatal_error(), cob_read(), cob_read_next(), and cob_start().
#define COB_STATUS_48_OUTPUT_DENIED 48 |
Definition at line 852 of file common.h.
Referenced by cob_fatal_error(), cob_write(), and indexed_write().
#define COB_STATUS_49_I_O_DENIED 49 |
Definition at line 853 of file common.h.
Referenced by cob_delete(), cob_fatal_error(), cob_rewrite(), indexed_delete(), indexed_rewrite(), and indexed_write().
#define COB_STATUS_51_RECORD_LOCKED 51 |
Definition at line 854 of file common.h.
Referenced by cob_fatal_error(), and indexed_read_next().
#define COB_STATUS_57_I_O_LINAGE 57 |
Definition at line 855 of file common.h.
Referenced by cob_fatal_error(), cob_file_open(), and cob_linage_write_opt().
#define COB_STATUS_61_FILE_SHARING 61 |
Definition at line 856 of file common.h.
Referenced by cob_fatal_error(), cob_fd_file_open(), cob_file_open(), and indexed_open().
#define COB_STATUS_91_NOT_AVAILABLE 91 |
Definition at line 857 of file common.h.
Referenced by cob_delete_file(), cob_fatal_error(), dummy_delete(), dummy_read(), dummy_rnxt_rewrite(), dummy_start(), indexed_close(), indexed_delete(), indexed_open(), indexed_read(), indexed_read_next(), indexed_rewrite(), indexed_start(), and indexed_write().
#define COB_STORE_AWAY_FROM_ZERO (1 << 4) |
Definition at line 871 of file common.h.
Referenced by cob_decimal_do_round(), and yyparse().
#define COB_STORE_KEEP_ON_OVERFLOW (1 << 1) |
Definition at line 868 of file common.h.
Referenced by build_store_option(), cob_decimal_get_ieee128dec(), cob_decimal_get_ieee64dec(), and relative_read_next().
#define COB_STORE_MASK |
#define COB_STORE_NEAR_AWAY_FROM_ZERO (1 << 5) |
Definition at line 872 of file common.h.
Referenced by cob_decimal_do_round(), and yyparse().
#define COB_STORE_NEAR_EVEN (1 << 6) |
Definition at line 873 of file common.h.
Referenced by cob_decimal_do_round(), and yyparse().
#define COB_STORE_NEAR_TOWARD_ZERO (1 << 7) |
Definition at line 874 of file common.h.
Referenced by cob_decimal_do_round(), and yyparse().
#define COB_STORE_PROHIBITED (1 << 8) |
Definition at line 875 of file common.h.
Referenced by cob_decimal_do_round(), and yyparse().
#define COB_STORE_ROUND (1 << 0) |
Definition at line 867 of file common.h.
Referenced by cob_decimal_get_field(), and yyparse().
#define COB_STORE_TOWARD_GREATER (1 << 9) |
Definition at line 876 of file common.h.
Referenced by cob_decimal_do_round(), and yyparse().
#define COB_STORE_TOWARD_LESSER (1 << 10) |
Definition at line 877 of file common.h.
Referenced by cob_decimal_do_round(), and yyparse().
#define COB_STORE_TRUNC_ON_OVERFLOW (1 << 2) |
Definition at line 869 of file common.h.
Referenced by build_store_option(), cob_decimal_get_binary(), and cob_move().
#define COB_STORE_TRUNCATION (1 << 11) |
Definition at line 878 of file common.h.
Referenced by cob_decimal_do_round(), and yyparse().
#define COB_TYPE_ALPHANUMERIC 0x21U |
Definition at line 621 of file common.h.
Referenced by cb_tree_type(), cob_intr_highest_algebraic(), cob_intr_lowest_algebraic(), cob_move_all(), codegen(), initialize_uniform_char(), output_alphabet_name_definition(), and output_attr().
#define COB_TYPE_ALPHANUMERIC_ALL 0x22U |
Definition at line 622 of file common.h.
Referenced by cob_cmp(), cob_inspect_converting(), cob_move(), codegen(), field_display(), inspect_common(), and output_attr().
#define COB_TYPE_ALPHANUMERIC_EDITED 0x23U |
Definition at line 623 of file common.h.
Referenced by cb_tree_type(), cob_intr_highest_algebraic(), cob_intr_lowest_algebraic(), and cob_move().
#define COB_TYPE_GROUP 0x01U |
Definition at line 603 of file common.h.
Referenced by cb_tree_type(), cob_move(), and output_attr().
#define COB_TYPE_NATIONAL 0x40U |
Definition at line 625 of file common.h.
Referenced by cob_intr_highest_algebraic(), and cob_intr_lowest_algebraic().
#define COB_TYPE_NATIONAL_EDITED 0x41U |
Definition at line 626 of file common.h.
Referenced by cob_intr_highest_algebraic(), and cob_intr_lowest_algebraic().
#define COB_TYPE_NUMERIC_BINARY 0x11U |
Definition at line 608 of file common.h.
Referenced by cb_tree_type(), cob_accept_arg_number(), cob_alloc_field(), cob_alloc_set_field_int(), cob_alloc_set_field_uint(), cob_decimal_get_field(), cob_decimal_set_field(), cob_display_arg_number(), cob_get_int(), cob_get_llint(), cob_intr_highest_algebraic(), cob_intr_lowest_algebraic(), cob_is_numeric(), cob_move(), cob_set_int(), display_common(), initialize_uniform_char(), and output_bin_field().
#define COB_TYPE_NUMERIC_DISPLAY 0x10U |
Definition at line 607 of file common.h.
Referenced by cb_tree_type(), cob_accept(), cob_add_int(), cob_alloc_field(), cob_check_pos_status(), cob_cmp(), cob_decimal_get_field(), cob_decimal_move_temp(), cob_get_int(), cob_get_llint(), cob_intr_date_of_integer(), cob_intr_day_of_integer(), cob_intr_highest_algebraic(), cob_intr_lowest_algebraic(), cob_intr_module_date(), cob_intr_module_time(), cob_is_numeric(), cob_move(), cob_move_all(), cob_real_get_sign(), cob_real_put_sign(), display_numeric(), indirect_move(), initialize_uniform_char(), and output_attr().
#define COB_TYPE_NUMERIC_DOUBLE 0x14U |
Definition at line 611 of file common.h.
Referenced by cb_tree_type(), cob_cmp_float(), cob_decimal_get_field(), cob_decimal_set_field(), cob_intr_highest_algebraic(), cob_intr_lowest_algebraic(), cob_intr_random(), cob_is_numeric(), cob_move(), cob_numeric_cmp(), cob_print_ieeedec(), and display_common().
#define COB_TYPE_NUMERIC_EDITED 0x24U |
Definition at line 619 of file common.h.
Referenced by cb_tree_type(), cob_field_is_numeric_or_numeric_edited(), cob_intr_highest_algebraic(), cob_intr_lowest_algebraic(), cob_move(), format_field(), pretty_display_numeric(), satisfied_full_clause(), and valid_field_data().
#define COB_TYPE_NUMERIC_FLOAT 0x13U |
Definition at line 610 of file common.h.
Referenced by cb_tree_type(), cob_add_int(), cob_cmp_float(), cob_decimal_get_field(), cob_decimal_set_field(), cob_intr_highest_algebraic(), cob_intr_lowest_algebraic(), cob_is_numeric(), cob_move(), cob_move_fp_to_fp(), cob_numeric_cmp(), cob_print_ieeedec(), and display_common().
#define COB_TYPE_NUMERIC_FP_BIN128 0x1AU |
Definition at line 617 of file common.h.
Referenced by cb_tree_type(), cob_add_int(), and cob_move().
#define COB_TYPE_NUMERIC_FP_BIN32 0x18U |
Definition at line 615 of file common.h.
Referenced by cb_tree_type(), and cob_move().
#define COB_TYPE_NUMERIC_FP_BIN64 0x19U |
Definition at line 616 of file common.h.
Referenced by cb_tree_type(), and cob_move().
#define COB_TYPE_NUMERIC_FP_DEC128 0x17U |
Definition at line 614 of file common.h.
Referenced by cb_tree_type(), cob_decimal_get_field(), cob_decimal_set_field(), cob_is_numeric(), cob_move(), cob_print_ieeedec(), and display_common().
#define COB_TYPE_NUMERIC_FP_DEC64 0x16U |
Definition at line 613 of file common.h.
Referenced by cb_tree_type(), cob_decimal_get_field(), cob_decimal_set_field(), cob_is_numeric(), cob_move(), cob_print_ieeedec(), and display_common().
#define COB_TYPE_NUMERIC_L_DOUBLE 0x15U |
Definition at line 612 of file common.h.
Referenced by cb_tree_type(), and cob_move().
#define COB_TYPE_NUMERIC_PACKED 0x12U |
Definition at line 609 of file common.h.
Referenced by cb_tree_type(), cob_add_int(), cob_cmp_all(), cob_cmp_alnum(), cob_decimal_get_field(), cob_decimal_set_field(), cob_get_int(), cob_get_llint(), cob_intr_highest_algebraic(), cob_intr_lowest_algebraic(), cob_is_numeric(), cob_move(), cob_real_get_sign(), cob_real_put_sign(), and initialize_type().
#define cob_u16_t unsigned short |
Definition at line 29 of file common.h.
Referenced by cob_alloc_set_field_int().
#define cob_u32_t unsigned int |
Definition at line 31 of file common.h.
Referenced by cb_add_78(), cb_add_const_var(), cb_build_picture(), cb_emit_call(), cb_validate_78_item(), cob_alloc_set_field_uint(), cob_cmp_llint(), cob_decimal_alloc(), cob_decimal_pop(), cob_decimal_push(), cob_decimal_set_llint(), cob_display(), cob_exit_intrinsic(), cob_init_intrinsic(), cob_init_numeric(), cob_intr_byte_length(), cob_intr_length(), cob_intr_ord(), cob_intr_ord_max(), cob_intr_ord_min(), cob_intr_stored_char_length(), cob_mpf_exp(), cob_set_packed_int(), cobc_clean_up(), codegen(), days_up_to_year(), indexed_open(), indexed_read_next(), indexed_rewrite(), integer_of_date(), integer_of_day(), integer_of_wwwd(), output_attr(), output_bin_field(), output_call(), output_entry_function(), output_initialize_one(), output_internal_function(), and relative_read_next().
#define COB_U64_C | ( | x | ) | x ## ULL |
Definition at line 55 of file common.h.
Referenced by cob_decimal_set_ieee64dec().
#define cob_u64_t unsigned long long |
Definition at line 52 of file common.h.
Referenced by cb_get_u_long_long(), cob_binary_get_uint64(), cob_binary_mget_uint64(), cob_cmp_llint(), cob_cmp_packed(), cob_decimal_get_binary(), cob_decimal_get_ieee128dec(), cob_decimal_get_ieee64dec(), cob_decimal_set_binary(), cob_decimal_set_double(), cob_decimal_set_ieee128dec(), cob_decimal_set_ieee64dec(), cob_decimal_set_llint(), cob_move_binary_to_binary(), cob_move_binary_to_display(), cob_move_display_to_binary(), cob_print_realbin(), cob_sys_file_info(), compute_size(), GCic_(), output_call_by_value_args(), scan_b(), scan_h(), and scan_o().
Definition at line 66 of file common.h.
Referenced by CHECKSRC_(), cob_get_pointer(), cob_init_strings(), cob_memcpy(), cob_move_binary_to_display(), cob_sys_and(), cob_sys_eq(), cob_sys_hosted(), cob_sys_imp(), cob_sys_justify(), cob_sys_nimp(), cob_sys_nor(), cob_sys_not(), cob_sys_or(), cob_sys_printable(), cob_sys_tolower(), cob_sys_toupper(), cob_sys_x91(), cob_sys_xf4(), cob_sys_xf5(), cob_sys_xor(), cobxref_(), GCic_(), get__reserved__lists_(), indexed_read_next(), LISTING_(), and output_attr().
#define cob_u8_t unsigned char |
Definition at line 27 of file common.h.
Referenced by cb_build_initialize(), cb_build_program_id(), cb_encode_program_id(), cb_to_cname(), cob_intr_lower_case(), cob_intr_upper_case(), cob_real_put_sign(), cob_resolve_internal(), cob_sys_tolower(), cob_sys_toupper(), fold_lower(), fold_upper(), read_literal(), scan_x(), and user_func_upper().
#define cob_uli_t unsigned long int |
Definition at line 33 of file common.h.
Referenced by calc_mean_of_args(), calc_variance_of_args(), cob_add_int(), cob_cmp_llint(), cob_cmp_uint(), cob_decimal_do_round(), cob_decimal_get_double(), cob_decimal_get_mpf(), cob_decimal_pow(), cob_decimal_set_binary(), cob_decimal_set_display(), cob_decimal_set_double(), cob_decimal_set_ieee128dec(), cob_decimal_set_ieee64dec(), cob_decimal_set_llint(), cob_decimal_set_mpf(), cob_decimal_set_packed(), cob_init_numeric(), cob_intr_factorial(), cob_intr_fraction_part(), cob_intr_highest_algebraic(), cob_intr_integer(), cob_intr_integer_part(), cob_intr_lowest_algebraic(), cob_intr_mean(), cob_intr_numval_f(), cob_intr_present_value(), cob_mod_or_rem(), cob_mpf_atan(), cob_mpf_exp(), cob_mpf_log(), cob_mpf_sin(), and shift_decimal().
Definition at line 535 of file common.h.
Referenced by cob_command_line(), cob_fd_file_open(), cob_intr_boolean_of_integer(), cob_intr_char_national(), cob_intr_display_of(), cob_intr_integer_of_boolean(), cob_intr_national_of(), cob_intr_standard_compare(), cob_module_leave(), cob_move_to_beg_of_last_line(), cob_new_item(), cob_savenv2(), cob_sys_change_dir(), cob_sys_chdir(), cob_sys_check_file_exist(), cob_sys_copy_file(), cob_sys_copyfile(), cob_sys_create_dir(), cob_sys_delete_dir(), cob_sys_delete_file(), cob_sys_file_delete(), cob_sys_file_info(), cob_sys_flush_file(), cob_sys_getopt_long_long(), cob_sys_oc_nanosleep(), cob_sys_open_file(), cob_sys_parameter_size(), cob_sys_rename_file(), cob_sys_return_args(), cob_sys_sleep(), cob_sys_write_file(), dummy_delete(), dummy_read(), dummy_rnxt_rewrite(), dummy_start(), indexed_close(), indexed_file_delete(), indexed_open(), indexed_rewrite(), indexed_write(), lineseq_read(), open_cbl_file(), raise_ec_on_truncation(), relative_read(), relative_rewrite(), relative_write(), scan_options(), sequential_read(), and sequential_rewrite().
#define COB_WRITE_AFTER 0x00100000 |
Definition at line 805 of file common.h.
Referenced by cb_build_write_advancing_lines(), cb_build_write_advancing_mnemonic(), cb_build_write_advancing_page(), cb_emit_write(), lineseq_write(), and sequential_write().
#define COB_WRITE_BEFORE 0x00200000 |
Definition at line 806 of file common.h.
Referenced by cb_build_write_advancing_lines(), cb_build_write_advancing_mnemonic(), cb_build_write_advancing_page(), cb_emit_write(), cob_file_sort_giving(), lineseq_write(), and sequential_write().
#define COB_WRITE_CHANNEL 0x00040000 |
Definition at line 804 of file common.h.
Referenced by cb_build_write_advancing_mnemonic().
#define COB_WRITE_LINES 0x00010000 |
Definition at line 802 of file common.h.
Referenced by cb_build_write_advancing_lines(), cb_emit_write(), cob_file_sort_giving(), cob_file_write_opt(), cob_linage_write_opt(), and cob_seq_write_opt().
#define COB_WRITE_LOCK 0x00800000 |
Definition at line 808 of file common.h.
Referenced by cb_emit_rewrite(), and cb_emit_write().
#define COB_WRITE_MASK 0x0000FFFF |
Definition at line 800 of file common.h.
Referenced by cob_file_write_opt(), cob_linage_write_opt(), and cob_seq_write_opt().
#define COB_WRITE_PAGE 0x00020000 |
Definition at line 803 of file common.h.
Referenced by cb_build_write_advancing_mnemonic(), cb_build_write_advancing_page(), cob_file_write_opt(), cob_linage_write_opt(), cob_seq_write_opt(), and lineseq_write().
#define cobcancel | ( | x | ) | cob_cancel (x) |
#define cobcommandline | ( | v, | |
w, | |||
x, | |||
y, | |||
z | |||
) | cob_command_line (v,w,x,y,z) |
#define cobexit | ( | x | ) | cob_stop_run (x) |
#define cobgetenv | ( | x | ) | cob_getenv (x) |
#define cobinit | ( | ) | cob_extern_init () |
#define coblongjmp | ( | x | ) | cob_longjmp (x) |
#define cobputenv | ( | x | ) | cob_putenv (x) |
#define cobsavenv | ( | x | ) | cob_savenv (x) |
#define cobsavenv2 | ( | x, | |
z | |||
) | cob_savenv2 (x, z) |
#define cobsetjmp | ( | x | ) | setjmp (cob_savenv (x)) |
#define likely | ( | x | ) | (x) |
Definition at line 436 of file common.h.
Referenced by cb_encode_program_id(), cb_ref(), cob_chk_file_mapping(), cob_file_release(), cob_file_return(), cob_file_sort_close(), cob_file_sort_process(), cob_move_all(), cob_resolve_internal(), initialize_user_res_list_if_needed(), lineseq_read(), lookup_word(), output(), ppinput(), process(), save_status(), scan_x(), yylex(), and yyparse().
#define MAX_FD_RECORD 65535 |
Definition at line 556 of file common.h.
Referenced by finalize_file(), and yyparse().
#define PATHSEP_CHAR (char) ':' |
Definition at line 500 of file common.h.
Referenced by cob_init_call(), and cob_set_library_path().
#define PATHSEP_STR (char *) ":" |
Definition at line 501 of file common.h.
Referenced by cache_preload(), cob_init_call(), cob_set_library_path(), and process_env_copy_path().
#define SLASH_CHAR (char) '/' |
Definition at line 505 of file common.h.
Referenced by cb_load_conf(), cb_load_conf_file(), cob_chk_file_mapping(), cob_init_call(), cob_load_config_file(), cob_resolve_internal(), cob_temp_name(), process_filename(), and process_run().
#define SLASH_STR (char *) "/" |
Definition at line 506 of file common.h.
Referenced by cob_chk_file_mapping(), cob_load_config(), cob_load_config_file(), and cobc_check_action().
#define unlikely | ( | x | ) | (x) |
Definition at line 437 of file common.h.
Referenced by cb_build_identifier(), cb_build_intrinsic(), cb_encode_program_id(), cb_get_int(), cb_get_long_long(), cb_get_u_long_long(), cb_load_conf(), check_lit_length(), CHECKSRC_(), cob_accept(), cob_add_int(), cob_alloc_field(), cob_alloc_set_field_str(), cob_call(), cob_call_field(), cob_cancel(), cob_cancel_field(), cob_check_numdisp(), cob_chk_file_env(), cob_chk_file_mapping(), cob_close(), cob_cmp_numdisp(), cob_copy_check(), cob_correct_numeric(), cob_decimal_div(), cob_decimal_get_binary(), cob_decimal_get_display(), cob_decimal_get_double(), cob_decimal_get_field(), cob_decimal_get_packed(), cob_decimal_pow(), cob_decimal_print(), cob_decimal_set_display(), cob_decimal_set_packed(), cob_delete(), cob_delete_file(), cob_display(), cob_display_environment(), cob_fast_malloc(), cob_field_to_string(), cob_file_open(), cob_file_sort_compare(), cob_file_sort_process(), cob_file_sort_retrieve(), cob_file_sort_submit(), cob_file_write_opt(), cob_free(), cob_get_environment(), cob_get_global_ptr(), cob_init(), cob_inspect_converting(), cob_inspect_finish(), cob_inspect_init(), cob_intr_concatenate(), cob_intr_current_date(), cob_intr_formatted_current_date(), cob_intr_formatted_date(), cob_intr_formatted_datetime(), cob_intr_formatted_time(), cob_intr_lower_case(), cob_intr_reverse(), cob_intr_trim(), cob_intr_upper_case(), cob_intr_when_compiled(), cob_linage_write_opt(), cob_longjmp(), cob_malloc(), cob_module_enter(), cob_move(), cob_move_display_to_alphanum(), cob_new_item(), cob_open(), cob_read(), cob_read_item(), cob_read_next(), cob_real_get_sign(), cob_real_put_sign(), cob_realloc(), cob_resolve_cobol(), cob_resolve_func(), cob_resolve_internal(), cob_rewrite(), cob_save_func(), cob_savenv(), cob_start(), cob_sys_system(), cob_write(), cob_write_block(), cobc_check_string(), cobc_clean_up(), cobc_free(), cobc_main_free(), cobc_main_malloc(), cobc_main_realloc(), cobc_main_strdup(), cobc_malloc(), cobc_parse_free(), cobc_parse_malloc(), cobc_parse_realloc(), cobc_parse_strdup(), cobc_plex_malloc(), cobc_plex_strdup(), cobc_realloc(), cobc_stradd_dup(), cobc_strdup(), cobxref_(), common_cmpc(), common_cmps(), field_accept(), field_display(), GCic_(), get__reserved__lists_(), indexed_read(), indexed_read_next(), indexed_write(), inspect_common(), integer_of_ddd(), integer_of_formatted_date(), integer_of_mmdd(), integer_of_wwwd(), isclose(), isdi_curidx(), isdi_datfd(), isdi_datlen(), isdi_idxfd(), isdi_kdsc(), isdi_name(), isfullclose(), isindexinfo(), issetcollate(), istartrownumber(), isunlock(), ivbdatalock(), ivbdataread(), ivbdatawrite(), ivbenter(), ivbfileopenlock(), lineseq_read(), lineseq_write(), LISTING_(), lookup_reserved_word(), output(), output_base(), output_data(), output_entry_function(), output_stmt(), ppinput(), preprocess(), process(), process_translate(), pvvbmalloc(), read_literal(), relative_read(), relative_read_next(), relative_write(), save_status(), scan_b(), scan_h(), scan_numeric(), scan_o(), scan_x(), scan_z(), seconds_from_formatted_time(), sequential_read(), sequential_write(), sort_cmps(), store_common_region(), substitute(), tvblseek(), tvbread(), tvbwrite(), and yylex().
typedef struct __cob_global cob_global |
typedef struct __cob_module cob_module |
typedef struct __cob_screen cob_screen |
typedef struct longoption_def longoption_def |
enum cob_exception_id |
Definition at line 710 of file common.h.
void cob_accept | ( | cob_field * | ) |
Definition at line 283 of file termio.c.
References cob_field::attr, COB_EC_IMP_ACCEPT, cob_field_accept(), COB_FIELD_IS_NUMERIC, COB_FIELD_TYPE, COB_MEDIUM_MAX, COB_MODULE_PTR, cob_move(), __cob_global::cob_screen_initialized, COB_SCREEN_PROMPT, cob_set_exception(), cob_set_int(), COB_TERM_BUFF, COB_TYPE_NUMERIC_DISPLAY, const_alpha_attr, cob_field::data, NULL, cob_field::size, and unlikely.
void cob_accept_arg_number | ( | cob_field * | ) |
Definition at line 2930 of file common.c.
References cob_field::attr, cob_argc, COB_ATTR_INIT, cob_move(), COB_TYPE_NUMERIC_BINARY, cob_field::data, NULL, and cob_field::size.
Referenced by cobxref_().
void cob_accept_arg_value | ( | cob_field * | ) |
Definition at line 2945 of file common.c.
References cob_argc, cob_argv, COB_EC_IMP_ACCEPT, cob_memcpy(), cob_set_exception(), and current_arg.
Referenced by cobxref_().
void cob_accept_command_line | ( | cob_field * | ) |
Definition at line 2866 of file common.c.
References cob_argc, cob_argv, cob_free(), cob_malloc(), cob_memcpy(), commlncnt, commlnptr, and cob_field::size.
Referenced by GCic_().
void cob_accept_date | ( | cob_field * | ) |
Definition at line 2781 of file common.c.
References cob_memcpy(), and NULL.
Referenced by cobxref_().
void cob_accept_date_yyyymmdd | ( | cob_field * | ) |
Definition at line 2792 of file common.c.
References cob_memcpy(), and NULL.
Referenced by LISTING_().
void cob_accept_day | ( | cob_field * | ) |
Definition at line 2803 of file common.c.
References cob_memcpy(), and NULL.
void cob_accept_day_of_week | ( | cob_field * | ) |
Definition at line 2825 of file common.c.
References cob_memcpy(), and NULL.
void cob_accept_day_yyyyddd | ( | cob_field * | ) |
Definition at line 2814 of file common.c.
References cob_memcpy(), and NULL.
void cob_accept_environment | ( | cob_field * | ) |
Definition at line 3055 of file common.c.
References COB_EC_IMP_ACCEPT, cob_local_env, cob_memcpy(), cob_set_exception(), and NULL.
void cob_accept_escape_key | ( | cob_field * | ) |
Definition at line 2524 of file screenio.c.
References COB_ACCEPT_STATUS, and cob_set_int().
void cob_accept_exception_status | ( | cob_field * | ) |
Definition at line 1233 of file common.c.
References __cob_global::cob_exception_code, and cob_set_int().
void cob_accept_time | ( | cob_field * | ) |
Definition at line 2842 of file common.c.
References cob_get_current_date_and_time(), cob_memcpy(), cob_time::hour, cob_time::minute, cob_time::nanosecond, and cob_time::second.
Referenced by cobxref_().
void cob_accept_user_name | ( | cob_field * | ) |
Definition at line 1239 of file common.c.
References cob_memcpy(), and __cob_settings::cob_user_name.
Definition at line 1931 of file numeric.c.
References cob_decimal_add(), cob_decimal_get_field(), and cob_decimal_set_field().
Referenced by get__reserved__lists_().
int cob_add_int | ( | cob_field * | , |
const int | , | ||
const int | |||
) |
Definition at line 2195 of file numeric.c.
References cob_decimal_get_field(), cob_decimal_set_field(), COB_FIELD_SCALE, COB_FIELD_TYPE, cob_mexp, cob_sli_t, COB_TYPE_NUMERIC_DISPLAY, COB_TYPE_NUMERIC_FLOAT, COB_TYPE_NUMERIC_FP_BIN128, COB_TYPE_NUMERIC_PACKED, cob_uli_t, cob_decimal::scale, unlikely, and cob_decimal::value.
Referenced by cob_inspect_characters(), cob_linage_write_opt(), cob_sub_int(), cob_unstring_tallying(), cobxref_(), GCic_(), inspect_common(), LISTING_(), and relative_read_next().
Definition at line 3089 of file common.c.
References cob_field::attr, cob_alloc_base, COB_EC_STORAGE_NOT_AVAIL, __cob_global::cob_exception_code, cob_free(), cob_get_int(), cob_malloc(), cob_move(), cob_alloc_cache::cob_pointer, cob_set_exception(), const_alpha_attr, cob_field::data, cob_alloc_cache::next, NULL, cob_alloc_cache::size, and cob_field::size.
void cob_cache_free | ( | void * | ) |
Definition at line 1362 of file common.c.
References cob_alloc_base, cob_free(), cob_alloc_cache::cob_pointer, and cob_alloc_cache::next.
Referenced by CHECKSRC_(), get__reserved__lists_(), and LISTING_().
void* cob_cache_malloc | ( | const size_t | ) |
Definition at line 1321 of file common.c.
References cob_alloc_base, cob_malloc(), cob_alloc_cache::cob_pointer, cob_alloc_cache::next, and cob_alloc_cache::size.
Referenced by cob_cache_realloc(), cob_module_enter(), cobxref_(), GCic_(), get__reserved__lists_(), and LISTING_().
void* cob_cache_realloc | ( | void * | , |
const size_t | |||
) |
Definition at line 1336 of file common.c.
References cob_alloc_base, cob_cache_malloc(), cob_free(), cob_malloc(), cob_alloc_cache::cob_pointer, cob_alloc_cache::next, and cob_alloc_cache::size.
int cob_call | ( | const char * | , |
const int | , | ||
void ** | |||
) |
Definition at line 1080 of file call.c.
References _, __cob_global::cob_call_params, cob_fatal_error(), COB_FERROR_INITIALIZED, cob_free(), cob_malloc(), COB_MAX_FIELD_PARAMS, cob_resolve_cobol(), cob_runtime_error(), cob_stop_run(), cob_call_union::funcint, cob_call_union::funcvoid, and unlikely.
Referenced by cob_func().
void cob_call_error | ( | void | ) |
Definition at line 878 of file call.c.
References cob_resolve_error(), cob_runtime_error(), and cob_stop_run().
Referenced by cob_call_field(), cob_resolve_cobol(), and main().
void* cob_call_field | ( | const cob_field * | , |
const struct cob_call_struct * | , | ||
const unsigned | int, | ||
const int | |||
) |
Definition at line 957 of file call.c.
References cob_call_error(), cob_chk_call_path(), cob_call_struct::cob_cstr_call, cob_call_struct::cob_cstr_name, COB_EC_PROGRAM_NOT_FOUND, cob_fatal_error(), COB_FERROR_INITIALIZED, cob_field_to_string(), cob_free(), cob_get_buff(), cob_resolve_internal(), cob_set_exception(), cob_call_union::funcvoid, NULL, cob_field::size, system_table::syst_call, system_table::syst_name, and unlikely.
void cob_cancel | ( | const char * | ) |
Definition at line 1013 of file call.c.
References _, call_table, cob_chk_dirp(), cob_fatal_error(), COB_FERROR_INITIALIZED, cob_runtime_error(), cob_stop_run(), do_cancel_module(), hash(), call_hash::name, call_hash::next, NULL, and unlikely.
Referenced by cob_cancel_field(), and cob_func().
void cob_cancel_field | ( | const cob_field * | , |
const struct cob_call_struct * | |||
) |
Definition at line 1047 of file call.c.
References cob_cancel(), cob_chk_dirp(), cob_call_struct::cob_cstr_cancel, cob_call_struct::cob_cstr_name, cob_fatal_error(), COB_FERROR_INITIALIZED, cob_field_to_string(), cob_get_buff(), cob_call_union::funcint, cob_call_union::funcvoid, call_hash::name, NULL, cob_field::size, and unlikely.
void cob_chain_setup | ( | void * | , |
const size_t | , | ||
const size_t | |||
) |
Definition at line 3070 of file common.c.
References cob_argc, cob_argv, and __cob_global::cob_call_params.
void cob_check_based | ( | const unsigned char * | , |
const char * | |||
) |
Definition at line 2525 of file common.c.
References _, cob_runtime_error(), and cob_stop_run().
void cob_check_linkage | ( | const unsigned char * | , |
const char * | , | ||
const int | |||
) |
Definition at line 2535 of file common.c.
References _, cob_runtime_error(), and cob_stop_run().
void cob_check_numeric | ( | const cob_field * | , |
const char * | |||
) |
Definition at line 2552 of file common.c.
References _, cob_fast_malloc(), cob_free(), cob_is_numeric(), cob_runtime_error(), COB_SMALL_BUFF, cob_stop_run(), cob_field::data, and cob_field::size.
Definition at line 3132 of file intrinsic.c.
References COB_MAX_DIGITS, COB_MODULE_PTR, cob_field::data, NULL, and cob_field::size.
Referenced by cob_intr_test_numval(), cob_intr_test_numval_c(), numval(), and valid_field_data().
void cob_check_odo | ( | const int | , |
const int | , | ||
const int | , | ||
const char * | |||
) |
Definition at line 2578 of file common.c.
References _, COB_EC_BOUND_ODO, cob_runtime_error(), cob_set_exception(), and cob_stop_run().
void cob_check_ref_mod | ( | const int | , |
const int | , | ||
const int | , | ||
const char * | |||
) |
Definition at line 2602 of file common.c.
References _, COB_EC_BOUND_REF_MOD, cob_runtime_error(), cob_set_exception(), and cob_stop_run().
void cob_check_subscript | ( | const int | , |
const int | , | ||
const int | , | ||
const char * | |||
) |
Definition at line 2590 of file common.c.
References _, COB_EC_BOUND_SUBSCRIPT, cob_runtime_error(), cob_set_exception(), and cob_stop_run().
void cob_check_version | ( | const char * | , |
const char * | , | ||
const int | |||
) |
Definition at line 1894 of file common.c.
References _, cob_runtime_error(), cob_stop_run(), PACKAGE_VERSION, and PATCH_LEVEL.
Referenced by CHECKSRC_(), cobxref_(), GCic_(), get__reserved__lists_(), and LISTING_().
Definition at line 4498 of file fileio.c.
References cob_fileio_funcs::close, COB_CLOSE_LOCK, COB_FILE_SPECIAL, cob_free(), COB_LOCK_OPEN_EXCLUSIVE, COB_OPEN_CLOSED, COB_OPEN_LOCKED, COB_STATUS_00_SUCCESS, COB_STATUS_42_NOT_OPEN, cob_file::fd, file_list::file, cob_file::file, file_cache, cob_file::flag_nonexistent, cob_file::flag_operation, cob_file::flag_read_done, cob_file::lock_mode, file_list::next, NULL, cob_file::open_mode, cob_file::organization, save_status(), and unlikely.
Referenced by cob_exit_fileio(), cob_file_sort_giving(), cob_file_sort_using(), cobxref_(), GCic_(), get__reserved__lists_(), and LISTING_().
Definition at line 2318 of file common.c.
References cob_field::attr, cob_cmp_all(), cob_cmp_alnum(), cob_cmp_int(), COB_FIELD_DIGITS, COB_FIELD_IS_NUMERIC, COB_FIELD_TYPE, COB_FLAG_HAVE_SIGN, cob_move(), cob_numeric_cmp(), COB_TYPE_ALPHANUMERIC_ALL, COB_TYPE_NUMERIC_DISPLAY, cob_field::data, cob_field_attr::flags, cob_field::size, and cob_field_attr::type.
Referenced by cob_intr_max(), cob_intr_min(), cob_intr_ord_max(), cob_intr_ord_min(), cobxref_(), comp_field(), GCic_(), get__reserved__lists_(), get_min_and_max_of_args(), and LISTING_().
Definition at line 2315 of file numeric.c.
References cob_decimal_get_double(), cob_decimal_set_field(), COB_FIELD_TYPE, COB_TYPE_NUMERIC_DOUBLE, COB_TYPE_NUMERIC_FLOAT, d1, d2, cob_field::data, FLOAT_EQ, and TOLERANCE.
Referenced by cob_numeric_cmp().
int cob_cmp_int | ( | cob_field * | , |
const int | |||
) |
Definition at line 2257 of file numeric.c.
References cob_decimal_cmp(), cob_decimal_set_field(), cob_sli_t, cob_decimal::scale, and cob_decimal::value.
Referenced by cob_cmp().
int cob_cmp_llint | ( | cob_field * | , |
const long | long | ||
) |
int cob_cmp_numdisp | ( | const unsigned char * | , |
const size_t | , | ||
const long | long, | ||
const unsigned | int | ||
) |
Referenced by cobxref_(), GCic_(), get__reserved__lists_(), and LISTING_().
int cob_cmp_packed | ( | cob_field * | , |
const long | long | ||
) |
int cob_cmp_uint | ( | cob_field * | , |
const unsigned | int | ||
) |
Definition at line 2266 of file numeric.c.
References cob_decimal_cmp(), cob_decimal_set_field(), cob_uli_t, cob_decimal::scale, and cob_decimal::value.
void* cob_command_line | ( | int | , |
int * | , | ||
char *** | , | ||
char *** | , | ||
char ** | |||
) |
Definition at line 3279 of file common.c.
References _, cob_argc, cob_argv, cob_initialized, cob_runtime_error(), cob_stop_run(), COB_UNUSED, and NULL.
void cob_commit | ( | void | ) |
Definition at line 4851 of file fileio.c.
References cob_file_unlock(), file_list::file, and file_list::next.
void cob_correct_numeric | ( | cob_field * | ) |
Definition at line 1917 of file common.c.
References COB_FIELD_HAVE_SIGN, COB_FIELD_IS_NUMDISP, COB_FIELD_SIGN_LEADING, COB_FIELD_SIGN_SEPARATE, COB_MODULE_PTR, cob_field::data, cob_func_loc::data, cob_field::size, and unlikely.
void cob_decimal_add | ( | cob_decimal * | , |
cob_decimal * | |||
) |
Definition at line 1875 of file numeric.c.
References align_decimal(), DECIMAL_CHECK, and cob_decimal::value.
Referenced by calc_mean_of_args(), calc_variance_of_args(), cob_add(), cob_intr_annuity(), cob_intr_binop(), cob_intr_combined_datetime(), cob_intr_mean(), cob_intr_median(), cob_intr_midrange(), cob_intr_present_value(), cob_intr_sum(), cobxref_(), and seconds_from_formatted_time().
void cob_decimal_alloc | ( | const unsigned | int, |
... | |||
) |
int cob_decimal_cmp | ( | cob_decimal * | , |
cob_decimal * | |||
) |
Definition at line 1922 of file numeric.c.
References align_decimal(), and cob_decimal::value.
Referenced by cob_cmp_int(), cob_cmp_llint(), cob_cmp_uint(), cob_intr_acos(), cob_intr_asin(), cob_numeric_cmp(), and valid_decimal_time().
void cob_decimal_div | ( | cob_decimal * | , |
cob_decimal * | |||
) |
Definition at line 1899 of file numeric.c.
References COB_DECIMAL_NAN, COB_EC_SIZE_ZERO_DIVIDE, COB_MAX_DIGITS, cob_set_exception(), DECIMAL_CHECK, cob_decimal::scale, shift_decimal(), unlikely, and cob_decimal::value.
Referenced by calc_mean_of_args(), calc_variance_of_args(), cob_decimal_pow(), cob_div(), cob_div_quotient(), cob_intr_annuity(), cob_intr_binop(), cob_intr_combined_datetime(), cob_intr_mean(), cob_intr_median(), cob_intr_midrange(), cob_intr_present_value(), and cob_mod_or_rem().
int cob_decimal_get_field | ( | cob_decimal * | , |
cob_field * | , | ||
const int | |||
) |
Definition at line 1801 of file numeric.c.
References cob_field::attr, COB_ATTR_INIT, cob_d1, cob_decimal_do_round(), cob_decimal_get_binary(), cob_decimal_get_display(), cob_decimal_get_double(), cob_decimal_get_ieee128dec(), cob_decimal_get_ieee64dec(), cob_decimal_get_packed(), COB_DECIMAL_NAN, COB_EC_SIZE_OVERFLOW, __cob_global::cob_exception_code, COB_FIELD_DIGITS, COB_FIELD_IS_FP, COB_FIELD_SCALE, COB_FIELD_TYPE, COB_FLAG_HAVE_SIGN, cob_free(), cob_malloc(), cob_move(), cob_set_exception(), COB_STORE_ROUND, COB_TYPE_NUMERIC_BINARY, COB_TYPE_NUMERIC_DISPLAY, COB_TYPE_NUMERIC_DOUBLE, COB_TYPE_NUMERIC_FLOAT, COB_TYPE_NUMERIC_FP_DEC128, COB_TYPE_NUMERIC_FP_DEC64, COB_TYPE_NUMERIC_PACKED, cob_field::data, NULL, cob_decimal::scale, shift_decimal(), cob_field::size, unlikely, and cob_decimal::value.
Referenced by cob_add(), cob_add_int(), cob_decimal_move_temp(), cob_decimal_setget_fld(), cob_div(), cob_div_quotient(), cob_div_remainder(), cob_intr_abs(), cob_intr_acos(), cob_intr_annuity(), cob_intr_asin(), cob_intr_atan(), cob_intr_binop(), cob_intr_combined_datetime(), cob_intr_cos(), cob_intr_e(), cob_intr_exp(), cob_intr_exp10(), cob_intr_factorial(), cob_intr_fraction_part(), cob_intr_highest_algebraic(), cob_intr_integer(), cob_intr_integer_part(), cob_intr_log(), cob_intr_log10(), cob_intr_lowest_algebraic(), cob_intr_mean(), cob_intr_median(), cob_intr_midrange(), cob_intr_numval_f(), cob_intr_pi(), cob_intr_present_value(), cob_intr_range(), cob_intr_seconds_from_formatted_time(), cob_intr_sin(), cob_intr_sqrt(), cob_intr_standard_deviation(), cob_intr_sum(), cob_intr_tan(), cob_intr_variance(), cob_mod_or_rem(), cob_mul(), cob_sub(), cobxref_(), LISTING_(), and numval().
void cob_decimal_init | ( | cob_decimal * | ) |
Definition at line 321 of file numeric.c.
References COB_MPZ_DEF, cob_decimal::scale, and cob_decimal::value.
Referenced by cob_decimal_push(), and cob_init_numeric().
void cob_decimal_mul | ( | cob_decimal * | , |
cob_decimal * | |||
) |
Definition at line 1891 of file numeric.c.
References DECIMAL_CHECK, cob_decimal::scale, and cob_decimal::value.
Referenced by calc_variance_of_args(), cob_div_quotient(), cob_intr_binop(), cob_mod_or_rem(), cob_mul(), and cobxref_().
void cob_decimal_pop | ( | const unsigned | int, |
... | |||
) |
void cob_decimal_pow | ( | cob_decimal * | , |
cob_decimal * | |||
) |
Definition at line 2990 of file intrinsic.c.
References cob_decimal_div(), cob_decimal_get_mpf(), COB_DECIMAL_NAN, cob_decimal_set(), cob_decimal_set_mpf(), COB_EC_SIZE_EXPONENTIATION, cob_mpf_exp(), cob_mpf_log(), cob_mpft, cob_mpft2, cob_set_exception(), cob_trim_decimal(), cob_uli_t, cob_decimal::scale, sign, unlikely, and cob_decimal::value.
Referenced by cob_intr_annuity(), cob_intr_binop(), cob_intr_exp10(), cob_intr_sqrt(), and cob_intr_standard_deviation().
void cob_decimal_push | ( | const unsigned | int, |
... | |||
) |
void cob_decimal_set_field | ( | cob_decimal * | , |
cob_field * | |||
) |
Definition at line 1612 of file numeric.c.
References cob_decimal_set_binary(), cob_decimal_set_display(), cob_decimal_set_double(), cob_decimal_set_ieee128dec(), cob_decimal_set_ieee64dec(), cob_decimal_set_packed(), COB_FIELD_TYPE, COB_TYPE_NUMERIC_BINARY, COB_TYPE_NUMERIC_DOUBLE, COB_TYPE_NUMERIC_FLOAT, COB_TYPE_NUMERIC_FP_DEC128, COB_TYPE_NUMERIC_FP_DEC64, COB_TYPE_NUMERIC_PACKED, and cob_field::data.
Referenced by calc_mean_of_args(), calc_variance_of_args(), cob_add(), cob_add_int(), cob_cmp_float(), cob_cmp_int(), cob_cmp_llint(), cob_cmp_uint(), cob_decimal_move_temp(), cob_decimal_setget_fld(), cob_div(), cob_div_quotient(), cob_intr_abs(), cob_intr_acos(), cob_intr_annuity(), cob_intr_asin(), cob_intr_atan(), cob_intr_binop(), cob_intr_combined_datetime(), cob_intr_cos(), cob_intr_exp(), cob_intr_exp10(), cob_intr_fraction_part(), cob_intr_integer(), cob_intr_integer_part(), cob_intr_log(), cob_intr_log10(), cob_intr_mean(), cob_intr_median(), cob_intr_midrange(), cob_intr_present_value(), cob_intr_range(), cob_intr_sign(), cob_intr_sin(), cob_intr_sqrt(), cob_intr_sum(), cob_intr_tan(), cob_mod_or_rem(), cob_mul(), cob_numeric_cmp(), cob_sub(), cobxref_(), get_fractional_seconds(), and LISTING_().
void cob_decimal_set_llint | ( | cob_decimal * | , |
const long | long | ||
) |
void cob_decimal_sub | ( | cob_decimal * | , |
cob_decimal * | |||
) |
Definition at line 1883 of file numeric.c.
References align_decimal(), DECIMAL_CHECK, and cob_decimal::value.
Referenced by calc_variance_of_args(), cob_div_quotient(), cob_intr_annuity(), cob_intr_binop(), cob_intr_range(), cob_mod_or_rem(), cob_sub(), cobxref_(), get_fractional_seconds(), and LISTING_().
Definition at line 4829 of file fileio.c.
References cob_file::access_mode, COB_ACCESS_SEQUENTIAL, COB_OPEN_I_O, COB_STATUS_43_READ_NOT_DONE, COB_STATUS_49_I_O_DENIED, cob_fileio_funcs::fdelete, cob_file::flag_read_done, cob_file::open_mode, cob_file::organization, save_status(), and unlikely.
Definition at line 4875 of file fileio.c.
References cob_file::assign, cob_chk_file_mapping(), cob_field_to_string(), COB_FILE_MAX, COB_FILE_STDIN, COB_FILE_STDOUT, COB_OPEN_CLOSED, COB_OPEN_LOCKED, COB_ORG_INDEXED, COB_ORG_SORT, COB_STATUS_00_SUCCESS, COB_STATUS_30_PERMANENT_ERROR, COB_STATUS_38_CLOSED_WITH_LOCK, COB_STATUS_41_ALREADY_OPEN, COB_STATUS_91_NOT_AVAILABLE, file_open_name, indexed_file_delete(), cob_file::open_mode, cob_file::organization, save_status(), and unlikely.
void cob_display | ( | const int | , |
const int | , | ||
const int | , | ||
... | |||
) |
Definition at line 238 of file termio.c.
References COB_DISP_TO_STDERR, cob_field_display(), COB_SCREEN_EMULATE_NL, __cob_global::cob_screen_initialized, cob_u32_t, display_common(), NULL, and unlikely.
Referenced by cobxref_(), GCic_(), and get__reserved__lists_().
void cob_display_arg_number | ( | cob_field * | ) |
Definition at line 2911 of file common.c.
References cob_field::attr, cob_argc, COB_ATTR_INIT, COB_EC_IMP_DISPLAY, cob_move(), cob_set_exception(), COB_TYPE_NUMERIC_BINARY, current_arg, cob_field::data, NULL, and cob_field::size.
void cob_display_command_line | ( | cob_field * | ) |
Definition at line 2855 of file common.c.
References cob_free(), cob_malloc(), commlncnt, commlnptr, cob_field::data, and cob_field::size.
void cob_display_env_value | ( | const cob_field * | ) |
Definition at line 2981 of file common.c.
References COB_EC_IMP_DISPLAY, cob_fast_malloc(), cob_field_to_string(), cob_free(), cob_local_env, cob_malloc(), cob_rescan_env_vals(), cob_set_exception(), and cob_field::size.
Referenced by cob_set_environment().
void cob_display_environment | ( | const cob_field * | ) |
Definition at line 2959 of file common.c.
References __cob_settings::cob_env_mangle, cob_field_to_string(), cob_free(), cob_local_env, cob_local_env_size, cob_malloc(), cob_field::size, and unlikely.
Referenced by cob_set_environment().
Definition at line 1958 of file numeric.c.
References cob_decimal_div(), cob_decimal_get_field(), and cob_decimal_set_field().
Definition at line 1967 of file numeric.c.
References cob_decimal_div(), cob_decimal_get_field(), cob_decimal_mul(), COB_DECIMAL_NAN, cob_decimal_set(), cob_decimal_set_field(), cob_decimal_sub(), COB_FIELD_SCALE, cob_decimal::scale, and shift_decimal().
void cob_div_remainder | ( | cob_field * | , |
const int | |||
) |
Definition at line 2001 of file numeric.c.
References cob_decimal_get_field().
char* cob_expand_env_string | ( | char * | ) |
Definition at line 4406 of file common.c.
References COB_CONFIG_DIR, COB_COPY_DIR, cob_free(), cob_malloc(), cob_realloc(), cob_strdup(), and NULL.
Referenced by cb_config_entry(), and set_config_val().
int cob_extern_init | ( | void | ) |
Definition at line 3272 of file common.c.
References cob_init(), and NULL.
void* cob_external_addr | ( | const char * | , |
const int | |||
) |
Definition at line 2621 of file common.c.
References _, basext, __cob_global::cob_initial_external, cob_malloc(), cob_runtime_error(), cob_stop_run(), cob_external::ename, cob_external::esize, cob_external::ext_alloc, and cob_external::next.
void* cob_fast_malloc | ( | const size_t | ) |
Definition at line 1296 of file common.c.
References cob_fatal_error(), COB_FERROR_MEMORY, and unlikely.
Referenced by cob_check_numeric(), cob_decimal_set_display(), cob_display_env_value(), cob_file_sort_init(), cob_get_buff(), cob_getopt_long_long(), cob_gettmpdir(), cob_init(), cob_init_call(), cob_init_fileio(), cob_inspect_init(), cob_int_to_formatted_bytestring(), cob_new_item(), cob_save_env_value(), cob_strcat(), and cobcrun_setenv().
void cob_fatal_error | ( | const int | ) |
Definition at line 1601 of file common.c.
References _, cob_file::assign, COB_D2I, __cob_global::cob_error_file, COB_FERROR_CANCEL, COB_FERROR_CHAINING, COB_FERROR_CODEGEN, COB_FERROR_FILE, COB_FERROR_FREE, COB_FERROR_FUNCTION, COB_FERROR_GLOBAL, COB_FERROR_INITIALIZED, COB_FERROR_MEMORY, COB_FERROR_MODULE, COB_FERROR_NONE, COB_FERROR_RECURSIVE, COB_FERROR_STACK, cob_field_to_string(), COB_FILE_BUFF, COB_FILE_MAX, cob_free(), cob_malloc(), COB_MODULE_PTR, cob_runtime_error(), COB_STATUS_10_END_OF_FILE, COB_STATUS_14_OUT_OF_KEY_RANGE, COB_STATUS_21_KEY_INVALID, COB_STATUS_22_KEY_EXISTS, COB_STATUS_23_KEY_NOT_EXISTS, COB_STATUS_30_PERMANENT_ERROR, COB_STATUS_35_NOT_EXISTS, COB_STATUS_37_PERMISSION_DENIED, COB_STATUS_41_ALREADY_OPEN, COB_STATUS_42_NOT_OPEN, COB_STATUS_43_READ_NOT_DONE, COB_STATUS_44_RECORD_OVERFLOW, COB_STATUS_46_READ_ERROR, COB_STATUS_47_INPUT_DENIED, COB_STATUS_48_OUTPUT_DENIED, COB_STATUS_49_I_O_DENIED, COB_STATUS_51_RECORD_LOCKED, COB_STATUS_57_I_O_LINAGE, COB_STATUS_61_FILE_SHARING, COB_STATUS_91_NOT_AVAILABLE, cob_stop_run(), and cob_file::file_status.
Referenced by CHECKSRC_(), cob_call(), cob_call_field(), cob_cancel(), cob_cancel_field(), cob_fast_malloc(), cob_file_open(), cob_free(), cob_get_global_ptr(), cob_intr_boolean_of_integer(), cob_intr_char_national(), cob_intr_display_of(), cob_intr_exception_file_n(), cob_intr_exception_location_n(), cob_intr_integer_of_boolean(), cob_intr_national_of(), cob_intr_standard_compare(), cob_longjmp(), cob_malloc(), cob_module_enter(), cob_realloc(), cob_resolve_internal(), cob_savenv(), cobxref_(), field_display(), GCic_(), get__reserved__lists_(), integer_of_ddd(), integer_of_formatted_date(), integer_of_mmdd(), integer_of_wwwd(), LISTING_(), and seconds_from_formatted_time().
void cob_field_accept | ( | cob_field * | , |
cob_field * | , | ||
cob_field * | , | ||
cob_field * | , | ||
cob_field * | , | ||
cob_field * | , | ||
cob_field * | , | ||
cob_field * | , | ||
cob_field * | , | ||
const int | |||
) |
Definition at line 2353 of file screenio.c.
References extract_line_and_col_vals(), and field_accept().
Referenced by cob_accept(), and GCic_().
void cob_field_display | ( | cob_field * | , |
cob_field * | , | ||
cob_field * | , | ||
cob_field * | , | ||
cob_field * | , | ||
cob_field * | , | ||
cob_field * | , | ||
const int | |||
) |
Definition at line 2341 of file screenio.c.
References extract_line_and_col_vals(), and field_display().
Referenced by cob_display().
void cob_file_release | ( | cob_file * | ) |
Definition at line 6227 of file fileio.c.
References cob_file_sort_submit(), COB_STATUS_00_SUCCESS, COB_STATUS_30_PERMANENT_ERROR, cob_field::data, cob_file::file, cobsort::fnstatus, likely, NULL, cob_file::record, save_status(), and cobsort::sort_return.
Referenced by LISTING_().
void cob_file_return | ( | cob_file * | ) |
Definition at line 6250 of file fileio.c.
References cob_file_sort_retrieve(), COB_STATUS_00_SUCCESS, COB_STATUS_10_END_OF_FILE, COB_STATUS_30_PERMANENT_ERROR, COBSORTEND, cob_field::data, cob_file::file, cobsort::fnstatus, likely, NULL, cob_file::record, save_status(), and cobsort::sort_return.
Referenced by LISTING_().
void cob_file_sort_close | ( | cob_file * | ) |
Definition at line 6201 of file fileio.c.
References cob_free(), cob_free_list(), COB_STATUS_00_SUCCESS, cobsort::file, cob_file::file, cobsort::fnstatus, file_struct::fp, cob_file::keys, likely, NULL, and save_status().
Referenced by cobxref_(), and LISTING_().
void cob_file_sort_giving | ( | cob_file * | , |
const size_t | , | ||
... | |||
) |
Definition at line 6095 of file fileio.c.
References cob_close(), COB_CLOSE_NORMAL, cob_copy_check(), cob_file_sort_retrieve(), COB_FILE_SPECIAL, cob_free(), cob_malloc(), cob_open(), COB_OPEN_OUTPUT, COB_ORG_LINE_SEQUENTIAL, cob_write(), COB_WRITE_BEFORE, COB_WRITE_LINES, COBSORTEND, cob_field::data, cob_file::file, cob_file::file_status, NULL, cob_file::organization, cob_file::record, cob_file::record_max, cob_field::size, and cobsort::sort_return.
Referenced by cobxref_().
void cob_file_sort_init | ( | cob_file * | , |
const unsigned | int, | ||
const unsigned char * | , | ||
void * | , | ||
cob_field * | |||
) |
Definition at line 6146 of file fileio.c.
References cobsort::alloc_size, cobsort::chunk_size, cob_fast_malloc(), cob_malloc(), COB_MODULE_PTR, __cob_settings::cob_sort_chunk, COB_STATUS_00_SUCCESS, cob_file::file, cobsort::fnstatus, cob_file::keys, cobsort::mem_base, sort_mem_struct::mem_ptr, cobsort::mem_size, cobsort::mem_total, sort_mem_struct::next, cob_file::nkeys, NULL, offsetof, cobsort::pointer, cobsort::r_size, cob_file::record_max, save_status(), cobsort::size, cob_file::sort_collating, cobsort::sort_return, and cobsort::w_size.
Referenced by cobxref_(), and LISTING_().
Definition at line 6191 of file fileio.c.
References cob_file_key::field, cob_file_key::flag, cob_file::keys, cob_file::nkeys, and cob_file_key::offset.
Referenced by cobxref_(), and LISTING_().
Definition at line 6075 of file fileio.c.
References cob_close(), COB_CLOSE_NORMAL, cob_copy_check(), cob_file_sort_submit(), cob_open(), COB_OPEN_INPUT, COB_READ_NEXT, cob_read_next(), cob_field::data, cob_file::file_status, NULL, and cob_file::record.
Referenced by cobxref_().
void cob_free | ( | void * | ) |
Definition at line 1284 of file common.c.
References cob_fatal_error(), COB_FERROR_FREE, and unlikely.
Referenced by alloc_figurative(), cb_config_entry(), cb_list_intrinsics(), cb_load_conf_file(), cob_accept_command_line(), cob_allocate(), cob_cache_free(), cob_cache_realloc(), cob_call(), cob_call_field(), cob_check_numeric(), cob_chk_file_env(), cob_chk_file_mapping(), cob_close(), cob_decimal_get_field(), cob_decimal_pop(), cob_decimal_set_display(), cob_display_command_line(), cob_display_env_value(), cob_display_environment(), cob_exit_call(), cob_exit_common(), cob_exit_fileio(), cob_exit_intrinsic(), cob_exit_numeric(), cob_exit_screen(), cob_exit_strings(), cob_expand_env_string(), cob_fatal_error(), cob_file_sort_close(), cob_file_sort_giving(), cob_free_alloc(), cob_free_list(), cob_get_buff(), cob_get_environment(), cob_getopt_long_long(), cob_gettmpdir(), cob_init(), cob_init_call(), cob_inspect_init(), cob_intr_concatenate(), cob_intr_exception_location(), cob_intr_locale_compare(), cob_intr_median(), cob_intr_numval_f(), cob_move_all(), cob_move_edited_to_display(), cob_realloc(), cob_resolve(), cob_resolve_cobol(), cob_restore_func(), cob_runtime_error(), cob_save_env_value(), cob_set_library_path(), cob_set_locale(), cob_set_location(), cob_srttmpfile(), cob_strcat(), cob_sys_change_dir(), cob_sys_check_file_exist(), cob_sys_copy_file(), cob_sys_create_dir(), cob_sys_delete_dir(), cob_sys_delete_file(), cob_sys_error_proc(), cob_sys_exit_proc(), cob_sys_file_info(), cob_sys_get_current_dir(), cob_sys_getopt_long_long(), cob_sys_rename_file(), cob_sys_system(), cob_table_sort(), cob_trace_section(), cob_unstring_init(), do_cancel_module(), format_field(), indexed_close(), indexed_open(), indirect_move(), insert(), make_field_entry(), numval(), open_cbl_file(), set_config_val(), substitute(), and var_print().
void cob_free_alloc | ( | unsigned char ** | , |
unsigned char * | |||
) |
Definition at line 3131 of file common.c.
References cob_alloc_base, COB_EC_STORAGE_NOT_ALLOC, __cob_global::cob_exception_code, cob_free(), cob_alloc_cache::cob_pointer, cob_set_exception(), cob_alloc_cache::next, and NULL.
int cob_func | ( | const char * | , |
const int | , | ||
void ** | |||
) |
Definition at line 1150 of file call.c.
References cob_call(), and cob_cancel().
Definition at line 3025 of file common.c.
References COB_EC_IMP_ACCEPT, __cob_settings::cob_env_mangle, cob_field_to_string(), cob_free(), cob_malloc(), cob_memcpy(), cob_set_exception(), cob_field::size, and unlikely.
Referenced by cobxref_(), GCic_(), and LISTING_().
cob_global* cob_get_global_ptr | ( | void | ) |
Definition at line 1787 of file common.c.
References cob_fatal_error(), COB_FERROR_INITIALIZED, cob_initialized, cobglobptr, and unlikely.
void cob_get_indirect_field | ( | cob_field * | ) |
Definition at line 3096 of file intrinsic.c.
References cob_move().
Referenced by cobxref_().
int cob_get_int | ( | cob_field * | ) |
Definition at line 1626 of file move.c.
References cob_field::attr, COB_ATTR_INIT, cob_binary_mget_sint64(), cob_display_get_int(), COB_FIELD_SCALE, COB_FIELD_TYPE, COB_FLAG_HAVE_SIGN, cob_move(), cob_packed_get_int(), cob_s64_t, COB_TYPE_NUMERIC_BINARY, COB_TYPE_NUMERIC_DISPLAY, COB_TYPE_NUMERIC_PACKED, cob_field::data, NULL, and cob_field::size.
Referenced by cob_allocate(), cob_intr_char(), cob_intr_combined_datetime(), cob_intr_date_of_integer(), cob_intr_date_to_yyyymmdd(), cob_intr_day_of_integer(), cob_intr_day_to_yyyyddd(), cob_intr_factorial(), cob_intr_formatted_date(), cob_intr_formatted_datetime(), cob_intr_formatted_time(), cob_intr_integer_of_date(), cob_intr_integer_of_day(), cob_intr_lcl_time_from_secs(), cob_intr_locale_date(), cob_intr_locale_time(), cob_intr_random(), cob_intr_test_date_yyyymmdd(), cob_intr_test_day_yyyyddd(), cob_intr_year_to_yyyy(), cob_linage_write_opt(), cob_rewrite(), cob_screen_attr(), cob_screen_moveyx(), cob_start(), cob_string_init(), cob_sys_getopt_long_long(), cob_sys_parameter_size(), cob_sys_sleep(), cob_unstring_init(), cob_write(), field_accept(), field_display(), file_linage_check(), get_fractional_seconds(), get_interval_and_current_year_from_args(), get_line_column(), pos_to_line_column(), relative_delete(), relative_read(), relative_rewrite(), relative_start(), relative_write(), screen_accept(), and try_get_valid_offset_time().
long long cob_get_llint | ( | cob_field * | ) |
Definition at line 1656 of file move.c.
References cob_field::attr, cob_binary_mget_sint64(), cob_display_get_long_long(), COB_FIELD_SCALE, COB_FIELD_TYPE, cob_move(), cob_packed_get_long_long(), cob_s64_t, COB_TYPE_NUMERIC_BINARY, COB_TYPE_NUMERIC_DISPLAY, COB_TYPE_NUMERIC_PACKED, const_binll_attr, cob_field::data, and cob_field::size.
Referenced by cob_sys_oc_nanosleep(), cobxref_(), and LISTING_().
unsigned char* cob_get_pointer | ( | const void * | ) |
void* cob_get_prog_pointer | ( | const void * | ) |
int cob_get_switch | ( | const int | ) |
Definition at line 2296 of file common.c.
References cob_switch, and COB_SWITCH_MAX.
Referenced by cob_switch_value().
char* cob_getenv | ( | const char * | ) |
Definition at line 3181 of file common.c.
References cob_strdup(), and NULL.
void cob_gmp_free | ( | void * | ) |
Definition at line 217 of file numeric.c.
References NULL.
Referenced by cob_decimal_get_display(), cob_decimal_get_packed(), cob_decimal_set_double(), and cob_decimal_set_mpf().
void cob_incr_temp_iteration | ( | void | ) |
Definition at line 3266 of file common.c.
References cob_temp_iteration.
Referenced by cob_srttmpfile(), and process_filename().
void cob_init | ( | const int | , |
char ** | |||
) |
Definition at line 5390 of file common.c.
References _, bindtextdomain, cob_argc, cob_argv, cob_current_paragraph, cob_current_program_id, cob_current_section, COB_ERRBUF_SIZE, cob_fast_malloc(), cob_free(), cob_init_call(), cob_init_fileio(), cob_init_intrinsic(), cob_init_move(), cob_init_numeric(), cob_init_screenio(), cob_init_strings(), cob_init_termio(), cob_initialized, COB_LARGE_BUFF, COB_LARGE_MAX, cob_last_sfile, cob_load_config(), cob_local_env, cob_local_env_size, __cob_global::cob_locale, __cob_global::cob_locale_collate, __cob_global::cob_locale_ctype, __cob_global::cob_locale_messages, __cob_global::cob_locale_monetary, __cob_global::cob_locale_numeric, __cob_global::cob_locale_orig, __cob_global::cob_locale_time, __cob_global::cob_main_argv0, cob_malloc(), COB_MEDIUM_BUFF, __cob_settings::cob_physical_cancel, __cob_global::cob_physical_cancel, cob_set_signal(), cob_source_file, cob_source_line, cob_source_statement, cob_stop_run(), cob_strdup(), cob_switch, COB_SWITCH_MAX, __cob_global::cob_term_buff, __cob_settings::cob_unix_lf, __cob_settings::cob_user_name, commlncnt, commlnptr, current_arg, exit_hdlrs, hdlrs, LOCALEDIR, NULL, PACKAGE, R_OK, runtime_err_str, set_config_val_by_name(), sort_collate, sort_nkeys, textdomain, and unlikely.
Referenced by cob_extern_init(), cob_module_enter(), main(), and process_command_line().
void cob_inspect_after | ( | const cob_field * | ) |
Definition at line 283 of file strings.c.
References cob_field::data, inspect_end, inspect_start, and cob_field::size.
Referenced by GCic_().
Definition at line 329 of file strings.c.
References INSPECT_ALL, and inspect_common().
Referenced by cobxref_(), GCic_(), and LISTING_().
void cob_inspect_before | ( | const cob_field * | ) |
Definition at line 270 of file strings.c.
References cob_field::data, inspect_end, inspect_start, and cob_field::size.
Referenced by cobxref_().
void cob_inspect_characters | ( | cob_field * | ) |
Definition at line 297 of file strings.c.
References cob_add_int(), cob_field::data, inspect_data, inspect_end, inspect_mark, inspect_replacing, and inspect_start.
Referenced by cobxref_().
Definition at line 353 of file strings.c.
References alloc_figurative(), alpha_fld, COB_EC_RANGE_INSPECT_SIZE, COB_FIELD_TYPE, cob_set_exception(), COB_TYPE_ALPHANUMERIC_ALL, cob_field::data, inspect_end, inspect_mark, inspect_start, cob_field::size, str_cob_low, and unlikely.
Referenced by LISTING_().
void cob_inspect_finish | ( | void | ) |
Definition at line 388 of file strings.c.
References COB_PUT_SIGN, inspect_data, inspect_mark, inspect_replacing, inspect_sign, inspect_size, and unlikely.
Referenced by cobxref_(), GCic_(), and LISTING_().
Definition at line 341 of file strings.c.
References inspect_common(), and INSPECT_FIRST.
void cob_inspect_init | ( | cob_field * | , |
const unsigned | int | ||
) |
Definition at line 335 of file strings.c.
References inspect_common(), and INSPECT_LEADING.
void cob_inspect_start | ( | void | ) |
Definition at line 263 of file strings.c.
References inspect_data, inspect_end, inspect_size, and inspect_start.
Referenced by cobxref_(), GCic_(), and LISTING_().
Definition at line 347 of file strings.c.
References inspect_common(), and INSPECT_TRAILING.
char* cob_int_to_formatted_bytestring | ( | int | , |
char * | |||
) |
Definition at line 4246 of file common.c.
References cob_fast_malloc(), and NULL.
char* cob_int_to_string | ( | int | , |
char * | |||
) |
Definition at line 4414 of file intrinsic.c.
References cob_decimal_get_field(), cob_decimal_set_field(), curr_field, make_field_entry(), and cob_decimal::value.
Definition at line 4425 of file intrinsic.c.
References cob_alloc_field(), cob_alloc_set_field_uint(), cob_decimal_cmp(), cob_decimal_get_field(), cob_decimal_get_mpf(), cob_decimal_set_field(), cob_decimal_set_mpf(), COB_EC_ARGUMENT_FUNCTION, cob_mpf_acos(), cob_mpft, cob_set_exception(), curr_field, cob_decimal::scale, and cob_decimal::value.
Definition at line 4712 of file intrinsic.c.
References cob_alloc_field(), cob_alloc_set_field_uint(), cob_decimal_add(), cob_decimal_div(), cob_decimal_get_field(), cob_decimal_pow(), cob_decimal_set_field(), cob_decimal_sub(), COB_EC_ARGUMENT_FUNCTION, cob_set_exception(), cob_trim_decimal(), curr_field, cob_decimal::scale, sign, and cob_decimal::value.
Definition at line 4455 of file intrinsic.c.
References cob_alloc_field(), cob_alloc_set_field_uint(), cob_decimal_cmp(), cob_decimal_get_field(), cob_decimal_get_mpf(), cob_decimal_set_field(), cob_decimal_set_mpf(), COB_EC_ARGUMENT_FUNCTION, cob_mpf_asin(), cob_mpft, cob_set_exception(), curr_field, cob_decimal::scale, and cob_decimal::value.
Definition at line 4491 of file intrinsic.c.
References cob_alloc_field(), cob_alloc_set_field_uint(), cob_decimal_get_field(), cob_decimal_get_mpf(), cob_decimal_set_field(), cob_decimal_set_mpf(), cob_mpf_atan(), cob_mpft, cob_set_exception(), curr_field, and cob_decimal::value.
Definition at line 3429 of file intrinsic.c.
References cob_alloc_field(), cob_decimal_add(), cob_decimal_div(), cob_decimal_get_field(), cob_decimal_mul(), cob_decimal_pow(), cob_decimal_set_field(), cob_decimal_sub(), COB_EC_SIZE_ZERO_DIVIDE, cob_set_exception(), curr_field, cob_decimal::scale, and cob_decimal::value.
Definition at line 6453 of file intrinsic.c.
References cob_fatal_error(), COB_FERROR_FUNCTION, and COB_UNUSED.
Definition at line 3480 of file intrinsic.c.
References cob_alloc_set_field_uint(), cob_u32_t, curr_field, and cob_field::size.
Definition at line 3977 of file intrinsic.c.
References COB_FIELD_INIT, cob_get_int(), curr_field, cob_field::data, make_field_entry(), and NULL.
Definition at line 6462 of file intrinsic.c.
References cob_fatal_error(), COB_FERROR_FUNCTION, and COB_UNUSED.
Definition at line 4020 of file intrinsic.c.
References cob_alloc_field(), cob_alloc_set_field_uint(), cob_decimal_add(), cob_decimal_div(), cob_decimal_get_field(), cob_decimal_set_field(), COB_EC_ARGUMENT_FUNCTION, cob_get_int(), cob_set_exception(), curr_field, d1, d2, d3, cob_decimal::scale, valid_decimal_time(), valid_integer_date(), and cob_decimal::value.
cob_field* cob_intr_concatenate | ( | const int | , |
const int | , | ||
const int | , | ||
... | |||
) |
Definition at line 3723 of file intrinsic.c.
References calc_ref_mod(), COB_FIELD_INIT, cob_free(), cob_malloc(), curr_field, cob_field::data, make_field_entry(), NULL, params, cob_field::size, and unlikely.
Referenced by GCic_().
Definition at line 4513 of file intrinsic.c.
References cob_alloc_field(), cob_decimal_get_field(), cob_decimal_get_mpf(), cob_decimal_set_field(), cob_decimal_set_mpf(), cob_mpf_cos(), cob_mpft, cob_set_exception(), and curr_field.
cob_field* cob_intr_currency_symbol | ( | void | ) |
Definition at line 5738 of file intrinsic.c.
References COB_FIELD_INIT, COB_MODULE_PTR, cob_set_exception(), curr_field, cob_field::data, make_field_entry(), NULL, and cob_field::size.
cob_field* cob_intr_current_date | ( | const int | , |
const int | |||
) |
Definition at line 3952 of file intrinsic.c.
References add_offset_time(), calc_ref_mod(), COB_FIELD_INIT, cob_get_current_date_and_time(), curr_field, cob_field::data, cob_time::day_of_month, cob_time::hour, make_field_entry(), cob_time::minute, cob_time::month, cob_time::nanosecond, NULL, cob_time::second, unlikely, cob_time::utc_offset, and cob_time::year.
Referenced by cobxref_().
Definition at line 4067 of file intrinsic.c.
References COB_ATTR_INIT, COB_EC_ARGUMENT_FUNCTION, COB_FIELD_INIT, cob_get_int(), cob_set_exception(), COB_TYPE_NUMERIC_DISPLAY, curr_field, cob_field::data, date_of_integer(), make_field_entry(), cob_time::month, NULL, valid_integer_date(), and cob_time::year.
cob_field* cob_intr_date_to_yyyymmdd | ( | const int | , |
... | |||
) |
Definition at line 5208 of file intrinsic.c.
References cob_alloc_set_field_int(), cob_alloc_set_field_uint(), COB_EC_ARGUMENT_FUNCTION, cob_get_int(), cob_set_exception(), curr_field, get_interval_and_current_year_from_args(), and valid_year().
Definition at line 4097 of file intrinsic.c.
References COB_ATTR_INIT, COB_EC_ARGUMENT_FUNCTION, COB_FIELD_INIT, cob_get_int(), cob_set_exception(), COB_TYPE_NUMERIC_DISPLAY, curr_field, cob_field::data, day_of_integer(), make_field_entry(), NULL, and valid_integer_date().
cob_field* cob_intr_day_to_yyyyddd | ( | const int | , |
... | |||
) |
Definition at line 5254 of file intrinsic.c.
References cob_alloc_set_field_int(), cob_alloc_set_field_uint(), COB_EC_ARGUMENT_FUNCTION, cob_get_int(), cob_set_exception(), curr_field, get_interval_and_current_year_from_args(), and valid_year().
cob_field* cob_intr_display_of | ( | const int | , |
const int | , | ||
const int | , | ||
... | |||
) |
Definition at line 6470 of file intrinsic.c.
References cob_fatal_error(), COB_FERROR_FUNCTION, and COB_UNUSED.
cob_field* cob_intr_e | ( | void | ) |
Definition at line 4262 of file intrinsic.c.
References cob_alloc_field(), cob_decimal_get_field(), cob_decimal_set_mpf(), cob_mpf_exp(), cob_mpft, and curr_field.
cob_field* cob_intr_exception_file | ( | void | ) |
Definition at line 3833 of file intrinsic.c.
References __cob_global::cob_error_file, __cob_global::cob_exception_code, COB_FIELD_INIT, curr_field, cob_field::data, cob_file::file_status, make_field_entry(), NULL, cob_file::select_name, and cob_field::size.
cob_field* cob_intr_exception_file_n | ( | void | ) |
Definition at line 6481 of file intrinsic.c.
References cob_fatal_error(), and COB_FERROR_FUNCTION.
cob_field* cob_intr_exception_location | ( | void | ) |
Definition at line 3857 of file intrinsic.c.
References COB_FIELD_INIT, cob_free(), __cob_global::cob_got_exception, cob_malloc(), __cob_global::cob_orig_line, __cob_global::cob_orig_paragraph, __cob_global::cob_orig_program_id, __cob_global::cob_orig_section, COB_SMALL_BUFF, COB_SMALL_MAX, curr_field, cob_field::data, make_field_entry(), NULL, and cob_field::size.
cob_field* cob_intr_exception_location_n | ( | void | ) |
Definition at line 6487 of file intrinsic.c.
References cob_fatal_error(), and COB_FERROR_FUNCTION.
cob_field* cob_intr_exception_statement | ( | void | ) |
Definition at line 3920 of file intrinsic.c.
References __cob_global::cob_exception_code, COB_FIELD_INIT, __cob_global::cob_orig_statement, curr_field, cob_field::data, make_field_entry(), and NULL.
cob_field* cob_intr_exception_status | ( | void | ) |
Definition at line 3900 of file intrinsic.c.
References __cob_global::cob_exception_code, COB_FIELD_INIT, cob_get_exception_name(), curr_field, cob_field::data, make_field_entry(), and NULL.
Definition at line 4285 of file intrinsic.c.
References cob_alloc_field(), cob_alloc_set_field_uint(), cob_decimal_get_field(), cob_decimal_get_mpf(), cob_decimal_set_field(), cob_decimal_set_mpf(), cob_mpf_exp(), cob_mpft, cob_set_exception(), curr_field, and cob_decimal::value.
Definition at line 4307 of file intrinsic.c.
References cob_alloc_field(), cob_alloc_set_field_uint(), cob_decimal_get_field(), cob_decimal_pow(), cob_decimal_set_field(), cob_set_exception(), cob_trim_decimal(), curr_field, cob_decimal::scale, sign, and cob_decimal::value.
Definition at line 4241 of file intrinsic.c.
References cob_alloc_field(), cob_alloc_set_field_uint(), cob_decimal_get_field(), COB_EC_ARGUMENT_FUNCTION, cob_get_int(), cob_set_exception(), cob_uli_t, curr_field, cob_decimal::scale, and cob_decimal::value.
Definition at line 6407 of file intrinsic.c.
References calc_ref_mod(), COB_DATESTR_LEN, COB_DATETIMESTR_LEN, COB_EC_ARGUMENT_FUNCTION, COB_FIELD_INIT, COB_MODULE_PTR, cob_set_exception(), COB_TIMESTR_LEN, cob_valid_datetime_format(), curr_field, cob_field::data, format_current_date(), make_field_entry(), NULL, num_leading_nonspace(), parse_date_format_string(), parse_time_format_string(), split_around_t(), and unlikely.
Definition at line 6035 of file intrinsic.c.
References calc_ref_mod(), COB_DATESTR_LEN, COB_EC_ARGUMENT_FUNCTION, COB_FIELD_INIT, cob_get_int(), cob_set_exception(), curr_field, cob_field::data, format_date(), make_field_entry(), NULL, num_leading_nonspace(), parse_date_format_string(), unlikely, and valid_day_and_format().
cob_field* cob_intr_formatted_datetime | ( | const int | , |
const int | , | ||
const int | , | ||
... | |||
) |
Definition at line 6169 of file intrinsic.c.
References calc_ref_mod(), COB_DATESTR_LEN, COB_DATETIMESTR_LEN, COB_EC_ARGUMENT_FUNCTION, COB_FIELD_INIT, cob_get_int(), COB_MODULE_PTR, cob_set_exception(), COB_TIMESTR_LEN, cob_valid_datetime_format(), curr_field, d1, cob_field::data, format_datetime(), get_fractional_seconds(), get_system_offset_time_ptr(), make_field_entry(), NULL, num_leading_nonspace(), parse_date_format_string(), parse_time_format_string(), split_around_t(), try_get_valid_offset_time(), unlikely, valid_integer_date(), and valid_time().
cob_field* cob_intr_formatted_time | ( | const int | , |
const int | , | ||
const int | , | ||
... | |||
) |
Definition at line 6076 of file intrinsic.c.
References calc_ref_mod(), COB_EC_ARGUMENT_FUNCTION, COB_FIELD_INIT, cob_get_int(), COB_MODULE_PTR, cob_set_exception(), COB_TIMESTR_LEN, cob_valid_time_format(), curr_field, d2, cob_field::data, format_field(), format_time(), get_fractional_seconds(), get_system_offset_time_ptr(), make_field_entry(), NULL, num_leading_nonspace(), parse_time_format_string(), try_get_valid_offset_time(), unlikely, and valid_time().
Definition at line 3532 of file intrinsic.c.
References cob_alloc_field(), cob_decimal_get_field(), cob_decimal_set_field(), cob_mexp, cob_uli_t, curr_field, cob_decimal::scale, and cob_decimal::value.
Definition at line 5866 of file intrinsic.c.
References cob_alloc_field(), cob_alloc_set_field_uint(), cob_decimal_get_field(), COB_EC_ARGUMENT_FUNCTION, COB_FIELD_BINARY_TRUNC, COB_FIELD_DIGITS, COB_FIELD_HAVE_SIGN, COB_FIELD_INIT, COB_FIELD_REAL_BINARY, COB_FIELD_SCALE, COB_FIELD_SIZE, COB_FIELD_TYPE, cob_set_exception(), COB_TYPE_ALPHANUMERIC, COB_TYPE_ALPHANUMERIC_EDITED, COB_TYPE_NATIONAL, COB_TYPE_NATIONAL_EDITED, COB_TYPE_NUMERIC_BINARY, COB_TYPE_NUMERIC_DISPLAY, COB_TYPE_NUMERIC_DOUBLE, COB_TYPE_NUMERIC_EDITED, COB_TYPE_NUMERIC_FLOAT, COB_TYPE_NUMERIC_PACKED, cob_uli_t, curr_field, cob_field::data, make_field_entry(), NULL, cob_decimal::scale, and cob_decimal::value.
Definition at line 3487 of file intrinsic.c.
References cob_alloc_field(), cob_decimal_get_field(), cob_decimal_set_field(), cob_mexp, cob_mpzt, cob_uli_t, curr_field, cob_decimal::scale, sign, and cob_decimal::value.
Definition at line 6493 of file intrinsic.c.
References cob_fatal_error(), COB_FERROR_FUNCTION, and COB_UNUSED.
Definition at line 4126 of file intrinsic.c.
References cob_alloc_set_field_uint(), COB_EC_ARGUMENT_FUNCTION, cob_get_int(), cob_set_exception(), curr_field, integer_of_date(), cob_time::month, valid_day_of_month(), valid_month(), valid_year(), and cob_time::year.
Definition at line 4161 of file intrinsic.c.
References cob_alloc_set_field_uint(), COB_EC_ARGUMENT_FUNCTION, cob_get_int(), cob_set_exception(), curr_field, integer_of_day(), valid_day_of_year(), valid_year(), and cob_time::year.
Definition at line 6361 of file intrinsic.c.
References COB_DATESTR_LEN, and cob_field::data.
Definition at line 3513 of file intrinsic.c.
References cob_alloc_field(), cob_decimal_get_field(), cob_decimal_set_field(), cob_mexp, cob_uli_t, curr_field, cob_decimal::scale, and cob_decimal::value.
Definition at line 5557 of file intrinsic.c.
References cob_alloc_set_field_spaces(), cob_alloc_set_field_str(), COB_EC_ARGUMENT_FUNCTION, COB_FIELD_IS_NUMERIC, cob_get_int(), cob_set_exception(), curr_field, and valid_time().
Definition at line 3469 of file intrinsic.c.
References cob_alloc_set_field_uint(), COB_FIELD_IS_NATIONAL, COB_NATIONAL_SIZE, cob_u32_t, curr_field, and cob_field::size.
Referenced by GCic_(), and LISTING_().
cob_field* cob_intr_locale_compare | ( | const int | , |
... | |||
) |
Definition at line 5937 of file intrinsic.c.
References COB_EC_ARGUMENT_FUNCTION, COB_FIELD_INIT, cob_field_to_string(), cob_free(), __cob_global::cob_locale, cob_malloc(), cob_set_exception(), curr_field, cob_field::data, f1, f2, make_field_entry(), NULL, and cob_field::size.
Definition at line 5375 of file intrinsic.c.
References cob_alloc_set_field_spaces(), cob_alloc_set_field_str(), COB_EC_ARGUMENT_FUNCTION, COB_FIELD_IS_NUMERIC, cob_field_to_string(), cob_get_int(), __cob_global::cob_locale, cob_set_exception(), COB_SMALL_BUFF, COB_SMALL_MAX, curr_field, cob_field::data, NULL, cob_field::size, valid_day_of_month(), valid_month(), valid_year(), and WORD.
Definition at line 5496 of file intrinsic.c.
References cob_alloc_set_field_spaces(), cob_alloc_set_field_str(), COB_EC_ARGUMENT_FUNCTION, COB_FIELD_IS_NUMERIC, cob_get_int(), cob_set_exception(), curr_field, cob_field::data, and cob_field::size.
Definition at line 4352 of file intrinsic.c.
References cob_alloc_field(), cob_alloc_set_field_uint(), cob_decimal_get_field(), cob_decimal_get_mpf(), cob_decimal_set_field(), cob_decimal_set_mpf(), COB_EC_ARGUMENT_FUNCTION, cob_mpf_log(), cob_mpft, cob_set_exception(), cob_trim_decimal(), curr_field, cob_decimal::scale, and cob_decimal::value.
Definition at line 4383 of file intrinsic.c.
References cob_alloc_field(), cob_alloc_set_field_uint(), cob_decimal_get_field(), cob_decimal_get_mpf(), cob_decimal_set_field(), cob_decimal_set_mpf(), COB_EC_ARGUMENT_FUNCTION, cob_mpf_log10(), cob_mpft, cob_set_exception(), cob_trim_decimal(), curr_field, cob_decimal::scale, and cob_decimal::value.
Definition at line 3576 of file intrinsic.c.
References calc_ref_mod(), cob_u8_t, curr_field, cob_field::data, make_field_entry(), cob_field::size, and unlikely.
Referenced by cobxref_(), GCic_(), and LISTING_().
Definition at line 5794 of file intrinsic.c.
References cob_alloc_field(), cob_alloc_set_field_uint(), cob_decimal_get_field(), COB_EC_ARGUMENT_FUNCTION, COB_FIELD_BINARY_TRUNC, COB_FIELD_DIGITS, COB_FIELD_HAVE_SIGN, COB_FIELD_INIT, COB_FIELD_REAL_BINARY, COB_FIELD_SCALE, COB_FIELD_SIZE, COB_FIELD_TYPE, cob_set_exception(), COB_TYPE_ALPHANUMERIC, COB_TYPE_ALPHANUMERIC_EDITED, COB_TYPE_NATIONAL, COB_TYPE_NATIONAL_EDITED, COB_TYPE_NUMERIC_BINARY, COB_TYPE_NUMERIC_DISPLAY, COB_TYPE_NUMERIC_DOUBLE, COB_TYPE_NUMERIC_EDITED, COB_TYPE_NUMERIC_FLOAT, COB_TYPE_NUMERIC_PACKED, cob_uli_t, curr_field, make_field_entry(), NULL, cob_decimal::scale, and cob_decimal::value.
cob_field* cob_intr_max | ( | const int | , |
... | |||
) |
Definition at line 4859 of file intrinsic.c.
References cob_cmp(), curr_field, cob_field::data, make_field_entry(), params, and cob_field::size.
cob_field* cob_intr_mean | ( | const int | , |
... | |||
) |
Definition at line 4955 of file intrinsic.c.
References cob_alloc_field(), cob_decimal_add(), cob_decimal_div(), cob_decimal_get_field(), cob_decimal_set_field(), cob_uli_t, curr_field, cob_field::data, make_field_entry(), params, cob_decimal::scale, cob_field::size, and cob_decimal::value.
cob_field* cob_intr_median | ( | const int | , |
... | |||
) |
Definition at line 4907 of file intrinsic.c.
References cob_alloc_field(), cob_decimal_add(), cob_decimal_div(), cob_decimal_get_field(), cob_decimal_set_field(), cob_free(), cob_malloc(), comp_field(), curr_field, cob_field::data, make_field_entry(), params, cob_decimal::scale, cob_field::size, and cob_decimal::value.
cob_field* cob_intr_midrange | ( | const int | , |
... | |||
) |
Definition at line 4883 of file intrinsic.c.
References cob_alloc_field(), cob_decimal_add(), cob_decimal_div(), cob_decimal_get_field(), cob_decimal_set_field(), curr_field, get_min_and_max_of_args(), cob_decimal::scale, and cob_decimal::value.
cob_field* cob_intr_min | ( | const int | , |
... | |||
) |
Definition at line 4835 of file intrinsic.c.
References cob_cmp(), curr_field, cob_field::data, make_field_entry(), params, and cob_field::size.
Definition at line 4992 of file intrinsic.c.
References cob_mod_or_rem().
cob_field* cob_intr_module_caller_id | ( | void | ) |
Definition at line 3653 of file intrinsic.c.
References COB_FIELD_INIT, COB_MODULE_PTR, curr_field, cob_field::data, make_field_entry(), NULL, and cob_field::size.
cob_field* cob_intr_module_date | ( | void | ) |
Definition at line 3610 of file intrinsic.c.
References COB_ATTR_INIT, COB_FIELD_INIT, COB_MODULE_PTR, COB_TYPE_NUMERIC_DISPLAY, curr_field, cob_field::data, make_field_entry(), and NULL.
cob_field* cob_intr_module_formatted_date | ( | void | ) |
Definition at line 3674 of file intrinsic.c.
References COB_FIELD_INIT, COB_MODULE_PTR, curr_field, cob_field::data, make_field_entry(), and NULL.
cob_field* cob_intr_module_id | ( | void | ) |
Definition at line 3640 of file intrinsic.c.
References COB_FIELD_INIT, COB_MODULE_PTR, curr_field, cob_field::data, make_field_entry(), and NULL.
cob_field* cob_intr_module_path | ( | void | ) |
Definition at line 3701 of file intrinsic.c.
References COB_FIELD_INIT, COB_MODULE_PTR, curr_field, cob_field::data, make_field_entry(), NULL, and cob_field::size.
cob_field* cob_intr_module_source | ( | void | ) |
Definition at line 3688 of file intrinsic.c.
References COB_FIELD_INIT, COB_MODULE_PTR, curr_field, cob_field::data, make_field_entry(), and NULL.
cob_field* cob_intr_module_time | ( | void | ) |
Definition at line 3625 of file intrinsic.c.
References COB_ATTR_INIT, COB_FIELD_INIT, COB_MODULE_PTR, COB_TYPE_NUMERIC_DISPLAY, curr_field, cob_field::data, make_field_entry(), and NULL.
cob_field* cob_intr_mon_decimal_point | ( | void | ) |
Definition at line 5598 of file intrinsic.c.
References COB_FIELD_INIT, COB_MODULE_PTR, cob_set_exception(), curr_field, cob_field::data, make_field_entry(), NULL, and cob_field::size.
cob_field* cob_intr_mon_thousands_sep | ( | void | ) |
Definition at line 5668 of file intrinsic.c.
References COB_FIELD_INIT, COB_MODULE_PTR, cob_set_exception(), curr_field, cob_field::data, make_field_entry(), NULL, and cob_field::size.
cob_field* cob_intr_national_of | ( | const int | , |
const int | , | ||
const int | , | ||
... | |||
) |
Definition at line 6501 of file intrinsic.c.
References cob_fatal_error(), COB_FERROR_FUNCTION, and COB_UNUSED.
cob_field* cob_intr_num_decimal_point | ( | void | ) |
Definition at line 5633 of file intrinsic.c.
References COB_FIELD_INIT, COB_MODULE_PTR, cob_set_exception(), curr_field, cob_field::data, make_field_entry(), NULL, and cob_field::size.
cob_field* cob_intr_num_thousands_sep | ( | void | ) |
Definition at line 5703 of file intrinsic.c.
References COB_FIELD_INIT, COB_MODULE_PTR, cob_set_exception(), curr_field, cob_field::data, make_field_entry(), NULL, and cob_field::size.
Definition at line 4584 of file intrinsic.c.
References NULL, NUMVAL, and numval().
Referenced by format_field(), and LISTING_().
Definition at line 4590 of file intrinsic.c.
References numval(), and NUMVAL_C.
Referenced by format_field().
Definition at line 4596 of file intrinsic.c.
References cob_alloc_field(), cob_alloc_set_field_uint(), cob_check_numval_f(), cob_decimal_get_field(), COB_EC_ARGUMENT_FUNCTION, cob_free(), cob_malloc(), cob_mexp, COB_MODULE_PTR, cob_set_exception(), cob_uli_t, curr_field, cob_field::data, cob_decimal::scale, cob_field::size, and cob_decimal::value.
Definition at line 3995 of file intrinsic.c.
References cob_alloc_set_field_uint(), cob_u32_t, curr_field, and cob_field::data.
cob_field* cob_intr_ord_max | ( | const int | , |
... | |||
) |
Definition at line 4809 of file intrinsic.c.
References cob_alloc_set_field_uint(), cob_cmp(), cob_u32_t, curr_field, and params.
cob_field* cob_intr_ord_min | ( | const int | , |
... | |||
) |
Definition at line 4783 of file intrinsic.c.
References cob_alloc_set_field_uint(), cob_cmp(), cob_u32_t, curr_field, and params.
cob_field* cob_intr_pi | ( | void | ) |
Definition at line 4274 of file intrinsic.c.
References cob_alloc_field(), cob_decimal_get_field(), cob_decimal_set_mpf(), cob_mpft, cob_pi, and curr_field.
cob_field* cob_intr_present_value | ( | const int | , |
... | |||
) |
Definition at line 5113 of file intrinsic.c.
References cob_alloc_field(), cob_decimal_add(), cob_decimal_div(), cob_decimal_get_field(), cob_decimal_set_field(), cob_uli_t, curr_field, params, cob_decimal::scale, and cob_decimal::value.
cob_field* cob_intr_random | ( | const int | , |
... | |||
) |
Definition at line 5023 of file intrinsic.c.
References COB_ATTR_INIT, COB_FIELD_INIT, COB_FLAG_HAVE_SIGN, cob_get_int(), COB_TYPE_NUMERIC_DOUBLE, curr_field, cob_field::data, make_field_entry(), and NULL.
cob_field* cob_intr_range | ( | const int | , |
... | |||
) |
Definition at line 4998 of file intrinsic.c.
References cob_alloc_field(), cob_decimal_get_field(), cob_decimal_set_field(), cob_decimal_sub(), curr_field, and get_min_and_max_of_args().
Definition at line 5017 of file intrinsic.c.
References cob_mod_or_rem().
Definition at line 3593 of file intrinsic.c.
References calc_ref_mod(), curr_field, cob_field::data, make_field_entry(), cob_field::size, and unlikely.
Definition at line 5325 of file intrinsic.c.
References cob_alloc_field(), cob_alloc_set_field_uint(), COB_DATETIMESTR_LEN, cob_decimal_get_field(), COB_EC_ARGUMENT_FUNCTION, COB_MODULE_PTR, cob_set_exception(), cob_valid_datetime_format(), cob_valid_time_format(), curr_field, d1, cob_field::data, NULL, num_leading_nonspace(), parse_time_format_string(), seconds_from_formatted_time(), split_around_t(), and test_formatted_time().
cob_field* cob_intr_seconds_past_midnight | ( | void | ) |
Definition at line 5306 of file intrinsic.c.
References cob_alloc_set_field_int(), curr_field, and NULL.
Definition at line 3551 of file intrinsic.c.
References cob_alloc_set_field_int(), cob_decimal_set_field(), curr_field, and cob_decimal::value.
Definition at line 4529 of file intrinsic.c.
References cob_alloc_field(), cob_decimal_get_field(), cob_decimal_get_mpf(), cob_decimal_set_field(), cob_decimal_set_mpf(), cob_mpf_sin(), cob_mpft, cob_set_exception(), and curr_field.
Definition at line 4561 of file intrinsic.c.
References cob_alloc_field(), cob_alloc_set_field_uint(), cob_decimal_get_field(), cob_decimal_pow(), cob_decimal_set_field(), COB_EC_ARGUMENT_FUNCTION, cob_set_exception(), cob_trim_decimal(), curr_field, cob_decimal::scale, and cob_decimal::value.
cob_field* cob_intr_standard_compare | ( | const int | , |
... | |||
) |
Definition at line 6511 of file intrinsic.c.
References cob_fatal_error(), COB_FERROR_FUNCTION, and COB_UNUSED.
cob_field* cob_intr_standard_deviation | ( | const int | , |
... | |||
) |
Definition at line 5090 of file intrinsic.c.
References cob_alloc_field(), cob_decimal_get_field(), cob_decimal_pow(), cob_set_exception(), cob_trim_decimal(), curr_field, GET_VARIANCE, cob_decimal::scale, and cob_decimal::value.
Definition at line 4002 of file intrinsic.c.
References cob_alloc_set_field_uint(), cob_u32_t, curr_field, cob_field::data, and cob_field::size.
cob_field* cob_intr_substitute | ( | const int | , |
const int | , | ||
const int | , | ||
... | |||
) |
Definition at line 3762 of file intrinsic.c.
References substitute().
cob_field* cob_intr_substitute_case | ( | const int | , |
const int | , | ||
const int | , | ||
... | |||
) |
Definition at line 3776 of file intrinsic.c.
References int_strncasecmp(), and substitute().
cob_field* cob_intr_sum | ( | const int | , |
... | |||
) |
Definition at line 4759 of file intrinsic.c.
References cob_alloc_field(), cob_decimal_add(), cob_decimal_get_field(), cob_decimal_set_field(), curr_field, params, cob_decimal::scale, and cob_decimal::value.
Definition at line 4545 of file intrinsic.c.
References cob_alloc_field(), cob_decimal_get_field(), cob_decimal_get_mpf(), cob_decimal_set_field(), cob_decimal_set_mpf(), cob_mpf_tan(), cob_mpft, cob_set_exception(), and curr_field.
Definition at line 4188 of file intrinsic.c.
References cob_alloc_set_field_uint(), cob_get_int(), curr_field, cob_time::month, valid_day_of_month(), valid_month(), valid_year(), and cob_time::year.
Definition at line 4218 of file intrinsic.c.
References cob_alloc_set_field_uint(), cob_get_int(), curr_field, valid_day_of_year(), valid_year(), and cob_time::year.
Definition at line 6273 of file intrinsic.c.
References COB_DATESTR_LEN, and cob_field::data.
Definition at line 5773 of file intrinsic.c.
References cob_alloc_set_field_int(), cob_check_numval(), curr_field, and NULL.
Definition at line 5780 of file intrinsic.c.
References cob_alloc_set_field_int(), cob_check_numval(), and curr_field.
Definition at line 5787 of file intrinsic.c.
References cob_alloc_set_field_int(), cob_check_numval_f(), and curr_field.
Definition at line 3790 of file intrinsic.c.
References calc_ref_mod(), curr_field, cob_field::data, make_field_entry(), cob_field::size, and unlikely.
Referenced by GCic_(), and LISTING_().
Definition at line 3559 of file intrinsic.c.
References calc_ref_mod(), cob_u8_t, curr_field, cob_field::data, make_field_entry(), cob_field::size, and unlikely.
Referenced by CHECKSRC_(), cobxref_(), and LISTING_().
cob_field* cob_intr_variance | ( | const int | , |
... | |||
) |
Definition at line 5078 of file intrinsic.c.
References cob_alloc_field(), cob_decimal_get_field(), curr_field, and GET_VARIANCE.
Definition at line 3940 of file intrinsic.c.
References calc_ref_mod(), curr_field, cob_field::data, make_field_entry(), cob_field::size, and unlikely.
Referenced by GCic_().
cob_field* cob_intr_year_to_yyyy | ( | const int | , |
... | |||
) |
Definition at line 5151 of file intrinsic.c.
References cob_alloc_set_field_int(), cob_alloc_set_field_uint(), COB_EC_ARGUMENT_FUNCTION, cob_get_int(), cob_set_exception(), curr_field, NULL, and valid_year().
int cob_is_alpha | ( | const cob_field * | ) |
Definition at line 2453 of file common.c.
References cob_field::data, and cob_field::size.
Referenced by cobxref_().
int cob_is_lower | ( | const cob_field * | ) |
Definition at line 2479 of file common.c.
References cob_field::data, and cob_field::size.
int cob_is_numeric | ( | const cob_field * | ) |
Definition at line 2375 of file common.c.
References cob_check_numdisp(), COB_FIELD_HAVE_SIGN, COB_FIELD_NO_SIGN_NIBBLE, COB_FIELD_TYPE, COB_MODULE_PTR, COB_TYPE_NUMERIC_BINARY, COB_TYPE_NUMERIC_DISPLAY, COB_TYPE_NUMERIC_DOUBLE, COB_TYPE_NUMERIC_FLOAT, COB_TYPE_NUMERIC_FP_DEC128, COB_TYPE_NUMERIC_FP_DEC64, COB_TYPE_NUMERIC_PACKED, cob_field::data, sign, and cob_field::size.
Referenced by cob_check_numeric(), and cobxref_().
int cob_is_omitted | ( | const cob_field * | ) |
Definition at line 2369 of file common.c.
References cob_field::data, and NULL.
int cob_is_upper | ( | const cob_field * | ) |
Definition at line 2466 of file common.c.
References cob_field::data, and cob_field::size.
int cob_load_config | ( | void | ) |
Definition at line 5063 of file common.c.
References COB_CONFIG_DIR, cob_load_config_file(), COB_MEDIUM_BUFF, COB_MEDIUM_MAX, cob_rescan_env_vals(), config_tbl::data_type, NULL, NUM_CONFIG, set_config_val(), SLASH_STR, STS_CNFSET, STS_ENVCLR, STS_ENVSET, varseq_dflt, and WITH_VARSEQ.
Referenced by cob_init().
void cob_longjmp | ( | struct cobjmp_buf * | ) |
Definition at line 1186 of file call.c.
References _, cobjmp_buf::cbj_jmp_buf, cob_fatal_error(), COB_FERROR_INITIALIZED, cob_runtime_error(), cob_stop_run(), and unlikely.
void* cob_malloc | ( | const size_t | ) |
Definition at line 1250 of file common.c.
References cob_fatal_error(), COB_FERROR_MEMORY, and unlikely.
Referenced by alloc_figurative(), cache_dynload(), cache_preload(), cb_config_entry(), cb_list_intrinsics(), cb_load_conf_file(), cob_accept_command_line(), cob_allocate(), cob_cache_file(), cob_cache_malloc(), cob_cache_realloc(), cob_call(), cob_decimal_get_field(), cob_decimal_push(), cob_display_command_line(), cob_display_env_value(), cob_display_environment(), cob_expand_env_string(), cob_external_addr(), cob_fatal_error(), cob_file_sort_giving(), cob_file_sort_init(), cob_get_environment(), cob_init(), cob_init_call(), cob_init_fileio(), cob_init_intrinsic(), cob_init_numeric(), cob_init_strings(), cob_intr_concatenate(), cob_intr_exception_location(), cob_intr_locale_compare(), cob_intr_median(), cob_intr_numval_f(), cob_load_config_file(), cob_move_all(), cob_move_edited_to_display(), cob_rescan_env_vals(), cob_resolve_internal(), cob_save_func(), cob_set_library_path(), cob_set_locale(), cob_srttmpfile(), cob_str_from_fld(), cob_strdup(), cob_sys_error_proc(), cob_sys_exit_proc(), cob_sys_getopt_long_long(), cob_sys_system(), cob_table_sort_init(), cob_unstring_init(), format_field(), indexed_open(), indexed_write(), indirect_move(), insert(), make_field_entry(), numval(), screen_accept(), and substitute().
void cob_module_enter | ( | cob_module ** | , |
cob_global ** | , | ||
const int | |||
) |
Definition at line 1796 of file common.c.
References cob_cache_malloc(), __cob_global::cob_call_params, cob_fatal_error(), COB_FERROR_INITIALIZED, cob_init(), cob_initialized, COB_MODULE_PTR, cobglobptr, module, NULL, and unlikely.
Referenced by CHECKSRC_(), cobxref_(), GCic_(), get__reserved__lists_(), and LISTING_().
void cob_module_leave | ( | cob_module * | ) |
Definition at line 1827 of file common.c.
References COB_MODULE_PTR, and COB_UNUSED.
Referenced by CHECKSRC_(), cobxref_(), GCic_(), get__reserved__lists_(), and LISTING_().
Definition at line 1170 of file move.c.
References cob_field::attr, cob_decimal_move_temp(), cob_decimal_setget_fld(), COB_FIELD_BINARY_TRUNC, COB_FIELD_DIGITS, COB_FIELD_REAL_BINARY, COB_FIELD_SCALE, COB_FIELD_TYPE, COB_MAX_DIGITS, cob_max_int(), cob_move_all(), cob_move_alphanum_to_alphanum(), cob_move_alphanum_to_display(), cob_move_alphanum_to_edited(), cob_move_binary_to_binary(), 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(), cob_move_fp_to_fp(), cob_move_packed_to_display(), COB_STORE_TRUNC_ON_OVERFLOW, COB_TYPE_ALPHANUMERIC_ALL, COB_TYPE_ALPHANUMERIC_EDITED, COB_TYPE_GROUP, COB_TYPE_NUMERIC_BINARY, COB_TYPE_NUMERIC_DISPLAY, COB_TYPE_NUMERIC_DOUBLE, COB_TYPE_NUMERIC_EDITED, COB_TYPE_NUMERIC_FLOAT, COB_TYPE_NUMERIC_FP_BIN128, COB_TYPE_NUMERIC_FP_BIN32, COB_TYPE_NUMERIC_FP_BIN64, COB_TYPE_NUMERIC_FP_DEC128, COB_TYPE_NUMERIC_FP_DEC64, COB_TYPE_NUMERIC_L_DOUBLE, COB_TYPE_NUMERIC_PACKED, const_alpha_attr, cob_field::data, indirect_move(), cob_field::size, and unlikely.
Referenced by CHECKSRC_(), cob_accept(), cob_accept_arg_number(), cob_allocate(), cob_cmp(), cob_decimal_get_field(), cob_decimal_move_temp(), cob_display_arg_number(), cob_get_indirect_field(), cob_get_int(), cob_get_llint(), cob_memcpy(), cob_move_all(), cob_set_int(), cob_str_memcpy(), cobxref_(), display_numeric(), field_accept(), format_field(), GCic_(), get__reserved__lists_(), indirect_move(), LISTING_(), and pretty_display_numeric().
Definition at line 1949 of file numeric.c.
References cob_decimal_get_field(), cob_decimal_mul(), and cob_decimal_set_field().
Definition at line 2348 of file numeric.c.
References cob_cmp_float(), cob_decimal_cmp(), cob_decimal_set_field(), COB_FIELD_TYPE, COB_TYPE_NUMERIC_DOUBLE, and COB_TYPE_NUMERIC_FLOAT.
Referenced by cob_cmp(), cob_file_sort_compare(), and sort_compare().
Definition at line 4438 of file fileio.c.
References cob_file::assign, cob_cache_file(), cob_field_to_string(), COB_FILE_MAX, COB_FILE_STDIN, COB_FILE_STDOUT, COB_LOCK_OPEN_EXCLUSIVE, COB_OPEN_CLOSED, COB_OPEN_INPUT, COB_OPEN_LOCKED, COB_OPEN_OUTPUT, COB_STATUS_00_SUCCESS, COB_STATUS_30_PERMANENT_ERROR, COB_STATUS_38_CLOSED_WITH_LOCK, COB_STATUS_41_ALREADY_OPEN, cob_file::fd, cob_file::file, file_open_name, cob_file::flag_begin_of_file, cob_file::flag_end_of_file, cob_file::flag_first_read, cob_file::flag_nonexistent, cob_file::flag_operation, cob_file::flag_read_done, cob_file::last_open_mode, cob_file::lock_mode, cob_fileio_funcs::open, cob_file::open_mode, cob_file::organization, save_status(), and unlikely.
Referenced by cob_file_sort_giving(), cob_file_sort_using(), cobxref_(), GCic_(), get__reserved__lists_(), and LISTING_().
void cob_put_indirect_field | ( | cob_field * | ) |
Definition at line 3088 of file intrinsic.c.
References curr_field, cob_field::data, make_field_entry(), and cob_field::size.
Referenced by cobxref_().
int cob_putenv | ( | char * | ) |
Definition at line 3195 of file common.c.
References cob_rescan_env_vals(), and cob_strdup().
Definition at line 4633 of file fileio.c.
References COB_OPEN_I_O, COB_OPEN_INPUT, COB_READ_PREVIOUS, cob_set_int(), COB_STATUS_00_SUCCESS, COB_STATUS_02_SUCCESS_DUPLICATE, COB_STATUS_10_END_OF_FILE, COB_STATUS_23_KEY_NOT_EXISTS, COB_STATUS_46_READ_ERROR, COB_STATUS_47_INPUT_DENIED, cob_file::flag_begin_of_file, cob_file::flag_end_of_file, cob_file::flag_first_read, cob_file::flag_nonexistent, cob_file::flag_read_done, NULL, cob_file::open_mode, cob_file::organization, cob_fileio_funcs::read, cob_fileio_funcs::read_next, cob_file::record, save_status(), cob_field::size, unlikely, and cob_file::variable_record.
Definition at line 4696 of file fileio.c.
References COB_OPEN_I_O, COB_OPEN_INPUT, COB_READ_PREVIOUS, cob_set_int(), COB_STATUS_00_SUCCESS, COB_STATUS_02_SUCCESS_DUPLICATE, COB_STATUS_10_END_OF_FILE, COB_STATUS_23_KEY_NOT_EXISTS, COB_STATUS_46_READ_ERROR, COB_STATUS_47_INPUT_DENIED, cob_file::flag_begin_of_file, cob_file::flag_end_of_file, cob_file::flag_first_read, cob_file::flag_nonexistent, cob_file::flag_read_done, cob_file::open_mode, cob_file::organization, cob_fileio_funcs::read_next, cob_file::record, save_status(), cob_field::size, unlikely, and cob_file::variable_record.
Referenced by cob_file_sort_using(), cobxref_(), GCic_(), get__reserved__lists_(), and LISTING_().
void cob_ready_trace | ( | void | ) |
void* cob_realloc | ( | void * | , |
const size_t | , | ||
const size_t | |||
) |
Definition at line 1262 of file common.c.
References cob_fatal_error(), COB_FERROR_FREE, COB_FERROR_MEMORY, cob_free(), and unlikely.
Referenced by cob_expand_env_string(), and cob_load_config_file().
void cob_reg_sighnd | ( | void(*)(int) | sighnd | ) |
void cob_reset_trace | ( | void | ) |
void* cob_resolve | ( | const char * | ) |
Definition at line 908 of file call.c.
References cob_chk_call_path(), cob_free(), and cob_resolve_internal().
Referenced by main().
void* cob_resolve_cobol | ( | const char * | , |
const int | , | ||
const int | |||
) |
Definition at line 923 of file call.c.
References cob_call_error(), cob_chk_call_path(), COB_EC_PROGRAM_NOT_FOUND, cob_free(), cob_resolve_internal(), cob_set_exception(), and unlikely.
Referenced by cob_call(), cobxref_(), and GCic_().
const char* cob_resolve_error | ( | void | ) |
Definition at line 864 of file call.c.
References _, NULL, and resolve_error.
Referenced by cob_call_error().
void* cob_resolve_func | ( | const char * | ) |
Definition at line 944 of file call.c.
References _, cob_resolve_internal(), cob_runtime_error(), cob_stop_run(), NULL, and unlikely.
void cob_restore_func | ( | struct cob_func_loc * | ) |
Definition at line 1879 of file common.c.
References __cob_global::cob_call_params, cob_free(), COB_MODULE_PTR, cob_func_loc::data, cob_func_loc::func_params, cob_func_loc::save_call_params, cob_func_loc::save_module, cob_func_loc::save_num_params, and cob_func_loc::save_proc_parms.
Definition at line 4793 of file fileio.c.
References cob_file::access_mode, COB_ACCESS_SEQUENTIAL, cob_get_int(), COB_OPEN_I_O, COB_ORG_SEQUENTIAL, COB_STATUS_43_READ_NOT_DONE, COB_STATUS_44_RECORD_OVERFLOW, COB_STATUS_49_I_O_DENIED, cob_file::flag_read_done, cob_file::open_mode, cob_file::organization, cob_file::record, cob_fileio_funcs::rewrite, save_status(), cob_field::size, unlikely, and cob_file::variable_record.
void cob_rollback | ( | void | ) |
Definition at line 4863 of file fileio.c.
References cob_file_unlock(), file_list::file, and file_list::next.
void* cob_save_func | ( | cob_field ** | , |
const int | , | ||
const int | , | ||
... | |||
) |
Definition at line 1835 of file common.c.
References __cob_global::cob_call_params, cob_malloc(), COB_MODULE_PTR, cob_field::data, cob_func_loc::data, cob_func_loc::func_params, params, cob_func_loc::save_call_params, cob_func_loc::save_module, cob_func_loc::save_num_params, cob_func_loc::save_proc_parms, and unlikely.
void* cob_savenv | ( | struct cobjmp_buf * | ) |
Definition at line 1160 of file call.c.
References _, cobjmp_buf::cbj_jmp_buf, cob_fatal_error(), COB_FERROR_INITIALIZED, cob_runtime_error(), cob_stop_run(), and unlikely.
Referenced by cob_savenv2().
void* cob_savenv2 | ( | struct cobjmp_buf * | , |
const int | |||
) |
Definition at line 1178 of file call.c.
References cob_savenv(), and COB_UNUSED.
void cob_screen_accept | ( | cob_screen * | , |
cob_field * | , | ||
cob_field * | , | ||
cob_field * | |||
) |
Definition at line 2330 of file screenio.c.
References extract_line_and_col_vals(), and screen_accept().
Referenced by GCic_().
void cob_screen_display | ( | cob_screen * | , |
cob_field * | , | ||
cob_field * | |||
) |
Definition at line 2321 of file screenio.c.
References extract_line_and_col_vals(), and screen_display().
Referenced by GCic_().
void cob_screen_line_col | ( | cob_field * | , |
const int | |||
) |
Definition at line 2366 of file screenio.c.
References cob_set_int(), COLS, init_cob_screen_if_needed(), and LINES.
void cob_set_cancel | ( | cob_module * | ) |
Definition at line 885 of file call.c.
References call_table, cob_call_union::funcvoid, hash(), insert(), call_hash::module, __cob_module::module_entry, __cob_module::module_name, __cob_module::module_path, call_hash::name, call_hash::next, NULL, and call_hash::path.
Referenced by CHECKSRC_(), cobxref_(), GCic_(), get__reserved__lists_(), and LISTING_().
Definition at line 3018 of file common.c.
References cob_display_env_value(), and cob_display_environment().
Referenced by GCic_().
void cob_set_exception | ( | const int | ) |
Definition at line 1212 of file common.c.
References cob_current_paragraph, cob_current_program_id, cob_current_section, __cob_global::cob_exception_code, cob_exception_tab_code, __cob_global::cob_got_exception, __cob_global::cob_orig_line, __cob_global::cob_orig_paragraph, __cob_global::cob_orig_program_id, __cob_global::cob_orig_section, __cob_global::cob_orig_statement, cob_source_line, cob_source_statement, and NULL.
Referenced by cob_accept(), cob_accept_arg_value(), cob_accept_environment(), cob_alloc_field(), cob_allocate(), cob_call_field(), cob_check_odo(), cob_check_pos_status(), cob_check_ref_mod(), cob_check_subscript(), cob_decimal_div(), cob_decimal_do_round(), cob_decimal_get_binary(), cob_decimal_get_display(), cob_decimal_get_field(), cob_decimal_get_ieee128dec(), cob_decimal_get_ieee64dec(), cob_decimal_get_packed(), cob_decimal_pow(), cob_display_arg_number(), cob_display_env_value(), cob_free_alloc(), cob_get_environment(), cob_inspect_converting(), cob_inspect_init(), cob_intr_acos(), cob_intr_annuity(), cob_intr_asin(), cob_intr_atan(), cob_intr_binop(), cob_intr_combined_datetime(), cob_intr_cos(), cob_intr_currency_symbol(), cob_intr_date_of_integer(), cob_intr_date_to_yyyymmdd(), cob_intr_day_of_integer(), cob_intr_day_to_yyyyddd(), cob_intr_exp(), cob_intr_exp10(), cob_intr_factorial(), cob_intr_formatted_current_date(), cob_intr_formatted_date(), cob_intr_formatted_datetime(), cob_intr_formatted_time(), cob_intr_highest_algebraic(), cob_intr_integer_of_date(), cob_intr_integer_of_day(), cob_intr_lcl_time_from_secs(), cob_intr_locale_compare(), cob_intr_locale_date(), cob_intr_locale_time(), cob_intr_log(), cob_intr_log10(), cob_intr_lowest_algebraic(), 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_intr_sin(), cob_intr_sqrt(), cob_intr_standard_deviation(), cob_intr_tan(), cob_intr_year_to_yyyy(), cob_mod_or_rem(), cob_resolve_cobol(), cob_resolve_internal(), cob_set_locale(), cob_string_append(), cob_string_init(), cob_unstring_finish(), cob_unstring_init(), format_time(), inspect_common(), numval(), raise_ec_on_invalid_line_or_col(), raise_ec_on_truncation(), save_status(), and set_resolve_error().
void cob_set_int | ( | cob_field * | , |
const int | |||
) |
Definition at line 1612 of file move.c.
References cob_field::attr, COB_ATTR_INIT, COB_FLAG_HAVE_SIGN, COB_FLAG_REAL_BINARY, cob_move(), COB_TYPE_NUMERIC_BINARY, cob_field::data, NULL, and cob_field::size.
Referenced by cob_accept(), cob_accept_escape_key(), cob_accept_exception_status(), cob_check_pos_status(), cob_file_open(), cob_linage_write_opt(), cob_read(), cob_read_next(), cob_screen_line_col(), cob_string_finish(), cob_sys_chdir(), cob_sys_getopt_long_long(), cob_sys_return_args(), cob_unstring_finish(), cob_unstring_into(), cobxref_(), field_accept(), file_linage_check(), relative_read_next(), relative_start(), and relative_write().
void cob_set_locale | ( | cob_field * | , |
const int | |||
) |
Definition at line 4165 of file common.c.
References COB_EC_LOCALE_MISSING, cob_field_to_string(), cob_free(), COB_LC_ALL, COB_LC_CLASS, COB_LC_COLLATE, COB_LC_CTYPE, COB_LC_MESSAGES, COB_LC_MONETARY, COB_LC_NUMERIC, COB_LC_TIME, COB_LC_USER, __cob_global::cob_locale, __cob_global::cob_locale_ctype, __cob_global::cob_locale_orig, cob_malloc(), cob_set_exception(), cob_strdup(), NULL, and cob_field::size.
void cob_set_location | ( | const char * | , |
const unsigned | int, | ||
const char * | , | ||
const char * | , | ||
const char * | |||
) |
Definition at line 1388 of file common.c.
References cob_check_trace_file(), cob_current_paragraph, cob_current_program_id, cob_current_section, cob_free(), cob_last_sfile, __cob_settings::cob_line_trace, COB_MODULE_PTR, cob_source_file, cob_source_line, cob_source_statement, cob_strdup(), and cob_trace_file.
Referenced by CHECKSRC_(), cobxref_(), GCic_(), get__reserved__lists_(), and LISTING_().
void cob_set_packed_int | ( | cob_field * | , |
const int | |||
) |
Definition at line 1261 of file numeric.c.
References COB_FIELD_DIGITS, COB_FIELD_HAVE_SIGN, COB_FIELD_NO_SIGN_NIBBLE, cob_set_packed_zero(), cob_u32_t, cob_field::data, packed_bytes, and cob_field::size.
void cob_set_packed_zero | ( | cob_field * | ) |
Definition at line 1073 of file numeric.c.
References COB_FIELD_HAVE_SIGN, COB_FIELD_NO_SIGN_NIBBLE, cob_field::data, and cob_field::size.
Referenced by cob_decimal_get_packed(), and cob_set_packed_int().
void cob_set_switch | ( | const int | , |
const int | |||
) |
Definition at line 4584 of file fileio.c.
References cob_file::access_mode, COB_ACCESS_RANDOM, cob_get_int(), COB_OPEN_I_O, COB_OPEN_INPUT, COB_STATUS_00_SUCCESS, COB_STATUS_23_KEY_NOT_EXISTS, COB_STATUS_47_INPUT_DENIED, cob_file::flag_begin_of_file, cob_file::flag_end_of_file, cob_file::flag_first_read, cob_file::flag_nonexistent, cob_file::flag_read_done, cob_file::open_mode, cob_file::organization, save_status(), cob_field::size, cob_fileio_funcs::start, and unlikely.
void cob_stop_run | ( | const int | ) |
Definition at line 1524 of file common.c.
References cob_initialized, cob_terminate_routines(), exit_hdlrs, exit_handlerlist::next, NULL, and exit_handlerlist::proc.
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_init(), 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(), cob_sys_system(), GCic_(), and main().
char* cob_strcat | ( | char * | , |
char * | |||
) |
Definition at line 4270 of file common.c.
References cob_fast_malloc(), cob_free(), cob_strdup(), and strbuff.
Referenced by cache_preload(), cob_strjoin(), and var_print().
void cob_string_append | ( | cob_field * | ) |
Definition at line 440 of file strings.c.
References COB_EC_OVERFLOW_STRING, cob_get_exception_code(), cob_set_exception(), cob_field::data, cob_field::size, and string_offset.
Referenced by cobxref_(), GCic_(), and LISTING_().
void cob_string_delimited | ( | cob_field * | ) |
Definition at line 430 of file strings.c.
References NULL, and string_dlm_copy.
Referenced by cobxref_(), GCic_(), and LISTING_().
void cob_string_finish | ( | void | ) |
Definition at line 477 of file strings.c.
References cob_set_int(), and string_offset.
Referenced by cobxref_(), GCic_(), and LISTING_().
Definition at line 408 of file strings.c.
References COB_EC_OVERFLOW_STRING, cob_get_int(), cob_set_exception(), NULL, cob_field::size, string_dst_copy, string_offset, and string_ptr_copy.
Referenced by cobxref_(), GCic_(), and LISTING_().
char* cob_strjoin | ( | char ** | , |
int | , | ||
char * | |||
) |
Definition at line 4302 of file common.c.
References cob_strcat(), and NULL.
Definition at line 1940 of file numeric.c.
References cob_decimal_get_field(), cob_decimal_set_field(), and cob_decimal_sub().
int cob_sub_int | ( | cob_field * | , |
const int | , | ||
const int | |||
) |
Definition at line 2251 of file numeric.c.
References cob_add_int().
cob_field* cob_switch_value | ( | const int | ) |
Definition at line 2980 of file intrinsic.c.
References cob_alloc_set_field_int(), cob_get_switch(), and curr_field.
int cob_sys_and | ( | const void * | , |
void * | , | ||
const int | |||
) |
int cob_sys_calledby | ( | void * | ) |
int cob_sys_change_dir | ( | unsigned char * | ) |
Definition at line 5395 of file fileio.c.
References COB_CHK_PARMS, cob_free(), COB_MODULE_PTR, cob_str_from_fld(), and COB_UNUSED.
Referenced by cob_sys_chdir(), and GCic_().
int cob_sys_chdir | ( | unsigned char * | , |
unsigned char * | |||
) |
Definition at line 5453 of file fileio.c.
References COB_CHK_PARMS, COB_MODULE_PTR, cob_set_int(), cob_sys_change_dir(), and COB_UNUSED.
int cob_sys_check_file_exist | ( | unsigned char * | , |
unsigned char * | |||
) |
Definition at line 5239 of file fileio.c.
References _, COB_BSWAP_16, COB_BSWAP_64, COB_CHK_PARMS, cob_free(), COB_MODULE_PTR, cob_runtime_error(), cob_s64_t, cob_stop_run(), cob_str_from_fld(), and COB_UNUSED.
Referenced by LISTING_().
int cob_sys_clear_screen | ( | void | ) |
Definition at line 2377 of file screenio.c.
References cob_current_x, cob_current_y, and init_cob_screen_if_needed().
Referenced by GCic_().
int cob_sys_close_file | ( | unsigned char * | ) |
int cob_sys_copy_file | ( | unsigned char * | , |
unsigned char * | |||
) |
Definition at line 5187 of file fileio.c.
References COB_CHK_PARMS, COB_FILE_BUFF, COB_FILE_MODE, cob_free(), COB_MODULE_PTR, cob_str_from_fld(), COB_UNUSED, file_open_buff, and O_BINARY.
Referenced by cob_sys_copyfile().
int cob_sys_copyfile | ( | unsigned char * | , |
unsigned char * | , | ||
unsigned char * | |||
) |
Definition at line 5470 of file fileio.c.
References __cob_global::cob_call_params, COB_CHK_PARMS, cob_sys_copy_file(), and COB_UNUSED.
int cob_sys_create_dir | ( | unsigned char * | ) |
Definition at line 5369 of file fileio.c.
References COB_CHK_PARMS, cob_free(), COB_MODULE_PTR, cob_str_from_fld(), and COB_UNUSED.
Referenced by cob_sys_mkdir().
int cob_sys_create_file | ( | unsigned char * | , |
unsigned char * | , | ||
unsigned char * | , | ||
unsigned char * | , | ||
unsigned char * | |||
) |
Definition at line 5039 of file fileio.c.
References _, COB_CHK_PARMS, __cob_settings::cob_display_warn, and open_cbl_file().
int cob_sys_delete_dir | ( | unsigned char * | ) |
Definition at line 5417 of file fileio.c.
References COB_CHK_PARMS, cob_free(), COB_MODULE_PTR, cob_str_from_fld(), and COB_UNUSED.
int cob_sys_delete_file | ( | unsigned char * | ) |
Definition at line 5165 of file fileio.c.
References COB_CHK_PARMS, cob_free(), COB_MODULE_PTR, cob_str_from_fld(), and COB_UNUSED.
Referenced by cob_sys_file_delete(), cobxref_(), GCic_(), and get__reserved__lists_().
int cob_sys_eq | ( | const void * | , |
void * | , | ||
const int | |||
) |
int cob_sys_error_proc | ( | const void * | , |
const void * | |||
) |
Definition at line 3381 of file common.c.
References COB_CHK_PARMS, cob_free(), cob_malloc(), hdlrs, handlerlist::next, NULL, and handlerlist::proc.
int cob_sys_exit_proc | ( | const void * | , |
const void * | |||
) |
Definition at line 3336 of file common.c.
References COB_CHK_PARMS, cob_free(), cob_malloc(), exit_hdlrs, exit_handlerlist::next, NULL, and exit_handlerlist::proc.
int cob_sys_file_delete | ( | unsigned char * | , |
unsigned char * | |||
) |
Definition at line 5555 of file fileio.c.
References __cob_global::cob_call_params, COB_CHK_PARMS, COB_MODULE_PTR, cob_sys_delete_file(), and COB_UNUSED.
int cob_sys_file_info | ( | unsigned char * | , |
unsigned char * | |||
) |
Definition at line 5491 of file fileio.c.
References _, COB_BSWAP_32, COB_BSWAP_64, __cob_global::cob_call_params, COB_CHK_PARMS, cob_free(), COB_MODULE_PTR, cob_runtime_error(), cob_stop_run(), cob_str_from_fld(), cob_u64_t, and COB_UNUSED.
int cob_sys_flush_file | ( | unsigned char * | ) |
int cob_sys_get_csr_pos | ( | unsigned char * | ) |
int cob_sys_get_current_dir | ( | const int | , |
const int | , | ||
unsigned char * | |||
) |
Definition at line 5328 of file fileio.c.
References COB_CHK_PARMS, cob_free(), and NULL.
int cob_sys_get_scr_size | ( | unsigned char * | , |
unsigned char * | |||
) |
Definition at line 2552 of file screenio.c.
References COB_CHK_PARMS, COLS, and LINES.
int cob_sys_getopt_long_long | ( | void * | , |
void * | , | ||
void * | , | ||
const int | , | ||
void * | , | ||
void * | |||
) |
Definition at line 3889 of file common.c.
References _, cob_argc, cob_argv, COB_CHK_PARMS, cob_field_to_string(), cob_free(), cob_get_int(), cob_getopt_long_long(), cob_malloc(), COB_MODULE_PTR, cob_optarg, cob_runtime_error(), cob_set_int(), cob_stop_run(), COB_UNUSED, option::flag, option::has_arg, longoption_def::has_option, option::name, longoption_def::name, NULL, longoption_def::return_value, longoption_def::return_value_pointer, and option::val.
int cob_sys_getpid | ( | void | ) |
Definition at line 3818 of file common.c.
References cob_process_id.
Referenced by cob_temp_name().
int cob_sys_hosted | ( | void * | , |
const void * | |||
) |
Return some hosted C variables, argc, argv, stdin, stdout, stderr.
Definition at line 3465 of file common.c.
References cob_argc, cob_argv, COB_CHK_PARMS, COB_MODULE_PTR, and cob_u8_ptr.
int cob_sys_imp | ( | const void * | , |
void * | , | ||
const int | |||
) |
int cob_sys_justify | ( | void * | , |
... | |||
) |
Definition at line 4086 of file common.c.
References __cob_global::cob_call_params, COB_CHK_PARMS, COB_MODULE_PTR, and cob_u8_ptr.
Referenced by LISTING_().
int cob_sys_mkdir | ( | unsigned char * | ) |
Definition at line 5439 of file fileio.c.
References COB_CHK_PARMS, and cob_sys_create_dir().
int cob_sys_nimp | ( | const void * | , |
void * | , | ||
const int | |||
) |
int cob_sys_nor | ( | const void * | , |
void * | , | ||
const int | |||
) |
int cob_sys_not | ( | void * | , |
const int | |||
) |
int cob_sys_oc_nanosleep | ( | const void * | ) |
Definition at line 3774 of file common.c.
References COB_CHK_PARMS, cob_get_llint(), COB_MODULE_PTR, cob_s64_t, COB_UNUSED, and NULL.
int cob_sys_open_file | ( | unsigned char * | , |
unsigned char * | , | ||
unsigned char * | , | ||
unsigned char * | , | ||
unsigned char * | |||
) |
Definition at line 5026 of file fileio.c.
References COB_CHK_PARMS, COB_UNUSED, and open_cbl_file().
int cob_sys_or | ( | const void * | , |
void * | , | ||
const int | |||
) |
int cob_sys_parameter_size | ( | void * | ) |
Definition at line 3867 of file common.c.
References COB_CHK_PARMS, cob_get_int(), COB_MODULE_PTR, and COB_UNUSED.
int cob_sys_printable | ( | void * | , |
... | |||
) |
Definition at line 4053 of file common.c.
References __cob_global::cob_call_params, COB_CHK_PARMS, COB_MODULE_PTR, and cob_u8_ptr.
int cob_sys_read_file | ( | unsigned char * | , |
unsigned char * | , | ||
unsigned char * | , | ||
unsigned char * | , | ||
unsigned char * | |||
) |
Definition at line 5066 of file fileio.c.
References COB_BSWAP_32, COB_BSWAP_64, COB_CHK_PARMS, and cob_s64_t.
int cob_sys_rename_file | ( | unsigned char * | , |
unsigned char * | |||
) |
Definition at line 5299 of file fileio.c.
References COB_CHK_PARMS, cob_free(), COB_MODULE_PTR, cob_str_from_fld(), and COB_UNUSED.
int cob_sys_return_args | ( | void * | ) |
Definition at line 3827 of file common.c.
References COB_CHK_PARMS, COB_MODULE_PTR, cob_set_int(), and COB_UNUSED.
int cob_sys_sleep | ( | const void * | ) |
Definition at line 4031 of file common.c.
References COB_CHK_PARMS, cob_get_int(), COB_MODULE_PTR, and COB_UNUSED.
Referenced by GCic_().
int cob_sys_sound_bell | ( | void | ) |
Definition at line 2506 of file screenio.c.
References cob_beep(), COB_BEEP_VALUE, cob_screen_init(), __cob_global::cob_screen_initialized, and cob_speaker_beep().
int cob_sys_system | ( | const void * | ) |
Definition at line 3426 of file common.c.
References _, COB_CHK_PARMS, cob_free(), cob_malloc(), COB_MEDIUM_MAX, COB_MODULE_PTR, cob_runtime_error(), __cob_global::cob_screen_initialized, cob_screen_set_mode(), cob_stop_run(), and unlikely.
Referenced by GCic_(), and get__reserved__lists_().
int cob_sys_tolower | ( | void * | , |
const int | |||
) |
int cob_sys_toupper | ( | void * | , |
const int | |||
) |
int cob_sys_write_file | ( | unsigned char * | , |
unsigned char * | , | ||
unsigned char * | , | ||
unsigned char * | , | ||
unsigned char * | |||
) |
Definition at line 5113 of file fileio.c.
References COB_BSWAP_32, COB_BSWAP_64, COB_CHK_PARMS, cob_s64_t, and COB_UNUSED.
int cob_sys_x91 | ( | void * | , |
const void * | , | ||
void * | |||
) |
int cob_sys_xf4 | ( | void * | , |
const void * | |||
) |
int cob_sys_xf5 | ( | const void * | , |
void * | |||
) |
int cob_sys_xor | ( | const void * | , |
void * | , | ||
const int | |||
) |
void cob_table_sort | ( | cob_field * | , |
const int | |||
) |
Definition at line 2516 of file common.c.
References cob_free(), cob_field::data, cob_field::size, and sort_compare().
Referenced by cobxref_().
void cob_table_sort_init | ( | const size_t | , |
const unsigned char * | |||
) |
Definition at line 2494 of file common.c.
References cob_malloc(), COB_MODULE_PTR, sort_collate, and sort_nkeys.
Referenced by cobxref_().
void cob_table_sort_init_key | ( | cob_field * | , |
const int | , | ||
const unsigned | int | ||
) |
Definition at line 2506 of file common.c.
References cob_file_key::field, cob_file_key::flag, cob_file_key::offset, and sort_nkeys.
Referenced by cobxref_().
void cob_temp_name | ( | char * | , |
const char * | |||
) |
Definition at line 3253 of file common.c.
References COB_FILE_MAX, cob_gettmpdir(), cob_sys_getpid(), cob_temp_iteration, and SLASH_CHAR.
Referenced by cob_srttmpfile(), and process_filename().
int cob_tidy | ( | void | ) |
Definition at line 3315 of file common.c.
References cob_initialized, cob_terminate_routines(), exit_hdlrs, exit_handlerlist::next, NULL, and exit_handlerlist::proc.
void cob_trace_section | ( | const char * | , |
const char * | , | ||
const int | |||
) |
Definition at line 1429 of file common.c.
References cob_check_trace_file(), cob_free(), cob_last_sfile, __cob_settings::cob_line_trace, COB_MODULE_PTR, cob_strdup(), and cob_trace_file.
Definition at line 4431 of file fileio.c.
References cob_file_unlock(), COB_STATUS_00_SUCCESS, and save_status().
void cob_unstring_delimited | ( | cob_field * | , |
const unsigned | int | ||
) |
Referenced by cobxref_(), GCic_(), get__reserved__lists_(), and LISTING_().
void cob_unstring_finish | ( | void | ) |
Definition at line 620 of file strings.c.
References COB_EC_OVERFLOW_UNSTRING, cob_set_exception(), cob_set_int(), cob_field::size, and unstring_offset.
Referenced by cobxref_(), GCic_(), get__reserved__lists_(), and LISTING_().
Definition at line 487 of file strings.c.
References COB_EC_OVERFLOW_UNSTRING, cob_free(), cob_get_int(), cob_malloc(), cob_set_exception(), dlm_list_size, NULL, cob_field::size, unstring_count, unstring_ndlms, unstring_offset, unstring_ptr_copy, and unstring_src_copy.
Referenced by cobxref_(), GCic_(), get__reserved__lists_(), and LISTING_().
Definition at line 524 of file strings.c.
References COB_FIELD_IS_NUMERIC, COB_FIELD_SIZE, cob_get_exception_code(), cob_min_int(), cob_set_int(), cob_str_memcpy(), cob_field::data, NULL, cob_field::size, dlm_struct::uns_all, dlm_struct::uns_dlm, unstring_count, unstring_ndlms, and unstring_offset.
Referenced by cobxref_(), GCic_(), get__reserved__lists_(), and LISTING_().
void cob_unstring_tallying | ( | cob_field * | ) |
Definition at line 614 of file strings.c.
References cob_add_int(), and unstring_count.
int cob_valid_date_format | ( | const char * | ) |
Definition at line 3355 of file intrinsic.c.
Referenced by cob_valid_datetime_format(), valid_day_and_format(), and valid_format().
int cob_valid_datetime_format | ( | const char * | , |
const char | |||
) |
Definition at line 3402 of file intrinsic.c.
References COB_DATETIMESTR_LEN, cob_valid_date_format(), cob_valid_time_format(), parse_date_format_string(), parse_time_format_string(), split_around_t(), time_format::with_colons, and date_format::with_hyphens.
Referenced by cob_intr_formatted_current_date(), cob_intr_formatted_datetime(), cob_intr_seconds_from_formatted_time(), and valid_format().
int cob_valid_time_format | ( | const char * | , |
const char | |||
) |
Definition at line 3366 of file intrinsic.c.
References COB_TIMEDEC_MAX, decimal_places_for_seconds(), rest_is_offset_format(), and rest_is_z().
Referenced by cob_intr_formatted_time(), cob_intr_seconds_from_formatted_time(), cob_valid_datetime_format(), and valid_format().
Definition at line 4754 of file fileio.c.
References cob_file::access_mode, check_eop_status, COB_ACCESS_SEQUENTIAL, cob_get_int(), COB_OPEN_EXTEND, COB_OPEN_I_O, COB_OPEN_OUTPUT, COB_STATUS_44_RECORD_OVERFLOW, COB_STATUS_48_OUTPUT_DENIED, cob_file::flag_read_done, cob_file::open_mode, cob_file::organization, cob_file::record, cob_file::record_max, cob_file::record_min, save_status(), cob_field::size, unlikely, cob_file::variable_record, and cob_fileio_funcs::write.
Referenced by cob_file_sort_giving(), cobxref_(), GCic_(), and LISTING_().
void print_info | ( | void | ) |
Definition at line 5153 of file common.c.
References _, COB_BLD_BUILD, COB_BLD_CC, COB_BLD_CFLAGS, COB_BLD_CPPFLAGS, COB_BLD_LD, COB_BLD_LDFLAGS, COB_EXEEXT, COB_MODULE_EXT, COB_OBJECT_EXT, NULL, OC_C_VERSION, OC_C_VERSION_PRF, print_version(), var_print(), WITH_CURSES, and WITH_VARSEQ.
Referenced by process_command_line().
void print_runtime_env | ( | void | ) |
Definition at line 5234 of file common.c.
References _, __cob_settings::cob_config_file, __cob_settings::cob_config_num, COB_MEDIUM_BUFF, COB_MINI_BUFF, FUNC_NAME_IN_DEFAULT, get_config_val(), GRP_MAX, not_set, NULL, NUM_CONFIG, PACKAGE_NAME, PACKAGE_VERSION, PATCH_LEVEL, setting_group, STS_CNFSET, STS_ENVCLR, STS_ENVSET, STS_FNCSET, STS_RESET, and value.
Referenced by process_command_line().
void print_version | ( | void | ) |
Definition at line 5119 of file common.c.
References _, COB_MINI_BUFF, COB_MINI_MAX, COB_TAR_DATE, PACKAGE_NAME, PACKAGE_VERSION, and PATCH_LEVEL.
Referenced by print_info(), and process_command_line().