Lines Matching defs:pt
119 USRT *pt;
157 if ((pt = usrtb[indx]) != NULL) {
158 while (pt != NULL) {
159 if (pt->uid == uid)
161 pt = pt->fow;
168 if ((pt = (USRT *)malloc(sizeof(USRT))) != NULL) {
169 pt->uid = uid;
170 pt->fow = usrtb[indx];
171 usrtb[indx] = pt;
188 USRT *pt;
193 pt = usrtb[((unsigned)arcn->sb.st_uid) % USR_TB_SZ];
194 while (pt != NULL) {
195 if (pt->uid == arcn->sb.st_uid)
197 pt = pt->fow;
217 GRPT *pt;
256 if ((pt = grptb[indx]) != NULL) {
257 while (pt != NULL) {
258 if (pt->gid == gid)
260 pt = pt->fow;
267 if ((pt = (GRPT *)malloc(sizeof(GRPT))) != NULL) {
268 pt->gid = gid;
269 pt->fow = grptb[indx];
270 grptb[indx] = pt;
287 GRPT *pt;
292 pt = grptb[((unsigned)arcn->sb.st_gid) % GRP_TB_SZ];
293 while (pt != NULL) {
294 if (pt->gid == arcn->sb.st_gid)
296 pt = pt->fow;
337 TIME_RNG *pt;
381 if ((pt = malloc(sizeof(TIME_RNG))) == NULL) {
391 pt->flgs = CMPMTME;
393 pt->flgs = 0;
398 pt->flgs |= CMPMTME;
402 pt->flgs |= CMPCTME;
407 free(pt);
417 pt->low_time = pt->high_time = time(NULL);
422 if (str_sec(str, &(pt->low_time)) < 0) {
424 free(pt);
427 pt->flgs |= HASLOW;
434 if (str_sec(up_pt, &(pt->high_time)) < 0) {
436 free(pt);
439 pt->flgs |= HASHIGH;
444 if (pt->flgs & HASLOW) {
445 if (pt->low_time > pt->high_time) {
449 free(pt);
455 pt->fow = NULL;
457 trtail = trhead = pt;
460 trtail->fow = pt;
461 trtail = pt;
479 TIME_RNG *pt;
485 pt = trhead;
486 while (pt != NULL) {
487 switch(pt->flgs & CMPBOTH) {
493 if (((pt->flgs & HASLOW) &&
494 (arcn->sb.st_mtime < pt->low_time) &&
495 (arcn->sb.st_ctime < pt->low_time)) ||
496 ((pt->flgs & HASHIGH) &&
497 (arcn->sb.st_mtime > pt->high_time) &&
498 (arcn->sb.st_ctime > pt->high_time))) {
499 pt = pt->fow;
507 if (((pt->flgs & HASLOW) &&
508 (arcn->sb.st_ctime < pt->low_time)) ||
509 ((pt->flgs & HASHIGH) &&
510 (arcn->sb.st_ctime > pt->high_time))) {
511 pt = pt->fow;
520 if (((pt->flgs & HASLOW) &&
521 (arcn->sb.st_mtime < pt->low_time)) ||
522 ((pt->flgs & HASHIGH) &&
523 (arcn->sb.st_mtime > pt->high_time))) {
524 pt = pt->fow;
532 if (pt == NULL)