/external/webrtc/webrtc/p2p/base/ |
D | transportdescription.cc | 19 bool StringToConnectionRole(const std::string& role_str, ConnectionRole* role) { in StringToConnectionRole() argument 28 if (_stricmp(roles[i], role_str.c_str()) == 0) { in StringToConnectionRole() 36 bool ConnectionRoleToString(const ConnectionRole& role, std::string* role_str) { in ConnectionRoleToString() argument 39 *role_str = cricket::CONNECTIONROLE_ACTIVE_STR; in ConnectionRoleToString() 42 *role_str = cricket::CONNECTIONROLE_ACTPASS_STR; in ConnectionRoleToString() 45 *role_str = cricket::CONNECTIONROLE_PASSIVE_STR; in ConnectionRoleToString() 48 *role_str = cricket::CONNECTIONROLE_HOLDCONN_STR; in ConnectionRoleToString()
|
D | transportdescription.h | 69 bool StringToConnectionRole(const std::string& role_str, ConnectionRole* role); 70 bool ConnectionRoleToString(const ConnectionRole& role, std::string* role_str);
|
/external/selinux/libsepol/cil/src/ |
D | cil_internal.h | 448 char *role_str; member 498 char *role_str; member 688 char *role_str; member
|
D | cil_tree.c | 553 } else if (context->role_str != NULL) { in cil_tree_print_context() 554 cil_log(CIL_INFO, " %s", context->role_str); in cil_tree_print_context() 655 } else if (userrole->role_str != NULL) { in cil_tree_print_node() 656 cil_log(CIL_INFO, " %s", userrole->role_str); in cil_tree_print_node() 713 } else if (roletype->role_str != NULL) { in cil_tree_print_node() 714 cil_log(CIL_INFO, " %s", roletype->role_str); in cil_tree_print_node()
|
D | cil_copy_ast.c | 438 new->role_str = orig->role_str; in cil_copy_userrole() 526 new->role_str = orig->role_str; in cil_copy_roletype() 1045 new->role_str = data->role_str; in cil_copy_fill_context()
|
D | cil_policy.c | 446 char *role_str = ((struct cil_symtab_datum*)context->role)->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() 1051 char *role_str = ((struct cil_symtab_datum*)roletype->role)->name; in cil_name_to_policy() local 1054 fprintf(file_arr[ALIASES], "role %s types %s\n", role_str, type_str); in cil_name_to_policy()
|
D | cil_verify.c | 742 cil_log(CIL_ERR, "Role %s is invalid for user %s\n", ctx->role_str, ctx->user_str); in __cil_verify_context() 754 cil_log(CIL_ERR, "Type %s is invalid for role %s\n", ctx->type_str, ctx->role_str); in __cil_verify_context() 759 cil_log(CIL_ERR, "No types associated with role %s\n", ctx->role_str); in __cil_verify_context()
|
D | cil.c | 1806 (*context)->role_str = NULL; in cil_context_init() 1940 (*userrole)->role_str = NULL; in cil_userrole_init() 1968 (*roletype)->role_str = NULL; in cil_roletype_init()
|
D | cil_resolve_ast.c | 781 rc = cil_resolve_name(current, userrole->role_str, CIL_SYM_ROLES, extra_args, &role_datum); in cil_resolve_userrole() 981 rc = cil_resolve_name(current, roletype->role_str, CIL_SYM_ROLES, extra_args, &role_datum); in cil_resolve_roletype() 1792 rc = cil_resolve_name(current, context->role_str, CIL_SYM_ROLES, extra_args, &role_datum); in cil_resolve_context()
|
D | cil_build_ast.c | 1711 roletype->role_str = parse_current->next->data; in cil_gen_roletype() 1759 userrole->role_str = parse_current->next->next->data; in cil_gen_userrole() 4059 context->role_str = user_node->next->data; in cil_fill_context()
|
/external/selinux/libsepol/cil/test/unit/ |
D | test_cil_copy_ast.c | 440 CuAssertStrEquals(tc, ((struct cil_userrole *)test_ast_node->data)->role_str, test_copy->role_str); in test_cil_copy_userrole() 985 CuAssertStrEquals(tc, test_copy->packet_context->role_str, in test_cil_copy_netifcon_nested() 986 ((struct cil_netifcon *)test_ast_node->data)->packet_context->role_str); in test_cil_copy_netifcon_nested() 1021 CuAssertStrEquals(tc, ((struct cil_context *)test_copy->data)->role_str, in test_cil_copy_fill_context() 1022 ((struct cil_context *)test_ast_node->data)->role_str); in test_cil_copy_fill_context() 1057 CuAssertStrEquals(tc, ((struct cil_context *)test_copy->data)->role_str, in test_cil_copy_fill_context_anonrange() 1058 ((struct cil_context *)test_ast_node->data)->role_str); in test_cil_copy_fill_context_anonrange()
|
/external/webrtc/talk/app/webrtc/ |
D | webrtcsdp.cc | 2035 std::string role_str = fields[1]; in ParseDtlsSetup() local 2036 if (!cricket::StringToConnectionRole(role_str, role)) { in ParseDtlsSetup()
|