/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
curses_tests.py | 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.")
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')
|
test_curses.py | 39 for meth in [stdscr.addch, stdscr.addstr]:
|
/external/python/cpython2/Lib/test/ |
curses_tests.py | 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.") 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')
|
/external/python/cpython3/Lib/test/ |
curses_tests.py | 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.") 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')
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
curses_tests.py | 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.") 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')
|
test_curses.py | 39 for meth in [stdscr.addch, stdscr.addstr]:
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
curses_tests.py | 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.") 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')
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
curses_tests.py | 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.") 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')
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
curses_tests.py | 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.") 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')
|
/bionic/libc/dns/nameser/ |
ns_print.c | 64 static int addstr(const char *src, size_t len, 126 T(addstr("\t\t\t", (size_t)3, &buf, &buflen)); 132 T(addstr("@\t\t\t", (size_t)4, &buf, &buflen)); 134 T(addstr(name, (size_t)len, &buf, &buflen)); 140 T(addstr(".", (size_t)1, &buf, &buflen)); 153 T(addstr(tmp, (size_t)len, &buf, &buflen)); 184 T(addstr(" ", (size_t)1, &buf, &buflen)); 202 T(addstr(" ", (size_t)1, &buf, &buflen)); 206 T(addstr(" (\n", (size_t)3, &buf, &buflen)); 214 T(addstr("\t\t\t\t\t", (size_t)5, &buf, &buflen)) 1229 addstr(const char *src, size_t len, char **buf, size_t *buflen) { function [all...] |
/external/python/cpython2/Demo/curses/ |
rain.py | 64 stdscr.addstr(ypos[j], xpos[j] - 1, "|.|") 69 stdscr.addstr(ypos[j] - 1, xpos[j] - 1, "/ \\") 70 stdscr.addstr(ypos[j], xpos[j] - 2, "| O |") 71 stdscr.addstr(ypos[j] + 1, xpos[j] - 1, "\\ /") 76 stdscr.addstr(ypos[j] - 1, xpos[j] - 1, " ") 77 stdscr.addstr(ypos[j], xpos[j] - 2, " ") 78 stdscr.addstr(ypos[j] + 1, xpos[j] - 1, " ")
|
life.py | 56 self.scr.addstr(0, 0, border_line) 57 self.scr.addstr(self.Y+1,0, border_line) 59 self.scr.addstr(1+y, 0, '|') 60 self.scr.addstr(1+y, self.X+1, '|') 143 stdscr.addstr(menu_y, 4, 145 stdscr.addstr(menu_y+1, 4, 173 stdscr.addstr(menu_y, 6, ' Hit any key to stop continuously ' 183 stdscr.addstr(0,0, '/') 186 stdscr.addstr(0,0, '+')
|
ncurses.py | 30 stdscr.addstr(text) 57 win.addstr("-pan%c-" % num) 77 stdscr.addstr("%d" % ((y + x) % 10)) 206 w4.addstr(mod[itmp]) 209 w5.addstr(mod[itmp]) 215 w4.addstr(mod[itmp]) 218 w5.addstr(mod[itmp])
|
repeat.py | 44 w.addstr(text)
|
tclock.py | 93 stdscr.addstr(cy - sdy, cx + sdx, "%d" % (i + 1)) 95 stdscr.addstr(0, 0, 133 stdscr.addstr(curses.LINES - 2, 0, time.ctime(tim))
|
xmas.py | 86 stdscr.addstr(21, 13, FROMWHO) 122 treescrn.addstr(13, 0, "//////////// \\\\\\\\\\\\\\\\\\\\\\\\") 124 treescrn.addstr(14, 11, "| |") 125 treescrn.addstr(15, 11, "|_|") 496 w_del_msg.addstr(0, 0, "Hit any key to quit") 501 w_holiday.addstr(0, 0, "H A P P Y H O L I D A Y S") 579 bigdeer1.addstr(5, 7, "^~~~~~~~~// ~~U") 580 bigdeer1.addstr(6, 7, "( \\_____( /") # )) 581 bigdeer1.addstr(7, 8, "( ) /") 582 bigdeer1.addstr(8, 9, "\\\\ /" [all...] |
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
ns_print.c | 84 static int addstr(const char *src, size_t len,
151 T(addstr("\t\t\t", 3, &buf, &buflen));
155 T(addstr("@\t\t\t", 4, &buf, &buflen));
157 T(addstr(name, len, &buf, &buflen));
161 T(addstr(".", 1, &buf, &buflen));
174 T(addstr(tmp, len, &buf, &buflen));
204 T(addstr(" ", 1, &buf, &buflen));
218 T(addstr(" ", 1, &buf, &buflen));
222 T(addstr(" (\n", 3, &buf, &buflen));
230 T(addstr("\t\t\t\t\t", 5, &buf, &buflen)); 746 addstr(const char *src, size_t len, char **buf, size_t *buflen) { function [all...] |
/system/extras/pagecache/ |
pagecache.py | 88 pad.addstr(0, 2, 'NAME'.ljust(68), curses.A_REVERSE) 89 pad.addstr(0, 70, 'ADDED (MB)'.ljust(12), curses.A_REVERSE) 90 pad.addstr(0, 82, 'REMOVED (MB)'.ljust(14), curses.A_REVERSE) 91 pad.addstr(0, 96, 'SIZE (MB)'.ljust(9), curses.A_REVERSE) 99 pad.addstr(y, 2, filename) 100 pad.addstr(y, 70, self.pages_to_mb(added).rjust(10)) 101 pad.addstr(y, 80, self.pages_to_mb(removed).rjust(14)) 102 pad.addstr(y, 96, self.bytes_to_mb(filesize).rjust(9)) 105 pad.addstr(y, 4, "<more...>") 108 pad.addstr(y, 2, 'TOTAL'.ljust(74), curses.A_REVERSE [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
lobject.c | 250 #define addstr(a,b,l) ( memcpy(a,b,(l) * sizeof(char)), a += (l) ) macro 258 addstr(out, source + 1, bufflen - 1); 266 addstr(out, RETS, LL(RETS)); 273 addstr(out, PRE, LL(PRE)); /* add prefix */ 276 addstr(out, source, l); /* keep it */ 281 addstr(out, source, l); 282 addstr(out, RETS, LL(RETS));
|
/external/syslinux/com32/lua/src/ |
lobject.c | 250 #define addstr(a,b,l) ( memcpy(a,b,(l) * sizeof(char)), a += (l) ) macro 258 addstr(out, source + 1, bufflen - 1); 266 addstr(out, RETS, LL(RETS)); 273 addstr(out, PRE, LL(PRE)); /* add prefix */ 276 addstr(out, source, l); /* keep it */ 281 addstr(out, source, l); 282 addstr(out, RETS, LL(RETS));
|
/external/python/cpython3/Tools/demo/ |
life.py | 55 self.scr.addstr(0, 0, border_line) 56 self.scr.addstr(self.Y + 1, 0, border_line) 58 self.scr.addstr(1 + y, 0, '|') 59 self.scr.addstr(1 + y, self.X + 1, '|') 159 stdscr.addstr(menu_y, 4, 161 stdscr.addstr(menu_y + 1, 4, 204 stdscr.addstr(menu_y, 6, ' Hit any key to stop continuously ' 214 stdscr.addstr(0, 0, '/') 217 stdscr.addstr(0, 0, '+')
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/ |
cursesw.h | 71 #ifdef addstr 72 inline int UNDEF(addstr)(const char * str) { return addstr(str); } function 73 #undef addstr macro 74 #define addstr UNDEF(addstr) macro 1012 int addstr(const char* str, int n=-1) { function in class:NCursesWindow 1017 int addstr(int y, int x, const char * str, int n=-1) { function in class:NCursesWindow [all...] |
/external/python/cpython2/Lib/curses/ |
textpad.py | 181 stdscr.addstr(uly-2, ulx, "Use Ctrl-G to end editing.")
|
/external/python/cpython3/Lib/curses/ |
textpad.py | 194 stdscr.addstr(uly-2, ulx, "Use Ctrl-G to end editing.")
|
/prebuilts/gdb/darwin-x86/lib/python2.7/curses/ |
textpad.py | 181 stdscr.addstr(uly-2, ulx, "Use Ctrl-G to end editing.")
|