Home
last modified time | relevance | path

Searched refs:class_str (Results 1 – 11 of 11) sorted by relevance

/external/selinux/libsepol/cil/src/
Dcil_internal.h387 char *class_str; member
410 char *class_str; member
863 char *class_str; member
Dcil_write_ast.c483 fprintf(cil_out, "(%s %s %s)\n", CIL_KEY_CLASSCOMMON, classcommon->class_str, in cil_write_classcommon()
958 char *class_str; in cil_unfill_classperms() local
962 class_str = cp->class_str; in cil_unfill_classperms()
963 len += strlen(class_str) + 1; in cil_unfill_classperms()
971 sprintf(*out_str, "(%s %s)", class_str, perms_str); in cil_unfill_classperms()
Dcil_tree.c567 cil_log(CIL_INFO, " class: %s", cp->class_str); in cil_tree_print_classperms()
954 cil_log(CIL_INFO, "CLASSCOMMON: class: %s, common: %s\n", clscom->class_str, clscom->common_str); in cil_tree_print_node()
1369 } else if (vt->class_str != NULL) { in cil_tree_print_node()
1370 cil_log(CIL_INFO, "%s ", vt->class_str); in cil_tree_print_node()
1385 } else if (vt->class_str != NULL) { in cil_tree_print_node()
1386 cil_log(CIL_INFO, "%s ", vt->class_str); in cil_tree_print_node()
Dcil_copy_ast.c184 (*new)->class_str = orig->class_str; in cil_copy_classperms()
317 new->class_str = orig->class_str; in cil_copy_classcommon()
1468 new->class_str = orig->class_str; in cil_copy_validatetrans()
Dcil.c2133 (*classcommon)->class_str = NULL; in cil_classcommon_init()
2565 (*validtrans)->class_str = NULL; in cil_validatetrans_init()
2614 (*cp)->class_str = NULL; in cil_classperms_init()
Dcil_resolve_ast.c160 rc = cil_resolve_name(current, cp->class_str, CIL_SYM_CLASSES, extra_args, &datum); in cil_resolve_classperms()
745 rc = cil_resolve_name(current, clscom->class_str, CIL_SYM_CLASSES, extra_args, &class_datum); in cil_resolve_classcommon()
1804 rc = cil_resolve_name(current, validtrans->class_str, CIL_SYM_CLASSES, args, &class_datum); in cil_resolve_validatetrans()
Dcil_build_ast.c636 (*cp)->class_str = parse_current->data; in cil_fill_classperms()
1026 clscom->class_str = parse_current->next->data; in cil_gen_classcommon()
4065 validtrans->class_str = parse_current->next->data; in cil_gen_validatetrans()
/external/selinux/libsepol/cil/test/unit/
Dtest_cil_copy_ast.c300 …ertStrEquals(tc, ((struct cil_classcommon *)test_ast_node->data)->class_str, test_copy->class_str); in test_cil_copy_classcommon()
615 …ruct cil_avrule *)test_ast_node->data)->classpermset->class_str, test_copy->classpermset->class_st… in test_cil_copy_avrule()
1328 …onstrain*)test_copy)->classpermset->class_str, ((struct cil_constrain *)test_ast_node->data)->clas… in test_cil_copy_constrain()
Dtest_cil_build_ast.c80 test_avrule->classpermset->class_str = cil_strdup(test_current->next->next->next->cl_head->data); in test_cil_parse_to_list()
111 test_avrule->classpermset->class_str = cil_strdup(test_current->next->next->next->cl_head->data); in test_cil_parse_to_list_currnull_neg()
142 test_avrule->classpermset->class_str = cil_strdup(test_current->next->next->next->cl_head->data); in test_cil_parse_to_list_listnull_neg()
8158 …CuAssertStrEquals(tc, ((struct cil_avrule*)test_ast_node->data)->classpermset->class_str, test_cur… in test_cil_gen_avrule()
/external/python/cpython2/Objects/
Dclassobject.c406 class_str(PyClassObject *op) in class_str() function
460 (reprfunc)class_str, /* tp_str */
Dtypeobject.c6755 static PyObject *class_str = NULL; local
6758 if (class_str == NULL) {
6759 class_str = PyString_FromString("__class__");
6760 if (class_str == NULL)
6764 class_attr = PyObject_GetAttr(obj, class_str);