Home
last modified time | relevance | path

Searched refs:protolib (Results 1 – 9 of 9) sorted by relevance

/external/ltrace/
Dprototype.h85 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 …]
Dprototype.c37 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 …]
Dread_config_file.c68 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 …]
Dhandle_event.c427 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()
Dlibrary.h161 struct protolib *protolib; member
Doutput.c197 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()
Dread_config_file.h26 int read_config_file(FILE *stream, const char *name, struct protolib *plib);
Dforward.h35 struct protolib;
Dlibrary.c286 lib->protolib = NULL; in private_library_init()