/dports/science/afni/afni-AFNI_21.3.16/src/ |
H A D | 3dAcost.c | 26 float xbot=1.0f,xtop=0.0f , ybot=1.0f,ytop=0.0f , val ; in main() local 67 xtop = (float)strtod(argv[iarg++],NULL) ; in main() 164 xbot = mri_min(xim) ; xtop = mri_topclip(xim) ; in main() 165 INFO_message("xbot=%g xclip=%g",xbot,xtop) ; in main() 171 if( xbot >= xtop ){ in main() 172 xbot = 1.e+38 ; xtop = -1.e+38 ; in main() 176 else if( xar[ii] > xtop ) xtop = xar[ii] ; in main() 178 INFO_message("xbot=%g xtop=%g",xbot,xtop) ; in main() 179 if( xbot >= xtop ) ERROR_exit("no x range?!") ; in main() 195 if( xar[ii] < xbot || xar[ii] > xtop || in main() [all …]
|
H A D | 1dsigplot.c | 50 float xbot,xtop , ybot,ytop , pbot,ptop , in PLOT_scatterellipse() local 65 xbot = xtop = x[0] ; ybot = ytop = y[0] ; in PLOT_scatterellipse() 70 if( xu > xtop ) xtop = xu ; in PLOT_scatterellipse() 77 if( xbot >= xtop || ybot >= ytop ){ in PLOT_scatterellipse() 82 if( xlo < xhi ){ xbot = xlo ; xtop = xhi ; } in PLOT_scatterellipse() 88 pbot = p10(xbot) ; ptop = p10(xtop) ; if( ptop < pbot ) ptop = pbot ; in PLOT_scatterellipse() 90 np = (xtop-xbot) / ptop + 0.5 ; in PLOT_scatterellipse() 99 xtop = ceil( xtop/ptop ) * ptop ; in PLOT_scatterellipse() 100 nnax = floor( (xtop-xbot) / ptop + 0.5 ) ; in PLOT_scatterellipse() 165 plotpak_set( xobot,xotop , yobot,yotop , xbot,xtop , ybot,ytop , 1 ) ; in PLOT_scatterellipse() [all …]
|
H A D | thd_rot3d_byte.c | 294 int xnum , xx , xtop , *wk ; in apply_yshear() local 309 xtop = MIN(nx-ii,xnum) ; in apply_yshear() 310 for( xx=0 ; xx < xtop ; xx++ ) in apply_yshear() 316 for( xx=0 ; xx < xtop ; xx++ ) in apply_yshear() 329 xtop = MIN(nx-ii,xnum) ; in apply_yshear() 330 for( xx=0 ; xx < xtop ; xx++ ) in apply_yshear() 336 for( xx=0 ; xx < xtop ; xx++ ) in apply_yshear() 362 int xnum , xx , xtop , *wk ; in apply_zshear() local 377 xtop = MIN(nx-ii,xnum) ; in apply_zshear() 378 for( xx=0 ; xx < xtop ; xx++ ) in apply_zshear() [all …]
|
H A D | test_powell.c | 36 double *xbot, *xtop ; in main() local 59 xtop = (double *)malloc(sizeof(double)*n) ; in main() 61 x[i] = 0.327*cos(i+.372) ; xbot[i] = -1.0 ; xtop[i] = 1.0 ; in main() 65 n , x , &cost , xbot,xtop , 777*n+1 , 151*n+1 , 5*n+1 , 0.22 , 0.0001 , 66666 , cfun ) ; in main() 74 free(x); free(xbot); free(xtop); in main()
|
H A D | thd_zfillin.c | 43 int xtop,ytop,ztop , nff , nfftot=0 ; in THD_dataset_zfillin() local 62 xtop = ytop = ztop = 1 ; in THD_dataset_zfillin() 65 case 2: case -2: xtop=nx ; ztop=nz ; break ; in THD_dataset_zfillin() 66 case 3: case -3: xtop=nx ; ytop=ny ; break ; in THD_dataset_zfillin() 75 for( xx=0 ; xx < xtop ; xx++ ){ in THD_dataset_zfillin()
|
H A D | thd_rowfillin.c | 145 int xtop,ytop,ztop , nff , nfftot=0 ; in THD_dataset_rowfillin() local 164 xtop = ytop = ztop = 1 ; in THD_dataset_rowfillin() 167 case 2: case -2: xtop=nx ; ztop=nz ; break ; in THD_dataset_rowfillin() 168 case 3: case -3: xtop=nx ; ytop=ny ; break ; in THD_dataset_rowfillin() 177 for( xx=0 ; xx < xtop ; xx++ ){ in THD_dataset_rowfillin() 193 for( xx=0 ; xx < xtop ; xx++ ){ in THD_dataset_rowfillin() 209 for( xx=0 ; xx < xtop ; xx++ ){ in THD_dataset_rowfillin()
|
H A D | 3dproject.c | 20 float xbot , xtop , ybot , ytop , zbot , ztop ; member 131 float xbot=BIGG,xtop=BIGG , ybot=BIGG,ytop=BIGG , zbot=BIGG,ztop=BIGG ; in main() local 229 xtop = ytop = ztop = BIGG ; in main() 254 xtop = BIGG ; in main() 270 xtop = strtod( argv[iarg+2] , &cerr ) ; in main() 275 if( *cerr == 'R' && xtop > 0.0 ) xtop = -xtop ; in main() 277 if( xbot > xtop ){ tf = xbot ; xbot = xtop ; xtop = tf ; } in main() 409 if( xtop > dr.xtop ) xtop = dr.xtop ; in main() 415 fv = THD_dicomm_to_3dmm( dset , TEMP_FVEC3(xtop,0,0) ) ; in main() 658 dr.xbot = fv1.xyz[0] ; dr.xtop = fv2.xyz[0] ; in PR_get_range()
|
H A D | 3dmaskdump.c | 234 float xbot,xtop , ybot,ytop , zbot,ztop , btyp=0.0 ; in main() local 250 xtop=xbot ; in main() 264 box_dat[2+BOXLEN*box_num] = xtop ; in main() 464 float xbot,xtop, ybot,ytop, zbot,ztop ; in main() local 482 xbot = -xbot; xtop = -xtop; ybot = -ybot; ytop = -ytop; btyp = BOX_DIC; in main() 488 LOAD_FVEC3(dv,xtop,ytop,ztop) ; in main() 490 UNLOAD_FVEC3(xv,xtop,ytop,ztop) ; in main() 493 if( xbot > xmax && xtop > xmax ) continue ; in main() 501 LOAD_FVEC3(dv,xtop,ytop,ztop) ; in main() 503 UNLOAD_FVEC3(xv,xtop,ytop,ztop) ; in main() [all …]
|
H A D | thd_correlate.c | 939 xbin[nb] = xtop ; ybin[nb] = ytop ; in set_2Dhist_xybin_eqwide() 942 nb,xbot,xtop,ybot,ytop ) ; in set_2Dhist_xybin_eqwide() 1018 xtop = xb[nb] = xd[nxd-1] ; if( xtop <= xbot ){ free(xd); return 0; } in eqhighate() 1021 xtest = xbot + (xtop-xbot)/(100.0f*nb) ; in eqhighate() 1026 xtest = xtop - (xtop-xbot)/(100.0f*nb) ; in eqhighate() 1141 xbot = WAY_BIG ; xtop = -WAY_BIG ; in stuff_2Dhist() 1144 if( x[ii] > xtop ) xtop = x[ii] ; in stuff_2Dhist() 1212 xb = xbot ; xi = nbm/(xtop-xbot) ; in stuff_2Dhist() 1440 xbot = xbin[0] ; xtop = xbin[nxybin] ; in build_byteized_vectors() 1442 xbot = WAY_BIG ; xtop = -WAY_BIG ; in build_byteized_vectors() [all …]
|
H A D | mri_coxplot.c | 29 void set_memplot_RGB_box( int xbot, int ybot, int xtop, int ytop ) in set_memplot_RGB_box() argument 31 if( xbot < xtop && ybot < ytop ){ in set_memplot_RGB_box() 33 box_xtop = xtop ; box_ytop = ytop ; in set_memplot_RGB_box() 397 float xbot,xtop , ybot,ytop ; in memplot_bbox() local 409 ytop = xtop = -666.0f ; in memplot_bbox() 422 xbot = MIN(xbot,x1) ; xtop = MAX(xtop,x2) ; in memplot_bbox() 436 xbot = MIN(xbot,x1) ; xtop = MAX(xtop,x2) ; in memplot_bbox() 448 xbot = MIN(xbot,x1) ; xtop = MAX(xtop,x2) ; in memplot_bbox() 454 out.a = xbot ; out.b = xtop ; in memplot_bbox()
|
/dports/math/vtk8/VTK-8.2.0/Filters/Sources/ |
H A D | vtkCylinderSource.cxx | 58 double xtop[3], tctop[2], ntop[3]; in RequestData() local 114 xtop[0] = (ntop[0] * this->Radius) + center[0]; in RequestData() 119 xtop[1] = -0.5 * this->Height + center[1]; in RequestData() 127 xtop[2] = (ntop[2] * this->Radius) + center[2]; in RequestData() 131 newPoints->InsertPoint(idx+1,xtop); in RequestData() 156 xbot[0] = xtop[0] = this->Radius * cos(i*angle); in RequestData() 159 xbot[0] += center[0]; xtop[0] += center[0]; in RequestData() 163 xtop[1] = -0.5 * this->Height; in RequestData() 166 xbot[1] += center[1]; xtop[1] += center[1]; in RequestData() 169 xbot[2] = xtop[2] = -this->Radius * sin(i*angle); in RequestData() [all …]
|
/dports/math/vtk9/VTK-9.1.0/Filters/Sources/ |
H A D | vtkCylinderSource.cxx | 55 double xtop[3], tctop[2], ntop[3]; in RequestData() local 111 xtop[0] = (ntop[0] * this->Radius) + center[0]; in RequestData() 116 xtop[1] = -0.5 * this->Height + center[1]; in RequestData() 124 xtop[2] = (ntop[2] * this->Radius) + center[2]; in RequestData() 128 newPoints->InsertPoint(idx + 1, xtop); in RequestData() 153 xbot[0] = xtop[0] = this->Radius * cos(i * angle); in RequestData() 157 xtop[0] += center[0]; in RequestData() 161 xtop[1] = -0.5 * this->Height; in RequestData() 165 xtop[1] += center[1]; in RequestData() 168 xbot[2] = xtop[2] = -this->Radius * sin(i * angle); in RequestData() [all …]
|
/dports/math/vtk6/VTK-6.2.0/Filters/Sources/ |
H A D | vtkCylinderSource.cxx | 58 double xtop[3], tctop[2], ntop[3]; in RequestData() local 114 xtop[0] = (ntop[0] * this->Radius) + center[0]; in RequestData() 119 xtop[1] = -0.5 * this->Height + center[1]; in RequestData() 127 xtop[2] = (ntop[2] * this->Radius) + center[2]; in RequestData() 131 newPoints->InsertPoint(idx+1,xtop); in RequestData() 156 xbot[0] = xtop[0] = this->Radius * cos(i*angle); in RequestData() 159 xbot[0] += center[0]; xtop[0] += center[0]; in RequestData() 163 xtop[1] = -0.5 * this->Height; in RequestData() 166 xbot[1] += center[1]; xtop[1] += center[1]; in RequestData() 169 xbot[2] = xtop[2] = -this->Radius * sin(i*angle); in RequestData() [all …]
|
/dports/graphics/azpainterb/azpainterb-1.1.3/src/widget/ |
H A D | DockLayer_area.c | 192 *xtop = -pt.x; in _getTopItemInfo() 223 int xtop,y; in _getItemXY() local 233 *xret = xtop; in _getItemXY() 250 int xtop,y,scry; in _getItemY_abs() local 270 int ytop,xtop; in _get_item_at_pt() local 280 pttop->x = xtop; in _get_item_at_pt() 897 xtop += n; in _draw_one() 899 right = xtop + width; in _draw_one() 920 if(xtop > 0) in _draw_one() 946 x = xtop + _PREV_X; in _draw_one() [all …]
|
/dports/graphics/azpainter/azpainter-2.1.7/src/widget/ |
H A D | DockLayer_area.c | 206 *xtop = -pt.x; in _getTopItemInfo() 237 int xtop,y; in _getItemXY() local 251 *xret = xtop; in _getItemXY() 270 int xtop,y,scry; in _getItemY_abs() local 290 int ytop,xtop; in _get_item_at_pt() local 300 pttop->x = xtop; in _get_item_at_pt() 1054 xtop += n; in _draw_one() 1056 right = xtop + width; in _draw_one() 1077 if(xtop > 0) in _draw_one() 1103 x = xtop + _PREV_X; in _draw_one() [all …]
|
/dports/devel/clixon/clixon-4.8.0/apps/restconf/ |
H A D | restconf_methods.c | 309 xbot = xtop; in api_data_write() 483 if (xtop) in api_data_write() 484 xml_free(xtop); in api_data_write() 485 xtop = xdata; in api_data_write() 486 xml_name_set(xtop, "config"); in api_data_write() 645 if (xtop) in api_data_write() 646 xml_free(xtop); in api_data_write() 778 cxobj *xtop = NULL; /* xpath root */ in api_data_delete() local 803 xbot = xtop; in api_data_delete() 870 if (xtop) in api_data_delete() [all …]
|
H A D | restconf_methods_post.c | 162 cxobj *xtop = NULL; /* top of api-path */ in api_data_post() local 193 xbot = xtop; in api_data_post() 390 if (clicon_xml2cbuf(cbx, xtop, 0, 0, -1) < 0) in api_data_post() 417 if (xtop) in api_data_post() 418 xml_free(xtop); in api_data_post() 755 cxobj *xtop = NULL; /* xpath root */ in api_operations_post() local 827 xbot = xtop; in api_operations_post() 830 if ((xa = xml_new("username", xtop, CX_ATTR)) == NULL) in api_operations_post() 919 if (clicon_rpc_netconf_xml(h, xtop, &xret, NULL) < 0) in api_operations_post() 968 if (xtop) in api_operations_post() [all …]
|
/dports/science/afni/afni-AFNI_21.3.16/src/coxplot/ |
H A D | plot_ts.c | 558 xtop = sepx_top ; in plot_ts_mem() 562 xbot = 0 ; xtop = nx-1 ; in plot_ts_mem() 568 if( xx[ii] > xtop && fabsf(xx[ii]) < WAY_BIG ) xtop = xx[ii] ; in plot_ts_mem() 582 xtop = MAX(xabot,xatop) ; in plot_ts_mem() 593 xtop = ceil( xtop/ptop ) * ptop ; xatop = xtop ; in plot_ts_mem() 894 if( xx[ii-1] <= xtop && xx[ii] <= xtop && in plot_ts_mem() 1065 if( xx[ii-1] <= xtop && xx[ii] <= xtop && in plot_ts_mem() 1192 xtop = ceil( xtop/ptop ) * ptop ; in plot_ts_init() 1481 if( xx[ii] > xtop && fabsf(xx[ii]) < WAY_BIG ) xtop = xx[ii] ; in plot_ts_ebar() 1493 xtop = xxtop ; in plot_ts_ebar() [all …]
|
/dports/deskutils/semantik/semantik-1.2.7/src/fig/ |
H A D | box_actor.cpp | 49 qreal xtop = l_oRect.x(); in paint() local 51 qreal xcoord = xtop + l_oRect.width() / 2.0; in paint() 55 painter->drawLine(QLineF(xtop, ytop + 3 * ycoord, xtop + l_oRect.width(), ytop + 3 * ycoord)); in paint() 57 painter->drawLine(QLineF(xtop, ytop + l_oRect.height(), xcoord, ytop + 4 * ycoord)); in paint() 58 …painter->drawLine(QLineF(xtop + l_oRect.width(), ytop + l_oRect.height(), xcoord, ytop + 4 * ycoor… in paint()
|
H A D | box_cloud.cpp | 52 qreal xtop = l_oRect.x(); in paint() local 99 painter->drawEllipse(QRectF(xtop + i * xstep, ytop, dx, dy)); in paint() 104 painter->drawEllipse(QRectF(xtop + w - dx, ytop + i * ystep, dx, dy)); in paint() 109 painter->drawEllipse(QRectF(xtop + i * xstep, ytop + h - dy, dx, dy)); in paint() 114 painter->drawEllipse(QRectF(xtop, ytop + i * ystep, dx, dy)); in paint()
|
/dports/textproc/scws/scws-1.2.3/cli/ |
H A D | scws_cmd.c | 247 scws_top_t top, xtop; in main() local 272 if ((top = xtop = scws_get_tops(s, tlimit, attr)) != NULL) in main() 275 while (xtop != NULL) in main() 278 tlimit, xtop->word, xtop->attr, xtop->weight, xtop->times); in main() 279 xtop = xtop->next; in main()
|
/dports/devel/clixon/clixon-4.8.0/example/main/ |
H A D | example_cli.c | 95 cxobj *xtop = NULL; in example_client_rpc() local 103 if (clixon_xml_parse_va(YB_NONE, NULL, &xtop, NULL, in example_client_rpc() 111 xrpc = xml_child_i(xtop, 0); in example_client_rpc() 130 if (xtop) in example_client_rpc() 131 xml_free(xtop); in example_client_rpc()
|
/dports/audio/praat/praat-6.2.03/stat/ |
H A D | LogisticRegression.cpp | 292 const double xtop = (intercept + parmy -> value * ytop) / - parmx -> value; 298 xmin, U" ", xmax, U" ", xbottom, U" ", xtop, U" ", ymin, U" ", ymax, U" ", yleft, U" ", yright); 300 if (xtop >= xmin && xtop <= xmax) // line goes through top? 301 Graphics_line (graphics, xbottom, ybottom, xtop, ytop); // draw from bottom to top 309 else if (xtop >= xmin && xtop <= xmax) // line goes through top? 310 Graphics_line (graphics, xleft, yleft, xtop, ytop); // draw from left to top 311 } else if (xtop >= xmin && xtop <= xmax) { // line goes through top? 313 Graphics_line (graphics, xtop, ytop, xright, yright); // draw from top to right
|
/dports/devel/clixon/clixon-4.8.0/util/ |
H A D | clixon_util_xml.c | 161 cxobj *xtop = NULL; /* Top tree if any */ in main() local 270 if ((ret = clixon_xml_parse_file(tfd, YB_MODULE, yspec, NULL, &xtop, &xerr)) < 0){ in main() 278 if (validate_tree(h, xtop, yspec) < 0) in main() 284 if ((xbot = xpath_first(xtop, nsc, "%s", top_path)) == NULL){ in main() 356 if (xtop) in main() 357 xml_free(xtop); in main()
|
/dports/graphics/bsd-plotutils/bsd-plotutils-1.4.2/graph/ |
H A D | graph.c | 26 int xbot, xtop; /* screen coords of border */ member 531 p->xtop = p->xbot + (top - bot) * p->xsize; in scale() 544 pl_line(xd.xbot, yd.xbot, xd.xtop, yd.xbot); in axes() 545 pl_cont(xd.xtop, yd.xtop); in axes() 546 pl_cont(xd.xbot, yd.xtop); in axes() 552 pl_line(mark[i], yd.xbot, mark[i], yd.xtop); in axes() 555 pl_line(mark[i], yd.xtop - tick, mark[i], yd.xtop); in axes() 561 pl_line(xd.xbot, mark[i], xd.xtop, mark[i]); in axes() 564 pl_line(xd.xtop - tick, mark[i], xd.xtop, mark[i]); in axes() 639 if (ix < p->xbot || ix > p->xtop) in conv()
|