Home
last modified time | relevance | path

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

/third_party/python/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)
/third_party/selinux/libsepol/cil/src/
Dcil.c2306 void cil_roleattributeset_init(struct cil_roleattributeset **attrset) in cil_roleattributeset_init() argument
2308 *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() argument
2329 *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 …]
Dcil_build_ast.c1409 struct cil_userattributeset *attrset = NULL; in cil_gen_userattributeset() local
1421 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() argument
1443 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 …]
Dcil_internal.h1022 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);
Dcil_build_ast.h88 void cil_destroy_userattributeset(struct cil_userattributeset *attrset);
112 void cil_destroy_roleattributeset(struct cil_roleattributeset *attrset);
/third_party/python/Lib/test/
Dtest_curses.py453 win.attrset(curses.A_BOLD)
/third_party/python/Doc/library/
Dcurses.rst776 .. method:: window.attrset(attr)