Home
last modified time | relevance | path

Searched refs:sclass (Results 1 – 15 of 15) sorted by relevance

/external/libselinux/src/
DcheckAccess.c24 security_class_t sclass; in selinux_check_access() local
40 sclass = string_to_security_class(class); in selinux_check_access()
41 if (sclass == 0) { in selinux_check_access()
50 av = string_to_av_perm(sclass, perm); in selinux_check_access()
60 return avc_has_perm (scon_id, tcon_id, sclass, av, NULL, aux); in selinux_check_access()
/external/libdrm/nouveau/
Dnouveau.c144 struct nvif_ioctl_sclass_v0 sclass; in nouveau_object_sclass_get() member
146 struct nouveau_sclass *sclass; in nouveau_object_sclass_get() local
154 size = sizeof(*args) + cnt * sizeof(args->sclass.oclass[0]); in nouveau_object_sclass_get()
159 args->sclass.version = 0; in nouveau_object_sclass_get()
160 args->sclass.count = cnt; in nouveau_object_sclass_get()
163 if (ret == 0 && args->sclass.count <= cnt) in nouveau_object_sclass_get()
165 cnt = args->sclass.count; in nouveau_object_sclass_get()
171 if ((sclass = calloc(args->sclass.count, sizeof(*sclass)))) { in nouveau_object_sclass_get()
172 for (i = 0; i < args->sclass.count; i++) { in nouveau_object_sclass_get()
173 sclass[i].oclass = args->sclass.oclass[i].oclass; in nouveau_object_sclass_get()
[all …]
Dabi16.c175 struct nouveau_sclass *sclass; in abi16_sclass() local
178 if (!(sclass = calloc(8, sizeof(*sclass)))) in abi16_sclass()
180 *psclass = sclass; in abi16_sclass()
203 *sclass++ = (struct nouveau_sclass){ in abi16_sclass()
206 *sclass++ = (struct nouveau_sclass){ in abi16_sclass()
209 *sclass++ = (struct nouveau_sclass){ in abi16_sclass()
218 return sclass - *psclass; in abi16_sclass()
/external/selinux/libselinux/src/
DcheckAccess.c39 security_class_t sclass; in selinux_check_access() local
57 sclass = string_to_security_class(class); in selinux_check_access()
58 if (sclass == 0) { in selinux_check_access()
67 av = string_to_av_perm(sclass, perm); in selinux_check_access()
77 return avc_has_perm (scon_id, tcon_id, sclass, av, NULL, aux); in selinux_check_access()
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
Dtemplate.rb126 sclass = class << template; self; end
127 erb.def_method( sclass, 'to_s' )
Ddebug.rb680 sclass = class << self; self; end
681 sclass.send( :define_method, event_name, &block )
/external/selinux/libsepol/include/sepol/policydb/
Dservices.h230 sepol_security_class_t sclass, /* IN */
Dpolicydb.h358 uint32_t sclass; /* security class for genfs */ member
/external/apache-xml/src/main/java/org/apache/xalan/processor/
DXSLTAttributeDef.java1590 Class sclass = attrUri.getClass(); in setAttrValue() local
1591 Class[] argTypes = new Class[]{ sclass, sclass, in setAttrValue()
1592 sclass, sclass }; in setAttrValue()
/external/llvm/lib/Target/NVPTX/
DNVPTXVector.td801 class Build_Vector2<string asmstr, NVPTXRegClass vclass, NVPTXRegClass sclass,
804 (ins sclass:$a1, sclass:$a2),
806 [(set vclass:$dst, (build_vector sclass:$a1, sclass:$a2))],
808 class Build_Vector4<string asmstr, NVPTXRegClass vclass, NVPTXRegClass sclass,
811 (ins sclass:$a1, sclass:$a2, sclass:$a3, sclass:$a4),
814 (build_vector sclass:$a1, sclass:$a2,
815 sclass:$a3, sclass:$a4))], si>;
/external/selinux/checkpolicy/
Dpolicy_define.c5287 newc->v.sclass = SECCLASS_BLK_FILE; in define_genfs_context_helper()
5290 newc->v.sclass = SECCLASS_CHR_FILE; in define_genfs_context_helper()
5293 newc->v.sclass = SECCLASS_DIR; in define_genfs_context_helper()
5296 newc->v.sclass = SECCLASS_FIFO_FILE; in define_genfs_context_helper()
5299 newc->v.sclass = SECCLASS_LNK_FILE; in define_genfs_context_helper()
5302 newc->v.sclass = SECCLASS_SOCK_FILE; in define_genfs_context_helper()
5305 newc->v.sclass = SECCLASS_FILE; in define_genfs_context_helper()
5319 (!newc->v.sclass || !c->v.sclass in define_genfs_context_helper()
5320 || newc->v.sclass == c->v.sclass)) { in define_genfs_context_helper()
/external/selinux/libsepol/src/
Dservices.c2089 sepol_security_class_t sclass, in sepol_genfs_sid() argument
2111 if ((!c->v.sclass || sclass == c->v.sclass) && in sepol_genfs_sid()
Dpolicydb.c2796 newc->v.sclass = le32_to_cpu(buf[0]); in genfs_read()
2802 (!c->v.sclass || !newc->v.sclass || in genfs_read()
2803 newc->v.sclass == c->v.sclass)) { in genfs_read()
Dexpand.c2297 newc->v.sclass = c->v.sclass; in genfs_copy()
Dwrite.c1487 buf[0] = cpu_to_le32(c->v.sclass); in genfs_write()