Lines Matching +defs:val +defs:state
150 struct FTW state;
182 int val = -1;
297 vp->state.quit = 0;
304 rc = (*fn)(vp->tmppath, &statb, type, &vp->state);
306 val = rc;
307 skip = (vp->state.quit & FTW_SKD);
308 if (rc != 0 || type != FTW_D || (vp->state.quit & FTW_PRUNE))
334 rc = (*fn)(vp->tmppath, &statb, type, &vp->state);
367 oldbase = vp->state.base;
368 vp->state.base = (int)(component - vp->tmppath);
415 vp->state.level++;
424 vp->state.level--;
442 val = rc;
448 vp->state.base = oldbase;
452 rc = (*fn)(vp->tmppath, &statb, type, &vp->state);
488 if (val > rc)
489 return (val);
542 var.state.base = (int)(base + 1 - var.tmppath);
587 var.state.level = 0;