#include "config.h"
#include "headers.h"
#include "error.h"
#include "fd.h"
#include "io.h"
#include "display.h"
#include "args.h"
Go to the source code of this file.
Data Structures | |
struct | _options_list |
struct | _colors_list |
Typedefs | |
typedef struct _options_list | options_list |
typedef struct _colors_list | colors_list |
Functions | |
int | parse_infile_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_outfile_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_size_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_completed_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_throttle_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_buffer_size_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_block_size_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_interval_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_timeout_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_kilo_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_width_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_width_minus_one_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_height_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_height_minus_one_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_twiddle_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_count_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_throughput_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_time_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_elapsed_only_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_percent_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_bar_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_summary_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_ansi_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_displays_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_help_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_version_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_throughput_bits_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_count_bits_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_title_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_display_title_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_total_percent_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_space_bg_color_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_twiddle_fg_color_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_twiddle_bg_color_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_twiddle_fg_bold_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_title_fg_color_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_title_bg_color_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_title_fg_bold_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_count_fg_color_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_count_bg_color_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_count_fg_bold_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_throughput_label_fg_color_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_throughput_label_bg_color_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_throughput_label_fg_bold_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_throughput_fg_color_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_throughput_bg_color_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_throughput_fg_bold_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_time_label_fg_color_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_time_label_bg_color_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_time_label_fg_bold_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_time_fg_color_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_time_bg_color_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_time_fg_bold_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_percent_fg_color_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_percent_bg_color_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_percent_fg_bold_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_bar_openbrace_char_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_bar_closebrace_char_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_bar_complete_char_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_bar_incomplete_char_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_barbrace_fg_color_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_barbrace_bg_color_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_barbrace_fg_bold_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_bar_fg_color_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_bar_bg_color_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_bar_fg_bold_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_infofile_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_display_numeric_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_display_wait_commandline (FILE *ferr, int argc, char *argv[], int *arg_num, int option_num) |
int | parse_throttle_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_buffer_size_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_block_size_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_interval_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_timeout_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_kilo_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_width_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_width_minus_one_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_height_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_height_minus_one_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_twiddle_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_count_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_throughput_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_time_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_elapsed_only_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_percent_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_bar_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_summary_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_ansi_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_throughput_bits_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_count_bits_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_title_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_display_title_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_total_percent_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_space_bg_color_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_twiddle_fg_color_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_twiddle_bg_color_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_twiddle_fg_bold_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_title_fg_color_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_title_bg_color_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_title_fg_bold_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_count_fg_color_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_count_bg_color_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_count_fg_bold_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_throughput_label_fg_color_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_throughput_label_bg_color_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_throughput_label_fg_bold_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_throughput_fg_color_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_throughput_bg_color_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_throughput_fg_bold_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_time_label_fg_color_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_time_label_bg_color_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_time_label_fg_bold_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_time_fg_color_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_time_bg_color_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_time_fg_bold_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_percent_fg_color_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_percent_bg_color_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_percent_fg_bold_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_bar_openbrace_char_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_bar_closebrace_char_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_bar_complete_char_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_bar_incomplete_char_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_barbrace_fg_color_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_barbrace_bg_color_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_barbrace_fg_bold_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_bar_fg_color_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_bar_bg_color_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_bar_fg_bold_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_infofile_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_display_numeric_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_display_wait_rc (FILE *ferr, char *filename, int line, char *tag, char *value) |
void | version (FILE *out) |
void | help (FILE *out) |
int | isOpt (char *s) |
int | safe_add (uint64 *n, uint64 a) |
int | safe_mul (uint64 *n, uint64 x) |
int | parse_char (FILE *ferr, char *s, char *c) |
int | parse_num (FILE *ferr, char *s, uint64 *n, uint64 min, uint64 max) |
int | parse_infile_value (FILE *ferr, char *value) |
int | parse_outfile_value (FILE *ferr, char *value) |
int | parse_size_value (FILE *ferr, char *value) |
int | parse_completed_value (FILE *ferr, char *value) |
int | parse_throttle_value (FILE *ferr, char *value) |
int | parse_buffer_size_value (FILE *ferr, char *value) |
int | parse_block_size_value (FILE *ferr, char *value) |
int | parse_interval_value (FILE *ferr, char *value) |
int | parse_timeout_value (FILE *ferr, char *value) |
int | parse_kilo_value (FILE *ferr, char *value) |
int | parse_width_value (FILE *ferr, char *value) |
int | parse_height_value (FILE *ferr, char *value) |
int | parse_switch_commandline (char *arg, options_list *option, int *sw) |
int | parse_switch_rc (FILE *ferr, char *filename, int line, char *value, int *sw) |
int | parse_switch_all_commandline (char *arg, options_list *option) |
int | isColor (char *s, colors_list *list) |
int | parse_color (FILE *ferr, char *value, colors_list *list, char **code_ptr) |
int | parse_args (FILE *ferr, int argc, char *argv[]) |
int | parse_rc_by_tag (FILE *ferr, char *filename, int line, char *tag, char *value) |
int | parse_rcfile (FILE *ferr, char *filename) |
int | parse_rcfiles (FILE *ferr) |
Variables | |
char | _parsing_blocks = 0 |
options_list | options [] |
colors_list | fg_colors [] |
colors_list | bg_colors [] |
typedef struct _colors_list colors_list |
typedef struct _options_list options_list |
void help | ( | FILE * | out | ) |
Definition at line 636 of file args.c.
References _options_list::arg_description, _options_list::cl_func, d, _options_list::description, _options_list::long_option1, _options_list::long_option2, _display::screen_width, _options_list::short_option1, and _options_list::short_option2.
Referenced by parse_help_commandline().
int isColor | ( | char * | s, | |
colors_list * | list | |||
) |
Definition at line 1917 of file args.c.
Referenced by parse_color().
int isOpt | ( | char * | s | ) |
Definition at line 738 of file args.c.
Referenced by parse_args(), and parse_rc_by_tag().
int parse_ansi_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 1828 of file args.c.
References d, _display::display_ansi, and parse_switch_commandline().
int parse_ansi_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 1840 of file args.c.
References d, _display::display_ansi, and parse_switch_rc().
int parse_args | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[] | |||
) |
Definition at line 2964 of file args.c.
References _io::in, io, isOpt(), _io::out, parse_block_size_commandline(), parse_help_commandline(), parse_infile_value(), parse_kilo_commandline(), parse_outfile_value(), parse_version_commandline(), and print_error().
Referenced by main(), test10(), test11(), test12(), test13(), test135(), test136(), test137(), test138(), test14(), test140(), test141(), test15(), test16(), test17(), test18(), test19(), test20(), test21(), test22(), test23(), test24(), test25(), test26(), test27(), test28(), test29(), test30(), test31(), test32(), test33(), test34(), test35(), test36(), test37(), test38(), test39(), test4(), test40(), test41(), test42(), test43(), test44(), test45(), test46(), test47(), test48(), test49(), test5(), test50(), test51(), test52(), test53(), test54(), test55(), test56(), test57(), test58(), test59(), test6(), test60(), test61(), test62(), test63(), test64(), test65(), test66(), test67(), test68(), test69(), test7(), test70(), test71(), test72(), test73(), test74(), test75(), test76(), test77(), test78(), test79(), test8(), test80(), test81(), test82(), test83(), test84(), test85(), test86(), test87(), test88(), test89(), test9(), test90(), test91(), test92(), and test93().
int parse_bar_bg_color_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 2851 of file args.c.
References _display::bar_bg_color, d, parse_color(), print_error(), and print_esup().
int parse_bar_bg_color_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 2869 of file args.c.
References _display::bar_bg_color, d, parse_color(), and print_esup().
int parse_bar_closebrace_char_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 2658 of file args.c.
References _display::bar_close_brace, d, parse_char(), print_error(), and print_esup().
int parse_bar_closebrace_char_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 2676 of file args.c.
References _display::bar_close_brace, d, parse_char(), and print_esup().
int parse_bar_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 1723 of file args.c.
References d, _display::display_bar, and parse_switch_commandline().
int parse_bar_complete_char_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 2685 of file args.c.
References _display::bar_complete, d, parse_char(), print_error(), and print_esup().
int parse_bar_complete_char_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 2703 of file args.c.
References _display::bar_complete, d, parse_char(), and print_esup().
int parse_bar_fg_bold_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 2881 of file args.c.
References _display::bar_fg_bold, d, and parse_switch_commandline().
int parse_bar_fg_bold_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 2893 of file args.c.
References _display::bar_fg_bold, d, and parse_switch_rc().
int parse_bar_fg_color_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 2821 of file args.c.
References _display::bar_fg_color, d, parse_color(), print_error(), and print_esup().
int parse_bar_fg_color_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 2839 of file args.c.
References _display::bar_fg_color, d, parse_color(), and print_esup().
int parse_bar_incomplete_char_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 2712 of file args.c.
References _display::bar_incomplete, d, parse_char(), print_error(), and print_esup().
int parse_bar_incomplete_char_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 2730 of file args.c.
References _display::bar_incomplete, d, parse_char(), and print_esup().
int parse_bar_openbrace_char_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 2631 of file args.c.
References _display::bar_open_brace, d, parse_char(), print_error(), and print_esup().
int parse_bar_openbrace_char_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 2649 of file args.c.
References _display::bar_open_brace, d, parse_char(), and print_esup().
int parse_bar_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 1735 of file args.c.
References d, _display::display_bar, and parse_switch_rc().
int parse_barbrace_bg_color_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 2769 of file args.c.
References _display::barbrace_bg_color, d, parse_color(), print_error(), and print_esup().
int parse_barbrace_bg_color_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 2787 of file args.c.
References _display::barbrace_bg_color, d, parse_color(), and print_esup().
int parse_barbrace_fg_bold_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 2799 of file args.c.
References _display::barbrace_fg_bold, d, and parse_switch_commandline().
int parse_barbrace_fg_bold_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 2811 of file args.c.
References _display::barbrace_fg_bold, d, and parse_switch_rc().
int parse_barbrace_fg_color_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 2739 of file args.c.
References _display::barbrace_fg_color, d, parse_color(), print_error(), and print_esup().
int parse_barbrace_fg_color_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 2757 of file args.c.
References _display::barbrace_fg_color, d, parse_color(), and print_esup().
int parse_block_size_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 1252 of file args.c.
References parse_block_size_value(), and print_error().
Referenced by parse_args().
int parse_block_size_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 1263 of file args.c.
References parse_block_size_value(), and print_esup().
int parse_block_size_value | ( | FILE * | ferr, | |
char * | value | |||
) |
Definition at line 1237 of file args.c.
References _parsing_blocks, _io::block_size, io, MAX_SIZE_T, and parse_num().
Referenced by parse_block_size_commandline(), and parse_block_size_rc().
int parse_buffer_size_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 1217 of file args.c.
References parse_buffer_size_value(), and print_error().
int parse_buffer_size_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 1228 of file args.c.
References parse_buffer_size_value(), and print_esup().
int parse_buffer_size_value | ( | FILE * | ferr, | |
char * | value | |||
) |
Definition at line 1206 of file args.c.
References _io::buffer_size, io, MAX_SIZE_T, and parse_num().
Referenced by parse_buffer_size_commandline(), and parse_buffer_size_rc().
int parse_char | ( | FILE * | ferr, | |
char * | s, | |||
char * | c | |||
) |
Definition at line 812 of file args.c.
References print_error(), and print_esup().
Referenced by parse_bar_closebrace_char_commandline(), parse_bar_closebrace_char_rc(), parse_bar_complete_char_commandline(), parse_bar_complete_char_rc(), parse_bar_incomplete_char_commandline(), parse_bar_incomplete_char_rc(), parse_bar_openbrace_char_commandline(), and parse_bar_openbrace_char_rc().
int parse_color | ( | FILE * | ferr, | |
char * | value, | |||
colors_list * | list, | |||
char ** | code_ptr | |||
) |
Definition at line 1929 of file args.c.
References _colors_list::code, isColor(), and print_error().
Referenced by parse_bar_bg_color_commandline(), parse_bar_bg_color_rc(), parse_bar_fg_color_commandline(), parse_bar_fg_color_rc(), parse_barbrace_bg_color_commandline(), parse_barbrace_bg_color_rc(), parse_barbrace_fg_color_commandline(), parse_barbrace_fg_color_rc(), parse_count_bg_color_commandline(), parse_count_bg_color_rc(), parse_count_fg_color_commandline(), parse_count_fg_color_rc(), parse_percent_bg_color_commandline(), parse_percent_bg_color_rc(), parse_percent_fg_color_commandline(), parse_percent_fg_color_rc(), parse_space_bg_color_commandline(), parse_space_bg_color_rc(), parse_throughput_bg_color_commandline(), parse_throughput_bg_color_rc(), parse_throughput_fg_color_commandline(), parse_throughput_fg_color_rc(), parse_throughput_label_bg_color_commandline(), parse_throughput_label_bg_color_rc(), parse_throughput_label_fg_color_commandline(), parse_throughput_label_fg_color_rc(), parse_time_bg_color_commandline(), parse_time_bg_color_rc(), parse_time_fg_color_commandline(), parse_time_fg_color_rc(), parse_time_label_bg_color_commandline(), parse_time_label_bg_color_rc(), parse_time_label_fg_color_commandline(), parse_time_label_fg_color_rc(), parse_title_bg_color_commandline(), parse_title_bg_color_rc(), parse_title_fg_color_commandline(), parse_title_fg_color_rc(), parse_twiddle_bg_color_commandline(), parse_twiddle_bg_color_rc(), parse_twiddle_fg_color_commandline(), and parse_twiddle_fg_color_rc().
int parse_completed_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 1175 of file args.c.
References parse_completed_value(), and print_error().
int parse_completed_value | ( | FILE * | ferr, | |
char * | value | |||
) |
Definition at line 1140 of file args.c.
References _io::continue_size, io, MAX_UINT64, parse_num(), _io::total_read, and _io::total_write.
Referenced by parse_completed_commandline().
int parse_count_bg_color_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 2169 of file args.c.
References d, _display::datacount_bg_color, parse_color(), print_error(), and print_esup().
int parse_count_bg_color_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 2187 of file args.c.
References d, _display::datacount_bg_color, parse_color(), and print_esup().
int parse_count_bits_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 1905 of file args.c.
References d, _display::display_count_bits, and parse_switch_commandline().
int parse_count_bits_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 1860 of file args.c.
References d, _display::display_count_bits, and parse_switch_rc().
int parse_count_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 1613 of file args.c.
References d, _display::display_datacount, and parse_switch_commandline().
int parse_count_fg_bold_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 2199 of file args.c.
References d, _display::datacount_fg_bold, and parse_switch_commandline().
int parse_count_fg_bold_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 2211 of file args.c.
References d, _display::datacount_fg_bold, and parse_switch_rc().
int parse_count_fg_color_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 2139 of file args.c.
References d, _display::datacount_fg_color, parse_color(), print_error(), and print_esup().
int parse_count_fg_color_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 2157 of file args.c.
References d, _display::datacount_fg_color, parse_color(), and print_esup().
int parse_count_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 1625 of file args.c.
References d, _display::display_datacount, and parse_switch_rc().
int parse_display_numeric_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 2920 of file args.c.
References d, _display::display_numeric, and parse_switch_commandline().
int parse_display_numeric_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 2932 of file args.c.
References d, _display::display_numeric, and parse_switch_rc().
int parse_display_title_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 1806 of file args.c.
References d, _display::display_title, and parse_switch_commandline().
int parse_display_title_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 1818 of file args.c.
References d, _display::display_title, and parse_switch_rc().
int parse_display_wait_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 2942 of file args.c.
References d, _display::display_wait, and parse_switch_commandline().
int parse_display_wait_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 2954 of file args.c.
References d, _display::display_wait, and parse_switch_rc().
int parse_displays_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 1870 of file args.c.
References parse_switch_all_commandline().
int parse_elapsed_only_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 1669 of file args.c.
References d, _display::display_elapsed_only, and parse_switch_commandline().
int parse_elapsed_only_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 1691 of file args.c.
References d, _display::display_elapsed_only, and parse_switch_rc().
int parse_height_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 1429 of file args.c.
References parse_height_value(), and print_error().
int parse_height_minus_one_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 1569 of file args.c.
References d, parse_switch_commandline(), and _display::screen_height_minus_one.
int parse_height_minus_one_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 1581 of file args.c.
References d, parse_switch_rc(), and _display::screen_height_minus_one.
int parse_height_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 1450 of file args.c.
References parse_height_value(), and print_esup().
int parse_height_value | ( | FILE * | ferr, | |
char * | value | |||
) |
Definition at line 1403 of file args.c.
References d, _display::manual_height, print_error(), and _display::screen_height.
Referenced by parse_height_commandline(), and parse_height_rc().
int parse_help_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 1881 of file args.c.
References help().
Referenced by parse_args().
int parse_infile_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 1049 of file args.c.
References parse_infile_value(), and print_error().
int parse_infile_value | ( | FILE * | ferr, | |
char * | value | |||
) |
Definition at line 1029 of file args.c.
References fdFileSize(), fdIsFile(), _io::in, _io::in_path, io, print_error(), _io::total_size, and _io::total_size_known.
Referenced by parse_args(), and parse_infile_commandline().
int parse_infofile_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 2903 of file args.c.
References d, _display::info_file, and print_error().
int parse_infofile_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 2914 of file args.c.
References d, and _display::info_file.
int parse_interval_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 1291 of file args.c.
References parse_interval_value(), print_error(), and print_esup().
int parse_interval_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 1303 of file args.c.
References parse_interval_value(), and print_esup().
int parse_interval_value | ( | FILE * | ferr, | |
char * | value | |||
) |
Definition at line 1272 of file args.c.
References d, _display::display_interval, and print_error().
Referenced by parse_interval_commandline(), and parse_interval_rc().
int parse_kilo_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 1365 of file args.c.
References parse_kilo_value(), and print_error().
Referenced by parse_args().
int parse_kilo_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 1380 of file args.c.
References parse_kilo_value(), and print_esup().
int parse_kilo_value | ( | FILE * | ferr, | |
char * | value | |||
) |
Definition at line 1352 of file args.c.
References d, and _display::k.
Referenced by parse_kilo_commandline(), and parse_kilo_rc().
Definition at line 832 of file args.c.
References _parsing_blocks, _io::block_size, d, io, _display::k, print_error(), print_esup(), safe_add(), safe_mul(), and UINT64_CTYPE.
Referenced by parse_block_size_value(), parse_buffer_size_value(), parse_completed_value(), parse_size_value(), parse_throttle_value(), and test_parse().
int parse_outfile_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 1116 of file args.c.
References parse_outfile_value(), and print_error().
int parse_outfile_value | ( | FILE * | ferr, | |
char * | value | |||
) |
Definition at line 1061 of file args.c.
References _io::in_path, io, _io::out, and print_error().
Referenced by parse_args(), and parse_outfile_commandline().
int parse_percent_bg_color_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 2579 of file args.c.
References d, parse_color(), _display::percent_bg_color, print_error(), and print_esup().
int parse_percent_bg_color_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 2597 of file args.c.
References d, parse_color(), _display::percent_bg_color, and print_esup().
int parse_percent_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 1701 of file args.c.
References d, _display::display_percent, and parse_switch_commandline().
int parse_percent_fg_bold_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 2609 of file args.c.
References d, parse_switch_commandline(), and _display::percent_fg_bold.
int parse_percent_fg_bold_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 2621 of file args.c.
References d, parse_switch_rc(), and _display::percent_fg_bold.
int parse_percent_fg_color_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 2549 of file args.c.
References d, parse_color(), _display::percent_fg_color, print_error(), and print_esup().
int parse_percent_fg_color_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 2567 of file args.c.
References d, parse_color(), _display::percent_fg_color, and print_esup().
int parse_percent_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 1713 of file args.c.
References d, _display::display_percent, and parse_switch_rc().
int parse_rc_by_tag | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 3020 of file args.c.
References isOpt(), print_error(), and print_esup().
Referenced by parse_rcfile().
int parse_rcfile | ( | FILE * | ferr, | |
char * | filename | |||
) |
Definition at line 3035 of file args.c.
References parse_rc_by_tag(), print_error(), and print_esup().
Referenced by parse_rcfiles(), and test_parse_rc().
int parse_rcfiles | ( | FILE * | ferr | ) |
Definition at line 3131 of file args.c.
References parse_rcfile().
Referenced by main().
int parse_size_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 1164 of file args.c.
References parse_size_value(), and print_error().
int parse_size_value | ( | FILE * | ferr, | |
char * | value | |||
) |
Definition at line 1128 of file args.c.
References io, MAX_UINT64, parse_num(), _io::total_size, and _io::total_size_known.
Referenced by parse_size_commandline().
int parse_space_bg_color_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 1945 of file args.c.
References d, parse_color(), print_error(), print_esup(), and _display::space_bg_color.
int parse_space_bg_color_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 1963 of file args.c.
References d, parse_color(), print_esup(), and _display::space_bg_color.
int parse_summary_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 1784 of file args.c.
References d, _display::display_summary, and parse_switch_commandline().
int parse_summary_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 1796 of file args.c.
References d, _display::display_summary, and parse_switch_rc().
int parse_switch_all_commandline | ( | char * | arg, | |
options_list * | option | |||
) |
Definition at line 1502 of file args.c.
References d, _display::display_bar, _display::display_datacount, _display::display_percent, _display::display_summary, _display::display_throughput, _display::display_time, _display::display_title, _display::display_twiddle, _options_list::long_option1, _options_list::long_option2, _options_list::short_option1, and _options_list::short_option2.
Referenced by parse_displays_commandline().
int parse_switch_commandline | ( | char * | arg, | |
options_list * | option, | |||
int * | sw | |||
) |
Definition at line 1459 of file args.c.
References _options_list::long_option1, _options_list::long_option2, _options_list::short_option1, and _options_list::short_option2.
Referenced by parse_ansi_commandline(), parse_bar_commandline(), parse_bar_fg_bold_commandline(), parse_barbrace_fg_bold_commandline(), parse_count_bits_commandline(), parse_count_commandline(), parse_count_fg_bold_commandline(), parse_display_numeric_commandline(), parse_display_title_commandline(), parse_display_wait_commandline(), parse_elapsed_only_commandline(), parse_height_minus_one_commandline(), parse_percent_commandline(), parse_percent_fg_bold_commandline(), parse_summary_commandline(), parse_throughput_bits_commandline(), parse_throughput_commandline(), parse_throughput_fg_bold_commandline(), parse_throughput_label_fg_bold_commandline(), parse_time_commandline(), parse_time_fg_bold_commandline(), parse_time_label_fg_bold_commandline(), parse_title_fg_bold_commandline(), parse_total_percent_commandline(), parse_twiddle_commandline(), parse_twiddle_fg_bold_commandline(), and parse_width_minus_one_commandline().
int parse_switch_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | value, | |||
int * | sw | |||
) |
Definition at line 1472 of file args.c.
References print_error(), and print_esup().
Referenced by parse_ansi_rc(), parse_bar_fg_bold_rc(), parse_bar_rc(), parse_barbrace_fg_bold_rc(), parse_count_bits_rc(), parse_count_fg_bold_rc(), parse_count_rc(), parse_display_numeric_rc(), parse_display_title_rc(), parse_display_wait_rc(), parse_elapsed_only_rc(), parse_height_minus_one_rc(), parse_percent_fg_bold_rc(), parse_percent_rc(), parse_summary_rc(), parse_throughput_bits_rc(), parse_throughput_fg_bold_rc(), parse_throughput_label_fg_bold_rc(), parse_throughput_rc(), parse_time_fg_bold_rc(), parse_time_label_fg_bold_rc(), parse_time_rc(), parse_title_fg_bold_rc(), parse_total_percent_rc(), parse_twiddle_fg_bold_rc(), parse_twiddle_rc(), and parse_width_minus_one_rc().
int parse_throttle_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 1186 of file args.c.
References parse_throttle_value(), and print_error().
int parse_throttle_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 1197 of file args.c.
References parse_throttle_value(), and print_esup().
int parse_throttle_value | ( | FILE * | ferr, | |
char * | value | |||
) |
Definition at line 1153 of file args.c.
References io, MAX_UINT64, parse_num(), and _io::throttle.
Referenced by parse_throttle_commandline(), and parse_throttle_rc().
int parse_throughput_bg_color_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 2333 of file args.c.
References d, parse_color(), print_error(), print_esup(), and _display::throughput_bg_color.
int parse_throughput_bg_color_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 2351 of file args.c.
References d, parse_color(), print_esup(), and _display::throughput_bg_color.
int parse_throughput_bits_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 1893 of file args.c.
References d, _display::display_throughput_bits, and parse_switch_commandline().
int parse_throughput_bits_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 1850 of file args.c.
References d, _display::display_throughput_bits, and parse_switch_rc().
int parse_throughput_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 1635 of file args.c.
References d, _display::display_throughput, and parse_switch_commandline().
int parse_throughput_fg_bold_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 2363 of file args.c.
References d, parse_switch_commandline(), and _display::throughput_fg_bold.
int parse_throughput_fg_bold_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 2375 of file args.c.
References d, parse_switch_rc(), and _display::throughput_fg_bold.
int parse_throughput_fg_color_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 2303 of file args.c.
References d, parse_color(), print_error(), print_esup(), and _display::throughput_fg_color.
int parse_throughput_fg_color_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 2321 of file args.c.
References d, parse_color(), print_esup(), and _display::throughput_fg_color.
int parse_throughput_label_bg_color_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 2251 of file args.c.
References d, parse_color(), print_error(), print_esup(), and _display::throughput_label_bg_color.
int parse_throughput_label_bg_color_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 2269 of file args.c.
References d, parse_color(), print_esup(), and _display::throughput_label_bg_color.
int parse_throughput_label_fg_bold_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 2281 of file args.c.
References d, parse_switch_commandline(), and _display::throughput_label_fg_bold.
int parse_throughput_label_fg_bold_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 2293 of file args.c.
References d, parse_switch_rc(), and _display::throughput_label_fg_bold.
int parse_throughput_label_fg_color_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 2221 of file args.c.
References d, parse_color(), print_error(), print_esup(), and _display::throughput_label_fg_color.
int parse_throughput_label_fg_color_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 2239 of file args.c.
References d, parse_color(), print_esup(), and _display::throughput_label_fg_color.
int parse_throughput_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 1647 of file args.c.
References d, _display::display_throughput, and parse_switch_rc().
int parse_time_bg_color_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 2497 of file args.c.
References d, parse_color(), print_error(), print_esup(), and _display::time_bg_color.
int parse_time_bg_color_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 2515 of file args.c.
References d, parse_color(), print_esup(), and _display::time_bg_color.
int parse_time_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 1657 of file args.c.
References d, _display::display_time, and parse_switch_commandline().
int parse_time_fg_bold_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 2527 of file args.c.
References d, parse_switch_commandline(), and _display::time_fg_bold.
int parse_time_fg_bold_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 2539 of file args.c.
References d, parse_switch_rc(), and _display::time_fg_bold.
int parse_time_fg_color_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 2467 of file args.c.
References d, parse_color(), print_error(), print_esup(), and _display::time_fg_color.
int parse_time_fg_color_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 2485 of file args.c.
References d, parse_color(), print_esup(), and _display::time_fg_color.
int parse_time_label_bg_color_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 2415 of file args.c.
References d, parse_color(), print_error(), print_esup(), and _display::time_label_bg_color.
int parse_time_label_bg_color_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 2433 of file args.c.
References d, parse_color(), print_esup(), and _display::time_label_bg_color.
int parse_time_label_fg_bold_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 2445 of file args.c.
References d, parse_switch_commandline(), and _display::time_label_fg_bold.
int parse_time_label_fg_bold_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 2457 of file args.c.
References d, parse_switch_rc(), and _display::time_label_fg_bold.
int parse_time_label_fg_color_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 2385 of file args.c.
References d, parse_color(), print_error(), print_esup(), and _display::time_label_fg_color.
int parse_time_label_fg_color_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 2403 of file args.c.
References d, parse_color(), print_esup(), and _display::time_label_fg_color.
int parse_time_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 1681 of file args.c.
References d, _display::display_time, and parse_switch_rc().
int parse_timeout_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 1331 of file args.c.
References parse_timeout_value(), print_error(), and print_esup().
int parse_timeout_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 1343 of file args.c.
References parse_timeout_value(), and print_esup().
int parse_timeout_value | ( | FILE * | ferr, | |
char * | value | |||
) |
Definition at line 1312 of file args.c.
References io, print_error(), and _io::timeout.
Referenced by parse_timeout_commandline(), and parse_timeout_rc().
int parse_title_bg_color_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 2087 of file args.c.
References d, parse_color(), print_error(), print_esup(), and _display::title_bg_color.
int parse_title_bg_color_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 2105 of file args.c.
References d, parse_color(), print_esup(), and _display::title_bg_color.
int parse_title_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 1745 of file args.c.
References d, print_error(), and _display::title.
int parse_title_fg_bold_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 2117 of file args.c.
References d, parse_switch_commandline(), and _display::title_fg_bold.
int parse_title_fg_bold_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 2129 of file args.c.
References d, parse_switch_rc(), and _display::title_fg_bold.
int parse_title_fg_color_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 2057 of file args.c.
References d, parse_color(), print_error(), print_esup(), and _display::title_fg_color.
int parse_title_fg_color_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 2075 of file args.c.
References d, parse_color(), print_esup(), and _display::title_fg_color.
int parse_title_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 1756 of file args.c.
References d, and _display::title.
int parse_total_percent_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 1762 of file args.c.
References d, parse_switch_commandline(), and _display::total_display_percent.
int parse_total_percent_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 1774 of file args.c.
References d, parse_switch_rc(), and _display::total_display_percent.
int parse_twiddle_bg_color_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 2005 of file args.c.
References d, parse_color(), print_error(), print_esup(), and _display::twiddle_bg_color.
int parse_twiddle_bg_color_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 2023 of file args.c.
References d, parse_color(), print_esup(), and _display::twiddle_bg_color.
int parse_twiddle_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 1591 of file args.c.
References d, _display::display_twiddle, and parse_switch_commandline().
int parse_twiddle_fg_bold_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 2035 of file args.c.
References d, parse_switch_commandline(), and _display::twiddle_fg_bold.
int parse_twiddle_fg_bold_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 2047 of file args.c.
References d, parse_switch_rc(), and _display::twiddle_fg_bold.
int parse_twiddle_fg_color_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 1975 of file args.c.
References d, parse_color(), print_error(), print_esup(), and _display::twiddle_fg_color.
int parse_twiddle_fg_color_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 1993 of file args.c.
References d, parse_color(), print_esup(), and _display::twiddle_fg_color.
int parse_twiddle_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 1603 of file args.c.
References d, _display::display_twiddle, and parse_switch_rc().
int parse_version_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 1887 of file args.c.
References version().
Referenced by parse_args().
int parse_width_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 1417 of file args.c.
References parse_width_value(), and print_error().
int parse_width_minus_one_commandline | ( | FILE * | ferr, | |
int | argc, | |||
char * | argv[], | |||
int * | arg_num, | |||
int | option_num | |||
) |
Definition at line 1547 of file args.c.
References d, parse_switch_commandline(), and _display::screen_width_minus_one.
int parse_width_minus_one_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 1559 of file args.c.
References d, parse_switch_rc(), and _display::screen_width_minus_one.
int parse_width_rc | ( | FILE * | ferr, | |
char * | filename, | |||
int | line, | |||
char * | tag, | |||
char * | value | |||
) |
Definition at line 1441 of file args.c.
References parse_width_value(), and print_esup().
int parse_width_value | ( | FILE * | ferr, | |
char * | value | |||
) |
Definition at line 1389 of file args.c.
References d, _display::manual_width, print_error(), and _display::screen_width.
Referenced by parse_width_commandline(), and parse_width_rc().
Definition at line 761 of file args.c.
References MAX_UINT64.
Referenced by parse_num(), and safe_mul().
Definition at line 776 of file args.c.
References MAX_SAFE_MULTIPLIER, and safe_add().
Referenced by parse_num().
void version | ( | FILE * | out | ) |
Definition at line 631 of file args.c.
References PACKAGE, and VERSION.
Referenced by parse_version_commandline().
char _parsing_blocks = 0 |
Definition at line 36 of file args.c.
Referenced by parse_block_size_value(), and parse_num().