Home
last modified time | relevance | path

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

12345

/scripts/
Dkallsyms.c108 size_t i; in check_symbol_range() local
111 for (i = 0; i < entries; ++i) { in check_symbol_range()
112 ar = &ranges[i]; in check_symbol_range()
194 size_t i; in symbol_in_range() local
197 for (i = 0; i < entries; ++i) { in symbol_in_range()
198 ar = &ranges[i]; in symbol_in_range()
236 unsigned int i, pos; in shrink_table() local
239 for (i = 0; i < table_cnt; i++) { in shrink_table()
240 if (symbol_valid(table[i])) { in shrink_table()
241 if (pos != i) in shrink_table()
[all …]
Dsorttable.c179 #define SPECIAL(i) ((i) - (SHN_HIRESERVE + 1)) argument
181 static inline int is_shndx_special(unsigned int i) in is_shndx_special() argument
183 return i != SHN_XINDEX && i >= SHN_LORESERVE && i <= SHN_HIRESERVE; in is_shndx_special()
217 int i = 0; in sort_relative_table() local
223 while (i < image_size) { in sort_relative_table()
224 uint32_t *loc = (uint32_t *)(extab_image + i); in sort_relative_table()
225 w(r(loc) + i, loc); in sort_relative_table()
226 i += 4; in sort_relative_table()
232 i = 0; in sort_relative_table()
233 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 …]
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) == ")") {
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 …]
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/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 const struct security_class_mapping *map = &secclass_map[i]; in main()
105 for (i = 0; secclass_map[i].name; i++) { in main()
106 const struct security_class_mapping *map = &secclass_map[i]; in main()
[all …]
/scripts/dtc/
Dfdtoverlay.c100 int i, ret = -1; in do_fdtoverlay() local
119 for (i = 0; i < argc; i++) { in do_fdtoverlay()
121 ovblob[i] = utilfdt_read(argv[i], &ov_len); in do_fdtoverlay()
122 if (!ovblob[i]) { in do_fdtoverlay()
123 fprintf(stderr, "\nFailed to read '%s'\n", argv[i]); in do_fdtoverlay()
126 if (fdt_totalsize(ovblob[i]) > ov_len) { in do_fdtoverlay()
129 argv[i], (unsigned long)ov_len, in do_fdtoverlay()
130 fdt_totalsize(ovblob[i])); in do_fdtoverlay()
138 for (i = 0; i < argc; i++) { in do_fdtoverlay()
139 blob = apply_one(blob, ovblob[i], &buf_len, argv[i]); in do_fdtoverlay()
[all …]
Dutil.c155 static char get_oct_char(const char *s, int *i) in get_oct_char() argument
162 strncpy(x, s + *i, 3); in get_oct_char()
168 (*i) += endx - x; in get_oct_char()
178 static char get_hex_char(const char *s, int *i) in get_hex_char() argument
185 strncpy(x, s + *i, 2); in get_hex_char()
191 (*i) += endx - x; in get_hex_char()
195 char get_escape_char(const char *s, int *i) in get_escape_char() argument
197 char c = s[*i]; in get_escape_char()
198 int j = *i + 1; in get_escape_char()
242 (*i) = j; in get_escape_char()
[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.c22 int i; in back_lines() local
26 for (i = 0; i < n; i++) { in back_lines()
56 int i = 0; in get_line() local
64 } else if (i < MAX_LEN) in get_line()
65 line[i++] = *(page++); in get_line()
68 if (i == MAX_LEN) in get_line()
69 line[i++] = '\0'; in get_line()
73 if (i <= MAX_LEN) in get_line()
74 line[i] = '\0'; in get_line()
103 int i, passed_end = 0; in print_page() local
[all …]
Dmenubox.c166 int i, j, x, y, box_x, box_y; in dialog_menu() local
197 for (i = 0; i < width - 2; i++) in dialog_menu()
248 for (i = 0; i < max_choice; i++) { in dialog_menu()
249 print_item(first_item + i, i, i == choice); in dialog_menu()
268 i = max_choice; in dialog_menu()
270 for (i = choice + 1; i < max_choice; i++) { in dialog_menu()
271 item_set(scroll + i); in dialog_menu()
276 if (i == max_choice) in dialog_menu()
277 for (i = 0; i < max_choice; i++) { in dialog_menu()
278 item_set(scroll + i); 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/selinux/genheaders/
Dgenheaders.c46 int i, j; in main() local
65 for (i = 0; secclass_map[i].name; i++) { in main()
66 char *name = stoupperx(secclass_map[i].name); in main()
68 fprintf(fout, "#define SECCLASS_%-39s %2d\n", name, i+1); in main()
75 for (i = 1; i < isids_len; i++) { in main()
76 const char *s = initial_sid_to_string[i]; in main()
80 fprintf(fout, "#define SECINITSID_%-39s %2d\n", sidname, i); in main()
84 fprintf(fout, "\n#define SECINITSID_NUM %d\n", i-1); in main()
89 for (i = 0; secclass_map[i].name; i++) { in main()
92 char *name = stoupperx(secclass_map[i].name); 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:new
[all …]
/scripts/gcc-plugins/
Darm_ssp_per_task_plugin.c69 int i; in plugin_init() local
76 for (i = 0; i < argc; ++i) { in plugin_init()
77 if (!strcmp(argv[i].key, "disable")) in plugin_init()
81 if (!argv[i].value) { in plugin_init()
83 plugin_name, argv[i].key); in plugin_init()
87 if (!strcmp(argv[i].key, "offset")) { in plugin_init()
88 canary_offset = atoi(argv[i].value); in plugin_init()
92 plugin_name, argv[i].key); in plugin_init()
Drandomize_layout_plugin.c137 int i; in raninit() local
144 for (i=0; i < 30; ++i) in raninit()
158 unsigned long i; in partition_struct() local
167 for (i = 0; i < length; i++) { in partition_struct()
169 size_groups[group_idx].tree_start = fields[i]; in partition_struct()
170 size_groups[group_idx].start = i; in partition_struct()
174 accum_size += (unsigned long)int_size_in_bytes(TREE_TYPE(fields[i])); in partition_struct()
194 unsigned long i, x, index; in performance_shuffle() local
202 for (i = num_groups - 1; i > 0; i--) { in performance_shuffle()
204 randnum = ranval(prng_state) % (i + 1); in performance_shuffle()
[all …]
/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/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/mod/
Dsumversion.c233 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 …]
Dfile2alias.c144 int i; in device_id_check() local
152 for (i = 0; i < id_size; i++ ) { in device_id_check()
153 if (*(uint8_t*)(symval+size-id_size+i)) { in device_id_check()
157 for (i = 0; i < id_size; i++ ) in device_id_check()
159 *(uint8_t*)(symval+size-id_size+i) ); in device_id_check()
244 unsigned int init = *bcd, i, j; in incbcd() local
254 for (i=0 ; i < chars ; i++) { in incbcd()
255 c = (*bcd >> (i << 2)) & 0xf; in incbcd()
257 for (j=0 ; j < i ; j++) in incbcd()
267 for (i=0 ; i < chars ; i++) { in incbcd()
[all …]
/scripts/kconfig/
Dnconf.gui.c128 int i; in get_line_no() local
134 for (i = 0; text[i] != '\0'; i++) in get_line_no()
135 if (text[i] == '\n') in get_line_no()
142 int i; in get_line() local
148 for (i = 0; text[i] != '\0' && lines < line_no; i++) in get_line()
149 if (text[i] == '\n') in get_line()
151 return text+i; in get_line()
169 int i; in fill_window() local
174 for (i = 0; i < total_lines; i++) { in fill_window()
176 const char *line = get_line(text, i); in fill_window()
[all …]

12345