Searched refs:attrset (Results 1 – 13 of 13) sorted by relevance
79 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)
26 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))
40 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)
21 stdscr.attrset(color)
2050 void cil_roleattributeset_init(struct cil_roleattributeset **attrset) in cil_roleattributeset_init() argument2052 *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() argument2073 *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 …]
781 struct cil_typeattributeset *attrset = NULL; in cil_build_mappings_tree() local796 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()
1345 struct cil_userattributeset *attrset = NULL; in cil_gen_userattributeset() local1357 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() argument1379 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 …]
1008 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);
86 void cil_destroy_userattributeset(struct cil_userattributeset *attrset);110 void cil_destroy_roleattributeset(struct cil_roleattributeset *attrset);
113 stdscr.attrset(curses.A_BOLD)
114 stdscr.attrset(curses.A_BOLD)
705 .. method:: window.attrset(attr)
728 .. method:: window.attrset(attr)