Home
last modified time | relevance | path

Searched refs:y (Results 1 – 25 of 61) sorted by relevance

123

/scripts/coccinelle/misc/
Dminmax.cocci22 expression x, y;
30 * ((x) cmp@p (y) ? (x) : (y))
36 expression x, y;
45 * if ((x) cmp@p (y)) {
48 * max_val = (y);
70 expression x, y;
78 * ((x) cmp@p (y) ? (x) : (y))
84 expression x, y;
93 * if ((x) cmp@p (y)) {
96 * min_val = (y);
[all …]
/scripts/kconfig/lxdialog/
Dyesno.c17 int y = height - 2; in print_buttons() local
19 print_button(dialog, " Yes ", y, x, selected == 0); in print_buttons()
20 print_button(dialog, " No ", y, x + 13, selected == 1); in print_buttons()
22 wmove(dialog, y, x + 1 + 13 * selected); in print_buttons()
31 int i, x, y, key = 0, button = 0; in dialog_yesno() local
42 y = (getmaxy(stdscr) - height) / 2; in dialog_yesno()
44 draw_shadow(stdscr, y, x, height, width); in dialog_yesno()
46 dialog = newwin(height, width, y, x); in dialog_yesno()
Ddialog.h27 #define MIN(x,y) (x < y ? x : y) argument
28 #define MAX(x,y) (x > y ? x : y) argument
181 void end_dialog(int x, int y);
184 void print_autowrap(WINDOW * win, const char *prompt, int width, int y, int x);
185 void print_button(WINDOW * win, const char *label, int y, int x, int selected);
187 void draw_box(WINDOW * win, int y, int x, int height, int width, chtype box,
189 void draw_shadow(WINDOW * win, int y, int x, int height, int width);
Dmenubox.c90 static void print_arrows(WINDOW * win, int item_no, int scroll, int y, int x, in print_arrows() argument
97 wmove(win, y, x); in print_arrows()
111 y = y + height + 1; in print_arrows()
112 wmove(win, y, x); in print_arrows()
137 int y = height - 2; in print_buttons() local
139 print_button(win, "Select", y, x, selected == 0); in print_buttons()
140 print_button(win, " Exit ", y, x + 12, selected == 1); in print_buttons()
141 print_button(win, " Help ", y, x + 24, selected == 2); in print_buttons()
142 print_button(win, " Save ", y, x + 36, selected == 3); in print_buttons()
143 print_button(win, " Load ", y, x + 48, selected == 4); in print_buttons()
[all …]
Dchecklist.c53 int y, int x, int height) in print_arrows() argument
55 wmove(win, y, x); in print_arrows()
69 y = y + height + 1; in print_arrows()
70 wmove(win, y, x); in print_arrows()
91 int y = height - 2; in print_buttons() local
93 print_button(dialog, "Select", y, x, selected == 0); in print_buttons()
94 print_button(dialog, " Help ", y, x + 14, selected == 1); in print_buttons()
96 wmove(dialog, y, x + 1 + 14 * selected); in print_buttons()
107 int i, x, y, box_x, box_y; in dialog_checklist() local
131 y = (getmaxy(stdscr) - height) / 2; in dialog_checklist()
[all …]
Dinputbox.c19 int y = height - 2; in print_buttons() local
21 print_button(dialog, " Ok ", y, x, selected == 0); in print_buttons()
22 print_button(dialog, " Help ", y, x + 14, selected == 1); in print_buttons()
24 wmove(dialog, y, x + 1 + 14 * selected); in print_buttons()
34 int i, x, y, box_y, box_x, box_width; in dialog_inputbox() local
55 y = (getmaxy(stdscr) - height) / 2; in dialog_inputbox()
57 draw_shadow(stdscr, y, x, height, width); in dialog_inputbox()
59 dialog = newwin(height, width, y, x); in dialog_inputbox()
78 getyx(dialog, y, x); in dialog_inputbox()
79 box_y = y + 2; in dialog_inputbox()
[all …]
/scripts/kconfig/tests/choice_randomize2/
Dexpected_config05 CONFIG_A=y
7 CONFIG_FOO=y
8 CONFIG_X=y
/scripts/coccinelle/free/
Dpci_free_consistent.cocci15 expression x,y,z,e;
20 id = pci_alloc_consistent@p1(x,y,&z)
23 ... when != pci_free_consistent(x,y,id,z)
24 when != if (id) { ... pci_free_consistent(x,y,id,z) ... }
25 when != if (y) { ... pci_free_consistent(x,y,id,z) ... }
/scripts/
Dbootgraph.pl177 my ($s, $s2, $s3, $e, $w, $y, $y2, $style);
190 $y = $rows{$pid} * 150;
191 $y2 = $y + 4;
200 $y = $y + 15;
201 print "<rect x=\"$s\" width=\"$w\" y=\"$y\" height=\"115\" style=\"$style_wait\"/>\n";
203 print "<rect x=\"$s\" width=\"$w\" y=\"$y\" height=\"145\" style=\"$style\"/>\n";
Dstackdelta55 my $y = $new->{$_}{size};
56 my $delta = $y - $x;
58 printf "%s\t%d\t%d\t%+d\n", $_, $x, $y, $delta;
DKconfig.include19 # Return y if <command> exits with 0, n otherwise
20 success = $(if-success,$(1),y,n)
23 # Return n if <command> exits with 0, y otherwise
24 failure = $(if-success,$(1),n,y)
27 # Return y if the compiler supports <flag>, n otherwise
31 # Return y if the linker supports <flag>, n otherwise
35 # Return y if the assembler supports <instr>, n otherwise
72 # Return y if the Rust compiler supports <flag>, n otherwise
DMakefile24 generate_rust_target-rust := y
25 rustdoc_test_builder-rust := y
26 rustdoc_test_gen-rust := y
/scripts/kconfig/tests/auto_submenu/
Dexpected_stdout3 A1_0 (A0_0) [N/y/?] (NEW)
9 B (B) [N/y/?] (NEW)
10 C (C) [N/y/?] (NEW)
DKconfig5 default y
10 default y
24 default y
/scripts/kconfig/tests/new_choice_with_dep/
Dconfig1 CONFIG_CHOICE_B=y
3 CONFIG_CHOICE_E=y
Dexpected_stdout1 A (A) [N/y/?] (NEW) y
/scripts/coccinelle/tests/
Dodd_ptr_err.cocci44 expression x,y;
55 - y
66 expression x, y;
77 y
85 expression x, y;
93 y
/scripts/kconfig/tests/preprocess/builtin_func/
DKconfig6 # 'warning-if', if the first argument is y, sends the second argument to stderr,
8 $(warning-if,y,hello world 1)
11 # The following is just no-op since the first argument is not y.
15 warning = $(warning-if,y,$(1))
/scripts/kconfig/tests/choice_randomize/
Dexpected_config16 CONFIG_B=y
7 CONFIG_X=y
Dexpected_config26 CONFIG_B=y
8 CONFIG_Y=y
/scripts/tracing/
Dftrace-bisect.sh110 let y=$x+1
134 sed -ne "$y,\$p" $full > $nontest
/scripts/gcc-plugins/
Dgcc-generate-gimple-pass.h24 #define _GCC_PLUGIN_CONCAT2(x, y) x ## y argument
25 #define _GCC_PLUGIN_CONCAT3(x, y, z) x ## y ## z argument
Dgcc-generate-rtl-pass.h24 #define _GCC_PLUGIN_CONCAT2(x, y) x ## y argument
25 #define _GCC_PLUGIN_CONCAT3(x, y, z) x ## y ## z argument
Dgcc-generate-simple_ipa-pass.h24 #define _GCC_PLUGIN_CONCAT2(x, y) x ## y argument
25 #define _GCC_PLUGIN_CONCAT3(x, y, z) x ## y ## z argument
/scripts/kconfig/
Dnconf.gui.c121 void print_in_middle(WINDOW *win, int y, int width, const char *str, int attrs) in print_in_middle() argument
124 mvwprintw(win, y, (width - strlen(str)) / 2, "%s", str); in print_in_middle()
168 int x, y; in fill_window() local
172 getmaxyx(win, y, x); in fill_window()
174 total_lines = min(total_lines, y); in fill_window()
207 int i, x, y; in btn_dialog() local
231 y = (getmaxy(stdscr)-(msg_lines+4))/2; in btn_dialog()
241 win = newwin(win_rows, total_width+4, y, x); in btn_dialog()
319 int i, x, y, lines, columns, win_lines, win_cols; in dialog_inputbox() local
349 y = (lines-win_lines)/2; in dialog_inputbox()
[all …]

123