Lines Matching refs:Symtab

93 } Symtab;  variable
120 Symtab.Line = line; /* Set, don't clear. */ in symtab_new_function()
146 Symtab.Function = free_entry(Symtab.Function); in symtab_clear_function()
147 Symtab.Args = free_entry_table(Symtab.Args); in symtab_clear_function()
148 Symtab.Prototype[0] = '\0'; in symtab_clear_function()
149 Symtab.Formals[0] = '\0'; in symtab_clear_function()
150 Symtab.Actuals[0] = '\0'; in symtab_clear_function()
151 Symtab.Cast[0] = '\0'; in symtab_clear_function()
164 Symtab.Varargs = free_entry_table(Symtab.Varargs); in symtab_clear_varargs()
176 Symtab.Includes = free_string_table(Symtab.Includes); in symtab_clear_includes()
185 Symtab.Globals = free_entry_table(Symtab.Globals); in symtab_clear_globals()
194 Symtab.Errval = free_entry(Symtab.Errval); in symtab_clear_errval()
203 Symtab.Exception = free_entry(Symtab.Exception); in symtab_clear_exception()
212 Symtab.Print_Types = symtab_free_print_types(Symtab.Print_Types); in symtab_clear_print_types()
224 (void) strncpy(Symtab.Prototype, p, sizeof (Symtab.Prototype)); in symtab_set_prototype()
225 Symtab.Prototype[sizeof (Symtab.Prototype)-1] = '\0'; in symtab_set_prototype()
233 return (Symtab.Prototype); in symtab_get_prototype()
241 (void) strncpy(Symtab.Formals, p, sizeof (Symtab.Formals)); in symtab_set_formals()
242 Symtab.Formals[sizeof (Symtab.Formals)-1] = '\0'; in symtab_set_formals()
250 return (Symtab.Formals); in symtab_get_formals()
258 (void) strncpy(Symtab.Actuals, p, sizeof (Symtab.Actuals)); in symtab_set_actuals()
259 Symtab.Actuals[sizeof (Symtab.Actuals)-1] = '\0'; in symtab_set_actuals()
266 return (Symtab.Actuals); in symtab_get_actuals()
273 (void) strncpy(Symtab.Cast, p, sizeof (Symtab.Cast)); in symtab_set_cast()
274 Symtab.Cast[sizeof (Symtab.Cast)-1] = '\0'; in symtab_set_cast()
281 return (Symtab.Cast); in symtab_get_cast()
289 (void) strncpy(Symtab.Filename, p, sizeof (Symtab.Filename)); in symtab_set_filename()
290 Symtab.Filename[sizeof (Symtab.Filename)-1] = '\0'; in symtab_set_filename()
297 return (Symtab.Filename); in symtab_get_filename()
307 Symtab.Nonreturn = val; in symtab_set_nonreturn()
314 return (Symtab.Nonreturn); in symtab_get_nonreturn()
321 Symtab.Line = val; in symtab_set_line()
328 return (Symtab.Line); in symtab_get_line()
336 Symtab.Skip = value; in symtab_set_skip()
343 return (Symtab.Skip); in symtab_get_skip()
356 Symtab.Function = allocate_entry(Symtab.Function, in symtab_set_function()
365 if (Symtab.Function == NULL) in symtab_get_function()
368 return ((Symtab.Function->e_valid)? Symtab.Function: NULL); in symtab_get_function()
376 Symtab.Exception = allocate_entry(Symtab.Exception, in symtab_set_exception()
386 if (Symtab.Exception == NULL) in symtab_get_exception()
389 return ((Symtab.Exception->e_valid)? Symtab.Exception: NULL); in symtab_get_exception()
398 Symtab.Errval = allocate_entry(Symtab.Errval, in symtab_set_errval()
409 if (Symtab.Errval == NULL) in symtab_get_errval()
412 return ((Symtab.Errval->e_valid)? Symtab.Errval: NULL); in symtab_get_errval()
424 if (Symtab.Args == NULL) { in symtab_add_args()
425 Symtab.Args = create_entry_table(10); in symtab_add_args()
427 Symtab.Args = add_entry_table(Symtab.Args, in symtab_add_args()
440 return (get_entry_table(Symtab.Args, 0)); in symtab_get_first_arg()
448 return (get_entry_table(Symtab.Args, curr_arg++)); in symtab_get_next_arg()
456 return (get_entry_table(Symtab.Args, Symtab.Args->used)); in symtab_get_last_arg()
464 if (Symtab.Varargs == NULL) { in symtab_add_varargs()
465 Symtab.Varargs = create_entry_table(10); in symtab_add_varargs()
467 Symtab.Varargs = add_entry_table(Symtab.Varargs, in symtab_add_varargs()
480 return (get_entry_table(Symtab.Varargs, 0)); in symtab_get_first_vararg()
488 return (get_entry_table(Symtab.Varargs, curr_vararg++)); in symtab_get_next_vararg()
497 if (Symtab.Globals == NULL) { in symtab_add_globals()
498 Symtab.Globals = create_entry_table(10); in symtab_add_globals()
500 Symtab.Globals = add_entry_table(Symtab.Globals, in symtab_add_globals()
514 return (get_entry_table(Symtab.Globals, 0)); in symtab_get_first_global()
522 return (get_entry_table(Symtab.Globals, curr_global++)); in symtab_get_next_global()
548 if (Symtab.Print_Types == NULL) { in symtab_add_print_types()
549 Symtab.Print_Types = create_string_table(50); in symtab_add_print_types()
551 if (in_string_table(Symtab.Print_Types, print_type) == NO) { in symtab_add_print_types()
552 Symtab.Print_Types = add_string_table(Symtab.Print_Types, in symtab_add_print_types()
574 return (get_string_table(Symtab.Print_Types, 0)); in symtab_get_first_print_type()
582 return (get_string_table(Symtab.Print_Types, curr_print_type++)); in symtab_get_next_print_type()
590 if (Symtab.Includes == NULL) { in symtab_add_includes()
591 Symtab.Includes = create_string_table(50); in symtab_add_includes()
593 if (in_string_table(Symtab.Includes, value) == NO) { in symtab_add_includes()
594 Symtab.Includes = add_string_table(Symtab.Includes, value); in symtab_add_includes()
607 return (get_string_table(Symtab.Includes, 0)); in symtab_get_first_include()
615 return (get_string_table(Symtab.Includes, curr_include++)); in symtab_get_next_include()
623 sort_string_table(Symtab.Includes); in symtab_sort_includes()