Searched refs:cnt (Results 1 – 7 of 7) sorted by relevance
/scripts/ |
D | recordmcount.c | 103 size_t cnt = count; in uwrite() local 126 cnt = file_end - file_ptr; in uwrite() 128 cnt = 0; in uwrite() 133 if (cnt) in uwrite() 134 memcpy(file_ptr, buf, cnt); in uwrite() 136 if (cnt < count) in uwrite() 137 memcpy(file_append + idx, buf + cnt, count - cnt); in uwrite() 271 int cnt = 1; in make_nop_arm() local 279 cnt = 2; in make_nop_arm() 284 cnt = 3; in make_nop_arm() [all …]
|
D | checkpatch.pl | 2005 my ($linenr, $cnt) = @_; 2008 $cnt++; 2011 while ($cnt) { 2014 $cnt--; 2032 my ($linenr, $cnt, $here) = @_; 2035 for (my $n = 0; $n < $cnt; $n++) { 2725 my $cnt = $realcnt; 2726 for (my $ln = $linenr + 1; $cnt > 0; $ln++) { 2729 $cnt--; 5526 my $cnt = statement_rawlines($if_stat); [all …]
|
/scripts/kconfig/ |
D | conf.c | 264 int cnt, def; in conf_choice() local 268 cnt = def = 0; in conf_choice() 277 cnt++; in conf_choice() 279 def = cnt; in conf_choice() 283 printf(" %d. %s", cnt, menu_get_prompt(child)); in conf_choice() 291 if (cnt == 1) { in conf_choice() 295 printf("[1-%d?]: ", cnt); in conf_choice() 300 cnt = def; in conf_choice() 301 printf("%d\n", cnt); in conf_choice() 314 cnt = def; in conf_choice() [all …]
|
D | confdata.c | 1139 int cnt, def; in randomize_choice_values() local 1152 cnt = 0; in randomize_choice_values() 1154 cnt++; in randomize_choice_values() 1160 def = (rand() % cnt); in randomize_choice_values() 1162 cnt = 0; in randomize_choice_values() 1164 if (def == cnt++) { in randomize_choice_values() 1205 int i, cnt, pby, pty, ptm; /* pby: probability of bool = y in conf_set_all_new_symbols() local 1274 cnt = rand() % 100; in conf_set_all_new_symbols() 1276 if (cnt < pty) in conf_set_all_new_symbols() 1278 else if (cnt < (pty+ptm)) in conf_set_all_new_symbols() [all …]
|
D | symbol.c | 955 int i, cnt, size; in sym_re_search() local 959 cnt = size = 0; in sym_re_search() 971 if (cnt >= size) { in sym_re_search() 983 sym_match_arr[cnt].so = match[0].rm_so; in sym_re_search() 984 sym_match_arr[cnt].eo = match[0].rm_eo; in sym_re_search() 985 sym_match_arr[cnt++].sym = sym; in sym_re_search() 988 qsort(sym_match_arr, cnt, sizeof(struct sym_match), sym_rel_comp); in sym_re_search() 989 sym_arr = malloc((cnt+1) * sizeof(struct symbol *)); in sym_re_search() 992 for (i = 0; i < cnt; i++) in sym_re_search() 994 sym_arr[cnt] = NULL; in sym_re_search()
|
/scripts/mod/ |
D | file2alias.c | 551 int i, byte_shift, cnt = 0; in do_acpi_entry() local 554 sprintf(&alias[cnt], "acpi*:"); in do_acpi_entry() 555 cnt = 6; in do_acpi_entry() 560 sprintf(&alias[cnt], "%02x", in do_acpi_entry() 563 sprintf(&alias[cnt], "??"); in do_acpi_entry() 564 cnt += 2; in do_acpi_entry() 566 sprintf(&alias[cnt], ":*"); in do_acpi_entry()
|
/scripts/dtc/ |
D | checks.c | 1684 int cnt = 0; in check_graph_child_address() local 1697 cnt++; in check_graph_child_address() 1700 if (cnt == 1 && node->addr_cells != -1) in check_graph_child_address()
|