Searched refs:BC_NUM_DEF_SIZE (Results 1 – 7 of 7) sorted by relevance
/external/bc/src/ |
D | library.c | 295 bc_num_init(&n, BC_NUM_DEF_SIZE); in bcl_num_create() 856 bc_num_init(&n, BC_NUM_DEF_SIZE); in bcl_parse() 934 bc_num_init(&b, BC_NUM_DEF_SIZE); in bcl_irand() 1002 bc_num_init(&n, BC_NUM_DEF_SIZE); in bcl_frand() 1030 bc_num_init(&ir, BC_NUM_DEF_SIZE); in bcl_ifrandHelper() 1031 bc_num_init(&fr, BC_NUM_DEF_SIZE); in bcl_ifrandHelper() 1071 bc_num_init(&b, BC_NUM_DEF_SIZE); in bcl_ifrand() 1156 bc_num_init(&n, BC_NUM_DEF_SIZE); in bcl_rand_seed2num()
|
D | num.c | 66 req = req >= BC_NUM_DEF_SIZE ? req : BC_NUM_DEF_SIZE; in bc_num_expand() 792 max = BC_MAX(max, BC_NUM_DEF_SIZE); in bc_num_k() 1600 bc_num_init(&result1, BC_NUM_DEF_SIZE); in bc_num_parseBase() 1601 bc_num_init(&result2, BC_NUM_DEF_SIZE); in bc_num_parseBase() 2081 req = req >= BC_NUM_DEF_SIZE ? req : BC_NUM_DEF_SIZE; in bc_num_init() 2083 if (req == BC_NUM_DEF_SIZE && vm.temps.len) { in bc_num_init() 2106 if (n->cap == BC_NUM_DEF_SIZE) bc_vec_push(&vm.temps, n); in bc_num_free() 2462 bc_num_init(&temp1, BC_NUM_DEF_SIZE); in bc_num_irand() 2463 bc_num_init(&temp2, BC_NUM_DEF_SIZE); in bc_num_irand() 2464 bc_num_init(&pow2, BC_NUM_DEF_SIZE); in bc_num_irand() [all …]
|
D | lang.c | 207 bc_num_init(&n, BC_NUM_DEF_SIZE); in bc_array_expand()
|
D | program.c | 719 bc_num_init(&res->d.n, BC_NUM_DEF_SIZE); in bc_program_logical() 1121 bc_num_init(¶m.n, BC_NUM_DEF_SIZE); in bc_program_call() 1163 bc_num_init(&res->d.n, BC_NUM_DEF_SIZE); in bc_program_return() 1771 if (BC_IS_BC) bc_num_init(&p->last, BC_NUM_DEF_SIZE); in bc_program_init()
|
/external/bc/include/ |
D | num.h | 88 #define BC_NUM_DEF_SIZE (8) macro 126 #define BC_NUM_BIGDIG_LOG10 (BC_NUM_DEF_SIZE)
|
/external/bc/ |
D | NEWS.md | 367 `BC_NUM_DEF_SIZE` (32 on 64-bit and 16 on 32-bit) when it is freed, it is added 369 capacity of `BC_NUM_DEF_SIZE` and any `BcNum`'s exist on the list of reusable 372 In order to support these changes, the `BC_NUM_DEF_SIZE` was changed. It used to 378 of `BC_NUM_DEF_SIZE` on 64-bit systems was changed to 32 bytes. 380 On top of that, at least on 64-bit, `BC_NUM_DEF_SIZE` supports numbers with 403 list that had a capacity of `BC_NUM_DEF_SIZE * 2` and reusing them for `BcNum`'s 404 that requested `BC_NUM_DEF_SIZE`. This did reduce the amount of time spent, but 407 had exactly `BC_NUM_DEF_SIZE` capacity spent the smallest amount of time in both 409 `BC_NUM_DEF_SIZE` bigger on 64-bit systems, since the vast majority of numbers 410 will only ever use numbers with a size less than or equal to `BC_NUM_DEF_SIZE`.
|
/external/toybox/toys/pending/ |
D | bc.c | 150 #define BC_NUM_DEF_SIZE (16) macro 2049 req = req >= BC_NUM_DEF_SIZE ? req : BC_NUM_DEF_SIZE; in bc_num_init() 2054 req = req >= BC_NUM_DEF_SIZE ? req : BC_NUM_DEF_SIZE; in bc_num_expand() 2413 bc_num_init(&n, BC_NUM_DEF_SIZE); in bc_array_expand() 4904 bc_num_init(&res.d.n, BC_NUM_DEF_SIZE); in bc_program_logical() 5186 bc_num_init(¶m.n, BC_NUM_DEF_SIZE); in bc_program_call() 5222 else bc_num_init(&res.d.n, BC_NUM_DEF_SIZE); in bc_program_return() 5334 bc_num_init(&p->last, BC_NUM_DEF_SIZE); in bc_program_init()
|