MCPcopy Create free account
hub / github.com/coreboot/coreboot / wmove

Function wmove

payloads/libpayload/curses/tinycurses.c:710–719  ·  view source on GitHub ↗

int winchnstr (WINDOW *, chtype *, int) {} int winnstr (WINDOW *, char *, int) {} int winsch (WINDOW *, chtype) {} int winsdelln (WINDOW *,int) {} int winsnstr (WINDOW *, const char *,int) {} D */

Source from the content-addressed store, hash-verified

708// int winsdelln (WINDOW *,int) {}
709// int winsnstr (WINDOW *, const char *,int) {}
710/* D */ int wmove(WINDOW *win, int y, int x)
711{
712 if (!LEGALYX(win, y, x))
713 return ERR;
714 win->_curx = (NCURSES_SIZE_T) x;
715 win->_cury = (NCURSES_SIZE_T) y;
716 win->_flags &= ~_WRAPPED;
717 win->_flags |= _HASMOVED;
718 return OK;
719}
720
721#define SWAP_RED_BLUE(c) \
722 (((c) & 0x4400) >> 2) | ((c) & 0xAA00) | (((c) & 0x1100) << 2)

Callers 15

mvwprintwFunction · 0.70
decode_flagsFunction · 0.50
get_featuresFunction · 0.50
pci_module_redrawFunction · 0.50
print_module_titleFunction · 0.50
print_submenuFunction · 0.50
print_menuFunction · 0.50
centerFunction · 0.50
render_formFunction · 0.50
dialog_inputboxFunction · 0.50
print_buttonsFunction · 0.50
print_lineFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected