/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osgPlugins/ive/ |
H A D | ReaderWriterIVE.cpp | 55 local_opt->getDatabasePathList().push_front(osgDB::getFilePath(fileName)); in readImage() 58 return readImage(istream, local_opt.get()); in readImage() 74 return readNode(istream,local_opt.get()); in readNode() 120 if(local_opt->getDatabasePathList().empty()) in writeImage() 121 local_opt->setDatabasePath(osgDB::getFilePath(fileName)); in writeImage() 123 local_opt->setPluginStringData("filename",fileName); in writeImage() 127 WriteResult result = writeImage(image, fout, local_opt.get()); in writeImage() 139 if(local_opt->getDatabasePathList().empty()) in writeNode() 140 local_opt->setDatabasePath(osgDB::getFilePath(fileName)); in writeNode() 142 local_opt->setPluginStringData("filename",fileName); in writeNode() [all …]
|
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/ive/ |
H A D | ReaderWriterIVE.cpp | 55 local_opt->getDatabasePathList().push_front(osgDB::getFilePath(fileName)); in readImage() 58 return readImage(istream, local_opt.get()); in readImage() 74 return readNode(istream,local_opt.get()); in readNode() 120 if(local_opt->getDatabasePathList().empty()) in writeImage() 121 local_opt->setDatabasePath(osgDB::getFilePath(fileName)); in writeImage() 123 local_opt->setPluginStringData("filename",fileName); in writeImage() 127 WriteResult result = writeImage(image, fout, local_opt.get()); in writeImage() 139 if(local_opt->getDatabasePathList().empty()) in writeNode() 140 local_opt->setDatabasePath(osgDB::getFilePath(fileName)); in writeNode() 142 local_opt->setPluginStringData("filename",fileName); in writeNode() [all …]
|
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/osg/ |
H A D | ReaderWriterOSG2.cpp | 165 local_opt->setPluginStringData( "fileType", "Binary" ); in prepareReading() 170 local_opt->setPluginStringData( "fileType", std::string() ); in prepareReading() 174 return local_opt.release(); in prepareReading() 186 return readObject( istream, local_opt ); in readObject() 217 return readImage( istream, local_opt ); in readImage() 248 return readNode( istream, local_opt ); in readNode() 281 local_opt->setPluginStringData( "fileType", "Binary" ); in prepareWriting() 290 return local_opt.release(); in prepareWriting() 303 result = writeObject( object, fout, local_opt.get() ); in writeObject() 339 result = writeImage( image, fout, local_opt.get() ); in writeImage() [all …]
|
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osgPlugins/osg/ |
H A D | ReaderWriterOSG2.cpp | 165 local_opt->setPluginStringData( "fileType", "Binary" ); in prepareReading() 170 local_opt->setPluginStringData( "fileType", std::string() ); in prepareReading() 174 return local_opt.release(); in prepareReading() 186 return readObject( istream, local_opt ); in readObject() 217 return readImage( istream, local_opt ); in readImage() 248 return readNode( istream, local_opt ); in readNode() 281 local_opt->setPluginStringData( "fileType", "Binary" ); in prepareWriting() 290 return local_opt.release(); in prepareWriting() 303 result = writeObject( object, fout, local_opt.get() ); in writeObject() 339 result = writeImage( image, fout, local_opt.get() ); in writeImage() [all …]
|
/dports/devel/roswell/roswell-20.06.14.107/src/ |
H A D | cmd-run.c | 124 set_opt(&local_opt,q("lisp"),q(value)); in set_env_opt() 127 set_opt(&local_opt,name,q(value)); in set_env_opt() 149 set_opt(&local_opt,"impl",determin_impl(lisp)); in star_set_opt() 152 set_opt(&local_opt,"argv0",argv_orig[0]); in star_set_opt() 153 set_opt(&local_opt,"wargv0",which(argv_orig[0])); in star_set_opt() 154 set_opt(&local_opt,"homedir",q(config)); in star_set_opt() 156 set_opt(&local_opt,"lispdir",q(lispdir())); in star_set_opt() 159 set_opt(&local_opt,"asdf",get_opt("asdf.version",0)); in star_set_opt() 160 set_opt(&local_opt,"uname",uname_s()); in star_set_opt() 161 set_opt(&local_opt,"uname-m",uname_m()); in star_set_opt() [all …]
|
H A D | register-commands.c | 24 set_opt(&local_opt,"program",current); in DEF_SUBCMD() 36 set_opt(&local_opt,cat("*",arg,NULL),current); in DEF_SUBCMD() 37 set_opt(&local_opt,arg,firsts(nthcdr(1,arg_))); in DEF_SUBCMD() 53 set_opt(&local_opt,#sym,current); \
|
/dports/math/R-cran-nloptr/nloptr/src/nlopt_src/api/ |
H A D | optimize.c | 567 nlopt_opt local_opt = opt->local_opt; in nlopt_optimize_() local 573 if (!local_opt) { /* default */ in nlopt_optimize_() 594 if (local_opt->ftol_rel <= 0 && local_opt->ftol_abs <= 0 && in nlopt_optimize_() 603 local_opt, (int) POP(0), in nlopt_optimize_() 607 if (!opt->local_opt) nlopt_destroy(local_opt); in nlopt_optimize_() 614 #define LO(param, def) (opt->local_opt ? opt->local_opt->param : (def)) in nlopt_optimize_() 707 nlopt_opt local_opt = opt->local_opt; in nlopt_optimize_() local 710 && !local_opt) in nlopt_optimize_() 713 local_opt = nlopt_create( in nlopt_optimize_() 731 local_opt, in nlopt_optimize_() [all …]
|
H A D | options.c | 53 nlopt_destroy(opt->local_opt); in nlopt_destroy() 89 opt->local_opt = NULL; in nlopt_create() 126 nopt->local_opt = NULL; in nlopt_copy() 194 if (opt->local_opt) { in nlopt_copy() 195 nopt->local_opt = nlopt_copy(opt->local_opt); in nlopt_copy() 196 if (!nopt->local_opt) goto oom; in nlopt_copy() 611 const nlopt_opt local_opt) in GET() 614 if (local_opt && local_opt->n != opt->n) return NLOPT_INVALID_ARGS; in GET() 615 nlopt_destroy(opt->local_opt); in GET() 616 opt->local_opt = nlopt_copy(local_opt); in GET() [all …]
|
/dports/math/nlopt/nlopt-2.7.1/src/api/ |
H A D | optimize.c | 601 nlopt_opt local_opt = opt->local_opt; in nlopt_optimize_() local 615 if (!local_opt) in nlopt_optimize_() 626 … if (local_opt->ftol_rel <= 0 && local_opt->ftol_abs <= 0 && local_opt->xtol_rel <= 0 && i < n) { in nlopt_optimize_() 635 if (!opt->local_opt) in nlopt_optimize_() 636 nlopt_destroy(local_opt); in nlopt_optimize_() 645 #define LO(param, def) (opt->local_opt ? opt->local_opt->param : (def)) in nlopt_optimize_() 743 nlopt_opt local_opt = opt->local_opt; in nlopt_optimize_() local 746 && !local_opt) in nlopt_optimize_() 750 if (!local_opt) in nlopt_optimize_() 765 if (!opt->local_opt) in nlopt_optimize_() [all …]
|
H A D | options.c | 61 nlopt_destroy(opt->local_opt); in nlopt_destroy() 105 opt->local_opt = NULL; in nlopt_create() 142 nopt->local_opt = NULL; in nlopt_copy() 240 if (opt->local_opt) { in nlopt_copy() 241 nopt->local_opt = nlopt_copy(opt->local_opt); in nlopt_copy() 242 if (!nopt->local_opt) in nlopt_copy() 822 if (local_opt && local_opt->n != opt->n) in GET() 824 nlopt_destroy(opt->local_opt); in GET() 825 opt->local_opt = nlopt_copy(local_opt); in GET() 826 if (local_opt) { in GET() [all …]
|
/dports/math/nlopt/nlopt-2.7.1/src/algs/cdirect/ |
H A D | hybrid.c | 53 nlopt_opt local_opt; /* local search algorithm */ member 91 ret = nlopt_set_lower_bounds(p->local_opt, lb); in optimize_rect() 93 ret = nlopt_set_upper_bounds(p->local_opt, ub); in optimize_rect() 96 ret = nlopt_set_maxeval(p->local_opt, in optimize_rect() 102 ret = nlopt_optimize(p->local_opt, x, &minf); in optimize_rect() 255 p.local_opt = 0; in cdirect_hybrid_unscaled() 269 p.local_opt = nlopt_create(local_alg, n); in cdirect_hybrid_unscaled() 270 if (!p.local_opt) { in cdirect_hybrid_unscaled() 275 ret = nlopt_set_stopval(p.local_opt, stop->minf_max); in cdirect_hybrid_unscaled() 277 ret = nlopt_set_ftol_rel(p.local_opt, stop->ftol_rel); in cdirect_hybrid_unscaled() [all …]
|
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/gz/ |
H A D | ReaderWriterGZ.cpp | 94 std::string fullFileName = local_opt->getPluginStringData("STREAM_FILENAME"); in readImage() 100 return readFile(IMAGE, rw, decstream, local_opt); in readImage() 104 std::string fullFileName = local_opt->getPluginStringData("STREAM_FILENAME"); in readHeightField() 110 return readFile(HEIGHTFIELD, rw, decstream, local_opt); in readHeightField() 114 std::string fullFileName = local_opt->getPluginStringData("STREAM_FILENAME"); in readNode() 120 return readFile(NODE, rw, decstream, local_opt); in readNode() 124 std::string fullFileName = local_opt->getPluginStringData("STREAM_FILENAME"); in readObject() 130 return readFile(OBJECT, rw, decstream, local_opt); in readObject() 139 return readFile(ARCHIVE, rw, decstream, local_opt); in readArchive() 235 local_opt->getDatabasePathList().push_front(osgDB::getFilePath(fileName)); in readFile() [all …]
|
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/lua/ |
H A D | ReaderWriterLua.cpp | 110 …osg::ref_ptr<Options> local_opt = options ? static_cast<Options*>(options->clone(osg::CopyOp::SHAL… in readObject() local 111 local_opt->getDatabasePathList().push_front(osgDB::getFilePath(fileName)); in readObject() 116 return readObject(istream, local_opt.get()); in readObject() 132 …osg::ref_ptr<Options> local_opt = options ? static_cast<Options*>(options->clone(osg::CopyOp::SHAL… in readImage() local 133 local_opt->getDatabasePathList().push_front(osgDB::getFilePath(fileName)); in readImage() 138 return readImage(istream, local_opt.get()); in readImage() 154 …osg::ref_ptr<Options> local_opt = options ? static_cast<Options*>(options->clone(osg::CopyOp::SHAL… in readNode() local 155 local_opt->getDatabasePathList().push_front(osgDB::getFilePath(fileName)); in readNode() 160 return readNode(istream, local_opt.get()); in readNode()
|
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/zip/ |
H A D | ZipArchive.cpp | 198 osg::ref_ptr<osgDB::ReaderWriter::Options> local_opt = options ? in readObject() local 204 osgDB::ReaderWriter::ReadResult readResult = rw->readObject(buffer,local_opt.get()); in readObject() 231 osg::ref_ptr<osgDB::ReaderWriter::Options> local_opt = options ? in readImage() local 237 osgDB::ReaderWriter::ReadResult readResult = rw->readImage(buffer,local_opt.get()); in readImage() 264 osg::ref_ptr<osgDB::ReaderWriter::Options> local_opt = options ? in readHeightField() local 270 osgDB::ReaderWriter::ReadResult readResult = rw->readObject(buffer,local_opt.get()); in readHeightField() 297 osg::ref_ptr<osgDB::ReaderWriter::Options> local_opt = options ? in readNode() local 303 osgDB::ReaderWriter::ReadResult readResult = rw->readNode(buffer,local_opt.get()); in readNode() 330 osg::ref_ptr<osgDB::ReaderWriter::Options> local_opt = options ? in readScript() local 336 osgDB::ReaderWriter::ReadResult readResult = rw->readScript(buffer,local_opt.get()); in readScript() [all …]
|
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osgPlugins/lua/ |
H A D | ReaderWriterLua.cpp | 110 …osg::ref_ptr<Options> local_opt = options ? static_cast<Options*>(options->clone(osg::CopyOp::SHAL… in readObject() local 111 local_opt->getDatabasePathList().push_front(osgDB::getFilePath(fileName)); in readObject() 116 return readObject(istream, local_opt.get()); in readObject() 132 …osg::ref_ptr<Options> local_opt = options ? static_cast<Options*>(options->clone(osg::CopyOp::SHAL… in readImage() local 133 local_opt->getDatabasePathList().push_front(osgDB::getFilePath(fileName)); in readImage() 138 return readImage(istream, local_opt.get()); in readImage() 154 …osg::ref_ptr<Options> local_opt = options ? static_cast<Options*>(options->clone(osg::CopyOp::SHAL… in readNode() local 155 local_opt->getDatabasePathList().push_front(osgDB::getFilePath(fileName)); in readNode() 160 return readNode(istream, local_opt.get()); in readNode()
|
/dports/biology/bwa/bwa-0.7.17/ |
H A D | bwtaln.c | 88 gap_opt_t local_opt = *opt; in bwa_cal_sa_reg_gap() local 93 if (opt->fnr > 0.0) local_opt.max_diff = bwa_cal_maxdiff(max_len, BWA_AVG_ERR, opt->fnr); in bwa_cal_sa_reg_gap() 94 if (local_opt.max_diff < local_opt.max_gapo) local_opt.max_gapo = local_opt.max_diff; in bwa_cal_sa_reg_gap() 95 stack = gap_init_stack(local_opt.max_diff, local_opt.max_gapo, local_opt.max_gape, &local_opt); in bwa_cal_sa_reg_gap() 111 if (opt->fnr > 0.0) local_opt.max_diff = bwa_cal_maxdiff(p->len, BWA_AVG_ERR, opt->fnr); in bwa_cal_sa_reg_gap() 112 local_opt.seed_len = opt->seed_len < p->len? opt->seed_len : 0x7fffffff; in bwa_cal_sa_reg_gap() 118 …p->aln = bwt_match_gap(bwt, p->len, p->seq, w, p->len <= opt->seed_len? 0 : seed_w, &local_opt, &p… in bwa_cal_sa_reg_gap()
|
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/python/Click/tests/ |
H A D | test_bashcomplete.py | 19 def cli(local_opt): argument 29 def cli(local_opt): argument 38 def cli(local_opt): argument 43 def sub(local_opt): argument 55 def cli(local_opt): argument 70 def sub(local_opt): argument 232 def cli(local_opt): argument 243 def cli(local_opt): argument 256 def cli(local_opt): argument 268 def cli(local_opt): argument
|
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osgPlugins/zip/ |
H A D | ZipArchive.cpp | 198 osg::ref_ptr<osgDB::ReaderWriter::Options> local_opt = options ? 202 local_opt->setPluginStringData("STREAM_FILENAME", osgDB::getSimpleFileName(ze->name)); in readImage() 204 osgDB::ReaderWriter::ReadResult readResult = rw->readObject(buffer,local_opt.get()); 231 osg::ref_ptr<osgDB::ReaderWriter::Options> local_opt = options ? 237 osgDB::ReaderWriter::ReadResult readResult = rw->readImage(buffer,local_opt.get()); 264 osg::ref_ptr<osgDB::ReaderWriter::Options> local_opt = options ? 270 osgDB::ReaderWriter::ReadResult readResult = rw->readObject(buffer,local_opt.get()); 297 osg::ref_ptr<osgDB::ReaderWriter::Options> local_opt = options ? 303 osgDB::ReaderWriter::ReadResult readResult = rw->readNode(buffer,local_opt.get()); 331 osg::ref_ptr<osgDB::ReaderWriter::Options> local_opt = options ? [all …]
|
/dports/devel/py-click7/click-7.1.2/tests/ |
H A D | test_bashcomplete.py | 20 def cli(local_opt): argument 30 def cli(local_opt): argument 39 def cli(local_opt): argument 44 def sub(local_opt): argument 56 def cli(local_opt): argument 71 def sub(local_opt): argument 268 def cli(local_opt): argument 279 def cli(local_opt): argument 292 def cli(local_opt): argument 304 def cli(local_opt): argument
|
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osgPlugins/lws/ |
H A D | ReaderWriterLWS.cpp | 46 …osg::ref_ptr<Options> local_opt = options ? static_cast<Options*>(options->clone(osg::CopyOp::SHAL… in readNode() local 47 local_opt->setDatabasePath(osgDB::getFilePath(fileName)); in readNode() 49 lwosg::SceneLoader::Options conv_options = parse_options(local_opt.get()); in readNode() 52 osg::ref_ptr<osg::Node> node = scene_loader.load(fileName, local_opt.get()); in readNode()
|
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/lws/ |
H A D | ReaderWriterLWS.cpp | 51 …osg::ref_ptr<Options> local_opt = options ? static_cast<Options*>(options->clone(osg::CopyOp::SHAL… in readNode() local 52 local_opt->setDatabasePath(osgDB::getFilePath(fileName)); in readNode() 54 lwosg::SceneLoader::Options conv_options = parse_options(local_opt.get()); in readNode() 57 osg::ref_ptr<osg::Node> node = scene_loader.load(fileName, local_opt.get()); in readNode()
|
/dports/math/openturns/openturns-1.18/lib/src/Base/Optim/ |
H A D | NLopt.cxx | 291 nlopt::opt local_opt(local_algo, dimension); in run() local 292 local_opt.set_xtol_abs(getMaximumAbsoluteError()); in run() 293 local_opt.set_xtol_rel(getMaximumRelativeError()); in run() 294 local_opt.set_ftol_rel(getMaximumResidualError()); in run() 295 local_opt.set_maxeval(getMaximumEvaluationNumber()); in run() 296 opt.set_local_optimizer(local_opt); in run() 302 nlopt::opt local_opt(local_algo, dimension); in run() local 303 local_opt.set_xtol_abs(p_localSolver_->getMaximumAbsoluteError()); in run() 304 local_opt.set_xtol_rel(p_localSolver_->getMaximumRelativeError()); in run() 313 local_opt.set_default_initial_step(local_dx); in run() [all …]
|
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/terrain/ |
H A D | ReaderWriterOsgTerrain.cpp | 50 …osg::ref_ptr<Options> local_opt = opt ? static_cast<Options*>(opt->clone(osg::CopyOp::SHALLOW_COPY… in readNode() local 51 local_opt->setDatabasePath(osgDB::getFilePath(fileName)); in readNode() 56 return readNode(fin, local_opt.get()); in readNode()
|
/dports/math/R-cran-nloptr/nloptr/src/nlopt_src/octave/ |
H A D | nlopt_optimize-oct.cc | 141 …(cond)) { fprintf(stderr, msg "\n\n"); nlopt_destroy(opt); nlopt_destroy(local_opt); return NULL; } 145 nlopt_opt opt = NULL, local_opt = NULL; in make_opt() local 199 CHECK1((local_opt = make_opt(local_opts, n)), in make_opt() 201 nlopt_set_local_optimizer(opt, local_opt); in make_opt() 202 nlopt_destroy(local_opt); local_opt = NULL; in make_opt()
|
/dports/math/nlopt/nlopt-2.7.1/src/octave/ |
H A D | nlopt_optimize-oct.cc | 167 …(cond)) { fprintf(stderr, msg "\n\n"); nlopt_destroy(opt); nlopt_destroy(local_opt); return NULL; } 171 nlopt_opt opt = NULL, local_opt = NULL; in make_opt() local 231 CHECK1((local_opt = make_opt(local_opts, n)), in make_opt() 233 nlopt_set_local_optimizer(opt, local_opt); in make_opt() 234 nlopt_destroy(local_opt); local_opt = NULL; in make_opt()
|