/external/python/cpython2/Demo/curses/ |
D | 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 …]
|
D | 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, " ")
|
D | 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, '+')
|
D | 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])
|
D | 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))
|
D | repeat.py | 44 w.addstr(text)
|
/external/python/cpython2/Lib/test/ |
D | 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')
|
D | test_curses.py | 90 for meth in [stdscr.addch, stdscr.addstr]:
|
/external/python/cpython3/Lib/test/ |
D | 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')
|
D | test_curses.py | 89 for meth in [stdscr.addch, stdscr.addstr]: 219 self.assertRaises(ValueError, stdscr.addstr, 'a\0')
|
/external/python/cpython3/Tools/demo/ |
D | 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, '+')
|
/external/lua/src/ |
D | lobject.c | 485 #define addstr(a,b,l) ( memcpy(a,b,(l) * sizeof(char)), a += (l) ) macro 493 addstr(out, source + 1, bufflen - 1); in luaO_chunkid() 501 addstr(out, RETS, LL(RETS)); in luaO_chunkid() 508 addstr(out, PRE, LL(PRE)); /* add prefix */ in luaO_chunkid() 511 addstr(out, source, l); /* keep it */ in luaO_chunkid() 516 addstr(out, source, l); in luaO_chunkid() 517 addstr(out, RETS, LL(RETS)); in luaO_chunkid()
|
/external/bcc/tools/ |
D | cachetop.py | 204 stdscr.addstr( 214 stdscr.addstr( 232 stdscr.addstr(
|
/external/python/cpython3/Doc/howto/ |
D | curses.rst | 72 :c:func:`addstr`, :c:func:`mvaddstr`, and :c:func:`mvwaddstr` into a single 73 :meth:`~curses.window.addstr` method. You'll see this covered in more 149 stdscr.addstr(i, 0, '10 divided by {} is {}'.format(v, 10/v)) 268 :c:func:`addstr` displays a string at the current cursor location in 271 like :c:func:`addstr`, but allows specifying a window to use instead of 277 :meth:`~curses.window.addstr` accept multiple argument forms. Usually there 302 The :meth:`~curses.window.addstr` method takes a Python string or 368 stdscr.addstr(0, 0, "Current mode: Typing mode", 395 stdscr.addstr("Pretty text", curses.color_pair(1)) 418 stdscr.addstr(0,0, "RED ALERT!", curses.color_pair(1)) [all …]
|
/external/python/cpython2/Doc/howto/ |
D | curses.rst | 65 :func:`addstr`, :func:`mvaddstr`, :func:`mvwaddstr`, into a single 66 :meth:`addstr` method. You'll see this covered in more detail later. 212 maze of functions, all subtly different. For example, :func:`addstr` displays a 215 string. :func:`waddstr` is just like :func:`addstr`, but allows specifying a 220 object like any other, and methods like :func:`addstr` accept multiple argument 244 The :func:`addstr` function takes a Python string as the value to be displayed, 300 stdscr.addstr(0, 0, "Current mode: Typing mode", 325 stdscr.addstr("Pretty text", curses.color_pair(1)) 347 stdscr.addstr(0,0, "RED ALERT!", curses.color_pair(1))
|
/external/tensorflow/tensorflow/python/debug/cli/ |
D | curses_ui.py | 525 self._stdscr.addstr(*args) 1226 pad.addstr(row, line_end_x, " " * (self._max_x - 3 - line_end_x), 1251 pad.addstr(row, 0, txt, self._default_color_pair) 1292 pad.addstr(row, segment[0], txt[segment[0]:segment[1]], color_pair)
|
/external/python/cpython2/Lib/curses/ |
D | textpad.py | 194 stdscr.addstr(uly-2, ulx, "Use Ctrl-G to end editing.")
|
/external/python/cpython3/Lib/curses/ |
D | textpad.py | 194 stdscr.addstr(uly-2, ulx, "Use Ctrl-G to end editing.")
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.7.0b4.rst | 317 Add a note about curses.addch and curses.addstr exception behavior when
|
D | 3.6.6rc1.rst | 604 Add a note about curses.addch and curses.addstr exception behavior when
|
/external/python/cpython3/Doc/library/ |
D | curses.rst | 166 operations such as :meth:`~window.addstr` have been performed on a window. The normal 703 .. method:: window.addstr(str[, attr]) 704 window.addstr(y, x, str[, attr])
|
/external/python/cpython2/Doc/library/ |
D | curses.rst | 158 operations such as :meth:`addstr` have been performed on a window. The normal 680 .. method:: window.addstr(str[, attr]) 681 window.addstr(y, x, str[, attr])
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7.15rc1.rst | 1273 Add a note about curses.addch and curses.addstr exception behavior when
|