Home
last modified time | relevance | path

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

1234

/scripts/
Dkallsyms.c182 size_t i; in check_symbol_range() local
185 for (i = 0; i < entries; ++i) { in check_symbol_range()
186 ar = &ranges[i]; in check_symbol_range()
252 size_t i; in symbol_in_range() local
255 for (i = 0; i < entries; ++i) { in symbol_in_range()
256 ar = &ranges[i]; in symbol_in_range()
294 unsigned int i, pos; in shrink_table() local
297 for (i = 0; i < table_cnt; i++) { in shrink_table()
298 if (symbol_valid(table[i])) { in shrink_table()
299 if (pos != i) in shrink_table()
[all …]
Dsorttable.c169 #define SPECIAL(i) ((i) - (SHN_HIRESERVE + 1)) argument
171 static inline int is_shndx_special(unsigned int i) in is_shndx_special() argument
173 return i != SHN_XINDEX && i >= SHN_LORESERVE && i <= SHN_HIRESERVE; in is_shndx_special()
207 int i = 0; in sort_relative_table() local
213 while (i < image_size) { in sort_relative_table()
214 uint32_t *loc = (uint32_t *)(extab_image + i); in sort_relative_table()
215 w(r(loc) + i, loc); in sort_relative_table()
216 i += 4; in sort_relative_table()
222 i = 0; in sort_relative_table()
223 while (i < image_size) { in sort_relative_table()
[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 …]
Dget_maintainer.pl353 my $i = 1;
379 push(@self_test_info, {file=>$file, linenr=>$i, line=>$line});
381 $i++;
807 for (my $i = $start; $i < $end; $i++) {
808 my $line = $typevalue[$i];
825 for (my $i = $start; $i < $end; $i++) {
826 my $line = $typevalue[$i];
870 my $i;
874 for ($i = $start; $i < $end; $i++) {
875 my $line = $typevalue[$i];
[all …]
Dcheck-sysctl-docs69 for (i = 1; i <= NF; i++) {
70 if (length($i) == 0) {
73 if (!inbrackets && substr($i, 1, 1) == "(") {
77 token = trimpunct($i)
79 if (debug) print trimpunct($i)
80 documented[trimpunct($i)]++
83 if (inbrackets && substr($i, length($i), 1) == ")") {
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];
Dsorttable.h129 int i; in sort_orctable() local
159 for (i = 0; i < num_entries; i++) { in sort_orctable()
160 idxs[i] = i; in sort_orctable()
161 tmp_orc_ip_table[i] = g_orc_ip_table[i] + i * sizeof(int); in sort_orctable()
167 for (i = 0; i < num_entries; i++) { in sort_orctable()
168 if (idxs[i] == i) in sort_orctable()
172 g_orc_ip_table[i] = tmp_orc_ip_table[idxs[i]] - i * sizeof(int); in sort_orctable()
173 g_orc_table[i] = tmp_orc_table[idxs[i]]; in sort_orctable()
216 int i; in do_sort() local
235 for (i = 0, s = shdr; s < shdr + shnum; i++, s++) { in do_sort()
[all …]
/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 const char *s = initial_sid_to_string[i]; in main()
74 initial_sid_to_string[i] = stoupperx(s); in main()
80 for (i = 0; secclass_map[i].name; i++) { in main()
81 struct security_class_mapping *map = &secclass_map[i]; in main()
82 fprintf(fout, "#define SECCLASS_%-39s %2d\n", map->name, i+1); in main()
87 for (i = 1; i < isids_len; i++) { in main()
[all …]
/scripts/selinux/mdp/
Dmdp.c44 int i, j, mls = 0; in main() local
67 for (i = 0; secclass_map[i].name; i++) in main()
68 fprintf(fout, "class %s\n", secclass_map[i].name); in main()
73 for (i = 1; i < initial_sid_to_string_len; i++) { in main()
74 const char *name = initial_sid_to_string[i]; in main()
79 fprintf(fout, "sid unused%d\n", i); in main()
84 for (i = 0; secclass_map[i].name; i++) { in main()
85 struct security_class_mapping *map = &secclass_map[i]; in main()
105 for (i = 0; secclass_map[i].name; i++) { in main()
106 struct security_class_mapping *map = &secclass_map[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 …]
Dchecklist.c20 int i; in print_item() local
29 for (i = 0; i < list_width; i++) in print_item()
107 int i, x, y, box_x, box_y; in dialog_checklist() local
142 for (i = 0; i < width - 2; i++) in dialog_checklist()
181 for (i = 0; i < max_choice; i++) { in dialog_checklist()
182 item_set(scroll + i); in dialog_checklist()
183 print_item(list, i, i == choice); in dialog_checklist()
198 for (i = 0; i < max_choice; i++) { in dialog_checklist()
199 item_set(i + scroll); in dialog_checklist()
204 if (i < max_choice || key == KEY_UP || key == KEY_DOWN || in dialog_checklist()
[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.c144 static char get_oct_char(const char *s, int *i) in get_oct_char() argument
151 strncpy(x, s + *i, 3); in get_oct_char()
157 (*i) += endx - x; in get_oct_char()
167 static char get_hex_char(const char *s, int *i) in get_hex_char() argument
174 strncpy(x, s + *i, 2); in get_hex_char()
180 (*i) += endx - x; in get_hex_char()
184 char get_escape_char(const char *s, int *i) in get_escape_char() argument
186 char c = s[*i]; in get_escape_char()
187 int j = *i + 1; in get_escape_char()
231 (*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()
/scripts/coccinelle/iterators/
Dfor_each_child.cocci23 iterator i;
47 i(es,n,...) S
53 iterator r.i,i1;
59 i(es,n,...) {
82 iterator r.i,i1,i2;
88 i(es,n,...) {
114 iterator r.i,i1,i2;
121 i(es,n,...) {
151 iterator r.i, i1;
156 i@j0(es,n,...) {
[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/mod/
Dmodpost.h70 #define ELF64_MIPS_R_SYM(i) \ argument
71 ((__extension__ (_Elf64_Mips_R_Info_union)(i)).r_info_fields.r_sym)
73 #define ELF64_MIPS_R_TYPE(i) \ argument
74 ((__extension__ (_Elf64_Mips_R_Info_union)(i)).r_info_fields.r_type1)
80 unsigned int i; in __endian() local
81 for (i = 0; i < size; i++) in __endian()
82 ((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/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