Lines Matching refs:top
154 /* compensate for the top two bits of a */
193 /* compensate for the top three bits of a */
232 if (a->top < b->top) { at = b; bt = a; }
235 if(bn_wexpand(r, at->top) == NULL)
238 for (i = 0; i < bt->top; i++)
242 for (; i < at->top; i++)
247 r->top = at->top;
282 if (!bn_wexpand(r, a->top)) return 0;
283 for (j = 0; j < a->top; j++)
287 r->top = a->top;
293 for (j = r->top - 1; j > dN;)
326 /* clear up the top d1 bits */
402 zlen = a->top + b->top + 4;
404 s->top = zlen;
408 for (j = 0; j < b->top; j += 2)
411 y1 = ((j+1) == b->top) ? 0 : b->d[j+1];
412 for (i = 0; i < a->top; i += 2)
415 x1 = ((i+1) == a->top) ? 0 : a->d[i+1];
470 if (!bn_wexpand(s, 2 * a->top)) goto err;
472 for (i = a->top - 1; i >= 0; i--)
478 s->top = 2 * a->top;
991 for (i = a->top - 1; i >= 0; i--)