Home
last modified time | relevance | path

Searched refs:BcId (Results 1 – 6 of 6) sorted by relevance

/external/bc/include/
Dlang.h211 typedef struct BcId { struct
214 } BcId; typedef
318 int bc_id_cmp(const BcId *e1, const BcId *e2);
Dvector.h53 struct BcId;
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/bc/src/
Dvector.c297 const BcId *id = bc_vec_item(v, mid); in bc_map_find()
311 BcId id; in bc_map_insert()
321 if (*i != v->len && !strcmp(name, ((BcId*) bc_vec_item(v, *i))->name)) in bc_map_insert()
342 return strcmp(name, ((BcId*) bc_vec_item(v, i))->name) ? in bc_map_index()
Dlang.c47 free(((BcId*) id)->name); in bc_id_free()
Dprogram.c51 static void bc_program_addFunc(BcProgram *p, BcFunc *f, BcId *id_ptr);
172 return ((BcId*) bc_vec_item(map, i))->idx; in bc_program_search()
1636 static void bc_program_addFunc(BcProgram *p, BcFunc *f, BcId *id_ptr) { in bc_program_addFunc()
1654 BcId *id_ptr; in bc_program_insertFunc()
1664 id_ptr = (BcId*) bc_vec_item(&p->fn_map, idx); in bc_program_insertFunc()
Dbc_parse.c223 else idx = ((BcId*) bc_vec_item(&p->prog->fn_map, idx))->idx; in bc_parse_call()