Home | History | Annotate | Download | only in cs

Lines Matching full:my_parse

4045   CSPARSE *my_parse;
4053 my_parse = (CSPARSE *) calloc (1, sizeof (CSPARSE));
4054 if (my_parse == NULL)
4057 err = uListInit (&(my_parse->stack), 10, 0);
4060 free(my_parse);
4063 err = uListInit (&(my_parse->alloc), 10, 0);
4066 free(my_parse);
4069 err = alloc_node (&(my_parse->tree), my_parse);
4072 cs_destroy (&my_parse);
4075 my_parse->current = my_parse->tree;
4076 my_parse->next = &(my_parse->current->next);
4081 cs_destroy (&my_parse);
4086 entry->tree = my_parse->current;
4089 err = uListAppend(my_parse->stack, entry);
4092 cs_destroy(&my_parse);
4095 my_parse->tag = hdf_get_value(hdf, "Config.TagStart", "cs");
4096 my_parse->taglen = strlen(my_parse->tag);
4097 my_parse->hdf = hdf;
4100 my_parse->escaping.global_ctx = NEOS_ESCAPE_NONE;
4101 my_parse->escaping.next_stack = NEOS_ESCAPE_NONE;
4102 my_parse->escaping.when_undef = NEOS_ESCAPE_NONE;
4112 my_parse->escaping.global_ctx = esc_cursor->context;
4113 my_parse->escaping.next_stack = esc_cursor->context;
4119 cs_destroy (&my_parse);
4126 my_parse->audit_mode = hdf_get_int_value(hdf, "Config.EnableAuditMode", 0);
4128 my_parse->err_list = NULL;
4156 err = cs_register_function(my_parse, Builtins[x].name, Builtins[x].nargs,
4160 cs_destroy(&my_parse);
4166 my_parse->global_hdf = NULL;
4167 my_parse->parent = NULL;
4178 my_parse->functions = parent->functions;
4179 my_parse->global_hdf = parent->global_hdf;
4180 my_parse->fileload = parent->fileload;
4181 my_parse->fileload_ctx = parent->fileload_ctx;
4186 my_parse->locals = parent->locals;
4187 my_parse->parent = parent;
4190 my_parse->audit_mode = parent->audit_mode;
4193 *parse = my_parse;
4206 CSPARSE *my_parse = *parse;
4208 if (my_parse == NULL)
4211 uListDestroy (&(my_parse->stack), ULIST_FREE);
4212 uListDestroy (&(my_parse->alloc), ULIST_FREE);
4214 dealloc_macro(&my_parse->macros);
4215 dealloc_node(&(my_parse->tree));
4216 if (my_parse->parent == NULL) {
4217 dealloc_function(&(my_parse->functions));
4221 if (my_parse->err_list != NULL) {
4224 while (my_parse->err_list) {
4225 ptr = my_parse->err_list->next;
4226 free(my_parse->err_list->err);
4227 free(my_parse->err_list);
4228 my_parse->err_list = ptr;
4232 free(my_parse);