HomeSort by relevance Sort by last modified time
    Searched refs:plib (Results 1 - 5 of 5) sorted by null

  /external/ltrace/
read_config_file.h 26 int read_config_file(FILE *stream, const char *name, struct protolib *plib);
prototype.h 102 /* Initialize PLIB. */
103 void protolib_init(struct protolib *plib);
105 /* Destroy PLIB. */
106 void protolib_destroy(struct protolib *plib);
108 /* Push IMPORT to PLIB. Returns 0 on success or a negative value on
111 int protolib_add_import(struct protolib *plib, struct protolib *import);
113 /* Add a prototype PROTO to PLIB. Returns 0 on success or a negative
114 * value on failure. NAME is owned and released on PLIB destruction
116 int protolib_add_prototype(struct protolib *plib,
120 /* Add a named type NAMED to PLIB. Returns 0 on success or a negativ
    [all...]
prototype.c 137 protolib_init(struct protolib *plib)
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)
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->named_types, const char *, struct named_type
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
586 struct protolib *plib; local
607 struct protolib *plib = build_default_config(cache, key); local
621 struct protolib *plib; local
    [all...]
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)
409 struct named_type *nt = protolib_lookup_type(plib, buf, true);
416 parse_typedef(struct protolib *plib, struct locus *loc, char **str)
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, name, 1, &this_nt) < 0)
    [all...]
  /external/chromium_org/third_party/skia/third_party/lua/src/
loadlib.c 252 void *plib; local
255 plib = lua_touserdata(L, -1); /* plib = CLIBS[path] */
256 lua_pop(L, 2); /* pop CLIBS table and 'plib' */
257 return plib;
261 static void ll_addtoclib (lua_State *L, const char *path, void *plib) {
263 lua_pushlightuserdata(L, plib);
265 lua_setfield(L, -3, path); /* CLIBS[path] = plib */
266 lua_rawseti(L, -2, luaL_len(L, -2) + 1); /* CLIBS[#CLIBS + 1] = plib */

Completed in 369 milliseconds