Home
last modified time | relevance | path

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

1234

/scripts/
Dkallsyms.c92 size_t i; in check_symbol_range() local
95 for (i = 0; i < entries; ++i) { in check_symbol_range()
96 ar = &ranges[i]; in check_symbol_range()
180 size_t i; in symbol_in_range() local
183 for (i = 0; i < entries; ++i) { in symbol_in_range()
184 ar = &ranges[i]; in symbol_in_range()
226 int i; in symbol_valid() local
251 for (i = 0; special_symbols[i]; i++) in symbol_valid()
252 if (strcmp(sym_name, special_symbols[i]) == 0) in symbol_valid()
255 for (i = 0; special_prefixes[i]; i++) { in symbol_valid()
[all …]
Dpnmtologo.c128 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 …]
Dconmakehash.c51 int i; in addpair() local
57 for ( i = 0 ; i < unicount[fp] ; i++ ) in addpair()
58 if ( unitable[fp][i] == un ) in addpair()
82 int i, nuni, nent; in main() local
109 for ( i = 0 ; i < fontlen ; i++ ) in main()
110 unicount[i] = 0; in main()
186 for (i=fp0; i<=fp1; i++) in main()
187 addpair(i,i); in main()
218 for(i=fp0; i<=fp1; i++) in main()
219 addpair(i,un0-fp0+i); in main()
[all …]
Dsortextable.c176 #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 x86_sort_relative_table() local
216 i = 0; in x86_sort_relative_table()
217 while (i < image_size) { in x86_sort_relative_table()
218 uint32_t *loc = (uint32_t *)(extab_image + i); in x86_sort_relative_table()
220 w(r(loc) + i, loc); in x86_sort_relative_table()
221 w(r(loc + 1) + i + 4, loc + 1); in x86_sort_relative_table()
222 w(r(loc + 2) + i + 8, loc + 2); in x86_sort_relative_table()
[all …]
Dget_maintainer.pl344 my $i = 1;
370 push(@self_test_info, {file=>$file, linenr=>$i, line=>$line});
372 $i++;
785 for (my $i = $start; $i < $end; $i++) {
786 my $line = $typevalue[$i];
803 for (my $i = $start; $i < $end; $i++) {
804 my $line = $typevalue[$i];
848 my $i;
852 for ($i = $start; $i < $end; $i++) {
853 my $line = $typevalue[$i];
[all …]
Dcleanpatch25 my($i, $c);
27 for ($i = 0; $i < length($li); $i++) {
28 $c = substr($li, $i, 1);
60 my($c, $i);
64 for ($i = 0; $i < length($li); $i++) {
65 $c = substr($li,$i,1);
194 my $i;
200 for ($i = scalar(@hunk_lines)-1; $i > 0; $i--) {
201 $l = $hunk_lines[$i];
Dmarkup_oops.pl320 my $i;
328 $i = $center;
329 while ($i >= $start) {
330 $reglines[$i] = process_x86_regs($lines[$i], $center - $i);
331 $i = $i - 1;
334 $i = $start;
335 while ($i < $finish) {
337 if ($i == $center) {
338 $line = "*$lines[$i] ";
340 $line = " $lines[$i] ";
[all …]
Dsortextable.h110 int i; in do_func() local
127 for (i = 0; i < num_sections; i++) { in do_func()
128 idx = r(&shdr[i].sh_name); in do_func()
130 extab_sec = shdr + i; in do_func()
131 extab_index = i; in do_func()
133 if ((r(&shdr[i].sh_type) == SHT_REL || in do_func()
134 r(&shdr[i].sh_type) == SHT_RELA) && in do_func()
135 r(&shdr[i].sh_info) == extab_index) { in do_func()
136 relocs = (void *)ehdr + _r(&shdr[i].sh_offset); in do_func()
137 relocs_size = _r(&shdr[i].sh_size); in do_func()
[all …]
Dcleanfile25 my($i, $c);
27 for ($i = 0; $i < length($li); $i++) {
28 $c = substr($li, $i, 1);
60 my($c, $i);
64 for ($i = 0; $i < length($li); $i++) {
65 $c = substr($li,$i,1);
Dheaderdep.pl65 for my $i (@opt_include) {
67 $stripped =~ s/^$i\///;
80 for my $i (@opt_include) {
81 my $path = "$i/$filename";
103 for my $i (0 .. $#lines) {
104 my $line = $lines[$i];
107 push @{$deps{$header}}, [$i + 1, $dep];
119 for my $i (0 .. $#$cycle - 1) {
120 $cycle->[$i]->[0] = $cycle->[$i + 1]->[0];
/scripts/selinux/genheaders/
Dgenheaders.c46 int i, j; in main() local
62 for (i = 0; secclass_map[i].name; i++) { in main()
63 struct security_class_mapping *map = &secclass_map[i]; in main()
70 for (i = 1; i < isids_len; i++) in main()
71 initial_sid_to_string[i] = stoupperx(initial_sid_to_string[i]); in main()
76 for (i = 0; secclass_map[i].name; i++) { in main()
77 struct security_class_mapping *map = &secclass_map[i]; in main()
78 fprintf(fout, "#define SECCLASS_%-39s %2d\n", map->name, i+1); in main()
83 for (i = 1; i < isids_len; i++) { in main()
84 const char *s = initial_sid_to_string[i]; in main()
[all …]
/scripts/kconfig/lxdialog/
Dinputbox.c34 int i, x, y, box_y, box_x, box_width; in dialog_inputbox() local
64 for (i = 0; i < width - 2; i++) in dialog_inputbox()
94 for (i = 0; i < box_width - 1; i++) in dialog_inputbox()
95 waddch(dialog, instr[show_x + i]); in dialog_inputbox()
126 for (i = pos - 1; i < len; i++) { in dialog_inputbox()
127 instr[i] = instr[i+1]; in dialog_inputbox()
135 for (i = 0; i < box_width; i++) { in dialog_inputbox()
136 if (!instr[show_x + i]) { in dialog_inputbox()
140 waddch(dialog, instr[show_x + i]); in dialog_inputbox()
153 for (i = 0; i < box_width; i++) { in dialog_inputbox()
[all …]
Dtextbox.c47 int i, x, y, cur_x, cur_y, key = 0; in dialog_textbox() local
62 for (i = 0; i < *_vscroll; i++) in dialog_textbox()
111 for (i = 0; i < width - 2; i++) in dialog_textbox()
237 for (i = 0; keys[i]; i++) { in dialog_textbox()
238 if (key == keys[i]) { in dialog_textbox()
269 int i; in back_lines() local
273 for (i = 0; i < n; i++) { in back_lines()
302 int i, passed_end = 0; in print_page() local
307 for (i = 0; i < height; i++) in print_page()
315 for (i = 0; i < height; i++) { in print_page()
[all …]
Dmenubox.c68 int i; in do_print_item() local
69 for (i = 0; i < menu_width; i++) in do_print_item()
174 int i, j, x, y, box_x, box_y; in dialog_menu() local
205 for (i = 0; i < width - 2; i++) in dialog_menu()
256 for (i = 0; i < max_choice; i++) { in dialog_menu()
257 print_item(first_item + i, i, i == choice); in dialog_menu()
276 i = max_choice; in dialog_menu()
278 for (i = choice + 1; i < max_choice; i++) { in dialog_menu()
279 item_set(scroll + i); in dialog_menu()
284 if (i == max_choice) in dialog_menu()
[all …]
/scripts/selinux/mdp/
Dmdp.c41 int i, j, mls = 0; in main() local
64 for (i = 0; secclass_map[i].name; i++) in main()
65 fprintf(fout, "class %s\n", secclass_map[i].name); in main()
70 for (i = 1; i < initial_sid_to_string_len; i++) in main()
71 fprintf(fout, "sid %s\n", 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()
96 for (i = 0; secclass_map[i].name; i++) { in main()
97 struct security_class_mapping *map = &secclass_map[i]; in main()
116 for (i = 0; secclass_map[i].name; i++) in main()
[all …]
/scripts/atomic/
Datomics.tbl8 # * I/i - int: returns base type
17 # * i - base type (int/s64/long)
21 set s v i
22 add vRF i v
23 sub vRF i v
26 and vF i v
27 andnot vF i v
28 or vF i v
29 xor vF i v
30 xchg I v i
[all …]
/scripts/dtc/
Dutil.c143 static char get_oct_char(const char *s, int *i) in get_oct_char() argument
150 strncpy(x, s + *i, 3); in get_oct_char()
156 (*i) += endx - x; in get_oct_char()
166 static char get_hex_char(const char *s, int *i) in get_hex_char() argument
173 strncpy(x, s + *i, 2); in get_hex_char()
179 (*i) += endx - x; in get_hex_char()
183 char get_escape_char(const char *s, int *i) in get_escape_char() argument
185 char c = s[*i]; in get_escape_char()
186 int j = *i + 1; in get_escape_char()
230 (*i) = j; in get_escape_char()
[all …]
Dfdtdump.c23 int i; in print_data() local
34 for (i = 0; i < len; i += 4) in print_data()
36 i < (len - 4) ? " " : ""); in print_data()
40 for (i = 0; i < len; i++) in print_data()
41 printf("%02x%s", *p++, i < len - 1 ? " " : ""); in print_data()
61 int i; in dump_blob() local
88 for (i = 0; ; i++) { in dump_blob()
89 addr = fdt64_to_cpu(p_rsvmap[i].address); in dump_blob()
90 size = fdt64_to_cpu(p_rsvmap[i].size); in dump_blob()
/scripts/gcc-plugins/
Darm_ssp_per_task_plugin.c76 int i; in plugin_init() local
83 for (i = 0; i < argc; ++i) { in plugin_init()
84 if (!strcmp(argv[i].key, "disable")) in plugin_init()
88 if (!argv[i].value) { in plugin_init()
90 plugin_name, argv[i].key); in plugin_init()
94 if (!strcmp(argv[i].key, "tso")) { in plugin_init()
95 tso = atoi(argv[i].value); in plugin_init()
99 if (!strcmp(argv[i].key, "offset")) { in plugin_init()
100 canary_offset = atoi(argv[i].value); in plugin_init()
104 plugin_name, argv[i].key); in plugin_init()
Drandomize_layout_plugin.c155 int i; in raninit() local
162 for (i=0; i < 30; ++i) in raninit()
176 unsigned long i; in partition_struct() local
185 for (i = 0; i < length; i++) { in partition_struct()
187 size_groups[group_idx].tree_start = fields[i]; in partition_struct()
188 size_groups[group_idx].start = i; in partition_struct()
192 accum_size += (unsigned long)int_size_in_bytes(TREE_TYPE(fields[i])); in partition_struct()
212 unsigned long i, x; in performance_shuffle() local
218 for (i = num_groups - 1; i > 0; i--) { in performance_shuffle()
220 randnum = ranval(prng_state) % (i + 1); in performance_shuffle()
[all …]
/scripts/mod/
Dmodpost.h69 #define ELF64_MIPS_R_SYM(i) \ argument
70 ((__extension__ (_Elf64_Mips_R_Info_union)(i)).r_info_fields.r_sym)
72 #define ELF64_MIPS_R_TYPE(i) \ argument
73 ((__extension__ (_Elf64_Mips_R_Info_union)(i)).r_info_fields.r_type1)
79 unsigned int i; in __endian() local
80 for (i = 0; i < size; i++) in __endian()
81 ((unsigned char*)dest)[i] = ((unsigned char*)src)[size - i-1]; in __endian()
161 static inline int is_shndx_special(unsigned int i) in is_shndx_special() argument
163 return i != SHN_XINDEX && i >= SHN_LORESERVE && i <= SHN_HIRESERVE; in is_shndx_special()
171 #define SPECIAL(i) ((i) - (SHN_HIRESERVE + 1)) argument
Dfile2alias.c129 int i; in device_id_check() local
140 for (i = 0; i < id_size; i++ ) { in device_id_check()
141 if (*(uint8_t*)(symval+size-id_size+i)) { in device_id_check()
145 for (i = 0; i < id_size; i++ ) in device_id_check()
147 *(uint8_t*)(symval+size-id_size+i) ); in device_id_check()
232 unsigned int init = *bcd, i, j; in incbcd() local
242 for (i=0 ; i < chars ; i++) { in incbcd()
243 c = (*bcd >> (i << 2)) & 0xf; in incbcd()
245 for (j=0 ; j < i ; j++) in incbcd()
255 for (i=0 ; i < chars ; i++) { in incbcd()
[all …]
/scripts/coccinelle/misc/
Dorplus.cocci19 identifier i,i1;
26 c1@i1 +@p c@i
31 identifier i;
36 e | c@i
38 e & c@i
40 e |= c@i
42 e &= c@i
44 e | c1@i
46 e & c1@i
48 e |= c1@i
[all …]
/scripts/coccinelle/api/
Dsimple_open.cocci15 identifier i, f;
17 -int open_f(struct inode *i, struct file *f)
20 -if (i->i_private)
21 -f->private_data = i->i_private;
23 -f->private_data = i->i_private;
41 identifier i, f;
44 int open_f@p(struct inode *i, struct file *f)
47 if (i->i_private)
48 f->private_data = i->i_private;
50 f->private_data = i->i_private;
/scripts/kconfig/
Dnconf.gui.c177 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 …]

1234