Home
last modified time | relevance | path

Searched refs:range_str (Results 1 – 12 of 12) sorted by relevance

/third_party/selinux/libsepol/cil/src/
Dcil_reset_ast.c144 if (selinuxuser->range_str == NULL) { in cil_reset_selinuxuser()
223 if (rangetrans->range_str == NULL) { in cil_reset_rangetransition()
294 if (userrange->range_str == NULL) { in cil_reset_userrange()
306 if (context->range_str == NULL) { in cil_reset_context()
Dcil_internal.h484 char *range_str; member
498 char *range_str; member
590 char *range_str; member
728 char *range_str; member
Dcil_copy_ast.c483 if (orig->range_str != NULL) { in cil_copy_userrange()
484 new->range_str = orig->range_str; in cil_copy_userrange()
748 if (orig->range_str != NULL) { in cil_copy_rangetransition()
749 new->range_str = orig->range_str; in cil_copy_rangetransition()
1063 if (data->range_str != NULL) { in cil_copy_fill_context()
1064 new->range_str = data->range_str; in cil_copy_fill_context()
Dcil_write_ast.c368 fprintf(out, "%s", context->range_str); in write_context()
970 fprintf(out, "%s", userrange->range_str); in cil_write_ast_node()
993 fprintf(out, "%s", selinuxuser->range_str); in cil_write_ast_node()
1004 fprintf(out, "%s", selinuxuser->range_str); in cil_write_ast_node()
1184 fprintf(out, "%s", rule->range_str); in cil_write_ast_node()
Dcil_resolve_ast.c718 if (rangetrans->range_str != NULL) { in cil_resolve_rangetransition()
719 …rc = cil_resolve_name(current, rangetrans->range_str, CIL_SYM_LEVELRANGES, extra_args, &range_datu… in cil_resolve_rangetransition()
946 if (userrange->range_str != NULL) { in cil_resolve_userrange()
947 …rc = cil_resolve_name(current, userrange->range_str, CIL_SYM_LEVELRANGES, extra_args, &range_datum… in cil_resolve_userrange()
1024 if (selinuxuser->range_str != NULL) { in cil_resolve_selinuxuser()
1025 …rc = cil_resolve_name(current, selinuxuser->range_str, CIL_SYM_LEVELRANGES, extra_args, &lvlrange_… in cil_resolve_selinuxuser()
1899 if (context->range_str != NULL) { in cil_resolve_context()
1900 …rc = cil_resolve_name(current, context->range_str, CIL_SYM_LEVELRANGES, extra_args, &lvlrange_datu… in cil_resolve_context()
Dcil_build_ast.c1539 userrange->range_str = parse_current->next->next->data; in cil_gen_userrange()
1566 if (userrange->range_str == NULL && userrange->range != NULL) { in cil_destroy_userrange()
1646 selinuxuser->range_str = parse_current->next->next->next->data; in cil_gen_selinuxuser()
1693 selinuxuser->range_str = parse_current->next->next->data; in cil_gen_selinuxuserdefault()
1719 if (selinuxuser->range_str == NULL && selinuxuser->range != NULL) { in cil_destroy_selinuxuser()
3448 rangetrans->range_str = NULL; in cil_gen_rangetransition()
3451 rangetrans->range_str = parse_current->next->next->next->next->data; in cil_gen_rangetransition()
3478 if (rangetrans->range_str == NULL && rangetrans->range != NULL) { in cil_destroy_rangetransition()
4124 context->range_str = NULL; in cil_fill_context()
4127 context->range_str = user_node->next->next->next->data; in cil_fill_context()
[all …]
Dcil.c2131 (*context)->range_str = NULL; in cil_context_init()
2282 (*selinuxuser)->range_str = NULL; in cil_selinuxuser_init()
2404 (*rangetrans)->range_str = NULL; in cil_rangetransition_init()
2768 (*userrange)->range_str = NULL; in cil_userrange_init()
Dcil_verify.c933 ctx->range_str, ctx->user_str); in __cil_verify_context()
944 ctx->range_str, ctx->user_str); in __cil_verify_context()
/third_party/unity/auto/
Dgenerate_test_runner.rb145 arguments.scan(/\s*TEST_RANGE\s*\((.*)\)\s*$/).flatten.each do |range_str|
146 … args += range_str.scan(/\[(-?\d+.?\d*), *(-?\d+.?\d*), *(-?\d+.?\d*)\]/).map do |arg_values_str|
/third_party/selinux/libsepol/cil/test/unit/
Dtest_cil_copy_ast.c989 CuAssertStrEquals(tc, test_copy->packet_context->range_str, in test_cil_copy_netifcon_nested()
990 ((struct cil_netifcon *)test_ast_node->data)->packet_context->range_str); in test_cil_copy_netifcon_nested()
1025 CuAssertStrEquals(tc, ((struct cil_context *)test_copy->data)->range_str, in test_cil_copy_fill_context()
1026 ((struct cil_context *)test_ast_node->data)->range_str); in test_cil_copy_fill_context()
1061 CuAssertStrEquals(tc, ((struct cil_context *)test_copy->data)->range_str, in test_cil_copy_fill_context_anonrange()
1062 ((struct cil_context *)test_ast_node->data)->range_str); in test_cil_copy_fill_context_anonrange()
/third_party/selinux/libsepol/src/
Dkernel_to_conf.c1940 char *range_str = NULL; in range_to_str() local
1952 range_str = create_str("%s - %s", 2, low, high); in range_to_str()
1958 return range_str; in range_to_str()
Dkernel_to_cil.c1964 char *range_str = NULL; in range_to_str() local
1976 range_str = create_str("(%s %s)", 2, low, high); in range_to_str()
1982 return range_str; in range_to_str()