Searched refs:BC_NUM_SIZE (Results 1 – 2 of 2) sorted by relevance
| /src/contrib/bc/src/ |
| H A D | num.c | 121 n->num = bc_vm_realloc(n->num, BC_NUM_SIZE(req)); in bc_num_expand() 425 memset(c->num, 0, BC_NUM_SIZE(c->cap)); in bc_num_mulArray() 609 memmove(n->num, n->num + places_rdx, BC_NUM_SIZE(n->len)); in bc_num_truncate() 643 memmove(n->num + places_rdx, n->num, BC_NUM_SIZE(n->len)); in bc_num_extend() 645 memset(n->num, 0, BC_NUM_SIZE(places_rdx)); in bc_num_extend() 703 memcpy(b->num, n->num + idx, BC_NUM_SIZE(b->len)); in bc_num_split() 705 memcpy(a->num, n->num, BC_NUM_SIZE(idx)); in bc_num_split() 882 memmove(n->num + places_rdx, n->num, BC_NUM_SIZE(n->len)); in bc_num_shiftLeft() 884 memset(n->num, 0, BC_NUM_SIZE(places_rdx)); in bc_num_shiftLeft() 957 memset(n->num + n->len, 0, BC_NUM_SIZE(expand)); in bc_num_shiftRight() [all …]
|
| /src/contrib/bc/include/ |
| H A D | num.h | 352 #define BC_NUM_SIZE(n) ((n) * sizeof(BcDig)) macro
|