HomeSort by relevance Sort by last modified time
    Searched defs:role (Results 1 - 25 of 327) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/pdfium/fxjs/xfa/
cjx_assist.cpp 21 void CJX_Assist::role(CFXJSE_Value* pValue, function in class:CJX_Assist
  /external/webrtc/webrtc/p2p/base/
transportdescriptionfactory.cc 42 // If we are the initiator set role to "actpass".
78 // Setting DTLS role to active.
79 ConnectionRole role = (options.prefer_passive_role) ? local
82 if (!SetSecurityInfo(desc.get(), role)) {
97 TransportDescription* desc, ConnectionRole role) const {
121 // Assign security role.
122 desc->connection_role = role;
  /external/selinux/libsepol/tests/
test-linker-roles.c 33 * - role in appropriate symtab (global and decl)
38 * - role in base, no modules
39 * - role in base optional, no modules
40 * - role a in base, b in module
41 * - role a in base and module (additive)
42 * - role a in base and 2 module
43 * - role a in base optional, b in module
44 * - role a in base, b in module optional
45 * - role a in base optional, b in module optional
46 * - role a in base optional and modul
73 role_datum_t *role; local
102 role_datum_t *role; local
    [all...]
test-common.c 188 role_datum_t *role; local
191 role = hashtab_search(decl->p_roles.table, id);
193 role = hashtab_search(p->p_roles.table, id);
195 if (!role)
196 printf("role %s can't be found! \n", id);
198 CU_ASSERT_FATAL(role != NULL);
200 ebitmap_for_each_bit(&role->types.types, tnode, i) {
217 printf("\nrole %s has %d types, %d expected\n", p->sym_val_to_name[SYM_ROLES][role->s.value - 1], found, len);
219 CU_ASSERT(role->types.negset.highbit == 0);
220 CU_ASSERT(role->types.flags == flags)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/policyrep/
context.py 23 from . import role
43 return "{0.user}:{0.role}:{0.type_}:{0.range_}".format(self)
45 return "{0.user}:{0.role}:{0.type_}".format(self)
53 def role(self): member in class:Context
54 """The role portion of the context."""
55 return role.role_factory(self.policy, self.qpol_symbol.role(self.policy))
  /external/adhd/cras/src/server/
cras_bt_profile.h 23 const char *role; member in struct:cras_bt_profile
  /external/libtextclassifier/
tokenizer.cc 67 TokenizationCodepointRange_::Role* role,
71 *role = range->role;
74 *role = TokenizationCodepointRange_::Role_DEFAULT_ROLE;
92 TokenizationCodepointRange_::Role role; local
94 GetScriptAndRole(*it, &role, &script);
96 if (role & TokenizationCodepointRange_::Role_SPLIT_BEFORE ||
104 if (!(role & TokenizationCodepointRange_::Role_DISCARD_CODEPOINT))
    [all...]
  /external/libxml2/
xlink.c 124 xmlChar *type = NULL, *role = NULL; local
154 role = xmlGetNsProp(node, BAD_CAST "role", XLINK_NAMESPACE);
155 if (role != NULL) {
160 if (xmlStrEqual(role, BAD_CAST"xlink:external-linkset"))
167 if (xmlStrEqual(role, buf))
178 if (role != NULL) xmlFree(role);
  /external/selinux/libselinux/utils/
getdefaultcon.c 23 char *user = NULL, *level = NULL, *role=NULL, *seuser=NULL, *dlevel=NULL; local
34 role = strdup(optarg);
70 if (role != NULL && role[0])
71 ret=get_default_context_with_rolelevel(seuser, role, level,cur_context,&usercon);
79 printf("%s: %s from %s %s %s %s -> %s\n", argv[0], user, cur_context, seuser, role, level, usercon);
85 free(role);
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/pulse/
ext-device-manager.h 38 const char *role; member in struct:pa_ext_device_manager_role_priority_info
49 uint32_t n_role_priorities; /**< How many role priorities do we have? */
50 pa_ext_device_manager_role_priority_info *role_priorities; /**< An array of role priority structures or NULL */
93 /** Enable the role-based device-priority routing mode. \since 0.9.21 */
103 const char* role,
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/
constraintquery.py 49 role The name of the role to match in the
54 be used on the role.
70 role = CriteriaDescriptor("role_regex", "lookup_role") variable in class:ConstraintQuery
109 self.log.debug("Role: {0.role!r}, regex: {0.role_regex}".format(self))
126 if self.role and not self._match_expr(
128 self.role,
contextquery.py 39 role The role to match in the context.
41 will be used on the role.
59 role = CriteriaDescriptor("role_regex", "lookup_role") variable in class:ContextQuery
77 if self.role and not query.PolicyQuery._match_regex(
78 context.role,
79 self.role,
  /external/selinux/libselinux/src/
query_user_context.c 109 char role[100]; /* The role requested by the user */ local
124 new_context = context_new("user:role:type:level");
126 new_context = context_new("user:role:type");
144 get_field("role", role, rolelen);
145 if (context_role_set(new_context, role)) {
  /external/selinux/libsepol/include/sepol/policydb/
context.h 31 * identity, a role, a type and a MLS range.
35 uint32_t role; member in struct:context_struct
119 dst->role = src->role;
129 c->user = c->role = c->type = 0;
136 (c1->role == c2->role) &&
  /external/selinux/libsepol/src/
context.c 38 role_datum_t *role; local
45 if (!c->role || c->role > p->p_roles.nprim)
54 if (c->role != OBJECT_R_VAL) {
56 * Role must be authorized for the type.
58 role = p->role_val_to_struct[c->role - 1];
59 if (!role || !ebitmap_get_bit(&role->cache, c->type - 1))
60 /* role may not be associated with type *
157 char *role = strdup(sepol_context_get_role(record)); local
    [all...]
context_record.c 15 /* Selinux role */
16 char *role; member in struct:sepol_context
52 /* Role */
56 return con->role;
62 sepol_context_t * con, const char *role)
65 char *tmp_role = strdup(role);
68 "context role to %s", role);
71 free(con->role);
72 con->role = tmp_role
    [all...]
users.c 42 char *role = policydb->p_role_val_to_name[bit]; local
43 if (sepol_user_add_role(handle, tmp_record, role) < 0)
161 /* For every role */
164 /* Search for the role */
167 ERR(handle, "undefined role %s for user %s",
172 /* Set the role and every role it dominates */
269 ERR(handle, "unable to expand role set");
  /external/snakeyaml/src/test/java/examples/collections/
TypeSafePriorityTest.java 91 private String role; field in class:TypeSafePriorityTest.Developer
96 public Developer(String name, String role) {
98 this.role = role;
110 return role;
113 public void setRole(String role) {
114 this.role = role;
ListFileldBeanTest.java 95 private String role; field in class:ListFileldBeanTest.Developer
100 public Developer(String name, String role) {
102 this.role = role;
114 return role;
117 public void setRole(String role) {
118 this.role = role;
TypeSafeListNoGerericsTest.java 64 assertEquals("creator", fred.get("role"));
104 private String role; field in class:TypeSafeListNoGerericsTest.Developer
109 public Developer(String name, String role) {
111 this.role = role;
123 return role;
126 public void setRole(String role) {
127 this.role = role;
  /frameworks/av/media/libstagefright/omx/1.0/
OmxStore.cpp 60 RoleInfo role; local
61 role.role = rolePair.first;
62 role.type = rolePair.second.type;
63 role.isEncoder = rolePair.second.isEncoder;
67 role.preferPlatformNodes = rolePair.first.compare(0, 5, "audio") == 0;
68 hidl_vec<NodeInfo>& nodeList = role.nodes;
88 mRoleList[i] = std::move(role);
  /packages/apps/Settings/src/com/android/settings/connecteddevice/usb/
UsbDetailsDataRoleController.java 97 int role = UsbBackend.dataRoleFromString(preference.getKey()); local
98 if (role != mUsbBackend.getDataRole() && mNextRolePref == null
100 mUsbBackend.setDataRole(role);
  /prebuilts/tools/common/m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/
plexus-component-annotations-1.5.5.jar 
  /prebuilts/tools/common/m2/repository/org/codehaus/plexus/plexus-component-annotations/1.6/
plexus-component-annotations-1.6.jar 
  /external/autotest/frontend/server/
models.py 49 roles = ','.join([r.role for r in self.roles.all()])
62 """Get a list of role names of the server.
64 @return: A list of role names of the server.
66 return [r.role for r in self.roles.all()]
96 """Role associated with hosts."""
101 ROLE = enum.Enum(*ROLE_LIST, string_values=True)
104 ROLES_REQUIRE_UNIQUE_INSTANCE = [ROLE.SCHEDULER,
105 ROLE.HOST_SCHEDULER,
106 ROLE.DATABASE]
109 role = dbmodels.CharField(max_length=128, choices=ROLE.choices() variable in class:ServerRole
    [all...]

Completed in 1145 milliseconds

1 2 3 4 5 6 7 8 91011>>