args.c File Reference

#include "config.h"
#include "headers.h"
#include "error.h"
#include "fd.h"
#include "io.h"
#include "display.h"
#include "args.h"
Include dependency graph for args.c:

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 Documentation

typedef struct _colors_list colors_list

Definition at line 33 of file args.c.

typedef struct _options_list options_list

Definition at line 26 of file args.c.


Function Documentation

void help ( FILE *  out  ) 
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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

int parse_args ( FILE *  ferr,
int  argc,
char *  argv[] 
)
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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

int parse_char ( FILE *  ferr,
char *  s,
char *  c 
)
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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

int parse_num ( FILE *  ferr,
char *  s,
uint64 n,
uint64  min,
uint64  max 
)
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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

int parse_rcfiles ( FILE *  ferr  ) 

Definition at line 3131 of file args.c.

References parse_rcfile().

Referenced by main().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

int parse_switch_all_commandline ( char *  arg,
options_list option 
)
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_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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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().

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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().

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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().

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

int safe_add ( uint64 n,
uint64  a 
)

Definition at line 761 of file args.c.

References MAX_UINT64.

Referenced by parse_num(), and safe_mul().

int safe_mul ( uint64 n,
uint64  x 
)

Definition at line 776 of file args.c.

References MAX_SAFE_MULTIPLIER, and safe_add().

Referenced by parse_num().

Here is the call graph for this function:

void version ( FILE *  out  ) 

Definition at line 631 of file args.c.

References PACKAGE, and VERSION.

Referenced by parse_version_commandline().


Variable Documentation

char _parsing_blocks = 0

Definition at line 36 of file args.c.

Referenced by parse_block_size_value(), and parse_num().

Initial value:
 {
        { "black", "" },
        { "red", "" },
        { "green", "" },
        { "yellow", "" },
        { "blue", "" },
        { "magenta", "" },
        { "cyan", "" },
        { "white", "" },
        { 0, 0 }
}

Definition at line 619 of file args.c.

Initial value:
 {
        { "black", "" },
        { "red", "" },
        { "green", "" },
        { "yellow", "" },
        { "blue", "" },
        { "magenta", "" },
        { "cyan", "" },
        { "white", "" },
        { 0, 0 }
}

Definition at line 607 of file args.c.

Definition at line 173 of file args.c.

 All Data Structures Files Functions Variables Typedefs Defines

Generated on Mon Mar 21 12:13:31 2011 for bar by  doxygen 1.6.1