Searched refs:plib (Results 1 - 4 of 4) sorted by relevance

/external/ltrace/
H A Dread_config_file.h26 int read_config_file(FILE *stream, const char *name, struct protolib *plib);
H A Dprototype.h103 void protolib_init(struct protolib *plib);
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,
231 struct protolib *plib);
H A Dprototype.c137 protolib_init(struct protolib *plib) argument
139 DICT_INIT(&plib->prototypes, char *, struct prototype,
142 DICT_INIT(&plib->named_types, char *, struct named_type,
145 VECT_INIT(&plib->imports, struct protolib *);
147 plib->refs = 0;
163 protolib_destroy(struct protolib *plib) argument
165 assert(plib->refs == 0);
167 VECT_DESTROY(&plib->imports, struct prototype *, NULL, NULL);
169 DICT_DESTROY(&plib->prototypes, const char *, struct prototype,
172 DICT_DESTROY(&plib
177 each_import(struct protolib *plib, struct protolib **start_after, enum callback_status (*cb)(struct protolib **, void *), void *data) argument
199 protolib_add_import(struct protolib *plib, struct protolib *import) argument
222 protolib_add_prototype(struct protolib *plib, const char *name, int own_name, struct prototype *proto) argument
234 protolib_add_named_type(struct protolib *plib, const char *name, int own_name, struct named_type *named) argument
253 get_prototypes(struct protolib *plib) argument
260 get_named_types(struct protolib *plib) argument
288 protolib_lookup(struct protolib *plib, const char *name, struct dict *(*getter)(struct protolib *), bool imports) argument
302 protolib_lookup_prototype(struct protolib *plib, const char *name, bool imports) argument
309 protolib_lookup_type(struct protolib *plib, const char *name, bool imports) argument
392 struct protolib *plib = consider_config_dir(cache, *dirs, key); local
406 struct protolib *plib = protolib_cache_file(cache, *fnp, 1); local
490 struct protolib *plib = data; local
530 attempt_to_cache(struct protolib_cache *cache, const char *key, struct protolib *plib) argument
586 struct protolib *plib; local
607 struct protolib *plib = build_default_config(cache, key); local
621 struct protolib *plib; local
656 protolib_cache_protolib(struct protolib_cache *cache, const char *filename, int own_filename, struct protolib *plib) argument
[all...]
H A 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) argument
409 struct named_type *nt = protolib_lookup_type(plib, buf, true);
416 parse_typedef(struct protolib *plib, struct locus *loc, char **str) argument
425 struct named_type *forward = protolib_lookup_type(plib, name, true);
445 = parse_lens(plib, loc, str, NULL, 0, &own, &fwd);
454 if (protolib_add_named_type(plib, nam
485 parse_struct(struct protolib *plib, struct locus *loc, char **str, struct arg_type_info *info, int *forwardp) argument
556 parse_string(struct protolib *plib, struct locus *loc, char **str, struct arg_type_info **retp, int *ownp) argument
712 parse_alias(struct protolib *plib, struct locus *loc, char **str, struct arg_type_info **retp, int *ownp, struct param **extra_param, size_t param_num) argument
748 parse_array(struct protolib *plib, struct locus *loc, char **str, struct arg_type_info *info) argument
788 parse_enum(struct protolib *plib, struct locus *loc, char **str, struct arg_type_info **retp, int *ownp) argument
886 parse_nonpointer_type(struct protolib *plib, struct locus *loc, char **str, struct param **extra_param, size_t param_num, int *ownp, int *forwardp) argument
983 parse_type(struct protolib *plib, struct locus *loc, char **str, struct param **extra_param, size_t param_num, int *ownp, int *forwardp) argument
1017 parse_lens(struct protolib *plib, struct locus *loc, char **str, struct param **extra_param, size_t param_num, int *ownp, int *forwardp) argument
1110 process_line(struct protolib *plib, struct locus *loc, char *buf) argument
1260 read_config_file(FILE *stream, const char *path, struct protolib *plib) argument
[all...]

Completed in 617 milliseconds