Lines Matching refs:type
64 inj_decl_lookup(const char *name, inj_itemtype_t type)
66 inj_hash_t *hash = item2hash(type);
85 inj_decl_mem_create(const char *name, inj_memtype_t type)
90 dlm->dlm_type = type;
98 inj_itemtype_t type)
103 dlm->dlm_type = inj_item2mem(type);
105 if ((dlm->dlm_decl = inj_decl_lookup(declnm, type)) == NULL) {
106 yyerror("unknown %s %s", inj_item2str(type), declnm);
235 inj_decl_finish(inj_decl_t *decl, const char *name, inj_itemtype_t type)
244 inj_hash_t *hash = item2hash(type);
248 decl->decl_type = type;
250 if (!validators[type](decl)) {
259 inj_item2str(type), name, other->decl_lineno);