Home
last modified time | relevance | path

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

/external/chromium-trace/catapult/perf_insights/perf_insights/
Dfunction_handle.py129 def FromUserFriendlyString(user_str): argument
130 parts = user_str.split(':')
133 'Tried to deserialize string with less than two parts: ' + user_str)
/external/selinux/libsepol/cil/src/
Dcil_internal.h446 char *user_str; member
453 char *user_str; member
459 char *user_str; member
465 char *user_str; member
472 char *user_str; member
686 char *user_str; member
Dcil_tree.c547 } else if (context->user_str != NULL) { in cil_tree_print_context()
548 cil_log(CIL_INFO, " %s", context->user_str); in cil_tree_print_context()
648 } else if (userrole->user_str != NULL) { in cil_tree_print_node()
649 cil_log(CIL_INFO, " %s", userrole->user_str); in cil_tree_print_node()
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()
685 if (userrange->user_str != NULL) { in cil_tree_print_node()
686 cil_log(CIL_INFO, " %s", userrange->user_str); in cil_tree_print_node()
Dcil_copy_ast.c437 new->user_str = orig->user_str; in cil_copy_userrole()
452 new->user_str = orig->user_str; in cil_copy_userlevel()
472 new->user_str = orig->user_str; in cil_copy_userrange()
493 new->user_str = orig->user_str; in cil_copy_userprefix()
1044 new->user_str = data->user_str; in cil_copy_fill_context()
Dcil.c1804 (*context)->user_str = NULL; in cil_context_init()
1938 (*userrole)->user_str = NULL; in cil_userrole_init()
1948 (*userprefix)->user_str = NULL; in cil_userprefix_init()
1958 (*selinuxuser)->user_str = NULL; in cil_selinuxuser_init()
2414 (*usrlvl)->user_str = NULL; in cil_userlevel_init()
2423 (*userrange)->user_str = NULL; in cil_userrange_init()
Dcil_verify.c742 cil_log(CIL_ERR, "Role %s is invalid for user %s\n", ctx->role_str, ctx->user_str); in __cil_verify_context()
747 cil_log(CIL_ERR, "No roles given to the user %s\n", ctx->user_str); in __cil_verify_context()
780 ctx->range_str, ctx->user_str); in __cil_verify_context()
791 ctx->range_str, ctx->user_str); in __cil_verify_context()
Dcil_resolve_ast.c775 rc = cil_resolve_name(current, userrole->user_str, CIL_SYM_USERS, extra_args, &user_datum); in cil_resolve_userrole()
802 rc = cil_resolve_name(current, usrlvl->user_str, CIL_SYM_USERS, extra_args, &user_datum); in cil_resolve_userlevel()
855 rc = cil_resolve_name(current, userrange->user_str, CIL_SYM_USERS, extra_args, &user_datum); in cil_resolve_userrange()
906 rc = cil_resolve_name(current, userprefix->user_str, CIL_SYM_USERS, extra_args, &user_datum); in cil_resolve_userprefix()
933 rc = cil_resolve_name(current, selinuxuser->user_str, CIL_SYM_USERS, extra_args, &user_datum); in cil_resolve_selinuxuser()
1777 rc = cil_resolve_name(current, context->user_str, CIL_SYM_USERS, extra_args, &user_datum); in cil_resolve_context()
Dcil_policy.c445 char *user_str = ((struct cil_symtab_datum*)context->user)->name; in cil_context_to_policy() local
450 fprintf(file_arr[file_index], "%s:%s:%s:", user_str, role_str, type_str); in cil_context_to_policy()
Dcil_build_ast.c1381 usrlvl->user_str = parse_current->next->data; in cil_gen_userlevel()
1442 userrange->user_str = parse_current->next->data; in cil_gen_userrange()
1503 userprefix->user_str = parse_current->next->data; in cil_gen_userprefix()
1551 selinuxuser->user_str = parse_current->next->next->data; in cil_gen_selinuxuser()
1599 selinuxuser->user_str = parse_current->next->data; in cil_gen_selinuxuserdefault()
1758 userrole->user_str = parse_current->next->data; in cil_gen_userrole()
4058 context->user_str = user_node->data; in cil_fill_context()
/external/selinux/libsepol/cil/test/unit/
Dtest_cil_copy_ast.c439 CuAssertStrEquals(tc, ((struct cil_userrole *)test_ast_node->data)->user_str, test_copy->user_str); in test_cil_copy_userrole()
983 CuAssertStrEquals(tc, test_copy->packet_context->user_str, in test_cil_copy_netifcon_nested()
984 ((struct cil_netifcon *)test_ast_node->data)->packet_context->user_str); in test_cil_copy_netifcon_nested()
1019 CuAssertStrEquals(tc, ((struct cil_context *)test_copy->data)->user_str, in test_cil_copy_fill_context()
1020 ((struct cil_context *)test_ast_node->data)->user_str); in test_cil_copy_fill_context()
1055 CuAssertStrEquals(tc, ((struct cil_context *)test_copy->data)->user_str, in test_cil_copy_fill_context_anonrange()
1056 ((struct cil_context *)test_ast_node->data)->user_str); in test_cil_copy_fill_context_anonrange()
/external/selinux/libsepol/src/
Dmodule_to_cil.c3057 char *user_str = NULL; in user_extra_to_cil() local
3078 matched = tokenize(tmp, ' ', 4, &user_str, &user, &prefix_str, &prefix); in user_extra_to_cil()
3087 if (*eol != ';' || strcmp(user_str, "user") || strcmp(prefix_str, "prefix")) { in user_extra_to_cil()
3098 free(user_str); in user_extra_to_cil()
3100 user = prefix = line = user_str = prefix_str = NULL; in user_extra_to_cil()