Lines Matching defs:kind

3166 static void basictest(int kind, BOOL isdir, const SID *owner, const SID *group)
3272 "for kind %d perm %03o\n",kind,perm);
3286 "for kind %d perm %03o\n",kind,perm);
3292 "kind %d perm 0%03o, gotback %03o\n",
3293 kind, perm, gotback);
3312 "kind %d perm 0%03o, gotback %03o\n",
3313 kind, perm, gotback);
3333 if (acecount != expectcnt[kind]) {
3336 (unsigned long)expectcnt[kind]);
3339 if (globhash != expecthash[kind]) {
3341 (unsigned long)globhash, (unsigned long)expecthash[kind]);
3348 if (pxacecount != expectcnt[kind]) {
3351 (unsigned long)expectcnt[kind]);
3354 if (pxglobhash != expecthash[kind]) {
3356 (unsigned long)pxglobhash, (unsigned long)expecthash[kind]);
3369 static void posixtest(int kind, BOOL isdir,
3450 if (kind & 32) {
3465 if (kind & 32) {
3474 pxdesc->acl.ace[1].id = (kind & 16 ? 0 : 1000);
3478 pxdesc->acl.ace[3].id = (kind & 16 ? 0 : 1002);
3486 maxdes = (kind & 32 ? mindes : 6);
3500 if (kind & 32) {
3570 if (acecount != expectcnt[kind]) {
3572 (unsigned long)expectcnt[kind]);
3575 if (globhash != expecthash[kind]) {
3577 (unsigned long)globhash, (unsigned long)expecthash[kind]);
3604 int kind;
3616 * kind is oring of :
3624 for (kind=0; (kind<10) && (errors<10); kind++) {
3625 isdir = kind & 1;
3626 if (kind & 8)
3629 owner = (kind & 2 ? adminsid : (const SID*)owner_sid);
3630 group = (kind & 4 ? adminsid : (const SID*)group_sid);
3631 basictest(kind, isdir, owner, group);
3635 kind = kindlist[k];
3636 isdir = kind & 1;
3637 if (kind & 8)
3640 owner = (kind & 2 ? adminsid : (const SID*)owner_sid);
3641 group = (kind & 4 ? adminsid : (const SID*)group_sid);
3642 posixtest(kind, isdir, owner, group);