Searched refs:cnt (Results 1 – 7 of 7) sorted by relevance
| /scripts/kconfig/ |
| D | conf.c | 126 int cnt = 0; in randomize_choice_values() local 137 cnt++; in randomize_choice_values() 140 while (cnt > 0) { in randomize_choice_values() 141 x = rand() % cnt; in randomize_choice_values() 163 cnt--; in randomize_choice_values() 178 int cnt; in conf_set_all_new_symbols() local 259 cnt = rand() % 100; in conf_set_all_new_symbols() 261 if (cnt < pty) in conf_set_all_new_symbols() 263 else if (cnt < pty + ptm) in conf_set_all_new_symbols() 265 } else if (cnt < pby) { in conf_set_all_new_symbols() [all …]
|
| D | symbol.c | 993 int i, cnt, size; in sym_re_search() local 997 cnt = size = 0; in sym_re_search() 1009 if (cnt >= size) { in sym_re_search() 1021 sym_match_arr[cnt].so = match[0].rm_so; in sym_re_search() 1022 sym_match_arr[cnt].eo = match[0].rm_eo; in sym_re_search() 1023 sym_match_arr[cnt++].sym = sym; in sym_re_search() 1026 qsort(sym_match_arr, cnt, sizeof(struct sym_match), sym_rel_comp); in sym_re_search() 1027 sym_arr = malloc((cnt+1) * sizeof(struct symbol *)); in sym_re_search() 1030 for (i = 0; i < cnt; i++) in sym_re_search() 1032 sym_arr[cnt] = NULL; in sym_re_search()
|
| /scripts/ |
| D | recordmcount.c | 111 size_t cnt = count; in uwrite() local 134 cnt = file_end - file_ptr; in uwrite() 136 cnt = 0; in uwrite() 141 if (cnt) in uwrite() 142 memcpy(file_ptr, buf, cnt); in uwrite() 144 if (cnt < count) in uwrite() 145 memcpy(file_append + idx, buf + cnt, count - cnt); in uwrite() 279 int cnt = 1; in make_nop_arm() local 287 cnt = 2; in make_nop_arm() 292 cnt = 3; in make_nop_arm() [all …]
|
| D | checkpatch.pl | 2010 my ($linenr, $cnt) = @_; 2013 $cnt++; 2016 while ($cnt) { 2019 $cnt--; 2037 my ($linenr, $cnt, $here) = @_; 2040 for (my $n = 0; $n < $cnt; $n++) { 2733 my $cnt = $realcnt; 2734 for (my $ln = $linenr + 1; $cnt > 0; $ln++) { 2737 $cnt--; 5530 my $cnt = statement_rawlines($if_stat); [all …]
|
| /scripts/gdb/linux/ |
| D | interrupts.py | 94 cnt = utils.gdb_eval_or_none("irq_err_count") 96 if cnt is not None: 97 text += "%*s: %10u\n" % (prec, "ERR", cnt['counter']) 150 cnt = utils.gdb_eval_or_none("irq_mis_count") 151 if cnt is not None: 152 text += "%*s: %10u\n" % (prec, "MIS", cnt['counter'])
|
| /scripts/mod/ |
| D | file2alias.c | 576 int i, byte_shift, cnt = 0; in do_acpi_entry() local 579 sprintf(&alias[cnt], "acpi*:"); in do_acpi_entry() 580 cnt = 6; in do_acpi_entry() 585 sprintf(&alias[cnt], "%02x", in do_acpi_entry() 588 sprintf(&alias[cnt], "??"); in do_acpi_entry() 589 cnt += 2; in do_acpi_entry() 591 sprintf(&alias[cnt], ":*"); in do_acpi_entry()
|
| /scripts/dtc/ |
| D | checks.c | 1893 int cnt = 0; in check_graph_child_address() local 1906 cnt++; in check_graph_child_address() 1909 if (cnt == 1 && node->addr_cells != -1) in check_graph_child_address()
|