Home
last modified time | relevance | path

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

/external/selinux/libselinux/src/
DcheckAccess.c26 security_class_t sclass; in selinux_check_access() local
44 sclass = string_to_security_class(class); in selinux_check_access()
45 if (sclass == 0) { in selinux_check_access()
54 av = string_to_av_perm(sclass, perm); in selinux_check_access()
64 return avc_has_perm (scon_id, tcon_id, sclass, av, NULL, aux); in selinux_check_access()
/external/libdrm/nouveau/
Dnouveau.c140 struct nvif_ioctl_sclass_v0 sclass; in nouveau_object_sclass_get() member
142 struct nouveau_sclass *sclass; in nouveau_object_sclass_get() local
150 size = sizeof(*args) + cnt * sizeof(args->sclass.oclass[0]); in nouveau_object_sclass_get()
155 args->sclass.version = 0; in nouveau_object_sclass_get()
156 args->sclass.count = cnt; in nouveau_object_sclass_get()
159 if (ret == 0 && args->sclass.count <= cnt) in nouveau_object_sclass_get()
161 cnt = args->sclass.count; in nouveau_object_sclass_get()
167 if ((sclass = calloc(args->sclass.count, sizeof(*sclass)))) { in nouveau_object_sclass_get()
168 for (i = 0; i < args->sclass.count; i++) { in nouveau_object_sclass_get()
169 sclass[i].oclass = args->sclass.oclass[i].oclass; in nouveau_object_sclass_get()
[all …]
Dabi16.c171 struct nouveau_sclass *sclass; in abi16_sclass() local
174 if (!(sclass = calloc(8, sizeof(*sclass)))) in abi16_sclass()
176 *psclass = sclass; in abi16_sclass()
199 *sclass++ = (struct nouveau_sclass){ in abi16_sclass()
202 *sclass++ = (struct nouveau_sclass){ in abi16_sclass()
205 *sclass++ = (struct nouveau_sclass){ in abi16_sclass()
214 return sclass - *psclass; in abi16_sclass()
/external/antlr/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/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/selinux/libsepol/include/sepol/policydb/
Dservices.h242 sepol_security_class_t sclass, /* IN */
Dpolicydb.h376 uint32_t sclass; /* security class for genfs */ member
/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/libcups/backend/
Dsnmp-supplies.c52 sclass, /* Supply class */ member
255 if (supplies[i].sclass == CUPS_TC_receptacleThatIsFilled) in backendSNMPSupplies()
994 supplies[i - 1].sclass = packet->object_value.integer; in backend_walk_cb()
/external/selinux/checkpolicy/
Dpolicy_define.c5574 newc->v.sclass = SECCLASS_BLK_FILE; in define_genfs_context_helper()
5577 newc->v.sclass = SECCLASS_CHR_FILE; in define_genfs_context_helper()
5580 newc->v.sclass = SECCLASS_DIR; in define_genfs_context_helper()
5583 newc->v.sclass = SECCLASS_FIFO_FILE; in define_genfs_context_helper()
5586 newc->v.sclass = SECCLASS_LNK_FILE; in define_genfs_context_helper()
5589 newc->v.sclass = SECCLASS_SOCK_FILE; in define_genfs_context_helper()
5592 newc->v.sclass = SECCLASS_FILE; in define_genfs_context_helper()
5606 (!newc->v.sclass || !c->v.sclass in define_genfs_context_helper()
5607 || newc->v.sclass == c->v.sclass)) { in define_genfs_context_helper()
/external/selinux/libsepol/src/
Dservices.c2255 sepol_security_class_t sclass, in sepol_genfs_sid() argument
2277 if ((!c->v.sclass || sclass == c->v.sclass) && in sepol_genfs_sid()
Dpolicydb.c3065 newc->v.sclass = le32_to_cpu(buf[0]); in genfs_read()
3071 (!c->v.sclass || !newc->v.sclass || in genfs_read()
3072 newc->v.sclass == c->v.sclass)) { in genfs_read()
Dexpand.c2303 newc->v.sclass = c->v.sclass; in genfs_copy()
Dwrite.c1579 buf[0] = cpu_to_le32(c->v.sclass); in genfs_write()