Searched refs:protolib (Results 1 – 9 of 9) sorted by relevance
/external/ltrace/ |
D | prototype.h | 85 struct protolib { struct 103 void protolib_init(struct protolib *plib); argument 106 void protolib_destroy(struct protolib *plib); 111 int protolib_add_import(struct protolib *plib, struct protolib *import); 116 int protolib_add_prototype(struct protolib *plib, 123 int protolib_add_named_type(struct protolib *plib, 130 struct prototype *protolib_lookup_prototype(struct protolib *plib, 135 int protolib_add_type(struct protolib *plib, struct named_type *named); 140 struct named_type *protolib_lookup_type(struct protolib *plib, 161 struct protolib imports; [all …]
|
D | prototype.c | 37 static struct protolib legacy_typedefs; 137 protolib_init(struct protolib *plib) in protolib_init() 145 VECT_INIT(&plib->imports, struct protolib *); in protolib_init() 163 protolib_destroy(struct protolib *plib) in protolib_destroy() 176 static struct protolib ** 177 each_import(struct protolib *plib, struct protolib **start_after, in each_import() 178 enum callback_status (*cb)(struct protolib **, void *), void *data) in each_import() argument 181 return VECT_EACH(&plib->imports, struct protolib *, in each_import() 186 is_or_imports(struct protolib **plibp, void *data) in is_or_imports() 190 struct protolib *import = data; in is_or_imports() [all …]
|
D | read_config_file.c | 68 static struct arg_type_info *parse_nonpointer_type(struct protolib *plib, 74 static struct arg_type_info *parse_type(struct protolib *plib, 79 static struct arg_type_info *parse_lens(struct protolib *plib, 84 static int parse_enum(struct protolib *plib, struct locus *loc, 395 parse_typedef_name(struct protolib *plib, char **str) in parse_typedef_name() 416 parse_typedef(struct protolib *plib, struct locus *loc, char **str) in parse_typedef() 485 parse_struct(struct protolib *plib, struct locus *loc, in parse_struct() 556 parse_string(struct protolib *plib, struct locus *loc, in parse_string() 712 parse_alias(struct protolib *plib, struct locus *loc, in parse_alias() 748 parse_array(struct protolib *plib, struct locus *loc, in parse_array() [all …]
|
D | handle_event.c | 427 if (syscall_lib.protolib == NULL) { in init_syscall_symbol() 428 struct protolib *protolib in init_syscall_symbol() local 430 if (protolib == NULL) { in init_syscall_symbol() 436 protolib = malloc(sizeof *protolib); in init_syscall_symbol() 437 if (protolib == NULL) { in init_syscall_symbol() 443 protolib_init(protolib); in init_syscall_symbol() 446 assert(protolib != NULL); in init_syscall_symbol() 454 syscall_lib.protolib = protolib; in init_syscall_symbol()
|
D | library.h | 161 struct protolib *protolib; member
|
D | output.c | 197 if (lib->protolib == NULL) { in library_get_prototype() 204 true, &lib->protolib) < 0) in library_get_prototype() 206 } while (lib->protolib == NULL in library_get_prototype() 210 if (lib->protolib == NULL) in library_get_prototype() 211 lib->protolib = protolib_cache_default(&g_protocache, in library_get_prototype() 214 if (lib->protolib == NULL) in library_get_prototype() 217 return protolib_lookup_prototype(lib->protolib, name, in library_get_prototype()
|
D | read_config_file.h | 26 int read_config_file(FILE *stream, const char *name, struct protolib *plib);
|
D | forward.h | 35 struct protolib;
|
D | library.c | 286 lib->protolib = NULL; in private_library_init()
|