Home
last modified time | relevance | path

Searched refs:cp_getvar (Results 1 – 25 of 109) sorted by relevance

12345

/dports/cad/ngspice_rework/ngspice-35/src/frontend/
H A Dcom_ghelp.c46 if (cp_getvar("helppath", CP_STRING, buf, sizeof(buf))) in com_ghelp()
62 if (cp_getvar("helpregfont", CP_STRING, buf, sizeof(buf))) in com_ghelp()
64 if (cp_getvar("helpboldfont", CP_STRING, buf, sizeof(buf))) in com_ghelp()
66 if (cp_getvar("helpitalicfont", CP_STRING, buf, sizeof(buf))) in com_ghelp()
68 if (cp_getvar("helptitlefont", CP_STRING, buf, sizeof(buf))) in com_ghelp()
70 if (cp_getvar("helpbuttonfont", CP_STRING, buf, sizeof(buf))) in com_ghelp()
72 if (cp_getvar("helpinitxpos", CP_NUM, &i, 0)) in com_ghelp()
74 if (cp_getvar("helpinitypos", CP_NUM, &i, 0)) in com_ghelp()
87 if (cp_getvar("width", CP_NUM, &i, 0)) in com_ghelp()
89 if (cp_getvar("display", CP_STRING, buf, sizeof(buf))) in com_ghelp()
[all …]
H A Dsvg.c138 if (cp_getvar("svg_intopts", CP_LIST, &va, 0)) { in SVG_Init()
146 if (cp_getvar("svg_stropts", CP_LIST, &vb, 0)) { in SVG_Init()
157 if (!cp_getvar("hcopywidth", CP_STRING, &Cfg.ints[SVG_WIDTH], sizeof(Cfg.ints[SVG_WIDTH]))) { in SVG_Init()
163 if (!cp_getvar("hcopyheight", CP_STRING, &Cfg.ints[SVG_HEIGHT], sizeof(Cfg.ints[SVG_HEIGHT]))) { in SVG_Init()
171 if (!cp_getvar("xbrushwidth", CP_NUM, &Cfg.ints[SVG_STROKE_WIDTH], 0)) in SVG_Init()
177 if (!cp_getvar("xgridwidth", CP_NUM, &Cfg.ints[SVG_GRID_WIDTH], 0)) in SVG_Init()
182 if (cp_getvar("hcopyfont", CP_STRING, &strbuf, sizeof(strbuf))) { in SVG_Init()
191 if (cp_getvar("hcopyfontfamily", CP_STRING, &strbuf, sizeof(strbuf))) { in SVG_Init()
200 cp_getvar("hcopyfontsize", CP_NUM, &Cfg.ints[SVG_FONT_SIZE], 0); in SVG_Init()
207 if (cp_getvar(colorN, CP_STRING, colorstring, sizeof(colorstring))) { in SVG_Init()
H A Dpostsc.c122 if (!cp_getvar("hcopyscale", CP_STRING, psscale, sizeof(psscale))) { in PS_Init()
136 if (!cp_getvar("hcopypscolor", CP_NUM, &setbgcolor, 0)) { in PS_Init()
145 cp_getvar("hcopypstxcolor", CP_NUM, &settxcolor, 0); in PS_Init()
163 if (!cp_getvar("hcopywidth", CP_STRING, pswidth, sizeof( pswidth))) { in PS_Init()
173 if (!cp_getvar("hcopyheight", CP_STRING, psheight, sizeof(psheight))) { in PS_Init()
185 if (!cp_getvar("xbrushwidth", CP_REAL, &linewidth, 0)) in PS_Init()
191 if (!cp_getvar("xgridwidth", CP_REAL, &gridlinewidth, 0)) in PS_Init()
207 if (!cp_getvar("hcopyfont", CP_STRING, psfont, sizeof(psfont))) { in PS_Init()
210 if (!cp_getvar("hcopyfontsize", CP_STRING, psfontsize, sizeof(psfontsize))) { in PS_Init()
510 if (cp_getvar(colorN, CP_STRING, colorstring, sizeof(colorstring))) { in PS_SelectColor()
H A Dcom_hardcopy.c40 if (!cp_getvar("hcopydev", CP_STRING, device, sizeof(device))) in com_hardcopy()
43 if (!cp_getvar("hcopydevtype", CP_STRING, buf, sizeof(buf))) { in com_hardcopy()
185 if (!wl && cp_getvar("interactive", CP_BOOL, NULL, 0)) { in com_hardcopy()
214 if (!cp_getvar("lprplot5", CP_STRING, format, sizeof(format))) in com_hardcopy()
231 if (!cp_getvar("lprps", CP_STRING, format, sizeof(format))) in com_hardcopy()
H A Dterminal.c74 if (cp_getvar("moremode", CP_BOOL, NULL, 0)) in out_init()
100 (void) cp_getvar("width", CP_NUM, &xsize, 0); in out_init()
102 (void) cp_getvar("height", CP_NUM, &ysize, 0); in out_init()
H A Dspec.c91 if (!cp_getvar("specwindow", CP_STRING, window, sizeof(window))) in com_spec()
130 if (!cp_getvar("specwindoworder", CP_NUM, &order, 0)) in com_spec()
146 if (!cp_getvar("specwindoworder", CP_NUM, &order, 0)) in com_spec()
237 trace = cp_getvar("spectrace", CP_BOOL, NULL, 0); in com_spec()
H A Daspice.c82 if (!cp_getvar("spicepath", CP_STRING, spicepath, sizeof(spicepath))) { in com_aspice()
285 if (!cp_getvar("rhost", CP_STRING, rhost, sizeof(rhost))) in com_rspice()
287 if (!cp_getvar("rprogram", CP_STRING, program, sizeof(program))) in com_rspice()
289 if (!cp_getvar("remote_shell", CP_STRING, remote_shell, sizeof(remote_shell))) in com_rspice()
H A Dpostcoms.c196 if (cp_getvar("width", CP_NUM, &i, 0)) in com_print()
272 if (cp_getvar("width", CP_NUM, &i, 0)) in com_print()
280 if (cp_getvar("height", CP_NUM, &i, 0)) in com_print()
284 nobreak = cp_getvar("nobreak", CP_BOOL, NULL, 0); in com_print()
289 noprintscale = cp_getvar("noprintscale", CP_BOOL, NULL, 0); in com_print()
448 if (cp_getvar("filetype", CP_STRING, buf, sizeof(buf))) { in com_write()
456 appendwrite = cp_getvar("appendwrite", CP_BOOL, NULL, 0); in com_write()
458 plainwrite = cp_getvar("plainwrite", CP_BOOL, NULL, 0); in com_write()
H A Dfourier.c68 if (!cp_getvar("nfreqs", CP_NUM, &nfreqs, 0) || nfreqs < 1) in fourier()
70 if (!cp_getvar("polydegree", CP_NUM, &polydegree, 0) || polydegree < 0) in fourier()
72 if (!cp_getvar("fourgridsize", CP_NUM, &fourgridsize, 0) || fourgridsize < 1) in fourier()
H A Ddiff.c122 if (!cp_getvar("diff_vntol", CP_REAL, &vntol, 0)) in com_diff()
124 if (!cp_getvar("diff_abstol", CP_REAL, &abstol, 0)) in com_diff()
126 if (!cp_getvar("diff_reltol", CP_REAL, &reltol, 0)) in com_diff()
/dports/cad/ngspice_rework/ngspice-35/src/frontend/plotting/
H A Dgnuplot.c97 if (!cp_getvar("gnuplot_terminal", CP_STRING, in ft_gnuplot()
121 if (!cp_getvar("xbrushwidth", CP_NUM, &linewidth, 0)) in ft_gnuplot()
126 if (!cp_getvar("xgridwidth", CP_NUM, &gridlinewidth, 0)) in ft_gnuplot()
132 if (!cp_getvar("pointstyle", CP_STRING, pointstyle, sizeof(pointstyle))) { in ft_gnuplot()
141 if (!cp_getvar("nolegend", CP_BOOL, NULL, 0)) { in ft_gnuplot()
457 appendwrite = cp_getvar("appendwrite", CP_BOOL, NULL, 0); in ft_writesimple()
458 singlescale = cp_getvar("wr_singlescale", CP_BOOL, NULL, 0); in ft_writesimple()
459 vecnames = cp_getvar("wr_vecnames", CP_BOOL, NULL, 0); in ft_writesimple()
H A Dagraf.c61 novalue = cp_getvar("noasciiplotvalue", CP_BOOL, NULL, 0); in ft_agraf()
70 if (!cp_getvar("width", CP_NUM, &maxy, 0)) in ft_agraf()
73 if (!cp_getvar("height", CP_NUM, &height, 0)) in ft_agraf()
79 nobreakp = cp_getvar("nobreak", CP_BOOL, NULL, 0); in ft_agraf()
H A Dgraf.c110 if (!cp_getvar("pointchars", CP_STRING, in gr_init()
115 if (!cp_getvar("ticmarks", CP_NUM, &graph->ticmarks, 0)) { in gr_init()
116 if (cp_getvar("ticmarks", CP_BOOL, NULL, 0)) { in gr_init()
124 if (!cp_getvar("ticchar", CP_STRING, graph->ticchar, 1)) { in gr_init()
128 if (cp_getvar("ticlist", CP_LIST, ticlist, 0)) { in gr_init()
137 cp_getvar("nolegend", CP_BOOL, &(graph->nolegend), 0); in gr_init()
138 cp_getvar("nounits", CP_BOOL, &(graph->nounits), 0); in gr_init()
514 if (cp_getvar("device", CP_STRING, buf, sizeof(buf)) && !(strcmp("/dev/tty", buf) == 0)) in gr_pmsg()
/dports/cad/jspice3/jspice3-2.5/src/lib/fte/
H A Dmisccoms.c153 if (cp_getvar(kw_level, VT_STRING, slevel)) {
211 if (cp_getvar("helppath", VT_STRING, buf))
220 if (cp_getvar("helpinitxpos", VT_NUM, (char *) &i))
222 if (cp_getvar("helpinitypos", VT_NUM, (char *) &i))
252 (void) cp_getvar("noaskquit", VT_BOOL, (char *) &noask);
H A Daspice.c68 if (!cp_getvar(kw_spicepath, VT_STRING, spicepath))
254 if (!cp_getvar(kw_rhost, VT_STRING, rhost))
256 if (!cp_getvar(kw_rprogram, VT_STRING, program))
H A Ddiff.c49 if (!cp_getvar(kw_vntol, VT_REAL, (char *) &vntol))
51 if (!cp_getvar(kw_abstol, VT_REAL, (char *) &abstol))
53 if (!cp_getvar(kw_reltol, VT_REAL, (char *) &reltol))
/dports/cad/ngspice_rework/ngspice-35/src/
H A Dnghelp.c62 if (cp_getvar("display", CP_STRING, buf, sizeof(buf))) { in xmain()
116 cp_getvar(char *n, enum cp_types type, void *r, size_t rs) in cp_getvar() function
/dports/cad/ngspice_rework/ngspice-35/src/frontend/wdisp/
H A Dwindisp.c216 if (!cp_getvar("wfont", CP_STRING, lf.lfFaceName, strlen(lf.lfFaceName))) { in WIN_Init()
219 if (!cp_getvar("wfont_size", CP_NUM, &(lf.lfHeight), 0)) { in WIN_Init()
237 if (!cp_getvar("wfont", CP_STRING, facename, sizeof(facename))) { in WIN_Init()
245 if (!cp_getvar("wfont_size", CP_NUM, &(lfw.lfHeight), 0)) { in WIN_Init()
334 if (cp_getvar(colorN, CP_STRING, colorstring, sizeof(colorstring))) { in HcpyPlotBW()
852 if (!cp_getvar("xbrushwidth", CP_NUM, &linewidth, 0)) in WIN_NewViewport()
862 if (!cp_getvar("xgridwidth", CP_NUM, &gridlinewidth, 0)) in WIN_NewViewport()
1072 if (!cp_getvar("wfont", CP_STRING, lf.lfFaceName, sizeof(lf.lfFaceName))) in WIN_Text()
1075 if (!cp_getvar("wfont_size", CP_NUM, &(lf.lfHeight), 0)) in WIN_Text()
1099 if (!cp_getvar("wfont", CP_STRING, facename, sizeof(facename) - 1)) { in WIN_Text()
[all …]
H A Dwincolor.c38 if (!cp_getvar(buf, CP_STRING, colorstring, sizeof(colorstring))) in wincolor_init_hash()
115 if (!cp_getvar(buf, CP_STRING, colorstring, sizeof(colorstring))) { in wincolor_init()
170 if (!cp_getvar(buf, CP_STRING, colorstring, sizeof(colorstring))) { in wincolor_redo()
/dports/cad/jspice3/jspice3-2.5/src/lib/plot/
H A Dfourier.c54 if ((!cp_getvar(kw_nfreqs, VT_NUM, (char *) &nfreqs)) || (nfreqs < 1))
56 if ((!cp_getvar(kw_polydegree, VT_NUM, (char *) &polydegree)) ||
59 if ((!cp_getvar(kw_fourgridsize, VT_NUM, (char *) &fourgridsize)) ||
H A Dagraf.c67 if (!cp_getvar(kw_noasciiplotvalue, VT_BOOL, (char *) &novalue) &&
76 if (!cp_getvar(kw_width, VT_NUM, (char *) &maxy)) {
79 if (!cp_getvar(kw_height, VT_NUM, (char *) &height))
84 cp_getvar(kw_nobreak, VT_BOOL, (char *) &nobreakp);
H A Dgraf.c86 if (!cp_getvar(kw_polydegree, VT_NUM, (char *) &graph->degree))
89 if (!cp_getvar(kw_pointchars, VT_STRING, pointchars))
92 if (!cp_getvar(kw_ticmarks, VT_NUM, (char *) &graph->ticmarks)) {
93 if (cp_getvar(kw_ticmarks, VT_BOOL, (char *) &b))
185 if (cp_getvar(kw_device, VT_STRING, buf) in gr_end()
312 if (!cp_getvar(kw_gridsize, VT_NUM, (char *) &gridsize))
577 if (!cp_getvar(kw_polysteps, VT_NUM, (char *) &steps))
H A Dwp.c32 if (!cp_getvar(kw_wpboxw,VT_REAL,(char*)&w)) in WP_Init()
34 if (!cp_getvar(kw_wpboxh,VT_REAL,(char*)&h)) in WP_Init()
/dports/cad/jspice3/jspice3-2.5/src/include/
H A Dcpextern.h256 extern bool cp_getvar(char*,int,char*);
272 extern bool cp_getvar();
/dports/cad/ngspice_rework/ngspice-35/src/maths/misc/
H A Drandnumb.c82 if (cp_getvar("rndseed", CP_NUM, &newseed, 0)) { in checkseed()
298 if (!cp_getvar("rndseed", CP_NUM, &newseed, 0)) { in com_sseed()

12345