Lines Matching refs:alloc
72 a->alloc = size; in pstm_init_size()
114 a->alloc = PSTM_DEFAULT_INIT; in pstm_init()
135 if (a->alloc < size) { in pstm_grow()
150 i = a->alloc; in pstm_grow()
151 a->alloc = size; in pstm_grow()
152 for (; i < a->alloc; i++) { in pstm_grow()
178 if (b->alloc < a->used) { in pstm_copy()
258 a->alloc = a->used = 0; in pstm_clear()
307 for (n = 0; n < a->alloc; n++) { in pstm_zero()
428 if (a->alloc < a->used) { in pstm_read_unsigned_bin()
459 if (a->alloc < a->used) { in pstm_read_unsigned_bin()
565 if (a->alloc < a->used + b) { in pstm_lshd()
624 if (a->used > a->alloc) { in pstm_2expt()
647 if (b->alloc < a->used + 1) { in pstm_mul_2()
714 if (c->alloc < a->used) { in s_pstm_sub()
757 if (c->used > c->alloc) { in s_pstm_add()
780 if (c->used == c->alloc) { in s_pstm_add()
781 if (pstm_grow(c, c->alloc + 1) != PSTM_OKAY) { in s_pstm_add()
971 if (c->used == c->alloc) { in pstm_mul_2d()
972 if (pstm_grow(c, c->alloc + 1) != PSTM_OKAY) { in pstm_mul_2d()
1033 if (c->alloc < a->used + 1) { in pstm_mul_d()
1159 if (b->alloc < a->used) {
1215 x = b->alloc; in pstm_init_copy()
1344 if ((res = pstm_init_size(pool, &t1, a->alloc)) != PSTM_OKAY) { in pstm_div()
1550 if ((err = pstm_init_size(pool, &t, b->alloc)) != PSTM_OKAY) { in pstm_mod()
1583 if ((a == d) && (size < a->alloc)) { in pstm_mulmod()
1584 size = a->alloc; in pstm_mulmod()
1687 if ((err = pstm_init_size(pool, &M[x], M[1<<(winsize-1)].alloc + 1)) in pstm_exptmod()
2185 if ((res = pstm_init_size(pool, &y, a->alloc)) != PSTM_OKAY) {