Lines Matching refs:new_symbol
65 symbol_t *new_symbol; in symbol_create() local
67 new_symbol = (symbol_t *)malloc(sizeof(symbol_t)); in symbol_create()
68 if (new_symbol == NULL) { in symbol_create()
72 memset(new_symbol, 0, sizeof(*new_symbol)); in symbol_create()
73 new_symbol->name = strdup(name); in symbol_create()
74 if (new_symbol->name == NULL) in symbol_create()
76 new_symbol->type = UNINITIALIZED; in symbol_create()
77 new_symbol->count = 1; in symbol_create()
78 return (new_symbol); in symbol_create()
181 symbol_t *new_symbol; in symtable_get() local
183 new_symbol = symbol_create(name); in symtable_get()
184 data.data = &new_symbol; in symtable_get()
185 data.size = sizeof(new_symbol); in symtable_get()
191 return (new_symbol); in symtable_get()