/third_party/libdrm/nouveau/ |
D | nouveau.c | 140 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 …]
|
D | abi16.c | 171 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()
|
/third_party/selinux/libselinux/src/ |
D | checkAccess.c | 26 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()
|
/third_party/alsa-lib/test/ |
D | timer.c | 74 int sclass = SND_TIMER_CLASS_NONE; in main() local 97 sclass = atoi(argv[idx]+7); in main() 111 if (class == SND_TIMER_CLASS_SLAVE && sclass == SND_TIMER_SCLASS_NONE) { in main() 139 …sprintf(timername, "hw:CLASS=%i,SCLASS=%i,CARD=%i,DEV=%i,SUBDEV=%i", class, sclass, card, device, … in main() 144 …printf("Using timer class %i, slave class %i, card %i, device %i, subdevice %i\n", class, sclass, … in main()
|
/third_party/eudev/src/shared/ |
D | selinux-util.c | 209 security_class_t sclass; in mac_selinux_get_create_label_from_exe() local 225 sclass = string_to_security_class("process"); in mac_selinux_get_create_label_from_exe() 226 r = security_compute_create(mycon, fcon, sclass, (security_context_t *) label); in mac_selinux_get_create_label_from_exe() 257 security_class_t sclass; in mac_selinux_get_child_mls_label() local 304 sclass = string_to_security_class("process"); in mac_selinux_get_child_mls_label() 305 r = security_compute_create(mycon, fcon, sclass, (security_context_t *) label); in mac_selinux_get_child_mls_label()
|
/third_party/ltp/tools/sparse/sparse-src/ |
D | evaluate.c | 1302 int sclass = classify_type(source, &s); in evaluate_assign_op() local 1305 if (tclass & sclass & TYPE_NUM) { in evaluate_assign_op() 1318 if (sclass & TYPE_FOULED && unfoul(s) == t) in evaluate_assign_op() 1327 unrestrict(expr->right, sclass, &s); in evaluate_assign_op() 1336 } else if (!(sclass & TYPE_RESTRICT)) in evaluate_assign_op() 1347 if (tclass == TYPE_PTR && is_int(sclass)) { in evaluate_assign_op() 1349 unrestrict(expr->right, sclass, &s); in evaluate_assign_op() 1362 tclass, sclass, target, source); in evaluate_assign_op() 1395 int sclass = classify_type(source, &s); in check_assignment_types() local 1397 if (tclass & sclass & TYPE_NUM) { in check_assignment_types() [all …]
|
/third_party/alsa-lib/src/conf/ |
D | alsa.conf | 156 defaults.timer.sclass 0 592 sclass { 594 name defaults.timer.sclass 624 name defaults.timer.sclass 650 sclass $SCLASS
|
/third_party/selinux/libsepol/include/sepol/policydb/ |
D | services.h | 242 sepol_security_class_t sclass, /* IN */
|
D | policydb.h | 377 uint32_t sclass; /* security class for genfs */ member
|
/third_party/selinux/checkpolicy/ |
D | policy_define.c | 5474 const char *sclass; in define_genfs_context_helper() local 5536 sclass = "blk_file"; in define_genfs_context_helper() 5539 sclass = "chr_file"; in define_genfs_context_helper() 5542 sclass = "dir"; in define_genfs_context_helper() 5545 sclass = "fifo_file"; in define_genfs_context_helper() 5548 sclass = "lnk_file"; in define_genfs_context_helper() 5551 sclass = "sock_file"; in define_genfs_context_helper() 5554 sclass = "file"; in define_genfs_context_helper() 5562 sclass); in define_genfs_context_helper() 5565 "genfscon statement", sclass); in define_genfs_context_helper() [all …]
|
/third_party/selinux/libsepol/src/ |
D | services.c | 2235 sepol_security_class_t sclass, in sepol_genfs_sid() argument 2257 if ((!c->v.sclass || sclass == c->v.sclass) && in sepol_genfs_sid()
|
D | policydb.c | 3235 newc->v.sclass = le32_to_cpu(buf[0]); in genfs_read() 3241 (!c->v.sclass || !newc->v.sclass || in genfs_read() 3242 newc->v.sclass == c->v.sclass)) { in genfs_read()
|
D | expand.c | 2307 newc->v.sclass = c->v.sclass; in genfs_copy()
|
D | write.c | 1639 buf[0] = cpu_to_le32(c->v.sclass); in genfs_write()
|