Searched refs:attrset (Results 1 – 7 of 7) 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)
2306 void cil_roleattributeset_init(struct cil_roleattributeset **attrset) in cil_roleattributeset_init() argument2308 *attrset = cil_malloc(sizeof(**attrset)); in cil_roleattributeset_init()2310 (*attrset)->attr_str = NULL; in cil_roleattributeset_init()2311 (*attrset)->str_expr = NULL; in cil_roleattributeset_init()2312 (*attrset)->datum_expr = NULL; in cil_roleattributeset_init()2327 void cil_typeattributeset_init(struct cil_typeattributeset **attrset) in cil_typeattributeset_init() argument2329 *attrset = cil_malloc(sizeof(**attrset)); in cil_typeattributeset_init()2331 (*attrset)->attr_str = NULL; in cil_typeattributeset_init()2332 (*attrset)->str_expr = NULL; in cil_typeattributeset_init()2333 (*attrset)->datum_expr = NULL; in cil_typeattributeset_init()[all …]
1409 struct cil_userattributeset *attrset = NULL; in cil_gen_userattributeset() local1421 cil_userattributeset_init(&attrset); in cil_gen_userattributeset()1423 attrset->attr_str = parse_current->next->data; in cil_gen_userattributeset()1425 rc = cil_gen_expr(parse_current->next->next, CIL_USER, &attrset->str_expr); in cil_gen_userattributeset()1429 ast_node->data = attrset; in cil_gen_userattributeset()1436 cil_destroy_userattributeset(attrset); in cil_gen_userattributeset()1441 void cil_destroy_userattributeset(struct cil_userattributeset *attrset) in cil_destroy_userattributeset() argument1443 if (attrset == NULL) { in cil_destroy_userattributeset()1447 cil_list_destroy(&attrset->str_expr, CIL_TRUE); in cil_destroy_userattributeset()1448 cil_list_destroy(&attrset->datum_expr, CIL_FALSE); in cil_destroy_userattributeset()[all …]
1022 void cil_roleattributeset_init(struct cil_roleattributeset **attrset);1025 void cil_typeattributeset_init(struct cil_typeattributeset **attrset);1087 void cil_userattributeset_init(struct cil_userattributeset **attrset);
88 void cil_destroy_userattributeset(struct cil_userattributeset *attrset);112 void cil_destroy_roleattributeset(struct cil_roleattributeset *attrset);
453 win.attrset(curses.A_BOLD)
776 .. method:: window.attrset(attr)