Home
last modified time | relevance | path

Searched refs:co_command (Results 1 – 9 of 9) sorted by relevance

/dports/devel/cligen/cligen-4.8.0/
H A Dcligen_print.c99 co->co_show!=NULL ? co->co_show : co->co_command, in cov2cbuf()
103 cprintf(cb, "%c%s:%s", VARIABLE_PRE, co->co_command, cv_type2str(co->co_vtype)); in cov2cbuf()
169 if (co->co_command) in co2cbuf()
170 cprintf(cb, "%s", co->co_command); in co2cbuf()
173 if (co->co_command) in co2cbuf()
174 cprintf(cb, "@%s", co->co_command); in co2cbuf()
369 fprintf(stderr, "%*s %p co %s\n", indent*3, "", co, co->co_command); in co_dump1()
372 fprintf(stderr, "%*s %p co @%s\n", indent*3, "", co, co->co_command); in co_dump1()
375 fprintf(stderr, "%*s %p co <%s>\n", indent*3, "", co, co->co_command); in co_dump1()
H A Dcligen_object.c408 co->co_command = strdup(cmd); in co_new()
523 if (co->co_command) in co_copy()
524 if ((con->co_command = strdup(co->co_command)) == NULL) in co_copy()
654 eq = strcmp(co1->co_command, co2->co_command); in co_eq()
658 eq = strcmp(co1->co_command, co2->co_command); in co_eq()
667 eq = str_cmp(co1->co_command, co2->co_command); in co_eq()
759 if (co->co_command) in co_free()
760 free(co->co_command); in co_free()
825 cmp = str_cmp(name, co ? co->co_command : NULL); in co_search1()
H A Dcligen_match.c161 match = (strncmp(co->co_command, str, len) == 0); in match_object()
163 *exact = strlen(co->co_command) == len; in match_object()
554 cv_name_set(cv, co->co_command); in add_cov_to_cvec()
785 cv_name_set(cv, co_orig->co_command); in match_bindvars()
787 cv_string_set(cv, co_orig->co_command); in match_bindvars()
933 if (co_value_set(co_orig, co_match->co_command) < 0) in match_pattern_sets_local()
1276 strcmp(string1, co->co_command)==0){ in match_pattern_exact()
1425 minmatch = strlen(co->co_command); in match_complete()
1429 if (strcmp(co1->co_command, co->co_command)==0) in match_complete()
1433 for (j=0; j<MIN(strlen(co1->co_command), strlen(co->co_command)); j++) in match_complete()
[all …]
H A Dcligen_expand.c87 if (co->co_command) in co_expand_sub()
88 if ((con->co_command = strdup(co->co_command)) == NULL){ in co_expand_sub()
160 if (co->co_command) in transform_var_to_cmd()
161 free(co->co_command); in transform_var_to_cmd()
162 co->co_command = cmd; in transform_var_to_cmd()
334 treename = co->co_command; in pt_expand_treeref()
674 if ((co0 = co_find_one(pt0, co1->co_command)) == NULL) in reference_path_match()
681 if ((co0 = co_find_one(co_pt_get(co), co1->co_command)) == NULL) in reference_path_match()
H A Dcligen_io.c368 if (co->co_command == NULL) in print_help_lines()
381 if ((cmd = strdup(co->co_command)) == NULL){ in print_help_lines()
H A Dcligen_parse.y474 cy->cy_var->co_command = name; in cgy_var_name_type()
501 coy->co_vtype = cv_str2type(coy->co_command); in cgy_var_post()
505 coy->co_command, in cgy_var_post()
559 __FUNCTION__, cmd, cop->co_command); in cgy_cmd()
H A Dcligen_object.h166 char *co_command; /* malloc:ed matching string / name or type */ member
H A Dcligen_read.c310 if (co->co_command == NULL) in show_help_columns()
320 cmd = co->co_command; in show_help_columns()
/dports/cad/ngspice_rework/ngspice-35/src/frontend/
H A Dcontrol.h31 enum co_command { enum