Home
last modified time | relevance | path

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

/external/selinux/libsepol/cil/src/
Dcil_tree.c663 struct cil_userlevel *usrlvl = node->data; in cil_tree_print_node() local
666 if (usrlvl->user_str != NULL) { in cil_tree_print_node()
667 cil_log(CIL_INFO, " %s", usrlvl->user_str); in cil_tree_print_node()
670 if (usrlvl->level != NULL) { in cil_tree_print_node()
672 cil_tree_print_level(usrlvl->level); in cil_tree_print_node()
674 } else if (usrlvl->level_str != NULL) { in cil_tree_print_node()
675 cil_log(CIL_INFO, " %s", usrlvl->level_str); in cil_tree_print_node()
Dcil.c2410 void cil_userlevel_init(struct cil_userlevel **usrlvl) in cil_userlevel_init() argument
2412 *usrlvl = cil_malloc(sizeof(**usrlvl)); in cil_userlevel_init()
2414 (*usrlvl)->user_str = NULL; in cil_userlevel_init()
2415 (*usrlvl)->level_str = NULL; in cil_userlevel_init()
2416 (*usrlvl)->level = NULL; in cil_userlevel_init()
Dcil_build_ast.c1367 struct cil_userlevel *usrlvl = NULL; in cil_gen_userlevel() local
1379 cil_userlevel_init(&usrlvl); in cil_gen_userlevel()
1381 usrlvl->user_str = parse_current->next->data; in cil_gen_userlevel()
1384 usrlvl->level_str = parse_current->next->next->data; in cil_gen_userlevel()
1386 cil_level_init(&usrlvl->level); in cil_gen_userlevel()
1388 rc = cil_fill_level(parse_current->next->next->cl_head, usrlvl->level); in cil_gen_userlevel()
1394 ast_node->data = usrlvl; in cil_gen_userlevel()
1402 cil_destroy_userlevel(usrlvl); in cil_gen_userlevel()
1406 void cil_destroy_userlevel(struct cil_userlevel *usrlvl) in cil_destroy_userlevel() argument
1408 if (usrlvl == NULL) { in cil_destroy_userlevel()
[all …]
Dcil_resolve_ast.c795 struct cil_userlevel *usrlvl = current->data; in cil_resolve_userlevel() local
802 rc = cil_resolve_name(current, usrlvl->user_str, CIL_SYM_USERS, extra_args, &user_datum); in cil_resolve_userlevel()
817 if (usrlvl->level_str != NULL) { in cil_resolve_userlevel()
818 rc = cil_resolve_name(current, usrlvl->level_str, CIL_SYM_LEVELS, extra_args, &lvl_datum); in cil_resolve_userlevel()
822 usrlvl->level = (struct cil_level*)lvl_datum; in cil_resolve_userlevel()
823 user->dftlevel = usrlvl->level; in cil_resolve_userlevel()
832 } else if (usrlvl->level != NULL) { in cil_resolve_userlevel()
833 rc = cil_resolve_level(current, usrlvl->level, extra_args); in cil_resolve_userlevel()
837 user->dftlevel = usrlvl->level; in cil_resolve_userlevel()
Dcil_build_ast.h88 void cil_destroy_userlevel(struct cil_userlevel *usrlvl);
Dcil_internal.h1002 void cil_userlevel_init(struct cil_userlevel **usrlvl);
/external/opencv3/cmake/
DOpenCVDetectAndroidSDK.cmake154 foreach(usrlvl ${ARGN})
155 if("${usrlvl}" STREQUAL "${lvl}")