Home
last modified time | relevance | path

Searched refs:i (Results 1 – 11 of 11) sorted by relevance

/babblesim_base-3.7.0/libUtilv1/src/
Dbs_dump_files.c31 for (unsigned int i = 0 ; i < number_of_dump_files; i ++) { in bs_dump_files_set_dump_level() local
32 if (df_ctrl[i].dump_level <= newdumplevel) { in bs_dump_files_set_dump_level()
33 df_ctrl[i].enabled = true; in bs_dump_files_set_dump_level()
48 for (unsigned int i = 0; i < number_of_dump_files; i ++) { in bs_dump_files_activate_file() local
50 df_ctrl[i].enabled = false; in bs_dump_files_activate_file()
52 df_ctrl[i].postfix); in bs_dump_files_activate_file()
53 } else if (all || (strcmp(filename,df_ctrl[i].postfix) == 0)) { in bs_dump_files_activate_file()
54 df_ctrl[i].enabled = true; in bs_dump_files_activate_file()
56 df_ctrl[i].postfix); in bs_dump_files_activate_file()
68 for (unsigned int i = 0; i < number_of_dump_files; i ++) { in bs_dump_files_print_files() local
[all …]
Dbs_oswrap.c41 for (int i = 0 ; i < n ; i++) { in bs_set_sig_term_handler() local
42 sigaction(signals[i], &act, NULL); in bs_set_sig_term_handler()
150 uint i = 0; in bs_readline() local
151 while ( ( i < size - 1 ) && ( (c=getc(stream)) != EOF ) && c!='\n'){ in bs_readline()
152 s[i++] =c; in bs_readline()
154 s[i] = 0; in bs_readline()
Dbs_cmd_line.c515 int i; in bs_args_parse_all_cmd_line() local
517 for (i=0; i<argc; i++){ in bs_args_parse_all_cmd_line()
518 found = bs_args_parse_one_arg(argv[i], args_struct); in bs_args_parse_all_cmd_line()
522 bs_trace_error_line("%sUnknown command line switch '%s'\n",trace_prefix,argv[i]); in bs_args_parse_all_cmd_line()
/babblesim_base-3.7.0/libPhyComv1/src/
Dbs_pc_backchannel.c69 for (int i = 0; i < number_back_channels ; i ++) { in bs_clean_back_channels() local
71 if ( channels_status[i].ff_path[dir] ) { in bs_clean_back_channels()
72 close(channels_status[i].ff[dir]); //Close FIFO in bs_clean_back_channels()
73 remove(channels_status[i].ff_path[dir]); //Attempt to delete FIFO in bs_clean_back_channels()
74 free(channels_status[i].ff_path[dir]); in bs_clean_back_channels()
126 for (int i = 0 ; i < nbr_of_channels; i ++){ in bs_open_back_channel() local
128 channels_status[i].ff_path[dir] = (char*)bs_calloc( pb_com_path_length + 50 , sizeof(char)); in bs_open_back_channel()
130 sprintf(channels_status[i].ff_path[dir], "%s/Device%u_from%u_%u.bc", in bs_open_back_channel()
131 pb_com_path, global_dev_nbr, dev_nbrs[i], channel_nbrs[i]); in bs_open_back_channel()
133 sprintf(channels_status[i].ff_path[dir], "%s/Device%u_from%u_%u.bc", in bs_open_back_channel()
[all …]
/babblesim_base-3.7.0/device_pause_simu/src/
Dbs_pause_args.c47 for (int i=1; i<argc; i++){ in bs_pause_argparse() local
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()
54 i += 1; 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.c35 for (int i = 0 ; i < args.n_times ; i++) { in main() local
36 if ( args.times[i] < now ) { in main()
37 …ce_error_line("The list of times needs to be ordered (index %i: %i < %i)\n",i, args.times[i], now); in main()
39 wait_s.end = now = args.times[i]; in main()
/babblesim_base-3.7.0/libRandv2/src/
Dbs_rand_main.c98 uint i; in bs_random_Gaus_c_buffer() local
105 for (i = 0 ; i < size; i++){ in bs_random_Gaus_c_buffer()
114 buffer[i] = x * w + ( y * w )*I; in bs_random_Gaus_c_buffer()
193 for (uint i = 0; i < n; i ++) { in bs_random_Binomial() local
/babblesim_base-3.7.0/device_time_monitor/src/
Dbs_time_monitor_main.c49 for (int i = 0; i < QUEUE_DEPTH - 1; i++) { in main() local
/babblesim_base-3.7.0/device_time_monitor/docs/
DREADME.txt8 small values (i.e. not smaller than 50ms)
/babblesim_base-3.7.0/common/
Dmake.device.inc33 … sort | cut -d" " -f1,3 > $(COMPONENT_OUTPUT_DIR)/${MAP_FILE_NAME} ; sed -i "1i $$(wc -l $(COMPONE…
/babblesim_base-3.7.0/common/docs/
DLICENSE18 "control" means (i) the power, direct or indirect, to cause the