Searched refs:BcId (Results 1 – 6 of 6) sorted by relevance
/external/bc/include/ |
D | lang.h | 211 typedef struct BcId { struct 214 } BcId; typedef 318 int bc_id_cmp(const BcId *e1, const BcId *e2);
|
D | vector.h | 53 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/ |
D | vector.c | 297 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()
|
D | lang.c | 47 free(((BcId*) id)->name); in bc_id_free()
|
D | program.c | 51 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()
|
D | bc_parse.c | 223 else idx = ((BcId*) bc_vec_item(&p->prog->fn_map, idx))->idx; in bc_parse_call()
|