/external/libselinux/src/ |
D | checkAccess.c | 24 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/ |
D | nouveau.c | 144 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 …]
|
D | abi16.c | 175 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/ |
D | checkAccess.c | 39 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/ |
D | template.rb | 126 sclass = class << template; self; end 127 erb.def_method( sclass, 'to_s' )
|
D | debug.rb | 680 sclass = class << self; self; end 681 sclass.send( :define_method, event_name, &block )
|
/external/selinux/libsepol/include/sepol/policydb/ |
D | services.h | 230 sepol_security_class_t sclass, /* IN */
|
D | policydb.h | 358 uint32_t sclass; /* security class for genfs */ member
|
/external/apache-xml/src/main/java/org/apache/xalan/processor/ |
D | XSLTAttributeDef.java | 1590 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/ |
D | NVPTXVector.td | 801 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/ |
D | policy_define.c | 5287 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/ |
D | services.c | 2089 sepol_security_class_t sclass, in sepol_genfs_sid() argument 2111 if ((!c->v.sclass || sclass == c->v.sclass) && in sepol_genfs_sid()
|
D | policydb.c | 2796 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()
|
D | expand.c | 2297 newc->v.sclass = c->v.sclass; in genfs_copy()
|
D | write.c | 1487 buf[0] = cpu_to_le32(c->v.sclass); in genfs_write()
|