Lines Matching defs:pt
111 USRT *pt;
148 if ((pt = usrtb[indx]) != NULL) {
149 while (pt != NULL) {
150 if (pt->uid == uid)
152 pt = pt->fow;
159 if ((pt = (USRT *)malloc(sizeof(USRT))) != NULL) {
160 pt->uid = uid;
161 pt->fow = usrtb[indx];
162 usrtb[indx] = pt;
179 USRT *pt;
184 pt = usrtb[((unsigned)arcn->sb.st_uid) % USR_TB_SZ];
185 while (pt != NULL) {
186 if (pt->uid == arcn->sb.st_uid)
188 pt = pt->fow;
208 GRPT *pt;
245 if ((pt = grptb[indx]) != NULL) {
246 while (pt != NULL) {
247 if (pt->gid == gid)
249 pt = pt->fow;
256 if ((pt = (GRPT *)malloc(sizeof(GRPT))) != NULL) {
257 pt->gid = gid;
258 pt->fow = grptb[indx];
259 grptb[indx] = pt;
276 GRPT *pt;
281 pt = grptb[((unsigned)arcn->sb.st_gid) % GRP_TB_SZ];
282 while (pt != NULL) {
283 if (pt->gid == arcn->sb.st_gid)
285 pt = pt->fow;
326 TIME_RNG *pt;
370 if ((pt = (TIME_RNG *)malloc(sizeof(TIME_RNG))) == NULL) {
380 pt->flgs = CMPMTME;
382 pt->flgs = 0;
387 pt->flgs |= CMPMTME;
391 pt->flgs |= CMPCTME;
405 pt->low_time = pt->high_time = time(NULL);
410 if (str_sec(str, &(pt->low_time)) < 0) {
412 (void)free((char *)pt);
415 pt->flgs |= HASLOW;
422 if (str_sec(up_pt, &(pt->high_time)) < 0) {
424 (void)free((char *)pt);
427 pt->flgs |= HASHIGH;
432 if (pt->flgs & HASLOW) {
433 if (pt->low_time > pt->high_time) {
436 (void)free((char *)pt);
442 pt->fow = NULL;
444 trtail = trhead = pt;
447 trtail->fow = pt;
448 trtail = pt;
466 TIME_RNG *pt;
472 pt = trhead;
473 while (pt != NULL) {
474 switch (pt->flgs & CMPBOTH) {
480 if (((pt->flgs & HASLOW) &&
481 (arcn->sb.st_mtime < pt->low_time) &&
482 (arcn->sb.st_ctime < pt->low_time)) ||
483 ((pt->flgs & HASHIGH) &&
484 (arcn->sb.st_mtime > pt->high_time) &&
485 (arcn->sb.st_ctime > pt->high_time))) {
486 pt = pt->fow;
494 if (((pt->flgs & HASLOW) &&
495 (arcn->sb.st_ctime < pt->low_time)) ||
496 ((pt->flgs & HASHIGH) &&
497 (arcn->sb.st_ctime > pt->high_time))) {
498 pt = pt->fow;
507 if (((pt->flgs & HASLOW) &&
508 (arcn->sb.st_mtime < pt->low_time)) ||
509 ((pt->flgs & HASHIGH) &&
510 (arcn->sb.st_mtime > pt->high_time))) {
511 pt = pt->fow;
519 if (pt == NULL)