/third_party/ltp/tools/sparse/sparse-src/ |
D | lib.h | 75 DECLARE_PTR_LIST(symbol_list, struct symbol); 138 extern struct symbol_list *sparse_initialize(int argc, char **argv, struct string_list **files); 139 extern struct symbol_list *__sparse(char *filename); 140 extern struct symbol_list *sparse_keep_tokens(char *filename); 141 extern struct symbol_list *sparse(char *filename); 144 static inline int symbol_list_size(struct symbol_list *list) in symbol_list_size() 208 static inline struct symbol *first_symbol(struct symbol_list *head) in first_symbol() 213 static inline void concat_symbol_list(struct symbol_list *from, struct symbol_list **to) in concat_symbol_list() 228 static inline void add_symbol(struct symbol_list **list, struct symbol *sym) in add_symbol()
|
D | lib.c | 297 static struct symbol_list *sparse_tokenstream(struct token *token) in sparse_tokenstream() 338 static struct symbol_list *sparse_file(const char *filename) in sparse_file() 368 static struct symbol_list *sparse_initial(void) in sparse_initial() 380 struct symbol_list *sparse_initialize(int argc, char **argv, struct string_list **filelist) in sparse_initialize() 383 struct symbol_list *list; in sparse_initialize() 453 struct symbol_list * sparse_keep_tokens(char *filename) in sparse_keep_tokens() 455 struct symbol_list *res; in sparse_keep_tokens() 468 struct symbol_list * __sparse(char *filename) in __sparse() 470 struct symbol_list *res; in __sparse() 481 struct symbol_list * sparse(char *filename) in sparse() [all …]
|
D | parse.h | 52 struct symbol_list *declaration; 92 struct symbol_list *iterator_syms; 106 struct symbol_list *target_list; 113 struct symbol_list *asm_labels; 123 extern struct symbol_list *function_computed_target_list; 135 extern struct token *external_declaration(struct token *, struct symbol_list **, validate_decl_t);
|
D | inline.c | 66 static struct symbol_list *copy_symbol_list(struct symbol_list *src) in copy_symbol_list() 68 struct symbol_list *dst = NULL; in copy_symbol_list() 323 static void unset_replace_list(struct symbol_list *list) in unset_replace_list() 417 switch_case->symbol_list = copy_symbol_list(switch_case->symbol_list); in copy_one_statement() 501 static struct symbol_list *create_symbol_list(struct symbol_list *src) in create_symbol_list() 503 struct symbol_list *dst = NULL; in create_symbol_list() 515 struct symbol_list * fn_symbol_list; in inline_function() 519 struct symbol_list *name_list, *arg_decl; in inline_function() 573 struct symbol_list *arg_list = fn->arguments; in uninline() 576 sym->symbol_list = create_symbol_list(sym->inline_symbol_list); in uninline() [all …]
|
D | ctags.c | 35 static struct symbol_list *taglist = NULL; 74 static void show_tags(struct symbol_list *list) in show_tags() 112 static inline void examine_members(struct symbol_list *list) in examine_members() 144 examine_members(sym->symbol_list); in examine_symbol() 148 examine_members(sym->symbol_list); in examine_symbol() 202 static inline void examine_symbol_list(struct symbol_list *list) in examine_symbol_list()
|
D | evaluate.h | 8 struct symbol_list; 27 void evaluate_symbol_list(struct symbol_list *list); 33 int evaluate_arguments(struct symbol_list *argtypes, struct expression_list *args);
|
D | test-inspect.c | 20 static void expand_symbols(struct symbol_list *list) in expand_symbols() 32 struct symbol_list *view_syms = NULL; in main() 38 struct symbol_list *syms = sparse(file); in main()
|
D | symbol.h | 132 struct token *(*toplevel)(struct token *token, struct symbol_list **list); 201 struct symbol_list *arguments; 203 struct symbol_list *symbol_list; member 205 struct symbol_list *inline_symbol_list; 326 extern struct symbol_list *translation_unit_used_list; 346 extern void show_symbol_list(struct symbol_list *); 347 extern void add_symbol(struct symbol_list **, struct symbol *);
|
D | test-parsing.c | 42 static void clean_up_symbols(struct symbol_list *list) in clean_up_symbols() 53 struct symbol_list * list; in main()
|
D | compile.c | 44 static void clean_up_symbols(struct symbol_list *list) in clean_up_symbols() 63 struct symbol_list *list; in main()
|
D | c2xml.c | 100 static inline void examine_members(struct symbol_list *list, xmlNodePtr node) in examine_members() 209 examine_members(sym->symbol_list, child); in examine_symbol() 288 static inline void examine_symbol_list(const char *file, struct symbol_list *list) in examine_symbol_list() 304 struct symbol_list *symlist = NULL; in main()
|
D | parse.c | 47 static struct symbol_list **function_symbol_list; 48 struct symbol_list *function_computed_target_list; 75 static struct token *toplevel_asm_declaration(struct token *token, struct symbol_list **list); 76 static struct token *parse_static_assert(struct token *token, struct symbol_list **unused); 670 static struct token *struct_declaration_list(struct token *token, struct symbol_list **list); 748 if (sym->symbol_list) in struct_union_enum_specifier() 781 res = struct_declaration_list(token, &sym->symbol_list); in parse_struct_declaration() 782 FOR_EACH_PTR(sym->symbol_list, field) { in parse_struct_declaration() 797 return struct_declaration_list(token, &sym->symbol_list); in parse_union_declaration() 889 static void cast_enum_list(struct symbol_list *list, struct symbol *base_type) in cast_enum_list() [all …]
|
D | dissect.c | 58 static void do_sym_list(struct symbol_list *list); 141 DO_LIST(type->symbol_list, mem, in report_implicit() 236 if (!base->symbol_list) in examine_sym_node() 248 DO_LIST(base->symbol_list, mem, in examine_sym_node() 274 FOR_EACH_PTR(type->symbol_list, node) in __lookup_member() 307 if (!type->symbol_list) in lookup_member() 650 static void do_sym_list(struct symbol_list *list) in do_sym_list()
|
D | ast-view.h | 5 extern void treeview_main(struct symbol_list *syms);
|
D | test-show-type.c | 7 static void show_symbols(struct symbol_list *list) in show_symbols()
|
D | test-linearize.c | 41 static void clean_up_symbols(struct symbol_list *list) in clean_up_symbols()
|
D | scope.h | 31 struct symbol_list *symbols; /* List of symbols in this scope */
|
D | obfuscate.c | 56 static void emit_symbol_list(struct symbol_list *list) in emit_symbol_list()
|
D | ast-view.c | 31 treeview_main (struct symbol_list *syms) in treeview_main()
|
D | linearize.h | 145 struct symbol_list *fntypes; 326 struct symbol_list *syms;
|
D | test-unssa.c | 58 static int compile(struct symbol_list *list) in compile()
|
D | ssa.c | 40 FOR_EACH_PTR(type->symbol_list, member) { in is_promotable() 60 FOR_EACH_PTR(type->symbol_list, member) { in is_promotable()
|
D | scope.c | 112 struct symbol_list *symbols = scope->symbols; in end_scope()
|
D | symbol.c | 45 struct symbol_list *translation_unit_used_list = NULL; 194 FOR_EACH_PTR(sym->symbol_list, sub) { in examine_anonymous_member() 217 FOR_EACH_PTR(sym->symbol_list, member) { in examine_struct_union_type() 649 static struct symbol_list *restr, *fouled;
|
D | show-parse.c | 184 void show_symbol_list(struct symbol_list *list) in show_symbol_list() 489 FOR_EACH_PTR(type->symbol_list, member) { in show_symbol() 548 FOR_EACH_PTR(stmt->switch_case->symbol_list, sym) { in show_switch_statement() 578 static void show_symbol_decl(struct symbol_list *syms) in show_symbol_decl()
|