Home
last modified time | relevance | path

Searched refs:attrset (Results 1 – 13 of 13) sorted by relevance

/external/python/cpython3/Tools/demo/
Dlife.py79 self.scr.attrset(curses.color_pair(random.randrange(1, 7)))
81 self.scr.attrset(0)
119 self.scr.attrset(curses.color_pair(
122 self.scr.attrset(0)
158 stdscr.attrset(curses.color_pair(1))
163 stdscr.attrset(0)
/external/python/cpython2/Demo/curses/
Dtclock.py26 stdscr.attrset(curses.color_pair(pair))
121 stdscr.attrset(curses.A_REVERSE)
126 stdscr.attrset(curses.color_pair(1))
131 stdscr.attrset(curses.color_pair(0))
Dxmas.py40 win.attrset(curses.color_pair(0))
160 treescrn2.attrset(curses.A_BOLD | curses.A_BLINK)
172 treescrn2.attrset(curses.A_BOLD | curses.A_BLINK)
187 treescrn2.attrset(curses.A_BOLD | curses.A_BLINK)
205 treescrn2.attrset(curses.A_BOLD | curses.A_BLINK)
225 treescrn2.attrset(curses.A_BOLD | curses.A_BLINK)
250 treescrn2.attrset(curses.A_BOLD | curses.A_BLINK)
Drain.py21 stdscr.attrset(color)
/external/selinux/libsepol/cil/src/
Dcil.c2050 void cil_roleattributeset_init(struct cil_roleattributeset **attrset) in cil_roleattributeset_init() argument
2052 *attrset = cil_malloc(sizeof(**attrset)); in cil_roleattributeset_init()
2054 (*attrset)->attr_str = NULL; in cil_roleattributeset_init()
2055 (*attrset)->str_expr = NULL; in cil_roleattributeset_init()
2056 (*attrset)->datum_expr = NULL; in cil_roleattributeset_init()
2071 void cil_typeattributeset_init(struct cil_typeattributeset **attrset) in cil_typeattributeset_init() argument
2073 *attrset = cil_malloc(sizeof(**attrset)); in cil_typeattributeset_init()
2075 (*attrset)->attr_str = NULL; in cil_typeattributeset_init()
2076 (*attrset)->str_expr = NULL; in cil_typeattributeset_init()
2077 (*attrset)->datum_expr = NULL; in cil_typeattributeset_init()
[all …]
Dandroid.c781 struct cil_typeattributeset *attrset = NULL; in cil_build_mappings_tree() local
796 cil_typeattributeset_init(&attrset); in cil_build_mappings_tree()
797 cil_list_init(&attrset->str_expr, CIL_TYPE); in cil_build_mappings_tree()
798 attrset->attr_str = new_key; in cil_build_mappings_tree()
799 cil_list_append(attrset->str_expr, CIL_STRING, orig_type); in cil_build_mappings_tree()
803 ast_node->data = attrset; in cil_build_mappings_tree()
Dcil_build_ast.c1345 struct cil_userattributeset *attrset = NULL; in cil_gen_userattributeset() local
1357 cil_userattributeset_init(&attrset); in cil_gen_userattributeset()
1359 attrset->attr_str = parse_current->next->data; in cil_gen_userattributeset()
1361 rc = cil_gen_expr(parse_current->next->next, CIL_USER, &attrset->str_expr); in cil_gen_userattributeset()
1365 ast_node->data = attrset; in cil_gen_userattributeset()
1372 cil_destroy_userattributeset(attrset); in cil_gen_userattributeset()
1377 void cil_destroy_userattributeset(struct cil_userattributeset *attrset) in cil_destroy_userattributeset() argument
1379 if (attrset == NULL) { in cil_destroy_userattributeset()
1383 cil_list_destroy(&attrset->str_expr, CIL_TRUE); in cil_destroy_userattributeset()
1384 cil_list_destroy(&attrset->datum_expr, CIL_FALSE); in cil_destroy_userattributeset()
[all …]
Dcil_internal.h1008 void cil_roleattributeset_init(struct cil_roleattributeset **attrset);
1011 void cil_typeattributeset_init(struct cil_typeattributeset **attrset);
1073 void cil_userattributeset_init(struct cil_userattributeset **attrset);
Dcil_build_ast.h86 void cil_destroy_userattributeset(struct cil_userattributeset *attrset);
110 void cil_destroy_roleattributeset(struct cil_roleattributeset *attrset);
/external/python/cpython2/Lib/test/
Dtest_curses.py113 stdscr.attrset(curses.A_BOLD)
/external/python/cpython3/Lib/test/
Dtest_curses.py114 stdscr.attrset(curses.A_BOLD)
/external/python/cpython2/Doc/library/
Dcurses.rst705 .. method:: window.attrset(attr)
/external/python/cpython3/Doc/library/
Dcurses.rst728 .. method:: window.attrset(attr)