Home
last modified time | relevance | path

Searched refs:roles (Results 1 – 25 of 272) sorted by relevance

1234567891011

/external/libwebsockets/
DAndroid.bp95 "lib/roles/h1/ops-h1.c",
96 "lib/roles/h2/hpack.c",
97 "lib/roles/h2/http2.c",
98 "lib/roles/h2/ops-h2.c",
99 "lib/roles/http/client/client-handshake.c",
100 "lib/roles/http/client/client-http.c",
101 "lib/roles/http/header.c",
102 "lib/roles/http/parsers.c",
103 "lib/roles/http/server/lejp-conf.c",
104 "lib/roles/http/server/lws-spa.c",
[all …]
DCMakeLists.txt411roles lib/event-libs/libuv lib/event-libs/poll lib/event-libs/libevent lib/event-libs/glib lib/eve…
1135 lib/roles/pipe/ops-pipe.c
1240 lib/roles/mqtt/mqtt.c
1241 lib/roles/mqtt/ops-mqtt.c
1242 lib/roles/mqtt/primitives.c
1243 lib/roles/mqtt/client/client-mqtt.c
1244 lib/roles/mqtt/client/client-mqtt-handshake.c
1254 lib/roles/http/header.c
1255 lib/roles/http/parsers.c)
1258 lib/roles/http/compression/stream.c
[all …]
/external/selinux/libsepol/src/
Duser_record.c19 char **roles; member
192 roles_realloc = realloc(user->roles, in sepol_user_add_role()
198 user->roles = roles_realloc; in sepol_user_add_role()
199 user->roles[user->num_roles - 1] = role_cp; in sepol_user_add_role()
218 if (!strcmp(user->roles[i], role)) in hidden_def()
249 free(user->roles[i]); in hidden_def()
250 free(user->roles); in hidden_def()
251 user->roles = tmp_roles; in hidden_def()
282 tmp_roles[i] = user->roles[i]; in sepol_user_get_roles()
302 if (!strcmp(user->roles[i], role)) { in hidden_def()
[all …]
Dusers.c22 ebitmap_t *roles; in user_to_record() local
31 roles = &(usrdatum->roles.roles); in user_to_record()
40 ebitmap_for_each_positive_bit(roles, rnode, bit) { in user_to_record()
115 const char **roles = NULL; in sepol_user_modify() local
136 if (sepol_user_get_roles(handle, user, &roles, &num_roles) < 0) in sepol_user_modify()
163 roldatum = hashtab_search(policydb->p_roles.table, roles[i]); in sepol_user_modify()
166 roles[i], cname); in sepol_user_modify()
172 if (ebitmap_set_bit(&(usrdatum->roles.roles), bit, 1)) in sepol_user_modify()
262 if (role_set_expand(&usrdatum->roles, &usrdatum->cache, in sepol_user_modify()
269 free(roles); in sepol_user_modify()
[all …]
Droles.c23 sepol_policydb_t * p, char ***roles, unsigned int *nroles) in sepol_role_list() argument
41 *roles = tmp_roles; in sepol_role_list()
Dexpand.c763 if (map_ebitmap(&role->roles, &mapped_roles, state->rolemap)) in role_fix_callback()
765 if (ebitmap_union(&new_role->roles, &mapped_roles)) { in role_fix_callback()
772 ebitmap_for_each_positive_bit(&role->roles, rnode, i) { in role_fix_callback()
1049 if (role_set_expand(&user->roles, &tmp_union, state->out, state->base, state->rolemap)) { in user_copy_callback()
1055 if (ebitmap_union(&new_user->roles.roles, &tmp_union)) { in user_copy_callback()
1222 ebitmap_t roles, new_roles; in copy_role_allows() local
1230 ebitmap_init(&roles); in copy_role_allows()
1233 if (role_set_expand(&cur->roles, &roles, state->out, state->base, state->rolemap)) { in copy_role_allows()
1243 ebitmap_for_each_positive_bit(&roles, snode, i) { in copy_role_allows()
1273 ebitmap_destroy(&roles); in copy_role_allows()
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue72/
DCollectionTest.java71 private Collection<Integer> roles; field in CollectionTest.CollectionSet
74 roles = new HashSet<Integer>(); in CollectionSet()
75 roles.add(11); in CollectionSet()
76 roles.add(13); in CollectionSet()
80 return roles; in getRoles()
83 public void setRoles(Collection<Integer> roles) { in setRoles() argument
84 this.roles = roles; in setRoles()
/external/selinux/libsemanage/src/
Dseusers_local.c22 char *roles = NULL; in semanage_user_roles() local
39 roles = strdup(""); in semanage_user_roles()
41 roles = malloc(size); in semanage_user_roles()
42 if (roles) { in semanage_user_roles()
43 strcpy(roles,roles_arr[0]); in semanage_user_roles()
45 strcat(roles,","); in semanage_user_roles()
46 strcat(roles,roles_arr[i]); in semanage_user_roles()
55 return roles; in semanage_user_roles()
65 char *roles = NULL; in semanage_seuser_audit() local
84 roles = semanage_user_roles(handle, sename); in semanage_seuser_audit()
[all …]
Dusers_base_file.c27 const char **roles = NULL; in user_base_print() local
37 if (semanage_user_base_get_roles(handle, user, &roles, &nroles) < 0) in user_base_print()
41 if (fprintf(str, "%s ", roles[i]) < 0) in user_base_print()
56 free(roles); in user_base_print()
60 free(roles); in user_base_print()
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DDefaultTrackNameProvider.java112 String roles = ""; in buildRoleString() local
114 roles = resources.getString(R.string.exo_track_role_alternate); in buildRoleString()
117 roles = joinWithSeparator(roles, resources.getString(R.string.exo_track_role_supplementary)); in buildRoleString()
120 roles = joinWithSeparator(roles, resources.getString(R.string.exo_track_role_commentary)); in buildRoleString()
123 roles = in buildRoleString()
124 joinWithSeparator(roles, resources.getString(R.string.exo_track_role_closed_captions)); in buildRoleString()
126 return roles; in buildRoleString()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/struct/
DFormatFeatureAcceptSingleTest.java61 public Role[] roles; field in FormatFeatureAcceptSingleTest.RolesInArray
66 public List<Role> roles; field in FormatFeatureAcceptSingleTest.RolesInList
149 assertNotNull(response.roles); in testSingleElementArrayRead()
150 assertEquals(1, response.roles.length); in testSingleElementArrayRead()
151 assertEquals("333", response.roles[0].ID); in testSingleElementArrayRead()
167 assertNotNull(response.roles); in testSingleElementListRead()
168 assertEquals(1, response.roles.size()); in testSingleElementListRead()
169 assertEquals("333", response.roles.get(0).ID); in testSingleElementListRead()
/external/libwebsockets/lib/roles/
DREADME.md35 - direct compatibility with all other lws roles + protocols in the same event loop
41 The code specific to that role should live in `./lib/roles/**role name**`
46 ### Allowing control over enabling roles
48 All roles should add a cmake define `LWS_ROLE_**role name**` and make its build
57 The role is defined by `struct lws_role_ops` in `lib/roles/private-lib-roles.h`,
60 `./lib/roles/**role name**/ops-**role_name**.c`.
67 directory in a file `private-lib-roles-myrole.h`.
69 Search for "bring in role private declarations" in `./lib/roles/private-lib-roles.h
70 and add your private role file there following the style used for the other roles,
75 #include "roles/ws/private-lib-roles-ws.h"
[all …]
/external/selinux/checkpolicy/test/
Ddismod.c179 int display_mod_role_set(role_set_t * roles, policydb_t * p, FILE * fp) in display_mod_role_set() argument
183 if (roles->flags & ROLE_STAR) { in display_mod_role_set()
186 } else if (roles->flags & ROLE_COMP) { in display_mod_role_set()
190 for (i = ebitmap_startbit(&roles->roles); in display_mod_role_set()
191 i < ebitmap_length(&roles->roles); i++) { in display_mod_role_set()
192 if (!ebitmap_get_bit(&roles->roles, i)) in display_mod_role_set()
201 for (i = ebitmap_startbit(&roles->roles); in display_mod_role_set()
202 i < ebitmap_length(&roles->roles); i++) { in display_mod_role_set()
203 if (ebitmap_get_bit(&roles->roles, i)) in display_mod_role_set()
373 bitmap = &(p->user_val_to_struct[i]->roles.roles); in display_users()
[all …]
/external/angle/infra/config/
Dmain.star40 roles = [
49 roles = [
55 roles = [
63 roles = "role/swarming.poolOwner",
67 roles = "role/swarming.poolViewer",
73 roles = "role/swarming.taskServiceAccount",
90 roles = "role/swarming.poolUser",
95 roles = "role/swarming.taskTriggerer",
/external/autotest/site_utils/
Dserver_manager_unittest.py177 self.mox.StubOutWithMock(self.REPAIR_REQUIRED_DRONE.roles, 'get')
178 self.REPAIR_REQUIRED_DRONE.roles.get(
213 self.mox.StubOutWithMock(self.REPAIR_REQUIRED_DRONE.roles, 'filter')
214 self.REPAIR_REQUIRED_DRONE.roles.filter(
235 self.mox.StubOutWithMock(self.PRIMARY_DRONE.roles, 'filter')
239 self.PRIMARY_DRONE.roles.filter(
277 self.mox.StubOutWithMock(self.REPAIR_REQUIRED_SCHEDULER.roles, 'filter')
278 self.REPAIR_REQUIRED_SCHEDULER.roles.filter(
351 self.mox.StubOutWithMock(self.PRIMARY_DRONE.roles, 'get')
352 self.PRIMARY_DRONE.roles.get(
[all …]
Dserver_manager.py109 server.roles.get(role=role).delete()
138 if (not server.roles.all() and
148 unique_roles = server.roles.filter(
225 for role in server.roles.all():
/external/selinux/gui/
DusersPage.py110 roles = self.selinuxRolesEntry.get_text()
113 (rc, out) = getstatusoutput("semanage user -a -R '%s' -r %s %s" % (roles, range, user))
121 self.store.set_value(iter, 2, roles)
126 roles = self.selinuxRolesEntry.get_text()
129 (rc, out) = getstatusoutput("semanage user -m -R '%s' -r %s %s" % (roles, range, user))
/external/autotest/frontend/server/
Dmodels.py49 roles = ','.join([r.role for r in self.roles.all()])
54 'roles': roles,
66 return [r.role for r in self.roles.all()]
/external/libxml2/os400/libxmlrpg/
Dxlink.rpgle94 * @roles: pointer to the array of locator roles
96 * @from: pointer to the array of source roles found on the arcs
97 * @to: pointer to the array of target roles found on the arcs
115 * @roles: pointer to the array of locator roles
/external/selinux/libsepol/tests/
Dtest-expander-users.c49 ebitmap_for_each_positive_bit(&user->roles.roles, tnode, i) { in check_user_roles()
/external/webrtc/p2p/base/
Dtransport_description.cc112 const char* const roles[] = { in StringToConnectionRole() local
116 for (size_t i = 0; i < arraysize(roles); ++i) { in StringToConnectionRole()
117 if (absl::EqualsIgnoreCase(roles[i], role_str)) { in StringToConnectionRole()
/external/libwebsockets/lib/
DREADME.md13 lib/roles|Code for specific optional wsi roles, eg, http/1, h2, ws, raw, etc
/external/libxml2/include/libxml/
Dxlink.h111 const xlinkRole *roles,
139 const xlinkRole *roles,
/external/selinux/python/sepolicy/sepolicy/
D__init__.py107 roles = None variable
156 global roles
165 roles = None
262 'roles': list(map(str, x.roles)),
267 'roles': list(map(str, x.roles)),
915 global roles
916 if roles:
917 return roles
920 roles = [str(x) for x in q.results() if str(x) != "object_r"]
921 return roles
[all …]
/external/selinux/secilc/docs/
Dcil_role_statements.md34 This example declares two roles: `object_r` in the global namespace and `unconfined.role`:
114 This example will declare a role attribute `roles.role_holder` that will have an empty set:
116 (block roles
164 This example will declare three roles and two role attributes, then associate all the roles to them…
166 (block roles
276 Defines a hierarchical relationship between roles where the child role cannot have more privileges …

1234567891011