/dports/finance/myphpmoney/myphpmoney-1.3RC3/public_html/ |
H A D | chart.php | 107 for ($cpt = 0; $cpt < $nbcol; $cpt++) { variable 108 $num_format[$cpt] = $champs[$cpt][2]; 109 $format[$cpt] = $DEFINE_SYLK_FORMATS[ $num_format[$cpt] ] . $champs[$cpt][3]; 114 for ($cpt = 1; $cpt <= $nbcol; $cpt++) { variable 115 $excel_file .= "F;W".$cpt." ".$cpt." ".$champs[$cpt-1][4]."\n"; 117 $excel_file .= "F;W".$cpt." 256 8\n"; 122 for ($cpt = 1; $cpt <= $nbcol; $cpt++) { variable 123 $excel_file .= "F;SDM4;FG0C;".($cpt == 1 ? "Y1;" : "")."X".$cpt."\n"; 171 for ($cpt = 0; $cpt < $nbcol; $cpt++) { variable 175 $excel_file .= "F;P".$num_format[$cpt].";".$format[$cpt]; [all …]
|
/dports/misc/visp/visp-3.4.0/modules/core/test/tools/histogram/ |
H A D | testHistogram.cpp | 159 for (unsigned int cpt = 0; cpt < histogram.getSize(); cpt++) { in histogramSum() local 160 sum += histogram[cpt]; in histogramSum() 181 for (unsigned int cpt = 0; cpt < nbBins; cpt++) { in compareHistogram() local 182 if (histogram_single_threaded[cpt] != histogram_multi_threaded[cpt]) { in compareHistogram() 183 std::cerr << "histogram_single_threaded[" << cpt << "]=" << histogram_single_threaded[cpt] in compareHistogram() 301 for (unsigned int cpt = 0; cpt < 256; cpt++) { in main() local 302 if (histogram[cpt] != 0) { in main() 317 for (unsigned int cpt = 0; cpt < 256; cpt++) { in main() local 318 if (cpt == 100) { in main() 341 for (unsigned int cpt = 0; cpt < 256; cpt++) { in main() local [all …]
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/sword1/ |
H A D | logic.cpp | 844 if ((cpt->o_anim_resource == 0) || (cpt->o_resource == 0)) in fnAnim() 851 cpt->o_anim_y = cpt->o_ycoord; in fnAnim() 860 cpt->o_sync = 0; in fnAnim() 1017 cpt->o_tree.o_script_pc[cpt->o_tree.o_script_level] = script; in fnSubScript() 1018 cpt->o_tree.o_script_id[cpt->o_tree.o_script_level] = script; in fnSubScript() 1138 cpt->o_anim_x = cpt->o_xcoord; in fnISpeak() 1139 cpt->o_anim_y = cpt->o_ycoord; in fnISpeak() 1440 int route = _router->routeFinder(id, cpt, cpt->o_xcoord, cpt->o_ycoord, dir); in fnTurn() 1460 cpt->o_resource = cpt->o_walk_resource; in fnStand() 1462 cpt->o_anim_x = cpt->o_xcoord; in fnStand() [all …]
|
H A D | logic.h | 64 void runMouseScript(Object *cpt, int32 scriptId); 106 int fnSort(Object *cpt, int32 id, int32 c, int32 d, int32 e, int32 f, int32 z, int32 x); 108 int fnMegaSet(Object *cpt, int32 id, int32 c, int32 d, int32 e, int32 f, int32 z, int32 x); 109 int fnAnim(Object *cpt, int32 id, int32 c, int32 d, int32 e, int32 f, int32 z, int32 x); 114 int fnFadeUp(Object *cpt, int32 id, int32 c, int32 d, int32 e, int32 f, int32 z, int32 x); 123 int fnIdle(Object *cpt, int32 id, int32 c, int32 d, int32 e, int32 f, int32 z, int32 x); 124 int fnPause(Object *cpt, int32 id, int32 c, int32 d, int32 e, int32 f, int32 z, int32 x); 126 int fnQuit(Object *cpt, int32 id, int32 c, int32 d, int32 e, int32 f, int32 z, int32 x); 178 int fnWalk(Object *cpt, int32 id, int32 c, int32 d, int32 e, int32 f, int32 z, int32 x); 179 int fnTurn(Object *cpt, int32 id, int32 c, int32 d, int32 e, int32 f, int32 z, int32 x); [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/sword1/ |
H A D | logic.cpp | 846 if ((cpt->o_anim_resource == 0) || (cpt->o_resource == 0)) in fnAnim() 853 cpt->o_anim_y = cpt->o_ycoord; in fnAnim() 862 cpt->o_sync = 0; in fnAnim() 1019 cpt->o_tree.o_script_pc[cpt->o_tree.o_script_level] = script; in fnSubScript() 1020 cpt->o_tree.o_script_id[cpt->o_tree.o_script_level] = script; in fnSubScript() 1140 cpt->o_anim_x = cpt->o_xcoord; in fnISpeak() 1141 cpt->o_anim_y = cpt->o_ycoord; in fnISpeak() 1442 int route = _router->routeFinder(id, cpt, cpt->o_xcoord, cpt->o_ycoord, dir); in fnTurn() 1462 cpt->o_resource = cpt->o_walk_resource; in fnStand() 1464 cpt->o_anim_x = cpt->o_xcoord; in fnStand() [all …]
|
H A D | logic.h | 64 void runMouseScript(Object *cpt, int32 scriptId); 106 int fnSort(Object *cpt, int32 id, int32 c, int32 d, int32 e, int32 f, int32 z, int32 x); 108 int fnMegaSet(Object *cpt, int32 id, int32 c, int32 d, int32 e, int32 f, int32 z, int32 x); 109 int fnAnim(Object *cpt, int32 id, int32 c, int32 d, int32 e, int32 f, int32 z, int32 x); 114 int fnFadeUp(Object *cpt, int32 id, int32 c, int32 d, int32 e, int32 f, int32 z, int32 x); 123 int fnIdle(Object *cpt, int32 id, int32 c, int32 d, int32 e, int32 f, int32 z, int32 x); 124 int fnPause(Object *cpt, int32 id, int32 c, int32 d, int32 e, int32 f, int32 z, int32 x); 126 int fnQuit(Object *cpt, int32 id, int32 c, int32 d, int32 e, int32 f, int32 z, int32 x); 178 int fnWalk(Object *cpt, int32 id, int32 c, int32 d, int32 e, int32 f, int32 z, int32 x); 179 int fnTurn(Object *cpt, int32 id, int32 c, int32 d, int32 e, int32 f, int32 z, int32 x); [all …]
|
/dports/misc/visp/visp-3.4.0/modules/imgproc/src/ |
H A D | vpRetinex.cpp | 169 for (unsigned int cpt = 0; cpt < size; cpt++) { in MSRCR() local 173 doubleRGB[(size_t)channel].bitmap[cpt] = I.bitmap[cpt].R + 1.0; in MSRCR() 177 doubleRGB[(size_t)channel].bitmap[cpt] = I.bitmap[cpt].G + 1.0; in MSRCR() 181 doubleRGB[(size_t)channel].bitmap[cpt] = I.bitmap[cpt].B + 1.0; in MSRCR() 194 for (unsigned int cpt = 0; cpt < size; cpt++) { in MSRCR() local 207 for (unsigned int cpt = 0; cpt < size; cpt++) { in MSRCR() local 208 double logl = std::log((double)(I.bitmap[cpt].R + I.bitmap[cpt].G + I.bitmap[cpt].B + 3.0)); in MSRCR() 210 …dest[cpt * 3] = gain * (std::log(alpha * doubleRGB[0].bitmap[cpt]) - logl) * doubleResRGB[0].bitma… in MSRCR() 211 dest[cpt * 3 + 1] = in MSRCR() 213 dest[cpt * 3 + 2] = in MSRCR() [all …]
|
/dports/science/agrum/aGrUM-29e540d8169268e8fe5d5c69bc4b2b1290f12320/src/agrum/tools/multidim/ |
H A D | instantiation_inl.h | 237 Idx cpt = 0; in inc() local 252 ++cpt; in inc() 269 Idx cpt = 0; in dec() local 277 _vals_[cpt] = _vars_[cpt]->domainSize() - 1; in dec() 286 ++cpt; in dec() 414 _chgVal_(cpt, _vars_[cpt]->domainSize() - 1); in decIn() 475 ++cpt; in incOut() 509 ++cpt; in decOut() 514 _chgVal_(cpt, _vars_[cpt]->domainSize() - 1); in decOut() 562 ++cpt; in incNotVar() [all …]
|
/dports/graphics/cptutils/cptutils-1.74/src/cptclip/ |
H A D | cptclip.c | 22 cpt_t *cpt; in cptclip() local 31 if (cpt_nseg(cpt) > 0) in cptclip() 62 cpt_destroy(cpt); in cptclip() 82 if (cpt->segment == NULL) in cptclip_convert() 108 cpt_increasing(cpt) ? in cptclip_convert() 109 cptclip_z_inc(cpt,opt) : in cptclip_convert() 110 cptclip_z_dec(cpt,opt) in cptclip_convert() 157 cpt->model, in cptclip_z_id() 198 cpt->model, in cptclip_z_id() 209 cpt_append(seg,cpt); in cptclip_z_id() [all …]
|
/dports/lang/perl5.34/perl-5.34.0/dist/Safe/t/ |
H A D | safe2.t | 29 my $cpt; 31 $cpt = new Safe or die; 32 $cpt = new Safe or die; 34 $cpt = new Safe "Root"; 41 $cpt->reval(q{ 64 $cpt->reval(q{ 96 my $m1 = $cpt->mask; 97 $cpt->trap("negate"); 98 my $m2 = $cpt->mask; 108 $cpt->reval(" [all …]
|
H A D | safe1.t | 25 my $cpt; 27 $cpt = new Safe or die; 28 $cpt = new Safe or die; 29 $cpt = new Safe or die; 31 $cpt = new Safe "Root" or die; 36 $cpt->share(qw($foo)); 38 is(${$cpt->varglob('foo')}, 42); 40 ${$cpt->varglob('foo')} = 9; 44 is($cpt->reval('$foo'), 9); 52 $cpt->erase; [all …]
|
/dports/lang/perl5.30/perl-5.30.3/dist/Safe/t/ |
H A D | safe2.t | 29 my $cpt; 31 $cpt = new Safe or die; 32 $cpt = new Safe or die; 34 $cpt = new Safe "Root"; 41 $cpt->reval(q{ 64 $cpt->reval(q{ 96 my $m1 = $cpt->mask; 97 $cpt->trap("negate"); 98 my $m2 = $cpt->mask; 108 $cpt->reval(" [all …]
|
H A D | safe1.t | 25 my $cpt; 27 $cpt = new Safe or die; 28 $cpt = new Safe or die; 29 $cpt = new Safe or die; 31 $cpt = new Safe "Root" or die; 36 $cpt->share(qw($foo)); 38 is(${$cpt->varglob('foo')}, 42); 40 ${$cpt->varglob('foo')} = 9; 44 is($cpt->reval('$foo'), 9); 52 $cpt->erase; [all …]
|
/dports/lang/perl5.32/perl-5.32.1/dist/Safe/t/ |
H A D | safe2.t | 29 my $cpt; 31 $cpt = new Safe or die; 32 $cpt = new Safe or die; 34 $cpt = new Safe "Root"; 41 $cpt->reval(q{ 64 $cpt->reval(q{ 96 my $m1 = $cpt->mask; 97 $cpt->trap("negate"); 98 my $m2 = $cpt->mask; 108 $cpt->reval(" [all …]
|
H A D | safe1.t | 25 my $cpt; 27 $cpt = new Safe or die; 28 $cpt = new Safe or die; 29 $cpt = new Safe or die; 31 $cpt = new Safe "Root" or die; 36 $cpt->share(qw($foo)); 38 is(${$cpt->varglob('foo')}, 42); 40 ${$cpt->varglob('foo')} = 9; 44 is($cpt->reval('$foo'), 9); 52 $cpt->erase; [all …]
|
/dports/lang/perl5-devel/perl5-5.35.4-102-ge43d289c7c/dist/Safe/t/ |
H A D | safe2.t | 29 my $cpt; 31 $cpt = new Safe or die; 32 $cpt = new Safe or die; 34 $cpt = new Safe "Root"; 41 $cpt->reval(q{ 64 $cpt->reval(q{ 96 my $m1 = $cpt->mask; 97 $cpt->trap("negate"); 98 my $m2 = $cpt->mask; 108 $cpt->reval(" [all …]
|
H A D | safe1.t | 25 my $cpt; 27 $cpt = new Safe or die; 28 $cpt = new Safe or die; 29 $cpt = new Safe or die; 31 $cpt = new Safe "Root" or die; 36 $cpt->share(qw($foo)); 38 is(${$cpt->varglob('foo')}, 42); 40 ${$cpt->varglob('foo')} = 9; 44 is($cpt->reval('$foo'), 9); 52 $cpt->erase; [all …]
|
/dports/science/teem/teem-1.11.0-src/src/limn/ |
H A D | splineEval.c | 229 double *cpt; in _limnSplineFinish_Scalar() local 233 *out = ( wght[0]*cpt[idx[0]] + wght[1]*cpt[idx[1]] in _limnSplineFinish_Scalar() 234 + wght[2]*cpt[idx[2]] + wght[3]*cpt[idx[3]]); in _limnSplineFinish_Scalar() 242 double *cpt; in _limnSplineFinish_2Vec() local 246 out[0] = ( wght[0]*cpt[0 + 2*idx[0]] + wght[1]*cpt[0 + 2*idx[1]] in _limnSplineFinish_2Vec() 248 out[1] = ( wght[0]*cpt[1 + 2*idx[0]] + wght[1]*cpt[1 + 2*idx[1]] in _limnSplineFinish_2Vec() 257 double *cpt; in _limnSplineFinish_3Vec() local 286 double *cpt; in _limnSplineFinish_4Vec() local 308 double *cpt; in _limnSplineFinish_Quaternion() local 313 cpt + 4*idx[0], cpt + 4*idx[1], in _limnSplineFinish_Quaternion() [all …]
|
/dports/science/rdkit/rdkit-Release_2021_03_5/rdkit/Chem/Features/ |
H A D | FeatDirUtilsRD.py | 156 v1 -= cpt 158 v2 -= cpt 162 bv1 += cpt 164 bv2 += cpt 235 v1 -= cpt 237 v2 -= cpt 239 v3 -= cpt 352 v1 -= cpt 355 v1 += cpt 397 v1 -= cpt [all …]
|
/dports/science/afni/afni-AFNI_21.3.16/src/ |
H A D | thd_strfunc.c | 84 char **s_tok , *cpt , *sss , qch=NUL ; in breakup_string() local 91 cpt = sin ; in breakup_string() 97 while( isspace(*cpt) ) cpt++ ; in breakup_string() 98 if( *cpt == NUL ) break ; /* reached end */ in breakup_string() 102 if( *cpt == SQUOT || *cpt == DQUOT ){ in breakup_string() 103 quote = 1 ; qch = *cpt ; cpt++ ; /* qch = quote character */ in breakup_string() 104 if( *cpt == NUL ) break ; in breakup_string() 111 sss = cpt ; /* start of sub-string */ in breakup_string() 113 while( *cpt != NUL && *cpt != qch ) cpt++ ; /* scan to next quote */ in breakup_string() 115 while( *cpt != NUL && !isspace(*cpt) ) cpt++ ; /* to next non-blank */ in breakup_string() [all …]
|
/dports/science/agrum/aGrUM-29e540d8169268e8fe5d5c69bc4b2b1290f12320/wrappers/pyAgrum/testunits/tests/ |
H A D | CausalNonRegressionTestSuite.py | 14 m1.cpt("Gender")[:] = [0.5, 0.5] 15 m1.cpt("Drug")[:] = [[0.25, 0.75], # Gender=0 18 m1.cpt("Patient")[{'Drug': 0, 'Gender': 0}] = [ 49 m.cpt("z2")[:] = [0.5, 0.5] 50 m.cpt("x")[:] = [[0.4, 0.6], # z2=0 52 m.cpt("z3")[:] = [[0.3, 0.7], # z2=0 54 m.cpt("z1")[{"z2": 0, "x": 0}] = [0.2, 0.8] 56 m.cpt("z1")[{"z2": 1, "x": 0}] = [0.1, 0.9] 59 m.cpt("y")[{"z1": 0, "z3": 0}] = [0.5, 0.5] 61 m.cpt("y")[{"z1": 1, "z3": 0}] = [0.4, 0.6] [all …]
|
/dports/sysutils/cdrkit/cdrkit-1.1.11/libusal/ |
H A D | scsi-qnx.c | 234 CAM_PASS_THRU cpt; in usalo_send() local 243 memset(&cpt, 0, sizeof (cpt)); in usalo_send() 248 cpt.cam_timeout = sp->timeout; in usalo_send() 249 cpt.cam_cdb_len = sp->cdb_len; in usalo_send() 254 cpt.cam_sense_ptr = sizeof (cpt); /* XXX Offset from start of struct to data ??? */ in usalo_send() 262 cpt.cam_data_ptr = (paddr_t)sizeof (cpt) + cpt.cam_sense_len; in usalo_send() 264 cpt.cam_flags |= CAM_DIR_IN; in usalo_send() 266 cpt.cam_flags |= CAM_DIR_OUT; in usalo_send() 272 SETIOV(&iov[0], &cpt, sizeof (cpt)); in usalo_send() 284 sp->resid = cpt.cam_resid; in usalo_send() [all …]
|
/dports/sysutils/genisoimage/cdrkit-1.1.11/libusal/ |
H A D | scsi-qnx.c | 234 CAM_PASS_THRU cpt; in usalo_send() local 243 memset(&cpt, 0, sizeof (cpt)); in usalo_send() 248 cpt.cam_timeout = sp->timeout; in usalo_send() 249 cpt.cam_cdb_len = sp->cdb_len; in usalo_send() 254 cpt.cam_sense_ptr = sizeof (cpt); /* XXX Offset from start of struct to data ??? */ in usalo_send() 262 cpt.cam_data_ptr = (paddr_t)sizeof (cpt) + cpt.cam_sense_len; in usalo_send() 264 cpt.cam_flags |= CAM_DIR_IN; in usalo_send() 266 cpt.cam_flags |= CAM_DIR_OUT; in usalo_send() 272 SETIOV(&iov[0], &cpt, sizeof (cpt)); in usalo_send() 284 sp->resid = cpt.cam_resid; in usalo_send() [all …]
|
/dports/graphics/cptutils/cptutils-1.74/src/gplcpt/ |
H A D | gplcpt.c | 21 cpt_t *cpt; in gplcpt() local 38 err = gplcpt_st(opt, cpt, st); in gplcpt() 43 err = gplcpt_st(opt, cpt, stdin); in gplcpt() 45 cpt_destroy(cpt); in gplcpt() 77 cpt->model = model_rgb; in gplcpt_st() 78 cpt->fg.type = cpt->bg.type = cpt->nan.type = fill_colour; in gplcpt_st() 79 cpt->bg.u.colour.rgb = opt.bg; in gplcpt_st() 80 cpt->fg.u.colour.rgb = opt.fg; in gplcpt_st() 81 cpt->nan.u.colour.rgb = opt.nan; in gplcpt_st() 100 cpt->name = strdup(name); in gplcpt_st() [all …]
|
/dports/graphics/gmt/gmt-6.3.0/doc/scripts/ |
H A D | GMT_App_M_1a.sh | 74 gmt makecpt -H -C$left -T-1/1 > tt.left.cpt 75 gmt makecpt -H -C$left -T-1/1/0.25 > tt.left2.cpt 76 gmt makecpt -H -C$right -T-1/1 > tt.right.cpt 77 gmt makecpt -H -C$right -T-1/1/0.25 > tt.right2.cpt 86 …if [ $(grep -c RANGE ${GMT_SHAREDIR}/cpt/${left}.cpt) -eq 1 ]; then # Plot default range for left … 87 …grep RANGE ${GMT_SHAREDIR}/cpt/${left}.cpt | awk '{printf "2.9 %g %s\n", "'$y'", $4}' | gmt text -… 89 …if [ $(grep -c HARD_HINGE ${GMT_SHAREDIR}/cpt/${left}.cpt) -eq 1 ]; then # Plot hard hinge symbol … 91 …elif [ $(grep -c SOFT_HINGE ${GMT_SHAREDIR}/cpt/${left}.cpt) -eq 1 ]; then # Plot soft hinge symbo… 94 …if [ $(grep -c RANGE ${GMT_SHAREDIR}/cpt/${right}.cpt) -eq 1 ]; then # Plot default range for left… 97 …if [ $(grep -c HARD_HINGE ${GMT_SHAREDIR}/cpt/${right}.cpt) -eq 1 ]; then # Plot hard hinge symbol… [all …]
|