/external/chromium_org/third_party/skia/third_party/lua/src/ |
H A D | 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) { argument 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 */
|
/external/ltrace/ |
H A D | prototype.c | 137 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 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) 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...] |