/dports/graphics/cptutils/cptutils-1.74/src/xycpt/ |
H A D | accept.sh | 9 cpt="$base.cpt" 11 assert_raises "./xycpt -o $cpt $fixtures/$dat" 0 12 assert "equal-cpt $cpt accept/$cpt" true 13 rm -f "$cpt" 16 cpt="$base.cpt" 18 assert_raises "./xycpt -u -o $cpt $fixtures/$dat" 0 19 assert "equal-cpt $cpt accept/$cpt" true 20 rm -f "$cpt"
|
/dports/security/vault/vault-1.8.2/vendor/go.mongodb.org/mongo-driver/mongo/integration/ |
H A D | client_side_encryption_prose_test.go | 105 defer cpt.teardown(mt) 236 defer cpt.teardown(mt) 283 cpt.cseStarted = cpt.cseStarted[:0] 306 cpt.cseStarted = cpt.cseStarted[:0] 334 defer cpt.teardown(mt) 801 return cpt.cseClient 805 return cpt.cseColl 825 var cpt cseProseTest 842 cpt.cseStarted = append(cpt.cseStarted, evt) 849 cpt.cseColl = cpt.cseClient.Database("db").Collection("coll") [all …]
|
/dports/net-mgmt/semaphore/semaphore-2.6.8/vendor/go.mongodb.org/mongo-driver/mongo/integration/ |
H A D | client_side_encryption_prose_test.go | 104 defer cpt.teardown(mt) 198 defer cpt.teardown(mt) 235 defer cpt.teardown(mt) 282 cpt.cseStarted = cpt.cseStarted[:0] 305 cpt.cseStarted = cpt.cseStarted[:0] 333 defer cpt.teardown(mt) 557 defer cpt.teardown(mt) 648 var cpt cseProseTest 663 cpt.cseStarted = append(cpt.cseStarted, evt) 670 cpt.cseColl = cpt.cseClient.Database("db").Collection("coll") [all …]
|
/dports/graphics/opensubdiv/OpenSubdiv-3_4_4/opensubdiv/osd/ |
H A D | hlslPatchCommon.hlsl | 480 cpt[0] = cpt[4] + (cpt[4] - cpt[8]); 482 cpt[0] = cpt[4] + (cpt[3] - cpt[7]); 484 cpt[1] = cpt[4] + cpt[5] - cpt[8]; 497 cpt[9] = cpt[5] + cpt[8] - cpt[4]; 510 cpt[7] = cpt[8] + cpt[4] - cpt[5]; 519 cpt[3] = cpt[4] + cpt[7] - cpt[8]; 520 cpt[0] = cpt[4] + cpt[1] - cpt[5]; 523 cpt[2] = cpt[5] + cpt[1] - cpt[4]; 524 cpt[6] = cpt[5] + cpt[9] - cpt[8]; 527 cpt[11] = cpt[8] + cpt[9] - cpt[5]; [all …]
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/sky/ |
H A D | grid.cpp | 163 uint16 width = SkyCompact::getMegaSet(cpt)->gridWidth; in getGridValues() 164 return getGridValues(cpt->xcood, cpt->ycood, width, cpt, resGrid, resBitNum, resWidth); in getGridValues() 195 assert((_gridConvertTable[cpt->screen] >= 0) && (_gridConvertTable[cpt->screen] < TOT_NO_GRIDS)); in getGridValues() 196 *resGrid = (uint8)_gridConvertTable[cpt->screen]; in getGridValues() 206 void Grid::removeObjectFromWalk(Compact *cpt) { in removeObjectFromWalk() argument 209 if (getGridValues(cpt, &gridIdx, &bitNum, &width)) in removeObjectFromWalk() 223 void Grid::objectToWalk(Compact *cpt) { in objectToWalk() argument 226 if (getGridValues(cpt, &gridIdx, &bitNum, &width)) in objectToWalk() 240 void Grid::plotGrid(uint32 x, uint32 y, uint32 width, Compact *cpt) { in plotGrid() argument 247 void Grid::removeGrid(uint32 x, uint32 y, uint32 width, Compact *cpt) { in removeGrid() argument [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/sky/ |
H A D | grid.cpp | 163 uint16 width = SkyCompact::getMegaSet(cpt)->gridWidth; in getGridValues() 164 return getGridValues(cpt->xcood, cpt->ycood, width, cpt, resGrid, resBitNum, resWidth); in getGridValues() 195 assert((_gridConvertTable[cpt->screen] >= 0) && (_gridConvertTable[cpt->screen] < TOT_NO_GRIDS)); in getGridValues() 196 *resGrid = (uint8)_gridConvertTable[cpt->screen]; in getGridValues() 206 void Grid::removeObjectFromWalk(Compact *cpt) { in removeObjectFromWalk() argument 209 if (getGridValues(cpt, &gridIdx, &bitNum, &width)) in removeObjectFromWalk() 223 void Grid::objectToWalk(Compact *cpt) { in objectToWalk() argument 226 if (getGridValues(cpt, &gridIdx, &bitNum, &width)) in objectToWalk() 240 void Grid::plotGrid(uint32 x, uint32 y, uint32 width, Compact *cpt) { in plotGrid() argument 247 void Grid::removeGrid(uint32 x, uint32 y, uint32 width, Compact *cpt) { in removeGrid() argument [all …]
|
/dports/sysutils/xorriso/libisoburn-1.5.0/xorriso/ |
H A D | sfile.c | 52 char *cpt; in Sfile_count_char() local 54 for(cpt= text; *cpt != 0; cpt++) in Sfile_count_char() 68 char *cpt; in Sfile_count_components() local 74 for(cpt= path+l-1;cpt>=path;cpt--) { in Sfile_count_components() 75 if(*cpt=='/') { in Sfile_count_components() 379 for(cpt= result; *cpt==' '; cpt++); in Sfile_scale() 664 cpt= line-1; in Sfile_sep_make_argv() 683 cpt--; in Sfile_sep_make_argv() 687 cpt+= strlen(cpt) - 1; in Sfile_sep_make_argv() 708 while(*(++cpt)!=0) if(*cpt=='"') break; in Sfile_sep_make_argv() [all …]
|
/dports/misc/visp/visp-3.4.0/modules/tracker/mbt/test/ |
H A D | testGenericTrackerDeterminist.cpp | 56 bool read_data(int cpt, vpImage<unsigned char>& I) in read_data() argument 62 sprintf(buffer, ipath.c_str(), cpt); in read_data() 113 for (int cpt = 0; read_data(cpt, I); cpt++) { variable 130 for (int cpt = 0; read_data(cpt, I); cpt++) { variable 156 for (int cpt = 0; read_data(cpt, I); cpt++) { in __anon5a5a946d0202() local 171 for (int cpt = 0; read_data(cpt, I); cpt++) { in __anon5a5a946d0302() local 197 for (int cpt = 0; read_data(cpt, I); cpt++) { in __anon5a5a946d0402() local 213 for (int cpt = 0; read_data(cpt, I); cpt++) { in __anon5a5a946d0502() local
|
/dports/science/afni/afni-AFNI_21.3.16/src/ |
H A D | 3dLocalstat.c | 405 char *cpt, padname[128]={""}; in main() local 410 cpt = argv[iarg] ; if( *cpt == '-' ) cpt++ ; in main() 411 snprintf(padname,126,"%s;", cpt); in main() 412 if ( strncmp(cpt,"perc:",5) && strncmp(cpt,"hist:",5) && in main() 421 char *cpt ; in main() local 425 cpt = argv[iarg] ; in main() 427 sscanf( cpt+7 , "%f" , &na ) ; in main() 436 sscanf( cpt+5 , "%f" , &na ) ; in main() 440 sscanf( cpt+5 , "%f" , &na ) ; in main() 640 char *cpt ; in main() local [all …]
|
/dports/graphics/cptutils/cptutils-1.74/src/avlcpt/ |
H A D | avlcpt.c | 39 cpt->model = model_rgb; in avlcpt_cpt() 40 cpt->fg.type = cpt->bg.type = cpt->nan.type = fill_colour; in avlcpt_cpt() 41 cpt->bg.u.colour.rgb = opt.bg; in avlcpt_cpt() 42 cpt->fg.u.colour.rgb = opt.fg; in avlcpt_cpt() 43 cpt->nan.u.colour.rgb = opt.nan; in avlcpt_cpt() 62 int n = cpt_nseg(cpt); in avlcpt_cpt() 78 cpt_t *cpt; in avlcpt() local 80 if ((cpt = cpt_new()) == NULL) in avlcpt() 86 int err = avlcpt_cpt(opt, cpt); in avlcpt() 88 cpt_destroy(cpt); in avlcpt() [all …]
|
/dports/graphics/cptutils/cptutils-1.74/src/common/ |
H A D | cptwrite.c | 40 err = cpt_write_stream(stream, cpt); in cpt_write() 50 err = cpt_write_stream(stdout, cpt); in cpt_write() 59 if (common_format(cpt, zfmt) != 0) in cpt_write_stream() 67 switch (cpt->model) in cpt_write_stream() 79 if ((cpt->name) && (strlen(cpt->name) > 0)) in cpt_write_stream() 80 fprintf(stream, " \"%s\"", cpt->name); in cpt_write_stream() 85 cpt_seg_t *seg = cpt->segment; in cpt_write_stream() 101 fprintf_cpt_aux(stream, 'B', cpt->bg, cpt->model); in cpt_write_stream() 102 fprintf_cpt_aux(stream, 'F', cpt->fg, cpt->model); in cpt_write_stream() 103 fprintf_cpt_aux(stream, 'N', cpt->nan, cpt->model); in cpt_write_stream() [all …]
|
/dports/graphics/gmt/gmt-6.3.0/test/psscale/ |
H A D | transp_scale.sh | 5 gmt makecpt -Cturbo -T-4000/-1000/500 -D > t.cpt 6 gmt psscale -Ct.cpt -R0/10/0/10 -JX15c -Y26c -Baf -Bx+l"Discrete CPT No Slices Transparent" -P -K >… 8 gmt makecpt -A50 -Cturbo -T-4000/-1000/500 -D > t.cpt 9 gmt psscale -Ct.cpt -R -J -Y-5c -Baf -O -K -Bx+l"Discrete CPT All Slices Transparent" >> $ps 11 gmt makecpt -Cturbo -T-4000/-1000 -D > t.cpt 12 gmt psscale -Ct.cpt -R -J -Y-5c -O -K -Baf -Bx+l"Continuous CPT No Slices Transparent" >> $ps 14 gmt makecpt -A50 -Cturbo -T-4000/-1000 -D > t.cpt 15 gmt psscale -Ct.cpt -R -J -Y-5c -O -K -Baf -Bx+l"Continuous CPT All Slices Transparent" >> $ps 17 …NF == 5 && NR%2) {printf "%s\t%s@50\t%s\t%s@50\t%s\n", $1, $2, $3, $4, $5} else {print $0}}'> t.cpt 18 gmt psscale -Ct.cpt -R -J -Y-5c -O -Baf -Bx+l"Discrete CPT Odd Slices Transparent" >> $ps
|
/dports/graphics/cptutils/cptutils-1.74/src/cptcont/ |
H A D | cptcont.c | 22 cpt_t *cpt; in cptcont() local 25 if ((cpt = cpt_new()) != NULL) in cptcont() 27 if (cpt_read(infile, cpt) == 0) in cptcont() 29 if (cptcont_convert(cpt, opt) == 0) in cptcont() 31 if (cpt_write(outfile, cpt) == 0) in cptcont() 54 cpt_destroy(cpt); in cptcont() 75 if (cpt->segment == NULL) in cptcont_convert() 88 if (midpoint_split(cpt->segment,cpt->model) != 0) in cptcont_convert() 101 for (s1 = cpt->segment, s2 = s1->rseg ; in cptcont_convert() 119 cpt->model, in cptcont_convert() [all …]
|
/dports/graphics/gmt/gmt-6.3.0/doc/scripts/ |
H A D | GMT_App_M_1c.sh | 58 gmt makecpt -H -C$left > tt.left.cpt 59 gmt makecpt -H -C$left -T-1/1/0.25 > tt.left2.cpt 60 gmt makecpt -H -C$right > tt.right.cpt 61 gmt makecpt -H -C$right -T-1/1/0.25 > tt.right2.cpt 62 gmt colorbar -Dx1.55i/${y}i+w2.70i/0.125i+h+jTC -Ctt.left.cpt -B0 63 gmt colorbar -Dx4.50i/${y}i+w2.70i/0.125i+h+jTC -Ctt.right.cpt -B0 64 gmt colorbar -Dx1.55i/${y2}i+w2.70i/0.125i+h+jTC -Ctt.left2.cpt -Bf0.25 70 …if [ $(grep -c HARD_HINGE ${GMT_SHAREDIR}/cpt/${left}.cpt) -eq 1 ]; then # Plot hard hinge symbol … 72 …elif [ $(grep -c SOFT_HINGE ${GMT_SHAREDIR}/cpt/${left}.cpt) -eq 1 ]; then # Plot soft hinge symbo… 75 …if [ $(grep -c HARD_HINGE ${GMT_SHAREDIR}/cpt/${right}.cpt) -eq 1 ]; then # Plot hard hinge symbol… [all …]
|
H A D | GMT_App_M_1b.sh | 71 gmt makecpt -H -C$left -T-1/1 > tt.left.cpt 72 gmt makecpt -H -C$left -T-1/1/0.25 > tt.left2.cpt 73 gmt makecpt -H -C$right -T-1/1 > tt.right.cpt 74 gmt makecpt -H -C$right -T-1/1/0.25 > tt.right2.cpt 75 gmt colorbar -Dx1.55i/${y}i+w2.70i/0.125i+h+jTC+e -Ctt.left.cpt -B0 76 gmt colorbar -Dx4.50i/${y}i+w2.70i/0.125i+h+jTC+e -Ctt.right.cpt -B0 77 gmt colorbar -Dx1.55i/${y2}i+w2.70i/0.125i+h+jTC+e -Ctt.left2.cpt -Bf0.25 83 …if [ $(grep -c HARD_HINGE ${GMT_SHAREDIR}/cpt/${left}.cpt) -eq 1 ]; then # Plot hard hinge symbol … 85 …elif [ $(grep -c SOFT_HINGE ${GMT_SHAREDIR}/cpt/${left}.cpt) -eq 1 ]; then # Plot soft hinge symbo… 88 …if [ $(grep -c HARD_HINGE ${GMT_SHAREDIR}/cpt/${right}.cpt) -eq 1 ]; then # Plot hard hinge symbol… [all …]
|
/dports/cad/py-lcapy/lcapy-23c940f/lcapy/ |
H A D | netlist.py | 51 def append(self, cpt): argument 53 if cpt.type in ('P', ): 56 self.list.append(cpt) 121 return '\n'.join([str(cpt) for cpt in self._elements.values()]) 129 def _cpt_add(self, cpt): argument 132 cpt.opts = opts 146 self._elements[cpt.name] = cpt 148 for node in cpt.nodes: 554 if cpt.type == 'R' and cpt.name not in args: 697 return dict((key, cpt) for key, cpt in self.elements.items() if cpt.hasic is False) [all …]
|
/dports/graphics/gmt/gmt-6.3.0/doc/examples/ex38/ |
H A D | ex38.sh | 11 gmt makecpt -Crainbow -T0/1700 -H > t.cpt 12 gmt makecpt -Crainbow -T0/15/1 -H > c.cpt 13 gmt makecpt -Crainbow -T-3/3 -H > n.cpt 14 gmt makecpt -Crainbow -T0/15 -H > q.cpt 19 gmt grdimage topo_38.nc -I+d -Ct.cpt 23 gmt grdimage out.nc -Cc.cpt 27 gmt grdimage out.nc -Cn.cpt 31 gmt grdimage out.nc -Cq.cpt 34 gmt colorbar -DJTC+w12c/0.4c+jTC+o0c/6c+h+e+n -Ct.cpt -Bxa500 -By+lm 35 gmt colorbar -DJBC+w12c/0.4c+h+e+n -Cn.cpt -Bx1 -By+l"z@-n@-" [all …]
|
/dports/databases/qt5-sqldrivers-sqlite2/kde-qtbase-5.15.2p263/src/gui/painting/ |
H A D | qpolygonclipper_p.h | 180 if (cpt.x >= x1) { 182 clipped->add(cpt); 185 clipped->add(cpt); 213 if (cpt.x <= x2) { 215 clipped->add(cpt); 218 clipped->add(cpt); 248 if (cpt.y >= y1) { 250 clipped->add(cpt); 253 clipped->add(cpt); 282 if (cpt.y <= y2) { [all …]
|
/dports/databases/qt5-sqldrivers-tds/kde-qtbase-5.15.2p263/src/gui/painting/ |
H A D | qpolygonclipper_p.h | 180 if (cpt.x >= x1) { 182 clipped->add(cpt); 185 clipped->add(cpt); 213 if (cpt.x <= x2) { 215 clipped->add(cpt); 218 clipped->add(cpt); 248 if (cpt.y >= y1) { 250 clipped->add(cpt); 253 clipped->add(cpt); 282 if (cpt.y <= y2) { [all …]
|
/dports/databases/qt5-sqldrivers-sqlite3/kde-qtbase-5.15.2p263/src/gui/painting/ |
H A D | qpolygonclipper_p.h | 180 if (cpt.x >= x1) { 182 clipped->add(cpt); 185 clipped->add(cpt); 213 if (cpt.x <= x2) { 215 clipped->add(cpt); 218 clipped->add(cpt); 248 if (cpt.y >= y1) { 250 clipped->add(cpt); 253 clipped->add(cpt); 282 if (cpt.y <= y2) { [all …]
|
/dports/devel/qt5-testlib/kde-qtbase-5.15.2p263/src/gui/painting/ |
H A D | qpolygonclipper_p.h | 180 if (cpt.x >= x1) { 182 clipped->add(cpt); 185 clipped->add(cpt); 213 if (cpt.x <= x2) { 215 clipped->add(cpt); 218 clipped->add(cpt); 248 if (cpt.y >= y1) { 250 clipped->add(cpt); 253 clipped->add(cpt); 282 if (cpt.y <= y2) { [all …]
|
/dports/converters/wkhtmltopdf/qt-5db36ec/src/gui/painting/ |
H A D | qpolygonclipper_p.h | 181 if (cpt.x >= x1) { 183 clipped->add(cpt); 186 clipped->add(cpt); 214 if (cpt.x <= x2) { 216 clipped->add(cpt); 219 clipped->add(cpt); 249 if (cpt.y >= y1) { 251 clipped->add(cpt); 254 clipped->add(cpt); 283 if (cpt.y <= y2) { [all …]
|
/dports/databases/qt5-sqldrivers-odbc/kde-qtbase-5.15.2p263/src/gui/painting/ |
H A D | qpolygonclipper_p.h | 180 if (cpt.x >= x1) { 182 clipped->add(cpt); 185 clipped->add(cpt); 213 if (cpt.x <= x2) { 215 clipped->add(cpt); 218 clipped->add(cpt); 248 if (cpt.y >= y1) { 250 clipped->add(cpt); 253 clipped->add(cpt); 282 if (cpt.y <= y2) { [all …]
|
/dports/databases/qt5-sqldrivers-mysql/kde-qtbase-5.15.2p263/src/gui/painting/ |
H A D | qpolygonclipper_p.h | 180 if (cpt.x >= x1) { 182 clipped->add(cpt); 185 clipped->add(cpt); 213 if (cpt.x <= x2) { 215 clipped->add(cpt); 218 clipped->add(cpt); 248 if (cpt.y >= y1) { 250 clipped->add(cpt); 253 clipped->add(cpt); 282 if (cpt.y <= y2) { [all …]
|
/dports/databases/qt5-sql/kde-qtbase-5.15.2p263/src/gui/painting/ |
H A D | qpolygonclipper_p.h | 180 if (cpt.x >= x1) { 182 clipped->add(cpt); 185 clipped->add(cpt); 213 if (cpt.x <= x2) { 215 clipped->add(cpt); 218 clipped->add(cpt); 248 if (cpt.y >= y1) { 250 clipped->add(cpt); 253 clipped->add(cpt); 282 if (cpt.y <= y2) { [all …]
|