Lines Matching refs:top
24 if (bn_wexpand(r, a->top + 1) == NULL) in BN_lshift1()
26 r->top = a->top; in BN_lshift1()
28 if (bn_wexpand(r, a->top + 1) == NULL) in BN_lshift1()
34 for (i = 0; i < a->top; i++) { in BN_lshift1()
40 r->top += c; in BN_lshift1()
57 i = a->top; in BN_rshift1()
65 r->top = i; in BN_rshift1()
69 r->top -= (t == 1); in BN_rshift1()
75 if (!r->top) in BN_rshift1()
117 if (bn_wexpand(r, a->top + nw + 1) == NULL) in bn_lshift_fixed_top()
120 if (a->top != 0) { in bn_lshift_fixed_top()
128 l = f[a->top - 1]; in bn_lshift_fixed_top()
129 t[a->top] = (l >> rb) & rmask; in bn_lshift_fixed_top()
130 for (i = a->top - 1; i > 0; i--) { in bn_lshift_fixed_top()
144 r->top = a->top + nw + 1; in bn_lshift_fixed_top()
178 int i, top, nw; in bn_rshift_fixed_top() local
186 if (nw >= a->top) { in bn_rshift_fixed_top()
197 top = a->top - nw; in bn_rshift_fixed_top()
198 if (r != a && bn_wexpand(r, top) == NULL) in bn_rshift_fixed_top()
204 for (i = 0; i < top - 1; i++) { in bn_rshift_fixed_top()
212 r->top = top; in bn_rshift_fixed_top()