Home
last modified time | relevance | path

Searched refs:co_choice (Results 1 – 5 of 5) sorted by relevance

/dports/devel/cligen/cligen-4.8.0/
H A Dcligen_expand.c132 if (co->co_choice) in co_expand_sub()
133 if ((con->co_choice = strdup(co->co_choice)) == NULL){ in co_expand_sub()
204 if (co->co_choice){ in transform_var_to_cmd()
205 free(co->co_choice); in transform_var_to_cmd()
206 co->co_choice = NULL; in transform_var_to_cmd()
479 if (co->co_choice){ in pt_expand_choice()
480 cp = ccmd = strdup(co->co_choice); in pt_expand_choice()
542 if (co->co_type == CO_VARIABLE && co->co_choice != NULL){ in pt_expand()
H A Dcligen_object.c566 if (co->co_choice){ in co_copy()
567 if ((con->co_choice = strdup(co->co_choice)) == NULL) in co_copy()
681 if (co1->co_choice!=NULL || co2->co_choice!=NULL){ in co_eq()
682 eq = str_cmp(co1->co_choice, co2->co_choice); in co_eq()
782 if (co->co_choice) in co_free()
783 free(co->co_choice); in co_free()
H A Dcligen_print.c90 if (co->co_choice){ in cov2cbuf()
91 if (strchr(co->co_choice, '|')) in cov2cbuf()
92 cprintf(cb, "(%s)", co->co_choice); in cov2cbuf()
94 cprintf(cb, "%s", co->co_choice); in cov2cbuf()
H A Dcligen_object.h200 #define co_choice u.cou_var.cgs_choice macro
H A Dcligen_parse.y1304 | V_CHOICE choices { _CY->cy_var->co_choice = $2; }