| /scripts/dtc/libfdt/ |
| A D | libfdt_env.h | 29 #define EXTRACT_BYTE(x, n) ((unsigned long long)((uint8_t *)&x)[n]) argument 30 #define CPU_TO_FDT16(x) ((EXTRACT_BYTE(x, 0) << 8) | EXTRACT_BYTE(x, 1)) argument 31 #define CPU_TO_FDT32(x) ((EXTRACT_BYTE(x, 0) << 24) | (EXTRACT_BYTE(x, 1) << 16) | \ argument 32 (EXTRACT_BYTE(x, 2) << 8) | EXTRACT_BYTE(x, 3)) 33 #define CPU_TO_FDT64(x) ((EXTRACT_BYTE(x, 0) << 56) | (EXTRACT_BYTE(x, 1) << 48) | \ argument 34 (EXTRACT_BYTE(x, 2) << 40) | (EXTRACT_BYTE(x, 3) << 32) | \ 35 (EXTRACT_BYTE(x, 4) << 24) | (EXTRACT_BYTE(x, 5) << 16) | \ 36 (EXTRACT_BYTE(x, 6) << 8) | EXTRACT_BYTE(x, 7)) 44 return (FDT_FORCE fdt16_t)CPU_TO_FDT16(x); in cpu_to_fdt16() 53 return (FDT_FORCE fdt32_t)CPU_TO_FDT32(x); in cpu_to_fdt32() [all …]
|
| A D | libfdt_internal.h | 10 #define FDT_ALIGN(x, a) (((x) + (a) - 1) & ~((a) - 1)) argument 11 #define FDT_TAGALIGN(x) (FDT_ALIGN((x), FDT_TAGSIZE)) argument
|
| /scripts/coccinelle/iterators/ |
| A D | itnull.cocci | 23 expression x,E,E1,E2; 27 I(x,...) { <... 34 - (x == NULL) || 37 - (x != NULL) && 55 x == NULL 59 x != NULL 66 expression x,E; 70 *I@p1(x,...) 71 { ... when != x = E 73 * x@p2 == NULL [all …]
|
| A D | list_entry_update.cocci | 20 expression x,E; 24 list_for_each_entry@p1(x,...) { <... x =@p2 E ...> } 27 expression x,E; 32 *x =@p2 E 34 list_for_each_entry@p1(x,...) S 39 expression x,E; 44 x =@p2 E 46 list_for_each_entry@p1(x,...) S
|
| A D | use_after_iter.cocci | 22 expression E,x; 100 list_for_each_entry_safe(x,c,...) S 104 list_for_each_entry_safe_continue(x,c,...) S 108 list_for_each_entry_safe_from(x,c,...) S 112 list_for_each_entry_safe_reverse(x,c,...) S 122 list_remove_head(x,c,...)
|
| /scripts/ |
| A D | checkstack.pl | 36 my (@stack, $re, $dre, $x, $xs, $funcre); 44 $x = "[0-9a-f]"; # hex character 46 $funcre = qr/^$x* <(.*)>:$/; 57 $re = qr/^.*[as][du][db] \$(0x$x{1,8}),\%(e|r)sp$/o; 68 $re = qr/.*ADD.*A0StP,A0StP,\#(0x$x{1,8})/o; 69 $funcre = qr/^$x* <[^\$](.*)>:$/; 77 $re = qr/.*ldo ($x{1,8})\(sp\),sp/o; 80 $re = qr/.*stwu.*r1,-($x{1,8})\(r1\)/o; 83 $re = qr/.*stdu.*r1,-($x{1,8})\(r1\)/o; 85 $re = qr/.*st[dw]u.*r1,-($x{1,8})\(r1\)/o; [all …]
|
| A D | kernel-doc | 1198 my $x = shift; 1376 my $x = shift; 1442 my $x = shift; 1448 if ($x =~ $typedef1 || $x =~ $typedef2) { 1472 while (($x =~ /\(*.\)\s*;$/) || ($x =~ /\[*.\]\s*;$/)) { 1921 my $x = shift; 1926 if ($x =~ m#\s*/\*\s+MACDOC\s*#io || ($x =~ /^#/ && $x !~ /^#\s*define/)) { 1933 if (($x =~ /\{/) || ($x =~ /\#\s*define/) || ($x =~ /;/)) { 1956 my $x = shift; 1966 $x .= ";"; [all …]
|
| A D | mailmapper | 106 key=lambda x: commits_per_name[x] if x else 0)[1]
|
| A D | get_maintainer.pl | 672 for my $x (@self_test_info) { 677 $x->{line} =~ /^\S[^:]/ && 685 print("$x->{file}:$x->{linenr}: warning: duplicate section header\t$x->{line}\n"); 687 push(@section_headers, $x->{line}); 705 print("$x->{file}:$x->{linenr}: warning: section without email address\t$x->{line}\n"); 708 print("$x->{file}:$x->{linenr}: warning: section without status \t$x->{line}\n"); 711 print("$x->{file}:$x->{linenr}: warning: section without file pattern\t$x->{line}\n"); 731 print("$x->{file}:$x->{linenr}: warning: no file matches\t$x->{line}\n"); 752 print("$x->{file}:$x->{linenr}: warning: possible bad link\t$x->{line}\n"); 763 print("$x->{file}:$x->{linenr}: warning: malformed entry\t$x->{line}\n"); [all …]
|
| A D | Kconfig.include | 23 cc-option = $(success,$(CC) -Werror $(1) -E -x c /dev/null -o /dev/null) 27 cc-define = $(success,$(CC) -dM -E -x c /dev/null | grep -q '^#define \<$(1)\>')
|
| /scripts/kconfig/lxdialog/ |
| A D | yesno.c | 16 int x = width / 2 - 10; 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 41 x = (getmaxx(stdscr) - width) / 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()
|
| A D | dialog.h | 43 #define MIN(x,y) (x < y ? x : y) argument 44 #define MAX(x,y) (x > y ? x : y) argument 201 void end_dialog(int x, int y); 204 void print_autowrap(WINDOW * win, const char *prompt, int width, int y, int x); 205 void print_button(WINDOW * win, const char *label, int y, int x, int selected); 207 void draw_box(WINDOW * win, int y, int x, int height, int width, chtype box, 209 void draw_shadow(WINDOW * win, int y, int x, int height, int width);
|
| A D | menubox.c | 105 wmove(win, y, x); in print_arrows() 120 wmove(win, y, x); in print_arrows() 144 int x = width / 2 - 28; in print_buttons() local 147 print_button(win, "Select", y, x, selected == 0); in print_buttons() 148 print_button(win, " Exit ", y, x + 12, selected == 1); in print_buttons() 153 wmove(win, y, x + 1 + 12 * selected); in print_buttons() 174 int i, j, x, y, box_x, box_y; in dialog_menu() local 193 x = (getmaxx(stdscr) - width) / 2; in dialog_menu() 196 draw_shadow(stdscr, y, x, height, width); in dialog_menu() 198 dialog = newwin(height, width, y, x); in dialog_menu() [all …]
|
| A D | checklist.c | 53 int y, int x, int height) in print_arrows() argument 55 wmove(win, y, x); in print_arrows() 70 wmove(win, y, x); in print_arrows() 90 int x = width / 2 - 11; in print_buttons() local 93 print_button(dialog, "Select", y, x, selected == 0); 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 130 x = (getmaxx(stdscr) - width) / 2; in dialog_checklist() 133 draw_shadow(stdscr, y, x, height, width); in dialog_checklist() 135 dialog = newwin(height, width, y, x); in dialog_checklist() [all …]
|
| A D | inputbox.c | 18 int x = width / 2 - 11; 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 52 x = (getmaxx(stdscr) - width) / 2; in dialog_inputbox() 55 draw_shadow(stdscr, y, x, height, width); in dialog_inputbox() 57 dialog = newwin(height, width, y, x); in dialog_inputbox() 76 getyx(dialog, y, x); in dialog_inputbox()
|
| A D | util.c | 341 void end_dialog(int x, int y) in end_dialog() argument 344 move(y, x); in end_dialog() 383 cur_x = x; in print_autowrap() 406 cur_x = x; in print_autowrap() 415 cur_x = x; in print_autowrap() 438 wmove(win, y, x); in print_button() 457 wmove(win, y, x + temp + 1); in print_button() 464 draw_box(WINDOW * win, int y, int x, int height, int width, in draw_box() argument 471 wmove(win, y + i, x); in draw_box() 504 wmove(win, y + height, x + 2); in draw_shadow() [all …]
|
| A D | textbox.c | 46 int i, x, y, cur_x, cur_y, key = 0; in dialog_textbox() local 87 x = (getmaxx(stdscr) - width) / 2; in dialog_textbox() 90 draw_shadow(stdscr, y, x, height, width); in dialog_textbox() 92 dialog = newwin(height, width, y, x); in dialog_textbox() 98 box = subwin(dialog, boxh, boxw, y + 1, x + 1); in dialog_textbox() 340 int x = getcurx(win); in print_line() local 342 for (i = 0; i < width - x; i++) in print_line()
|
| /scripts/coccinelle/null/ |
| A D | kmerr.cocci | 23 expression x; 28 x@p = f(...); 29 ... when != x->fld 30 \(x == NULL \| x != NULL\) 33 expression x,x1; 40 *x@p1 = \(malloc\|calloc\)(...); 48 expression x,x1; 56 x@p1 = \(malloc\|calloc\)(...);
|
| A D | badzero.cocci | 3 //# This makes an effort to choose between !x and x == NULL. !x is used 4 //# if it has previously been used with the function used to initialize x.
|
| /scripts/coccinelle/misc/ |
| A D | badty.cocci | 26 T **x; 29 x = 40 T **x; 43 x = 46 + *x 55 T **x; 59 x =
|
| /scripts/dtc/ |
| A D | util.c | 152 char x[4]; in get_oct_char() local 156 x[3] = '\0'; in get_oct_char() 157 strncpy(x, s + *i, 3); in get_oct_char() 159 val = strtol(x, &endx, 8); in get_oct_char() 161 assert(endx > x); in get_oct_char() 163 (*i) += endx - x; in get_oct_char() 175 char x[3]; in get_hex_char() local 179 x[2] = '\0'; in get_hex_char() 180 strncpy(x, s + *i, 2); in get_hex_char() 183 if (!(endx > x)) in get_hex_char() [all …]
|
| A D | util.h | 36 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) argument
|
| A D | dtc.c | 39 static int is_power_of_2(int x) in is_power_of_2() argument 41 return (x > 0) && ((x & (x - 1)) == 0); in is_power_of_2()
|
| /scripts/kconfig/ |
| A D | nconf.gui.c | 153 { int length, x, y; in print_in_middle() local 158 getyx(win, y, x); in print_in_middle() 160 x = startx; in print_in_middle() 168 x = startx + (int)temp; in print_in_middle() 215 int x, y; in fill_window() local 219 getmaxyx(win, y, x); in fill_window() 223 char tmp[x+10]; in fill_window() 254 int i, x, y; in btn_dialog() local 394 x = (columns-win_cols)/2; in dialog_inputbox() 551 int x, y, lines, columns; in show_scroll_win() local [all …]
|
| A D | qconf-cfg.sh | 30 echo >&2 "* Please install either Qt 4.8 or 5.x. and make sure it's in PKG_CONFIG_PATH"
|