/scripts/ |
D | kallsyms.c | 94 size_t i; in check_symbol_range() local 97 for (i = 0; i < entries; ++i) { in check_symbol_range() 98 ar = &ranges[i]; in check_symbol_range() 186 size_t i; in symbol_in_range() local 189 for (i = 0; i < entries; ++i) { in symbol_in_range() 190 ar = &ranges[i]; in symbol_in_range() 223 int i; in symbol_valid() local 257 for (i = 0; special_symbols[i]; i++) in symbol_valid() 258 if (strcmp(sym_name, special_symbols[i]) == 0) in symbol_valid() 261 for (i = 0; special_suffixes[i]; i++) { in symbol_valid() [all …]
|
D | pnmtologo.c | 128 unsigned int i, j; in read_image() local 166 for (i = 0; i < logo_height; i++) { in read_image() 167 logo_data[i] = malloc(logo_width*sizeof(struct color)); in read_image() 168 if (!logo_data[i]) in read_image() 177 for (i = 0; i < logo_height; i++) in read_image() 179 logo_data[i][j].red = logo_data[i][j].green = in read_image() 180 logo_data[i][j].blue = 255*(1-get_number(fp)); in read_image() 186 for (i = 0; i < logo_height; i++) in read_image() 188 logo_data[i][j].red = logo_data[i][j].green = in read_image() 189 logo_data[i][j].blue = get_number255(fp, maxval); in read_image() [all …]
|
D | conmakehash.c | 54 int i; in addpair() local 60 for ( i = 0 ; i < unicount[fp] ; i++ ) in addpair() 61 if ( unitable[fp][i] == un ) in addpair() 85 int i, nuni, nent; in main() local 112 for ( i = 0 ; i < fontlen ; i++ ) in main() 113 unicount[i] = 0; in main() 189 for (i=fp0; i<=fp1; i++) in main() 190 addpair(i,i); in main() 221 for(i=fp0; i<=fp1; i++) in main() 222 addpair(i,un0-fp0+i); in main() [all …]
|
D | docproc.c | 84 int i; in consume_symbol() local 86 for (i = 0; i < all_list_len; i++) { in consume_symbol() 87 if (!all_list[i]) in consume_symbol() 89 if (strcmp(sym, all_list[i])) in consume_symbol() 91 all_list[i] = NULL; in consume_symbol() 171 int i; in filename_exist() local 172 for (i=0; i < symfilecnt; i++) in filename_exist() 173 if (strcmp(symfilelist[i].filename, filename) == 0) in filename_exist() 174 return &symfilelist[i]; in filename_exist() 253 int i,j; in docfunctions() local [all …]
|
D | get_maintainer.pl | 551 for (my $i = $start; $i < $end; $i++) { 552 my $line = $typevalue[$i]; 569 for (my $i = $start; $i < $end; $i++) { 570 my $line = $typevalue[$i]; 614 my $i; 618 for ($i = $start; $i < $end; $i++) { 619 my $line = $typevalue[$i]; 633 for ($i = $start; $i < $end; $i++) { 634 my $line = $typevalue[$i]; 668 my $i; [all …]
|
D | sortextable.c | 176 #define SPECIAL(i) ((i) - (SHN_HIRESERVE + 1)) argument 178 static inline int is_shndx_special(unsigned int i) in is_shndx_special() argument 180 return i != SHN_XINDEX && i >= SHN_LORESERVE && i <= SHN_HIRESERVE; in is_shndx_special() 214 int i; in sort_relative_table() local 220 i = 0; in sort_relative_table() 221 while (i < image_size) { in sort_relative_table() 222 uint32_t *loc = (uint32_t *)(extab_image + i); in sort_relative_table() 223 w(r(loc) + i, loc); in sort_relative_table() 224 i += 4; in sort_relative_table() 230 i = 0; in sort_relative_table() [all …]
|
D | markup_oops.pl | 323 my $i; 331 $i = $center; 332 while ($i >= $start) { 333 $reglines[$i] = process_x86_regs($lines[$i], $center - $i); 334 $i = $i - 1; 337 $i = $start; 338 while ($i < $finish) { 340 if ($i == $center) { 341 $line = "*$lines[$i] "; 343 $line = " $lines[$i] "; [all …]
|
D | sortextable.h | 112 int i; in do_func() local 129 for (i = 0; i < num_sections; i++) { in do_func() 130 idx = r(&shdr[i].sh_name); in do_func() 132 extab_sec = shdr + i; in do_func() 133 extab_index = i; in do_func() 135 if ((r(&shdr[i].sh_type) == SHT_REL || in do_func() 136 r(&shdr[i].sh_type) == SHT_RELA) && in do_func() 137 r(&shdr[i].sh_info) == extab_index) { in do_func() 138 relocs = (void *)ehdr + _r(&shdr[i].sh_offset); in do_func() 139 relocs_size = _r(&shdr[i].sh_size); in do_func() [all …]
|
D | cleanpatch | 23 my($i, $c); 25 for ($i = 0; $i < length($li); $i++) { 26 $c = substr($li, $i, 1); 58 my($c, $i); 62 for ($i = 0; $i < length($li); $i++) { 63 $c = substr($li,$i,1); 192 my $i; 198 for ($i = scalar(@hunk_lines)-1; $i > 0; $i--) { 199 $l = $hunk_lines[$i];
|
D | decode_stacktrace.sh | 95 for i in "${!words[@]}"; do 97 if [[ ${words[$i]} =~ \[\<([^]]+)\>\] ]]; then 98 unset words[$i] 102 if [[ ${words[$i]} == \[ && ${words[$i+1]} == *\] ]]; then 103 unset words[$i] 104 words[$i+1]=$(printf "[%13s\n" "${words[$i+1]}")
|
D | headerdep.pl | 64 for my $i (@opt_include) { 66 $stripped =~ s/^$i\///; 79 for my $i (@opt_include) { 80 my $path = "$i/$filename"; 102 for my $i (0 .. $#lines) { 103 my $line = $lines[$i]; 106 push @{$deps{$header}}, [$i + 1, $dep]; 118 for my $i (0 .. $#$cycle - 1) { 119 $cycle->[$i]->[0] = $cycle->[$i + 1]->[0];
|
D | cleanfile | 23 my($i, $c); 25 for ($i = 0; $i < length($li); $i++) { 26 $c = substr($li, $i, 1); 58 my($c, $i); 62 for ($i = 0; $i < length($li); $i++) { 63 $c = substr($li,$i,1);
|
/scripts/selinux/genheaders/ |
D | genheaders.c | 43 int i, j, k; in main() local 61 for (i = 0; secclass_map[i].name; i++) { in main() 62 struct security_class_mapping *map = &secclass_map[i]; in main() 69 for (i = 1; i < isids_len; i++) in main() 70 initial_sid_to_string[i] = stoupperx(initial_sid_to_string[i]); in main() 75 for (i = 0; secclass_map[i].name; i++) { in main() 76 struct security_class_mapping *map = &secclass_map[i]; in main() 80 fprintf(fout, "%2d\n", i+1); in main() 85 for (i = 1; i < isids_len; i++) { in main() 86 const char *s = initial_sid_to_string[i]; in main() [all …]
|
/scripts/selinux/mdp/ |
D | mdp.c | 49 int i, j, mls = 0; in main() local 72 for (i = 0; secclass_map[i].name; i++) in main() 73 fprintf(fout, "class %s\n", secclass_map[i].name); in main() 78 for (i = 1; i < initial_sid_to_string_len; i++) in main() 79 fprintf(fout, "sid %s\n", initial_sid_to_string[i]); in main() 83 for (i = 0; secclass_map[i].name; i++) { in main() 84 struct security_class_mapping *map = &secclass_map[i]; in main() 103 for (i = 0; secclass_map[i].name; i++) in main() 105 secclass_map[i].name); in main() 110 for (i = 1; i < initial_sid_to_string_len; i++) in main() [all …]
|
/scripts/kconfig/lxdialog/ |
D | inputbox.c | 47 int i, x, y, box_y, box_x, box_width; in dialog_inputbox() local 77 for (i = 0; i < width - 2; i++) in dialog_inputbox() 107 for (i = 0; i < box_width - 1; i++) in dialog_inputbox() 108 waddch(dialog, instr[show_x + i]); in dialog_inputbox() 139 for (i = pos - 1; i < len; i++) { in dialog_inputbox() 140 instr[i] = instr[i+1]; in dialog_inputbox() 148 for (i = 0; i < box_width; i++) { in dialog_inputbox() 149 if (!instr[show_x + i]) { in dialog_inputbox() 153 waddch(dialog, instr[show_x + i]); in dialog_inputbox() 166 for (i = 0; i < box_width; i++) { in dialog_inputbox() [all …]
|
D | textbox.c | 60 int i, x, y, cur_x, cur_y, key = 0; in dialog_textbox() local 75 for (i = 0; i < *_vscroll; i++) in dialog_textbox() 124 for (i = 0; i < width - 2; i++) in dialog_textbox() 250 for (i = 0; keys[i]; i++) { in dialog_textbox() 251 if (key == keys[i]) { in dialog_textbox() 282 int i; in back_lines() local 286 for (i = 0; i < n; i++) { in back_lines() 315 int i, passed_end = 0; in print_page() local 320 for (i = 0; i < height; i++) in print_page() 328 for (i = 0; i < height; i++) { in print_page() [all …]
|
D | menubox.c | 81 int i; in do_print_item() local 82 for (i = 0; i < menu_width; i++) in do_print_item() 187 int i, j, x, y, box_x, box_y; in dialog_menu() local 218 for (i = 0; i < width - 2; i++) in dialog_menu() 269 for (i = 0; i < max_choice; i++) { in dialog_menu() 270 print_item(first_item + i, i, i == choice); in dialog_menu() 289 i = max_choice; in dialog_menu() 291 for (i = choice + 1; i < max_choice; i++) { in dialog_menu() 292 item_set(scroll + i); in dialog_menu() 297 if (i == max_choice) in dialog_menu() [all …]
|
D | checklist.c | 33 int i; in print_item() local 42 for (i = 0; i < list_width; i++) in print_item() 120 int i, x, y, box_x, box_y; in dialog_checklist() local 155 for (i = 0; i < width - 2; i++) in dialog_checklist() 194 for (i = 0; i < max_choice; i++) { in dialog_checklist() 195 item_set(scroll + i); in dialog_checklist() 196 print_item(list, i, i == choice); in dialog_checklist() 211 for (i = 0; i < max_choice; i++) { in dialog_checklist() 212 item_set(i + scroll); in dialog_checklist() 217 if (i < max_choice || key == KEY_UP || key == KEY_DOWN || in dialog_checklist() [all …]
|
/scripts/dtc/ |
D | util.c | 139 static char get_oct_char(const char *s, int *i) in get_oct_char() argument 146 strncpy(x, s + *i, 3); in get_oct_char() 152 (*i) += endx - x; in get_oct_char() 162 static char get_hex_char(const char *s, int *i) in get_hex_char() argument 169 strncpy(x, s + *i, 2); in get_hex_char() 175 (*i) += endx - x; in get_hex_char() 179 char get_escape_char(const char *s, int *i) in get_escape_char() argument 181 char c = s[*i]; in get_escape_char() 182 int j = *i + 1; in get_escape_char() 226 (*i) = j; in get_escape_char() [all …]
|
D | fdtdump.c | 22 int i; in print_data() local 33 for (i = 0; i < len; i += 4) in print_data() 35 i < (len - 4) ? " " : ""); in print_data() 39 for (i = 0; i < len; i++) in print_data() 40 printf("%02x%s", *p++, i < len - 1 ? " " : ""); in print_data() 60 int i; in dump_blob() local 87 for (i = 0; ; i++) { in dump_blob() 88 addr = fdt64_to_cpu(p_rsvmap[i].address); in dump_blob() 89 size = fdt64_to_cpu(p_rsvmap[i].size); in dump_blob()
|
/scripts/mod/ |
D | modpost.h | 68 #define ELF64_MIPS_R_SYM(i) \ argument 69 ((__extension__ (_Elf64_Mips_R_Info_union)(i)).r_info_fields.r_sym) 71 #define ELF64_MIPS_R_TYPE(i) \ argument 72 ((__extension__ (_Elf64_Mips_R_Info_union)(i)).r_info_fields.r_type1) 78 unsigned int i; in __endian() local 79 for (i = 0; i < size; i++) in __endian() 80 ((unsigned char*)dest)[i] = ((unsigned char*)src)[size - i-1]; in __endian() 150 static inline int is_shndx_special(unsigned int i) in is_shndx_special() argument 152 return i != SHN_XINDEX && i >= SHN_LORESERVE && i <= SHN_HIRESERVE; in is_shndx_special() 160 #define SPECIAL(i) ((i) - (SHN_HIRESERVE + 1)) argument
|
D | file2alias.c | 109 int i; in device_id_check() local 120 for (i = 0; i < id_size; i++ ) { in device_id_check() 121 if (*(uint8_t*)(symval+size-id_size+i)) { in device_id_check() 125 for (i = 0; i < id_size; i++ ) in device_id_check() 127 *(uint8_t*)(symval+size-id_size+i) ); in device_id_check() 212 unsigned int init = *bcd, i, j; in incbcd() local 222 for (i=0 ; i < chars ; i++) { in incbcd() 223 c = (*bcd >> (i << 2)) & 0xf; in incbcd() 225 for (j=0 ; j < i ; j++) in incbcd() 235 for (i=0 ; i < chars ; i++) { in incbcd() [all …]
|
D | sumversion.c | 233 unsigned long i; in parse_string() local 236 for (i = 1; i < len; i++) { in parse_string() 237 add_char(file[i], md); in parse_string() 238 if (file[i] == '"' && file[i-1] != '\\') in parse_string() 241 return i; in parse_string() 246 unsigned long i; in parse_comment() local 248 for (i = 2; i < len; i++) { in parse_comment() 249 if (file[i-1] == '*' && file[i] == '/') in parse_comment() 252 return i; in parse_comment() 259 unsigned long i, len; in parse_file() local [all …]
|
/scripts/kconfig/ |
D | nconf.gui.c | 177 int i; in get_line_no() local 183 for (i = 0; text[i] != '\0'; i++) in get_line_no() 184 if (text[i] == '\n') in get_line_no() 191 int i; in get_line() local 197 for (i = 0; text[i] != '\0' && lines < line_no; i++) in get_line() 198 if (text[i] == '\n') in get_line() 200 return text+i; in get_line() 218 int i; in fill_window() local 223 for (i = 0; i < total_lines; i++) { in fill_window() 225 const char *line = get_line(text, i); in fill_window() [all …]
|
/scripts/coccinelle/api/ |
D | simple_open.cocci | 14 identifier i, f; 16 -int open_f(struct inode *i, struct file *f) 19 -if (i->i_private) 20 -f->private_data = i->i_private; 22 -f->private_data = i->i_private; 40 identifier i, f; 43 int open_f@p(struct inode *i, struct file *f) 46 if (i->i_private) 47 f->private_data = i->i_private; 49 f->private_data = i->i_private;
|