Lines Matching refs:new_symbol
64 symbol_t *new_symbol; in symbol_create() local
66 new_symbol = (symbol_t *)malloc(sizeof(symbol_t)); in symbol_create()
67 if (new_symbol == NULL) { in symbol_create()
71 memset(new_symbol, 0, sizeof(*new_symbol)); in symbol_create()
72 new_symbol->name = strdup(name); in symbol_create()
73 if (new_symbol->name == NULL) in symbol_create()
75 new_symbol->type = UNINITIALIZED; in symbol_create()
76 new_symbol->count = 1; in symbol_create()
77 return (new_symbol); in symbol_create()
180 symbol_t *new_symbol; in symtable_get() local
182 new_symbol = symbol_create(name); in symtable_get()
183 data.data = &new_symbol; in symtable_get()
184 data.size = sizeof(new_symbol); in symtable_get()
190 return (new_symbol); in symtable_get()