Home
last modified time | relevance | path

Searched refs:win (Results 1 – 25 of 2092) sorted by relevance

12345678910>>...84

/external/coreboot/payloads/libpayload/curses/PDCurses/pdcurses/
Dwindow.c137 WINDOW *win; in PDC_makenew() local
144 if ((win = calloc(1, sizeof(WINDOW))) == (WINDOW *)NULL) in PDC_makenew()
145 return win; in PDC_makenew()
149 if ((win->_y = malloc(nlines * sizeof(chtype *))) == NULL) in PDC_makenew()
151 free(win); in PDC_makenew()
157 if ((win->_firstch = malloc(nlines * sizeof(int))) == NULL) in PDC_makenew()
159 free(win->_y); in PDC_makenew()
160 free(win); in PDC_makenew()
164 if ((win->_lastch = malloc(nlines * sizeof(int))) == NULL) in PDC_makenew()
166 free(win->_firstch); in PDC_makenew()
[all …]
Ddeleteln.c53 int wdeleteln(WINDOW *win) in wdeleteln() argument
60 if (!win) in wdeleteln()
65 blank = win->_bkgd; in wdeleteln()
67 temp = win->_y[win->_cury]; in wdeleteln()
69 for (y = win->_cury; y < win->_bmarg; y++) in wdeleteln()
71 win->_y[y] = win->_y[y + 1]; in wdeleteln()
72 win->_firstch[y] = 0; in wdeleteln()
73 win->_lastch[y] = win->_maxx - 1; in wdeleteln()
76 for (ptr = temp; (ptr - temp < win->_maxx); ptr++) in wdeleteln()
79 if (win->_cury <= win->_bmarg) in wdeleteln()
[all …]
Dtouch.c56 int touchwin(WINDOW *win) in touchwin() argument
60 PDC_LOG(("touchwin() - called: Win=%x\n", win)); in touchwin()
62 if (!win) in touchwin()
65 for (i = 0; i < win->_maxy; i++) in touchwin()
67 win->_firstch[i] = 0; in touchwin()
68 win->_lastch[i] = win->_maxx - 1; in touchwin()
74 int touchline(WINDOW *win, int start, int count) in touchline() argument
79 win, start, count)); in touchline()
81 if (!win || start > win->_maxy || start + count > win->_maxy) in touchline()
86 win->_firstch[i] = 0; in touchline()
[all …]
Dclear.c50 int wclrtoeol(WINDOW *win) in wclrtoeol() argument
56 win->_cury, win->_curx)); in wclrtoeol()
58 if (!win) in wclrtoeol()
61 y = win->_cury; in wclrtoeol()
62 x = win->_curx; in wclrtoeol()
66 blank = win->_bkgd; in wclrtoeol()
68 for (minx = x, ptr = &win->_y[y][x]; minx < win->_maxx; minx++, ptr++) in wclrtoeol()
71 if (x < win->_firstch[y] || win->_firstch[y] == _NO_CHANGE) in wclrtoeol()
72 win->_firstch[y] = x; in wclrtoeol()
74 win->_lastch[y] = win->_maxx - 1; in wclrtoeol()
[all …]
Daddch.c113 int waddch(WINDOW *win, const chtype ch) in waddch() argument
120 win, ch, ch & A_CHARTEXT, ch & A_ATTRIBUTES)); in waddch()
122 if (!win) in waddch()
125 x = win->_curx; in waddch()
126 y = win->_cury; in waddch()
128 if (y > win->_maxy || x > win->_maxx || y < 0 || x < 0) in waddch()
144 if (waddch(win, attr | ' ') == ERR) in waddch()
149 if (!win->_curx) in waddch()
160 wclrtoeol(win); in waddch()
162 if (++y > win->_bmarg) in waddch()
[all …]
Dborder.c102 static chtype _attr_passthru(WINDOW *win, chtype ch) in _attr_passthru() argument
115 attr |= win->_attrs; in _attr_passthru()
122 attr |= win->_bkgd & A_ATTRIBUTES; in _attr_passthru()
124 attr |= win->_bkgd & (A_ATTRIBUTES ^ A_COLOR); in _attr_passthru()
131 int wborder(WINDOW *win, chtype ls, chtype rs, chtype ts, chtype bs, in wborder() argument
138 if (!win) in wborder()
141 ymax = win->_maxy - 1; in wborder()
142 xmax = win->_maxx - 1; in wborder()
144 ls = _attr_passthru(win, ls ? ls : ACS_VLINE); in wborder()
145 rs = _attr_passthru(win, rs ? rs : ACS_VLINE); in wborder()
[all …]
Dattr.c100 int wattroff(WINDOW *win, chtype attrs) in wattroff() argument
104 if (!win) in wattroff()
107 win->_attrs &= (~attrs & A_ATTRIBUTES); in wattroff()
119 int wattron(WINDOW *win, chtype attrs) in wattron() argument
125 if (!win) in wattron()
128 if ((win->_attrs & A_COLOR) && (attrs & A_COLOR)) in wattron()
130 oldcolr = win->_attrs & A_COLOR; in wattron()
131 oldattr = win->_attrs ^ oldcolr; in wattron()
135 win->_attrs = newattr | newcolr; in wattron()
138 win->_attrs |= (attrs & A_ATTRIBUTES); in wattron()
[all …]
Dgetstr.c69 int wgetnstr(WINDOW *win, char *str, int n) in wgetnstr() argument
77 if (wgetn_wstr(win, (wint_t *)wstr, n) == ERR) in wgetnstr()
88 if (!win || !str) in wgetnstr()
95 x = win->_curx; in wgetnstr()
99 oldnodelay = win->_nodelay; in wgetnstr()
103 win->_nodelay = FALSE; /* don't return -1 */ in wgetnstr()
105 wrefresh(win); in wgetnstr()
109 ch = wgetch(win); in wgetnstr()
116 num = TABSIZE - (win->_curx - x) % TABSIZE; in wgetnstr()
122 waddch(win, ch); in wgetnstr()
[all …]
Dgetyx.c73 int getbegy(WINDOW *win) in getbegy() argument
77 return win ? win->_begy : ERR; in getbegy()
80 int getbegx(WINDOW *win) in getbegx() argument
84 return win ? win->_begx : ERR; in getbegx()
87 int getcury(WINDOW *win) in getcury() argument
91 return win ? win->_cury : ERR; in getcury()
94 int getcurx(WINDOW *win) in getcurx() argument
98 return win ? win->_curx : ERR; in getcurx()
101 int getpary(WINDOW *win) in getpary() argument
105 return win ? win->_pary : ERR; in getpary()
[all …]
Dinsch.c63 int winsch(WINDOW *win, chtype ch) in winsch() argument
70 win, ch, ch & A_CHARTEXT, ch & A_ATTRIBUTES)); in winsch()
72 if (!win) in winsch()
75 x = win->_curx; in winsch()
76 y = win->_cury; in winsch()
78 if (y > win->_maxy || x > win->_maxx || y < 0 || x < 0) in winsch()
94 if (winsch(win, attr | ' ') == ERR) in winsch()
100 wclrtoeol(win); in winsch()
104 if (winsch(win, attr | '?') == ERR) in winsch()
107 return winsch(win, attr | '^'); in winsch()
[all …]
Dinstr.c63 int winnstr(WINDOW *win, char *str, int n) in winnstr() argument
71 if (winnwstr(win, wstr, n) == ERR) in winnstr()
81 if (!win || !str) in winnstr()
84 if (n < 0 || (win->_curx + n) > win->_maxx) in winnstr()
85 n = win->_maxx - win->_curx; in winnstr()
87 src = win->_y[win->_cury] + win->_curx; in winnstr()
105 int winstr(WINDOW *win, char *str) in winstr() argument
109 return (ERR == winnstr(win, str, win->_maxx)) ? ERR : OK; in winstr()
122 int mvwinstr(WINDOW *win, int y, int x, char *str) in mvwinstr() argument
126 if (wmove(win, y, x) == ERR) in mvwinstr()
[all …]
Dinchstr.c59 int winchnstr(WINDOW *win, chtype *ch, int n) in winchnstr() argument
66 if (!win || !ch || n < 0) in winchnstr()
69 if ((win->_curx + n) > win->_maxx) in winchnstr()
70 n = win->_maxx - win->_curx; in winchnstr()
72 src = win->_y[win->_cury] + win->_curx; in winchnstr()
89 int winchstr(WINDOW *win, chtype *ch) in winchstr() argument
93 return winchnstr(win, ch, win->_maxx - win->_curx); in winchstr()
106 int mvwinchstr(WINDOW *win, int y, int x, chtype *ch) in mvwinchstr() argument
110 if (wmove(win, y, x) == ERR) in mvwinchstr()
113 return winchnstr(win, ch, win->_maxx - win->_curx); in mvwinchstr()
[all …]
Daddchstr.c68 int waddchnstr(WINDOW *win, const chtype *ch, int n) in waddchnstr() argument
73 PDC_LOG(("waddchnstr() - called: win=%p n=%d\n", win, n)); in waddchnstr()
75 if (!win || !ch || !n || n < -1) in waddchnstr()
78 x = win->_curx; in waddchnstr()
79 y = win->_cury; in waddchnstr()
80 ptr = &(win->_y[y][x]); in waddchnstr()
82 if (n == -1 || n > win->_maxx - x) in waddchnstr()
83 n = win->_maxx - x; in waddchnstr()
85 minx = win->_firstch[y]; in waddchnstr()
86 maxx = win->_lastch[y]; in waddchnstr()
[all …]
Drefresh.c59 int wnoutrefresh(WINDOW *win) in wnoutrefresh() argument
64 PDC_LOG(("wnoutrefresh() - called: win=%p\n", win)); in wnoutrefresh()
66 if ( !win || (win->_flags & (_PAD|_SUBPAD)) ) in wnoutrefresh()
69 begy = win->_begy; in wnoutrefresh()
70 begx = win->_begx; in wnoutrefresh()
72 for (i = 0, j = begy; i < win->_maxy; i++, j++) in wnoutrefresh()
74 if (win->_firstch[i] != _NO_CHANGE) in wnoutrefresh()
76 chtype *src = win->_y[i]; in wnoutrefresh()
79 int first = win->_firstch[i]; /* first changed */ in wnoutrefresh()
80 int last = win->_lastch[i]; /* last changed */ in wnoutrefresh()
[all …]
Dbkgd.c60 int wbkgd(WINDOW *win, chtype ch) in wbkgd() argument
69 if (!win) in wbkgd()
72 if (win->_bkgd == ch) in wbkgd()
75 oldcolr = win->_bkgd & A_COLOR; in wbkgd()
77 oldattr = (win->_bkgd & A_ATTRIBUTES) ^ oldcolr; in wbkgd()
79 oldch = win->_bkgd & A_CHARTEXT; in wbkgd()
81 wbkgdset(win, ch); in wbkgd()
83 newcolr = win->_bkgd & A_COLOR; in wbkgd()
85 newattr = (win->_bkgd & A_ATTRIBUTES) ^ newcolr; in wbkgd()
87 newch = win->_bkgd & A_CHARTEXT; in wbkgd()
[all …]
/external/coreboot/payloads/libpayload/curses/
Dtinycurses.c172 static inline NCURSES_CH_T render_char(WINDOW *win, NCURSES_CH_T ch) in render_char() argument
179 NCURSES_CH_T _nc_render(WINDOW *win, NCURSES_CH_T ch) in _nc_render() argument
181 return render_char(win, ch); in _nc_render()
199 /* D */ int clearok(WINDOW *win, bool flag) { win->_clear = flag; return OK; } in clearok() argument
220 int delwin(WINDOW *win) in delwin() argument
236 WINDOW *win = NULL; in derwin()
259 if ((win = _nc_makenew(num_lines, num_columns, orig->_begy + begy, in derwin()
263 win->_pary = begy; in derwin()
264 win->_parx = begx; in derwin()
265 WINDOW_ATTRS(win) = WINDOW_ATTRS(orig); in derwin()
[all …]
/external/crosvm/gpu_display/src/keycode_converter/
Ddata.rs9 pub win: u32, field
19 win: 0x001e,
25 win: 0x0030,
31 win: 0x002e,
37 win: 0x0020,
43 win: 0x0012,
49 win: 0x0021,
55 win: 0x0022,
61 win: 0x0023,
67 win: 0x0017,
[all …]
/external/coreboot/payloads/libpayload/curses/PDCurses/demos/
Dtestcurs.c110 WINDOW *win; in main() local
116 if (initTest(&win, argc, argv)) in main()
123 wbkgd(win, COLOR_PAIR(1)); in main()
127 wbkgd(win, A_REVERSE); in main()
148 (*command[new_option].function)(win); in main()
199 delwin(win); in main()
205 void Continue(WINDOW *win) in Continue() argument
207 mvwaddstr(win, 10, 1, " Press any key to continue"); in Continue()
208 wrefresh(win); in Continue()
210 wgetch(win); in Continue()
[all …]
Dnewdemo.c70 int SubWinTest(WINDOW *win) in SubWinTest() argument
75 wattrset(win, 0); in SubWinTest()
76 getmaxyx(win, h, w); in SubWinTest()
77 getbegyx(win, by, bx); in SubWinTest()
82 if ((swin1 = derwin(win, sh, sw, 3, 5)) == NULL) in SubWinTest()
84 if ((swin2 = subwin(win, sh, sw, by + 4, bx + 8)) == NULL) in SubWinTest()
86 if ((swin3 = subwin(win, sh, sw, by + 5, bx + 11)) == NULL) in SubWinTest()
115 int BouncingBalls(WINDOW *win) in BouncingBalls() argument
122 wbkgd(win, COLOR_PAIR(1)); in BouncingBalls()
123 wrefresh(win); in BouncingBalls()
[all …]
/external/ComputeLibrary/src/cpu/kernels/assembly/
Darm_gemm_compute_iface.hpp57 arm_compute::Window win; in to_window() local
62 win.set(i, arm_compute::Window::Dimension(0, ndr.get_size(i))); in to_window()
65 return win; in to_window()
76 arm_compute::Window win; in to_window() local
85 win.set(i, arm_compute::Window::Dimension(start, stop)); in to_window()
88 return win; in to_window()
99 inline ndrange_t to_ndrange(const arm_compute::Window &win) in to_ndrange() argument
103 static_cast<unsigned int>(win[0].end() - win[0].start()), in to_ndrange()
104 static_cast<unsigned int>(win[1].end() - win[1].start()), in to_ndrange()
105 static_cast<unsigned int>(win[2].end() - win[2].start()), in to_ndrange()
[all …]
/external/coreboot/payloads/libpayload/curses/menu/
Dm_post.c62 assert(menu->win); in NCURSES_EXPORT()
64 getyx(menu->win, item_y, item_x); in NCURSES_EXPORT()
70 wattron(menu->win, menu->back); in NCURSES_EXPORT()
82 wattron(menu->win, menu->fore); in NCURSES_EXPORT()
85 waddstr(menu->win, menu->mark); in NCURSES_EXPORT()
88 wattron(menu->win, menu->fore); in NCURSES_EXPORT()
95 waddch(menu->win, ch); in NCURSES_EXPORT()
96 wattroff(menu->win, menu->back); in NCURSES_EXPORT()
104 wattron(menu->win, menu->grey); in NCURSES_EXPORT()
111 wattron(menu->win, menu->fore); in NCURSES_EXPORT()
[all …]
/external/tcpdump/tests/
Dresp_3.out1 …7.0.0.1.52759 > 127.0.0.1.6379: Flags [F.], seq 2169831382, ack 489972337, win 342, options [nop,n…
2 …1:00.856919 IP 127.0.0.1.6379 > 127.0.0.1.52759: Flags [F.], seq 1, ack 1, win 342, options [nop,n…
3 …3 2016-01-27 20:01:00.856944 IP 127.0.0.1.52759 > 127.0.0.1.6379: Flags [.], ack 2, win 342, opti…
4 …1:00.864538 IP 127.0.0.1.52760 > 127.0.0.1.6379: Flags [S], seq 264055152, win 43690, options [mss…
5 …7.0.0.1.6379 > 127.0.0.1.52760: Flags [S.], seq 4227148888, ack 264055153, win 43690, options [mss…
6 …6 2016-01-27 20:01:00.864573 IP 127.0.0.1.52760 > 127.0.0.1.6379: Flags [.], ack 1, win 342, opti…
7 …00.864630 IP 127.0.0.1.52760 > 127.0.0.1.6379: Flags [P.], seq 1:7, ack 1, win 342, options [nop,n…
8 …8 2016-01-27 20:01:00.864641 IP 127.0.0.1.6379 > 127.0.0.1.52760: Flags [.], ack 7, win 342, opti…
9 …0.864680 IP 127.0.0.1.6379 > 127.0.0.1.52760: Flags [P.], seq 1:28, ack 7, win 342, options [nop,n…
10 …10 2016-01-27 20:01:00.864690 IP 127.0.0.1.52760 > 127.0.0.1.6379: Flags [.], ack 28, win 342, op…
[all …]
/external/arm-trusted-firmware/drivers/marvell/
Dgwin.c40 #define GWIN_CR_OFFSET(ap, win) (MVEBU_GWIN_BASE(ap) + 0x0 + \ argument
41 (0x10 * (win)))
42 #define GWIN_ALR_OFFSET(ap, win) (MVEBU_GWIN_BASE(ap) + 0x8 + \ argument
43 (0x10 * (win)))
44 #define GWIN_AHR_OFFSET(ap, win) (MVEBU_GWIN_BASE(ap) + 0xc + \ argument
45 (0x10 * (win)))
50 static void gwin_check(struct addr_map_win *win) in gwin_check() argument
53 if (IS_NOT_ALIGN(win->base_addr, GWIN_ALIGNMENT_64M)) { in gwin_check()
54 win->base_addr &= ~(GWIN_ALIGNMENT_64M - 1); in gwin_check()
56 __func__, win->base_addr); in gwin_check()
[all …]
/external/trusty/arm-trusted-firmware/drivers/marvell/
Dgwin.c40 #define GWIN_CR_OFFSET(ap, win) (MVEBU_GWIN_BASE(ap) + 0x0 + \ argument
41 (0x10 * (win)))
42 #define GWIN_ALR_OFFSET(ap, win) (MVEBU_GWIN_BASE(ap) + 0x8 + \ argument
43 (0x10 * (win)))
44 #define GWIN_AHR_OFFSET(ap, win) (MVEBU_GWIN_BASE(ap) + 0xc + \ argument
45 (0x10 * (win)))
50 static void gwin_check(struct addr_map_win *win) in gwin_check() argument
53 if (IS_NOT_ALIGN(win->base_addr, GWIN_ALIGNMENT_64M)) { in gwin_check()
54 win->base_addr &= ~(GWIN_ALIGNMENT_64M - 1); in gwin_check()
56 __func__, win->base_addr); in gwin_check()
[all …]
/external/libxaac/decoder/
Dixheaacd_Windowing.c29 WORD32 ixheaacd_calc_window(WORD32 **win, WORD32 win_sz, WORD32 win_sel, WORD32 ec_flag) { in ixheaacd_calc_window() argument
34 *win = (WORD32 *)ixheaacd_sine_win_128; in ixheaacd_calc_window()
37 *win = (WORD32 *)ixheaacd_sine_win_1024; in ixheaacd_calc_window()
40 *win = (WORD32 *)ixheaacd_sine_win_64; in ixheaacd_calc_window()
43 *win = (WORD32 *)ixheaacd_sine_win_768; in ixheaacd_calc_window()
46 *win = (WORD32 *)ixheaacd_sine_win_192; in ixheaacd_calc_window()
49 *win = (WORD32 *)ixheaacd_sine_win_96; in ixheaacd_calc_window()
52 *win = (WORD32 *)ixheaacd_sine_win_256; in ixheaacd_calc_window()
56 *win = (WORD32 *)ixheaacd_sine_win_1024; in ixheaacd_calc_window()
66 *win = (WORD32 *)ixheaacd_kbd_win120; in ixheaacd_calc_window()
[all …]

12345678910>>...84