Home
last modified time | relevance | path

Searched refs:bc_vec_init (Results 1 – 10 of 10) sorted by relevance

/external/bc/src/
Dlang.c96 bc_vec_init(&f->code, sizeof(uchar), NULL); in bc_func_init()
97 bc_vec_init(&f->strs, sizeof(char*), bc_string_free); in bc_func_init()
98 bc_vec_init(&f->consts, sizeof(BcConst), bc_const_free); in bc_func_init()
101 bc_vec_init(&f->autos, sizeof(BcLoc), NULL); in bc_func_init()
102 bc_vec_init(&f->labels, sizeof(size_t), NULL); in bc_func_init()
140 if (nums) bc_vec_init(a, sizeof(BcNum), bc_num_free); in bc_array_init()
141 else bc_vec_init(a, sizeof(BcVec), bc_vec_free); in bc_array_init()
Dparse.c177 bc_vec_init(&p->flags, sizeof(uint16_t), NULL); in bc_parse_init()
179 bc_vec_init(&p->exits, sizeof(BcInstPtr), NULL); in bc_parse_init()
180 bc_vec_init(&p->conds, sizeof(size_t), NULL); in bc_parse_init()
181 bc_vec_init(&p->ops, sizeof(BcLexType), NULL); in bc_parse_init()
182 bc_vec_init(&p->buf, sizeof(char), NULL); in bc_parse_init()
Dvm.c176 bc_vec_init(&v, sizeof(char*), NULL); in bc_vm_envArgs()
443 bc_vec_init(&buffer, sizeof(uchar), NULL); in bc_vm_stdin()
444 bc_vec_init(&buf, sizeof(uchar), NULL); in bc_vm_stdin()
657 bc_vec_init(&vm->files, sizeof(char*), NULL); in bc_vm_boot()
658 bc_vec_init(&vm->exprs, sizeof(uchar), NULL); in bc_vm_boot()
Dprogram.c445 bc_vec_init(&buf, sizeof(char), NULL); in bc_program_read()
784 bc_vec_init(rv, sizeof(uchar), NULL); in bc_program_copyToVar()
1604 bc_vec_init(p->globals_v + i, sizeof(BcBigDig), NULL); in bc_program_init()
1613 bc_vec_init(&p->tail_calls, sizeof(size_t), NULL); in bc_program_init()
1630 bc_vec_init(&p->fns, sizeof(BcFunc), bc_func_free); in bc_program_init()
1643 bc_vec_init(&p->vars, sizeof(BcVec), bc_vec_free); in bc_program_init()
1646 bc_vec_init(&p->arrs, sizeof(BcVec), bc_vec_free); in bc_program_init()
1649 bc_vec_init(&p->results, sizeof(BcResult), bc_result_free); in bc_program_init()
1650 bc_vec_init(&p->stack, sizeof(BcInstPtr), NULL); in bc_program_init()
Dlex.c195 bc_vec_init(&l->str, sizeof(char), NULL); in bc_lex_init()
Dvector.c57 void bc_vec_init(BcVec *restrict v, size_t esize, BcVecFree dtor) { in bc_vec_init() function
Dnum.c1832 bc_vec_init(&stack, sizeof(BcBigDig), NULL); in bc_num_printNum()
/external/bc/include/
Dvector.h63 void bc_vec_init(BcVec *restrict v, size_t esize, BcVecFree dtor);
94 #define bc_map_init(v) (bc_vec_init((v), sizeof(BcId), bc_id_free))
96 #define bc_map_init(v) (bc_vec_init((v), sizeof(BcId), NULL))
/external/toybox/toys/pending/
Dbc.c873 void bc_vec_init(BcVec *v, size_t esize, BcVecFree dtor) { in bc_vec_init() function
1967 bc_vec_init(&stack, sizeof(unsigned long), NULL); in bc_num_printNum()
2359 bc_vec_init(&f->code, sizeof(uchar), NULL); in bc_func_init()
2360 bc_vec_init(&f->strs, sizeof(char*), bc_string_free); in bc_func_init()
2361 bc_vec_init(&f->consts, sizeof(char*), bc_string_free); in bc_func_init()
2362 bc_vec_init(&f->autos, sizeof(struct str_len), bc_id_free); in bc_func_init()
2363 bc_vec_init(&f->labels, sizeof(size_t), NULL); in bc_func_init()
2389 if (nums) bc_vec_init(a, sizeof(BcNum), bc_num_free); in bc_array_init()
2390 else bc_vec_init(a, sizeof(BcVec), bc_vec_free); in bc_array_init()
2574 bc_vec_init(&l->str, sizeof(char), NULL); in bc_lex_init()
[all …]
/external/bc/src/history/
Dhistory.c1347 bc_vec_init(&h->buf, sizeof(char), NULL); in bc_history_init()
1348 bc_vec_init(&h->history, sizeof(char*), bc_string_free); in bc_history_init()
1349 bc_vec_init(&h->tmp, sizeof(char), NULL); in bc_history_init()