Home
last modified time | relevance | path

Searched refs:argv (Results 1 – 16 of 16) sorted by relevance

/babblesim_base-3.6.0-3.5.0/device_pause_simu/src/
Dbs_pause_args.c22 void cmd_trace_lvl_found(char * argv, int offset){ in cmd_trace_lvl_found() argument
26 void cmd_gdev_nbr_found(char * argv, int offset){ in cmd_gdev_nbr_found() argument
34 void bs_pause_argparse(int argc, char *argv[], pause_args_t *args) in bs_pause_argparse() argument
49 if ( !bs_args_parse_one_arg(argv[i], args_struct) ){ in bs_pause_argparse()
51 if ( ( offset = bs_is_option(argv[i], "times", 0) ) ) { in bs_pause_argparse()
53 while ( ( i + 1 < argc ) && ( argv[i+1][0] != '-' ) ) { in bs_pause_argparse()
55 if ( sscanf(argv[i],"%lf",&time) != 1 ){ in bs_pause_argparse()
56 … bs_trace_error_line("Could not parse time entry nbr %i (%s)\n", args->n_times+1, argv[i]); in bs_pause_argparse()
67 bs_trace_error_line("Unknown command line switch '%s'\n",argv[i]); in bs_pause_argparse()
Dbs_pause_main.c23 int main(int argc, char *argv[]) { in main() argument
27 bs_pause_argparse(argc, argv, &args); in main()
Dbs_pause_args.h25 void bs_pause_argparse(int argc, char *argv[], pause_args_t *args);
/babblesim_base-3.6.0-3.5.0/device_time_monitor/src/
Dbs_time_monitor_args.c21 static void cmd_trace_lvl_found(char * argv, int offset){ in cmd_trace_lvl_found() argument
25 static void cmd_gdev_nbr_found(char * argv, int offset){ in cmd_gdev_nbr_found() argument
30 static void cmd_interval_found(char * argv, int offset){ in cmd_interval_found() argument
38 void bs_time_monitor_argparse(int argc, char *argv[], time_monitor_args_t *args) in bs_time_monitor_argparse() argument
51 bs_args_parse_cmd_line(argc, argv, args_struct); in bs_time_monitor_argparse()
Dbs_time_monitor_args.h22 void bs_time_monitor_argparse(int argc, char *argv[], time_monitor_args_t *args);
Dbs_time_monitor_main.c31 int main(int argc, char *argv[]) { in main() argument
35 bs_time_monitor_argparse(argc, argv, &args); in main()
/babblesim_base-3.6.0-3.5.0/device_handbrake/src/
Dbs_handbrake_args.c35 static void cmd_trace_lvl_found(char * argv, int offset){ in cmd_trace_lvl_found() argument
39 static void cmd_gdev_nbr_found(char * argv, int offset){ in cmd_gdev_nbr_found() argument
44 static void cmd_poke_period_found(char * argv, int offset){ in cmd_poke_period_found() argument
52 void bs_handbrake_argparse(int argc, char *argv[], handbrake_args_t *args) in bs_handbrake_argparse() argument
68 bs_args_parse_cmd_line(argc, argv, args_struct); in bs_handbrake_argparse()
Dbs_handbrake_args.h23 void bs_handbrake_argparse(int argc, char *argv[], handbrake_args_t *args);
Dbs_handbrake_main.c24 int main(int argc, char *argv[]) { in main() argument
28 bs_handbrake_argparse(argc, argv, &args); in main()
/babblesim_base-3.6.0-3.5.0/device_empty/src/
Dbs_empty_main.c26 void cmd_trace_lvl_found(char * argv, int offset){ in cmd_trace_lvl_found() argument
30 void cmd_gdev_nbr_found(char * argv, int offset){ in cmd_gdev_nbr_found() argument
38 void bs_empty_argparse(int argc, char *argv[], empty_args_t *args) in bs_empty_argparse() argument
48 bs_args_parse_cmd_line(argc, argv, args_struct); in bs_empty_argparse()
75 int main(int argc, char *argv[]) { in main() argument
79 bs_empty_argparse(argc, argv, &args); in main()
/babblesim_base-3.6.0-3.5.0/libUtilv1/src/
Dbs_cmd_line.h38 typedef void (*option_found_callback_f)(char *argv, int offset);
83 void bs_args_parse_cmd_line(int argc, char *argv[], bs_args_struct_t args_struct[]);
84 void bs_args_parse_all_cmd_line(int argc, char *argv[], bs_args_struct_t args_struct[]);
85 bool bs_args_parse_one_arg(char *argv, bs_args_struct_t args_struct[]);
Dbs_dump_files.h52 void bsdf_cmd_dump_found(char * argv, int offset);
53 void bsdf_cmd_printdumps_found(char * argv, int offset);
54 void bsdf_cmd_dumplevel_found(char * argv, int offset);
Dbs_dump_files.c123 void bsdf_cmd_dump_found(char * argv, int offset) { in bsdf_cmd_dump_found() argument
124 bs_dump_files_activate_file(&argv[offset]); in bsdf_cmd_dump_found()
127 void bsdf_cmd_printdumps_found(char * argv, int offset) { in bsdf_cmd_printdumps_found() argument
132 void bsdf_cmd_dumplevel_found(char * argv, int offset) { in bsdf_cmd_dumplevel_found() argument
Dbs_cmd_line.c463 bool bs_args_parse_one_arg(char *argv, bs_args_struct_t args_struct[]){ in bs_args_parse_one_arg() argument
466 if ( bs_is_help(argv) ) { in bs_args_parse_one_arg()
474 … ( offset = bs_is_option(argv, args_struct[count].option , !args_struct[count].is_switch) ) ){ in bs_args_parse_one_arg()
488 bs_read_optionparam(&argv[offset], in bs_args_parse_one_arg()
493 … (%s): both the destination pointer and the callback are NULL but the type is not manual\n", argv); in bs_args_parse_one_arg()
497 args_struct[count].call_when_found(argv, offset); in bs_args_parse_one_arg()
511 void bs_args_parse_all_cmd_line(int argc, char *argv[], bs_args_struct_t args_struct[]){ in bs_args_parse_all_cmd_line() argument
515 found = bs_args_parse_one_arg(argv[i], args_struct); in bs_args_parse_all_cmd_line()
519 bs_trace_error_line("%sUnknown command line switch '%s'\n",trace_prefix,argv[i]); in bs_args_parse_all_cmd_line()
529 void bs_args_parse_cmd_line(int argc, char *argv[], bs_args_struct_t args_struct[]){ in bs_args_parse_cmd_line() argument
[all …]
Dbs_tracing.c30 void bs_trace_disable_color(char * argv, int offset){ in bs_trace_disable_color() argument
35 void bs_trace_enable_color(char * argv, int offset){ in bs_trace_enable_color() argument
41 void bs_trace_force_color(char * argv, int offset){ in bs_trace_force_color() argument
Dbs_tracing.h23 void bs_trace_disable_color(char * argv, int offset);
24 void bs_trace_enable_color(char * argv, int offset);
25 void bs_trace_force_color(char * argv, int offset);