Lines Matching defs:te
2985 tmpl_errors_destroy(tmpl_errors_t *te)
2991 if (te == NULL)
2993 if (te->te_list) {
2994 while ((ite = uu_list_teardown(te->te_list, &marker)) != NULL) {
2999 uu_list_destroy(te->te_list);
3001 if (te->te_scf) {
3003 while ((ste = uu_list_teardown(te->te_scf, &marker)) != NULL) {
3006 uu_list_destroy(te->te_scf);
3008 uu_free(te);
3022 tmpl_errors_t *te;
3024 te = uu_zalloc(sizeof (*te));
3025 if (te == NULL)
3027 te->te_list = uu_list_create(inmem_errors_pool, NULL, TMPL_DEBUG_LIST);
3028 if (te->te_list == NULL) {
3029 uu_free(te);
3032 te->te_scf = uu_list_create(tv_errors_pool, NULL, TMPL_DEBUG_LIST);
3033 if (te->te_scf == NULL) {
3034 tmpl_errors_destroy(te);
3038 return (te);