/external/syslinux/gpxe/src/hci/mucurses/ |
wininit.c | 15 * @ret *win return pointer to stdscr 20 stdscr->scr->init( stdscr->scr ); 21 stdscr->height = LINES; 22 stdscr->width = COLS; 24 return stdscr; 35 stdscr->scr->exit( stdscr->scr );
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_curses.py | 33 def window_funcs(stdscr):
39 for meth in [stdscr.addch, stdscr.addstr]:
44 for meth in [stdscr.box, stdscr.clear, stdscr.clrtobot,
45 stdscr.clrtoeol, stdscr.cursyncup, stdscr.delch,
46 stdscr.deleteln, stdscr.erase, stdscr.getbegyx, [all...] |
curses_tests.py | 13 def test_textpad(stdscr, insert_mode=False):
21 stdscr.addstr(uly-3, ulx, "Use Ctrl-G to end editing (%s)." % mode)
22 stdscr.addstr(uly-2, ulx, "Be sure to try typing in the lower-right corner.")
24 textpad.rectangle(stdscr, uly-1, ulx-1, uly + nlines, ulx + ncols)
25 stdscr.refresh()
29 stdscr.addstr(uly+ncols+2, 0, "Text entered in the box\n")
30 stdscr.addstr(repr(contents))
31 stdscr.addstr('\n')
32 stdscr.addstr('Press any key')
33 stdscr.getch() [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_curses.py | 33 def window_funcs(stdscr): 39 for meth in [stdscr.addch, stdscr.addstr]: 44 for meth in [stdscr.box, stdscr.clear, stdscr.clrtobot, 45 stdscr.clrtoeol, stdscr.cursyncup, stdscr.delch, 46 stdscr.deleteln, stdscr.erase, stdscr.getbegyx [all...] |
curses_tests.py | 13 def test_textpad(stdscr, insert_mode=False): 21 stdscr.addstr(uly-3, ulx, "Use Ctrl-G to end editing (%s)." % mode) 22 stdscr.addstr(uly-2, ulx, "Be sure to try typing in the lower-right corner.") 24 textpad.rectangle(stdscr, uly-1, ulx-1, uly + nlines, ulx + ncols) 25 stdscr.refresh() 29 stdscr.addstr(uly+ncols+2, 0, "Text entered in the box\n") 30 stdscr.addstr(repr(contents)) 31 stdscr.addstr('\n') 32 stdscr.addstr('Press any key') 33 stdscr.getch( [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_curses.py | 33 def window_funcs(stdscr): 39 for meth in [stdscr.addch, stdscr.addstr]: 44 for meth in [stdscr.box, stdscr.clear, stdscr.clrtobot, 45 stdscr.clrtoeol, stdscr.cursyncup, stdscr.delch, 46 stdscr.deleteln, stdscr.erase, stdscr.getbegyx [all...] |
curses_tests.py | 13 def test_textpad(stdscr, insert_mode=False): 21 stdscr.addstr(uly-3, ulx, "Use Ctrl-G to end editing (%s)." % mode) 22 stdscr.addstr(uly-2, ulx, "Be sure to try typing in the lower-right corner.") 24 textpad.rectangle(stdscr, uly-1, ulx-1, uly + nlines, ulx + ncols) 25 stdscr.refresh() 29 stdscr.addstr(uly+ncols+2, 0, "Text entered in the box\n") 30 stdscr.addstr(repr(contents)) 31 stdscr.addstr('\n') 32 stdscr.addstr('Press any key') 33 stdscr.getch( [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_curses.py | 33 def window_funcs(stdscr): 39 for meth in [stdscr.addch, stdscr.addstr]: 44 for meth in [stdscr.box, stdscr.clear, stdscr.clrtobot, 45 stdscr.clrtoeol, stdscr.cursyncup, stdscr.delch, 46 stdscr.deleteln, stdscr.erase, stdscr.getbegyx [all...] |
curses_tests.py | 13 def test_textpad(stdscr, insert_mode=False): 21 stdscr.addstr(uly-3, ulx, "Use Ctrl-G to end editing (%s)." % mode) 22 stdscr.addstr(uly-2, ulx, "Be sure to try typing in the lower-right corner.") 24 textpad.rectangle(stdscr, uly-1, ulx-1, uly + nlines, ulx + ncols) 25 stdscr.refresh() 29 stdscr.addstr(uly+ncols+2, 0, "Text entered in the box\n") 30 stdscr.addstr(repr(contents)) 31 stdscr.addstr('\n') 32 stdscr.addstr('Press any key') 33 stdscr.getch( [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_curses.py | 33 def window_funcs(stdscr): 39 for meth in [stdscr.addch, stdscr.addstr]: 44 for meth in [stdscr.box, stdscr.clear, stdscr.clrtobot, 45 stdscr.clrtoeol, stdscr.cursyncup, stdscr.delch, 46 stdscr.deleteln, stdscr.erase, stdscr.getbegyx [all...] |
curses_tests.py | 13 def test_textpad(stdscr, insert_mode=False): 21 stdscr.addstr(uly-3, ulx, "Use Ctrl-G to end editing (%s)." % mode) 22 stdscr.addstr(uly-2, ulx, "Be sure to try typing in the lower-right corner.") 24 textpad.rectangle(stdscr, uly-1, ulx-1, uly + nlines, ulx + ncols) 25 stdscr.refresh() 29 stdscr.addstr(uly+ncols+2, 0, "Text entered in the box\n") 30 stdscr.addstr(repr(contents)) 31 stdscr.addstr('\n') 32 stdscr.addstr('Press any key') 33 stdscr.getch( [all...] |
/external/python/cpython2/Lib/test/ |
curses_tests.py | 13 def test_textpad(stdscr, insert_mode=False): 21 stdscr.addstr(uly-3, ulx, "Use Ctrl-G to end editing (%s)." % mode) 22 stdscr.addstr(uly-2, ulx, "Be sure to try typing in the lower-right corner.") 24 textpad.rectangle(stdscr, uly-1, ulx-1, uly + nlines, ulx + ncols) 25 stdscr.refresh() 29 stdscr.addstr(uly+ncols+2, 0, "Text entered in the box\n") 30 stdscr.addstr(repr(contents)) 31 stdscr.addstr('\n') 32 stdscr.addstr('Press any key') 33 stdscr.getch( [all...] |
test_curses.py | 67 self.stdscr = curses.initscr() 76 stdscr = self.stdscr 81 for meth in [stdscr.addch, stdscr.addstr]: 86 for meth in [stdscr.box, stdscr.clear, stdscr.clrtobot, 87 stdscr.clrtoeol, stdscr.cursyncup, stdscr.delch [all...] |
/external/python/cpython2/Demo/curses/ |
rain.py | 21 stdscr.attrset(color) 26 # we know that the first argument from curses.wrapper() is stdscr. 28 global stdscr 29 stdscr = win 40 stdscr.timeout(0) 55 stdscr.addch(y, x, ord('.')) 57 stdscr.addch(ypos[j], xpos[j], ord('o')) 60 stdscr.addch(ypos[j], xpos[j], ord('O')) 63 stdscr.addch( ypos[j] - 1, xpos[j], ord('-')) 64 stdscr.addstr(ypos[j], xpos[j] - 1, "|.|" [all...] |
life.py | 133 def erase_menu(stdscr, menu_y): 135 stdscr.move(menu_y, 0) 136 stdscr.clrtoeol() 137 stdscr.move(menu_y+1, 0) 138 stdscr.clrtoeol() 140 def display_menu(stdscr, menu_y): 142 erase_menu(stdscr, menu_y) 143 stdscr.addstr(menu_y, 4, 145 stdscr.addstr(menu_y+1, 4, 148 def keyloop(stdscr) [all...] |
tclock.py | 21 stdscr.addch(y, x, col) 26 stdscr.attrset(curses.color_pair(pair)) 68 global stdscr 69 stdscr = win 74 stdscr.nodelay(1) 75 stdscr.timeout(0) 93 stdscr.addstr(cy - sdy, cx + sdx, "%d" % (i + 1)) 95 stdscr.addstr(0, 0, 121 stdscr.attrset(curses.A_REVERSE) 123 stdscr.attroff(curses.A_REVERSE [all...] |
xmas.py | 44 if stdscr.getch() != -1: 50 stdscr.addch(y, 7, ord('|')) 53 stdscr.addch(19, x, ord('_')) 56 stdscr.addch(22, x, ord('_')) 61 stdscr.addch(4, 1, ord('S')) 62 stdscr.addch(6, 1, ord('E')) 63 stdscr.addch(8, 1, ord('A')) 64 stdscr.addch(10, 1, ord('S')) 65 stdscr.addch(12, 1, ord('O')) 66 stdscr.addch(14, 1, ord('N') [all...] |
/external/python/cpython2/Lib/curses/ |
wrapper.py | 15 The callable object 'func' is then passed the main window 'stdscr' 22 stdscr = curses.initscr() 32 stdscr.keypad(1) 43 return func(stdscr, *args, **kwds) 46 if 'stdscr' in locals(): 47 stdscr.keypad(0)
|
__init__.py | 34 stdscr = _curses.initscr() 39 return stdscr
|
/prebuilts/gdb/darwin-x86/lib/python2.7/curses/ |
wrapper.py | 15 The callable object 'func' is then passed the main window 'stdscr' 22 stdscr = curses.initscr() 32 stdscr.keypad(1) 43 return func(stdscr, *args, **kwds) 46 if 'stdscr' in locals(): 47 stdscr.keypad(0)
|
/prebuilts/gdb/linux-x86/lib/python2.7/curses/ |
wrapper.py | 15 The callable object 'func' is then passed the main window 'stdscr' 22 stdscr = curses.initscr() 32 stdscr.keypad(1) 43 return func(stdscr, *args, **kwds) 46 if 'stdscr' in locals(): 47 stdscr.keypad(0)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/curses/ |
wrapper.py | 15 The callable object 'func' is then passed the main window 'stdscr' 22 stdscr = curses.initscr() 32 stdscr.keypad(1) 43 return func(stdscr, *args, **kwds) 46 if 'stdscr' in locals(): 47 stdscr.keypad(0)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/curses/ |
wrapper.py | 15 The callable object 'func' is then passed the main window 'stdscr' 22 stdscr = curses.initscr() 32 stdscr.keypad(1) 43 return func(stdscr, *args, **kwds) 46 if 'stdscr' in locals(): 47 stdscr.keypad(0)
|
/external/syslinux/gpxe/src/util/ |
mucurses_test.c | 13 werase(stdscr); 14 box( stdscr, '|', '-' ); 17 mvwprintw( stdscr, 3, 5, "password is \"%s\"", secret ); 20 stdscr->scr->exit(stdscr->scr); 31 secret = newwin( stdscr->height / 2, 32 stdscr->width / 2, 33 stdscr->height / 4, 34 stdscr->width / 4 );
|
/external/syslinux/gpxe/src/include/ |
curses.h | 97 #define stdscr ( &_stdscr ) macro 475 return waddch( stdscr, ch ); 479 return waddchnstr ( stdscr, chstr, n ); 483 return waddchnstr ( stdscr, chstr, -1 ); 487 return waddnstr ( stdscr, str, n ); 491 return waddnstr ( stdscr, str, -1 ); 495 return wattroff ( stdscr, attrs ); 499 return wattron ( stdscr, attrs ); 503 return wattrset ( stdscr, attrs ); 507 return wattr_get ( stdscr, attrs, pair, opts ) [all...] |