Home
last modified time | relevance | path

Searched refs:init_pair (Results 1 – 19 of 19) sorted by relevance

/external/autotest/client/profilers/powertop/src/
Ddisplay.c126 init_pair(PT_COLOR_DEFAULT, COLOR_WHITE, COLOR_BLACK); in initialize_curses()
127 init_pair(PT_COLOR_HEADER_BAR, COLOR_BLACK, COLOR_WHITE); in initialize_curses()
128 init_pair(PT_COLOR_ERROR, COLOR_BLACK, COLOR_RED); in initialize_curses()
129 init_pair(PT_COLOR_RED, COLOR_WHITE, COLOR_RED); in initialize_curses()
130 init_pair(PT_COLOR_YELLOW, COLOR_WHITE, COLOR_YELLOW); in initialize_curses()
131 init_pair(PT_COLOR_GREEN, COLOR_WHITE, COLOR_GREEN); in initialize_curses()
132 init_pair(PT_COLOR_BLUE, COLOR_WHITE, COLOR_BLUE); in initialize_curses()
133 init_pair(PT_COLOR_BRIGHT, COLOR_WHITE, COLOR_BLACK); in initialize_curses()
/external/python/cpython3/Tools/demo/
Dlife.py175 curses.init_pair(1, curses.COLOR_BLUE, 0)
176 curses.init_pair(2, curses.COLOR_CYAN, 0)
177 curses.init_pair(3, curses.COLOR_GREEN, 0)
178 curses.init_pair(4, curses.COLOR_MAGENTA, 0)
179 curses.init_pair(5, curses.COLOR_RED, 0)
180 curses.init_pair(6, curses.COLOR_YELLOW, 0)
181 curses.init_pair(7, curses.COLOR_WHITE, 0)
/external/python/cpython2/Demo/curses/
Dtclock.py78 curses.init_pair(1, curses.COLOR_RED, my_bg)
79 curses.init_pair(2, curses.COLOR_MAGENTA, my_bg)
80 curses.init_pair(3, curses.COLOR_GREEN, my_bg)
Drain.py33 curses.init_pair(1, curses.COLOR_BLUE, bg)
34 curses.init_pair(2, curses.COLOR_CYAN, bg)
Dncurses.py41 curses.init_pair(color, fg, bg)
Dxmas.py34 curses.init_pair(n, color, my_bg)
/external/python/cpython3/Lib/test/
Dtest_curses.py933 curses.init_pair(pair_limit - 1, 0, 0)
954 curses.init_pair(1, *old)
955 self.addCleanup(curses.init_pair, 1, *old)
957 curses.init_pair(1, 0, 0)
960 curses.init_pair(1, maxcolor, 0)
962 curses.init_pair(1, 0, maxcolor)
966 curses.init_pair(maxpair, 0, 0)
970 self.assertRaises(ValueError, curses.init_pair, pair, 0, 0)
972 self.assertRaises(ValueError, curses.init_pair, 1, color, 0)
973 self.assertRaises(ValueError, curses.init_pair, 1, 0, color)
/external/mesa3d/src/freedreno/perfcntrs/
Dfdperf.c855 init_pair(COLOR_GROUP_HEADER, COLOR_WHITE, COLOR_GREEN); in main_ui()
856 init_pair(COLOR_FOOTER, COLOR_WHITE, COLOR_BLUE); in main_ui()
857 init_pair(COLOR_INVERSE, COLOR_BLACK, COLOR_WHITE); in main_ui()
/external/python/cffi/demo/
D_curses.py724 def init_pair(pair, f, b): function
726 return _check_ERR(lib.init_pair(pair, f, b), "init_pair")
/external/tensorflow/tensorflow/python/debug/cli/
Dcurses_ui.py412 curses.init_pair(color_index, self._FOREGROUND_COLORS[fg_color],
424 curses.init_pair(color_index, 245, -1)
/external/python/cpython2/Lib/test/
Dtest_curses.py271 curses.init_pair(2, 1,1)
/external/toybox/kconfig/lxdialog/
Dutil.c179 init_pair(pair, color->fg, color->bg); in init_one_color()
/external/python/cpython2/Doc/howto/
Dcurses.rst334 The ``init_pair(n, f, b)`` function changes the definition of color pair *n*, to
341 curses.init_pair(1, curses.COLOR_RED, curses.COLOR_WHITE)
/external/python/cpython3/Doc/howto/
Dcurses.rst399 The ``init_pair(n, f, b)`` function changes the definition of color pair *n*, to
412 curses.init_pair(1, curses.COLOR_RED, curses.COLOR_WHITE)
/external/python/cpython2/Doc/library/
Dcurses.rst279 .. function:: init_pair(pair_number, fg, bg)
625 to the color number -1. After calling this function, ``init_pair(x,
/external/python/cpython3/Doc/library/
Dcurses.rst301 .. function:: init_pair(pair_number, fg, bg)
695 to the color number ``-1``. After calling this function, ``init_pair(x,
/external/python/cpython3/Modules/
D_cursesmodule.c155 #define _CURSES_INIT_PAIR_FUNC init_pair
/external/python/cpython2/Modules/
D_cursesmodule.c1952 return PyCursesCheckERR(init_pair(pair, f, b), "init_pair"); in PyCurses_Init_Pair()
/external/python/cpython3/Doc/whatsnew/
D3.10.rst979 :func:`curses.init_pair`, and :func:`curses.pair_content`. A new function,