Home
last modified time | relevance | path

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

/external/bc/src/
Dlang.c97 bc_vec_init(&f->code, sizeof(uchar), NULL); in bc_func_init()
99 bc_vec_init(&f->consts, sizeof(BcConst), bc_const_free); in bc_func_init()
104 bc_vec_init(&f->strs, sizeof(char*), bc_string_free); in bc_func_init()
106 bc_vec_init(&f->autos, sizeof(BcLoc), NULL); in bc_func_init()
107 bc_vec_init(&f->labels, sizeof(size_t), NULL); in bc_func_init()
172 if (nums) bc_vec_init(a, sizeof(BcNum), bc_num_free); in bc_array_init()
173 else bc_vec_init(a, sizeof(BcVec), bc_vec_free); in bc_array_init()
Dparse.c204 bc_vec_init(&p->flags, sizeof(uint16_t), NULL); in bc_parse_init()
206 bc_vec_init(&p->exits, sizeof(BcInstPtr), NULL); in bc_parse_init()
207 bc_vec_init(&p->conds, sizeof(size_t), NULL); in bc_parse_init()
208 bc_vec_init(&p->ops, sizeof(BcLexType), NULL); in bc_parse_init()
209 bc_vec_init(&p->buf, sizeof(char), NULL); in bc_parse_init()
Dargs.c77 if (vm.exprs.v == NULL) bc_vec_init(&vm.exprs, sizeof(uchar), NULL); in bc_args_exprs()
226 bc_vec_init(&vm.files, sizeof(char*), NULL); in bc_args()
Dmain.c68 bc_vec_init(&vm.jmp_bufs, sizeof(sigjmp_buf), NULL); in main()
Dvm.c305 bc_vec_init(&vm.env_args, sizeof(char*), NULL);
659 bc_vec_init(&buffer, sizeof(uchar), NULL);
660 bc_vec_init(&buf, sizeof(uchar), NULL);
847 bc_vec_init(&buf, sizeof(uchar), NULL);
979 bc_vec_init(&vm.temps, sizeof(BcNum), NULL);
Dprogram.c450 bc_vec_init(&buf, sizeof(char), NULL); in bc_program_read()
815 bc_vec_init(rv, sizeof(uchar), NULL); in bc_program_copyToVar()
1739 bc_vec_init(p->globals_v + i, sizeof(BcBigDig), NULL); in bc_program_init()
1747 bc_vec_init(&p->strs_v, sizeof(char*), bc_string_free); in bc_program_init()
1750 bc_vec_init(&p->tail_calls, sizeof(size_t), NULL); in bc_program_init()
1774 bc_vec_init(&p->fns, sizeof(BcFunc), bc_func_free); in bc_program_init()
1779 bc_vec_init(&p->vars, sizeof(BcVec), bc_vec_free); in bc_program_init()
1782 bc_vec_init(&p->arrs, sizeof(BcVec), bc_vec_free); in bc_program_init()
1785 bc_vec_init(&p->results, sizeof(BcResult), bc_result_free); in bc_program_init()
1786 bc_vec_init(&p->stack, sizeof(BcInstPtr), NULL); in bc_program_init()
Dlibrary.c82 bc_vec_init(&vm.jmp_bufs, sizeof(sigjmp_buf), NULL); in bcl_init()
88 bc_vec_init(&vm.ctxts, sizeof(BclContext), NULL); in bcl_init()
89 bc_vec_init(&vm.out, sizeof(uchar), NULL); in bcl_init()
184 bc_vec_init(&ctxt->nums, sizeof(BcNum), bcl_num_destruct); in bcl_ctxt_create()
185 bc_vec_init(&ctxt->free_nums, sizeof(BclNumber), NULL); in bcl_ctxt_create()
Dlex.c188 bc_vec_init(&l->str, sizeof(char), NULL); in bc_lex_init()
Dhistory.c1396 bc_vec_init(&h->buf, sizeof(char), NULL); in bc_history_init()
1397 bc_vec_init(&h->history, sizeof(char*), bc_history_string_free); in bc_history_init()
1398 bc_vec_init(&h->extras, sizeof(char), NULL); in bc_history_init()
Dvector.c59 void bc_vec_init(BcVec *restrict v, size_t esize, BcVecFree dtor) { in bc_vec_init() function
Drand.c413 bc_vec_init(&r->v, sizeof(BcRNGData), NULL); in bc_rand_init()
Dnum.c1915 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);
98 #define bc_map_init(v) (bc_vec_init((v), sizeof(BcId), bc_id_free))
100 #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 …]