Lines Matching defs:bp
34 Ptvprefix_t* bp;
40 bp = (Ptvprefix_t*)dtfirst(b->dict);
43 if (!bp || fvcmp(a->size, ap->max, bp->min) < 0)
49 else if (fvcmp(a->size, ap->min, bp->max) > 0)
50 bp = (Ptvprefix_t*)dtnext(b->dict, bp);
53 if (fvcmp(a->size, ap->min, bp->min) < 0)
56 fvsub(a->size, a->r[1], bp->min, a->r[0]);
60 if ((c = fvcmp(a->size, ap->max, bp->max)) < 0)
65 bp = (Ptvprefix_t*)dtnext(b->dict, bp);
70 while (fvcmp(a->size, ap->max, bp->max) > 0)
72 fvadd(a->size, a->r[1], bp->max, a->r[0]);
73 if (!(bp = (Ptvprefix_t*)dtnext(b->dict, bp)) || fvcmp(a->size, bp->min, ap->max) > 0)
79 if (fvcmp(a->size, bp->min, a->r[1]) > 0)
81 fvsub(a->size, a->r[2], bp->min, a->r[0]);