Home
last modified time | relevance | path

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

/dports/devel/cligen/cligen-4.8.0/
H A Dcligen_object.c242 switch (co->co_vtype){ in cov_pref()
438 co->co_vtype = cvtype; in cov_new()
670 eq = (co1->co_vtype == co2->co_vtype)?0:(co1->co_vtype < co2->co_vtype)?-1:1; in co_eq()
712 if (cv_isint(co1->co_vtype) || cv_isstring(co1->co_vtype)) { in co_eq()
H A Dcligen_parse.y475 if ((cy->cy_var->co_vtype = cv_str2type(type)) == CGV_ERR){ in cgy_var_name_type()
500 if (coy->co_vtype == CGV_ERR) /* unassigned */ in cgy_var_post()
501 coy->co_vtype = cv_str2type(coy->co_command); in cgy_var_post()
506 coy->co_vtype ); in cgy_var_post()
507 if (coy->co_vtype == CGV_ERR){ in cgy_var_post()
932 if (cy->cy_var->co_vtype != CGV_STRING && cy->cy_var->co_vtype != CGV_REST) in cg_regexp()
933 cy->cy_var->co_vtype = CGV_STRING; in cg_regexp()
978 if (yv->co_vtype == CGV_DEC64) /* XXX: Seems misplaced? / too specific */ in cg_range_create()
1007 if (yv->co_vtype == CGV_DEC64) /* XXX: Seems misplaced? / too specific */ in cg_range_create()
1082 return cg_range_create(cy, lowstr, uppstr, yv, yv->co_vtype); in cg_range()
[all …]
H A Dcligen_match.c72 #define ISREST(co) ((co)->co_type == CO_VARIABLE && (co)->co_vtype == CGV_REST)
111 if ((cv = cv_new(co->co_vtype)) == NULL) in match_variable()
113 if (co->co_vtype == CGV_DEC64) /* XXX: Seems misplaced? / too specific */ in match_variable()
544 if ((cv = cvec_add(cvv, co->co_vtype)) == NULL) in add_cov_to_cvec()
555 if (co->co_vtype == CGV_DEC64) /* XXX: Seems misplaced? / too specific */ in add_cov_to_cvec()
783 if ((cv = cvec_add(cvvall, co_orig->co_vtype)) == NULL) in match_bindvars()
H A Dcligen_print.c103 cprintf(cb, "%c%s:%s", VARIABLE_PRE, co->co_command, cv_type2str(co->co_vtype)); in cov2cbuf()
106 if (cv_isint(co->co_vtype)) in cov2cbuf()
H A Dcligen_object.h193 #define co_vtype u.cou_var.cgs_vtype macro