Home
last modified time | relevance | path

Searched refs:addstr (Results 1 – 25 of 34) sorted by relevance

12

/external/python/cpython2/Demo/curses/
Dxmas.py86 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 …]
Drain.py64 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, " ")
Dlife.py56 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, '+')
Dncurses.py30 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])
Dtclock.py93 stdscr.addstr(cy - sdy, cx + sdx, "%d" % (i + 1))
95 stdscr.addstr(0, 0,
133 stdscr.addstr(curses.LINES - 2, 0, time.ctime(tim))
Drepeat.py44 w.addstr(text)
/external/python/cpython2/Lib/test/
Dcurses_tests.py21 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/
Dcurses_tests.py21 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')
Dtest_curses.py89 for meth in [stdscr.addch, stdscr.addstr]:
219 self.assertRaises(ValueError, stdscr.addstr, 'a\0')
/external/python/cpython3/Tools/demo/
Dlife.py55 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/llvm-project/lldb/utils/lui/
Dstatuswin.py25 self.win.addstr(0, 0, '')
27 self.win.addstr('{0}'.format(key[0]), curses.A_REVERSE)
28 self.win.addstr(' {0} '.format(key[1]), curses.A_NORMAL)
40 self.win.addstr(0, x, status)
Dcommandwin.py83 self.win.addstr("Available Completions:")
86 self.win.addstr(self.win.getyx()[0], 0, m)
117 self.win.addstr(self.startline, 0, out + '\n', attr)
Dcui.py54 self.win.addstr(0, 0, text, curses.A_REVERSE)
56 self.win.addstr(0, 0, text)
134 self.win.addstr(y, 0, line[:w], attr)
277 self.win.addstr(y, x, prompt)
279 self.win.addstr(remain[:w - len(prompt)])
283 self.win.addstr(y, 0, remain[:w])
Dsourcewin.py73 self.win.addstr(
115 self.win.addstr(0, 0, "Invalid source file")
163 self.win.addstr(line, attr)
Deventwin.py25 self.win.addstr(h - 1, 0, lldbutil.get_description(event))
/external/lua/src/
Dlobject.c555 #define addstr(a,b,l) ( memcpy(a,b,(l) * sizeof(char)), a += (l) ) macro
563 addstr(out, source + 1, bufflen - 1); in luaO_chunkid()
571 addstr(out, RETS, LL(RETS)); in luaO_chunkid()
578 addstr(out, PRE, LL(PRE)); /* add prefix */ in luaO_chunkid()
581 addstr(out, source, srclen); /* keep it */ in luaO_chunkid()
586 addstr(out, source, srclen); in luaO_chunkid()
587 addstr(out, RETS, LL(RETS)); in luaO_chunkid()
/external/virglrenderer/src/
Dvrend_strbuf.h111 static inline void strbuf_append(struct vrend_strbuf *sb, const char *addstr) in strbuf_append() argument
113 strbuf_append_buffer(sb, addstr, strlen(addstr)); in strbuf_append()
/external/bcc/tools/
Dcachetop.py204 stdscr.addstr(
214 stdscr.addstr(
232 stdscr.addstr(
/external/python/cpython3/Doc/howto/
Dcurses.rst72 :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/
Dcurses.rst65 :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/
Dcurses_ui.py525 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/
Dtextpad.py194 stdscr.addstr(uly-2, ulx, "Use Ctrl-G to end editing.")
/external/python/cpython3/Lib/curses/
Dtextpad.py194 stdscr.addstr(uly-2, ulx, "Use Ctrl-G to end editing.")
/external/mesa3d/src/egl/main/
Deglapi.c553 #define addstr(str) \ in _eglCreateAPIsString() macro
565 addstr("OpenGL"); in _eglCreateAPIsString()
570 addstr("OpenGL_ES"); in _eglCreateAPIsString()
574 addstr("OpenVG"); in _eglCreateAPIsString()
576 #undef addstr in _eglCreateAPIsString()
/external/python/cpython3/Misc/NEWS.d/
D3.7.0b4.rst316 Add a note about curses.addch and curses.addstr exception behavior when

12