Changeset 3682
- Timestamp:
- Apr 7, 2005, 10:27:42 AM (21 years ago)
- Location:
- trunk/psLib
- Files:
-
- 1 added
- 175 edited
-
Makefile.am (modified) (3 diffs)
-
configure.ac (modified) (1 diff)
-
etc/pslib/Makefile.am (modified) (1 diff)
-
pslib.kdevelop.pcs (modified) ( previous)
-
pslib.kdevses (modified) (1 diff)
-
src/Makefile.am (modified) (1 diff)
-
src/astro/psCoord.c (modified) (6 diffs)
-
src/astronomy/psAstrometry.c (modified) (8 diffs)
-
src/astronomy/psCoord.c (modified) (6 diffs)
-
src/astronomy/psMetadata.c (modified) (4 diffs)
-
src/collections/psArray.c (modified) (2 diffs)
-
src/collections/psBitSet.c (modified) (2 diffs)
-
src/collections/psHash.c (modified) (3 diffs)
-
src/collections/psList.c (modified) (4 diffs)
-
src/collections/psMetadata.c (modified) (4 diffs)
-
src/collections/psVector.c (modified) (2 diffs)
-
src/dataIO/psFits.c (modified) (2 diffs)
-
src/dataIO/psLookupTable.c (modified) (2 diffs)
-
src/dataManip/psFunctions.c (modified) (11 diffs)
-
src/dataManip/psStats.c (modified) (3 diffs)
-
src/fileUtils/psFits.c (modified) (2 diffs)
-
src/fileUtils/psLookupTable.c (modified) (2 diffs)
-
src/fits/psFits.c (modified) (2 diffs)
-
src/image/psImage.c (modified) (2 diffs)
-
src/image/psImageConvolve.c (modified) (2 diffs)
-
src/image/psImageExtraction.c (modified) (2 diffs)
-
src/imageops/psImageConvolve.c (modified) (2 diffs)
-
src/math/psPolynomial.c (modified) (11 diffs)
-
src/math/psSpline.c (modified) (11 diffs)
-
src/math/psStats.c (modified) (3 diffs)
-
src/mathtypes/psImage.c (modified) (2 diffs)
-
src/mathtypes/psVector.c (modified) (2 diffs)
-
src/pslib.h (modified) (3 diffs)
-
src/pslib_strict.h (added)
-
src/sys/psError.c (modified) (2 diffs)
-
src/sys/psErrorCodes.c (modified) (2 diffs)
-
src/sys/psMemory.c (modified) (3 diffs)
-
src/sys/psMemory.h (modified) (3 diffs)
-
src/sys/psTrace.c (modified) (2 diffs)
-
src/sysUtils/psError.c (modified) (2 diffs)
-
src/sysUtils/psErrorCodes.c (modified) (2 diffs)
-
src/sysUtils/psMemory.c (modified) (3 diffs)
-
src/sysUtils/psMemory.h (modified) (3 diffs)
-
src/sysUtils/psTrace.c (modified) (2 diffs)
-
src/types/psArray.c (modified) (2 diffs)
-
src/types/psBitSet.c (modified) (2 diffs)
-
src/types/psHash.c (modified) (3 diffs)
-
src/types/psList.c (modified) (4 diffs)
-
src/types/psLookupTable.c (modified) (2 diffs)
-
src/types/psMetadata.c (modified) (4 diffs)
-
swig/Makefile.am (modified) (1 diff)
-
test/astronomy/builddir/tst_psMetadata_01.d (modified) (1 diff)
-
test/astronomy/builddir/tst_psMetadata_02.d (modified) (1 diff)
-
test/astronomy/builddir/tst_psMetadata_03.d (modified) (1 diff)
-
test/astronomy/builddir/tst_psMetadata_04.d (modified) (1 diff)
-
test/astronomy/builddir/tst_psMetadata_05.d (modified) (1 diff)
-
test/astronomy/builddir/tst_psMetadata_06.d (modified) (1 diff)
-
test/astronomy/builddir/tst_psTime_01.d (modified) (1 diff)
-
test/astronomy/builddir/tst_psTime_02.d (modified) (1 diff)
-
test/astronomy/tst_psAstrometry.c (modified) (3 diffs)
-
test/astronomy/tst_psAstrometry01.c (modified) (2 diffs)
-
test/astronomy/tst_psCoord.c (modified) (2 diffs)
-
test/astronomy/tst_psCoord01.c (modified) (1 diff)
-
test/astronomy/tst_psDB.c (modified) (2 diffs)
-
test/astronomy/tst_psMetadataIO.c (modified) (2 diffs)
-
test/astronomy/tst_psMetadata_01.c (modified) (2 diffs)
-
test/astronomy/tst_psMetadata_02.c (modified) (2 diffs)
-
test/astronomy/tst_psMetadata_03.c (modified) (2 diffs)
-
test/astronomy/tst_psMetadata_04.c (modified) (2 diffs)
-
test/astronomy/tst_psMetadata_05.c (modified) (2 diffs)
-
test/astronomy/tst_psMetadata_06.c (modified) (2 diffs)
-
test/astronomy/tst_psMetadata_07.c (modified) (2 diffs)
-
test/astronomy/tst_psTime_01.c (modified) (2 diffs)
-
test/astronomy/tst_psTime_02.c (modified) (2 diffs)
-
test/astronomy/tst_psTime_03.c (modified) (2 diffs)
-
test/astronomy/tst_psTime_04.c (modified) (2 diffs)
-
test/astronomy/verified/tst_psAstrometry.stderr (modified) (1 diff)
-
test/collections/tst_psArray.c (modified) (2 diffs)
-
test/collections/tst_psBitSet.c (modified) (2 diffs)
-
test/collections/tst_psHash00.c (modified) (1 diff)
-
test/collections/tst_psHash01.c (modified) (1 diff)
-
test/collections/tst_psHash02.c (modified) (1 diff)
-
test/collections/tst_psHash03.c (modified) (1 diff)
-
test/collections/tst_psHash04.c (modified) (1 diff)
-
test/collections/tst_psHash05.c (modified) (2 diffs)
-
test/collections/tst_psList.c (modified) (2 diffs)
-
test/collections/tst_psMetadataIO.c (modified) (2 diffs)
-
test/collections/tst_psMetadata_01.c (modified) (2 diffs)
-
test/collections/tst_psMetadata_02.c (modified) (2 diffs)
-
test/collections/tst_psMetadata_03.c (modified) (2 diffs)
-
test/collections/tst_psMetadata_04.c (modified) (2 diffs)
-
test/collections/tst_psMetadata_05.c (modified) (2 diffs)
-
test/collections/tst_psMetadata_06.c (modified) (2 diffs)
-
test/collections/tst_psMetadata_07.c (modified) (2 diffs)
-
test/collections/tst_psScalar.c (modified) (2 diffs)
-
test/collections/tst_psVector.c (modified) (2 diffs)
-
test/collections/tst_psVectorSort_01.c (modified) (2 diffs)
-
test/collections/tst_psVectorSort_02.c (modified) (2 diffs)
-
test/collections/tst_psVectorSort_03.c (modified) (2 diffs)
-
test/collections/tst_psVectorSort_04.c (modified) (2 diffs)
-
test/dataIO/tst_psDB.c (modified) (2 diffs)
-
test/dataIO/tst_psFits.c (modified) (2 diffs)
-
test/dataIO/tst_psLookupTable_01.c (modified) (2 diffs)
-
test/dataManip/tst_psFunc00.c (modified) (2 diffs)
-
test/dataManip/tst_psFunc01.c (modified) (1 diff)
-
test/dataManip/tst_psFunc02.c (modified) (1 diff)
-
test/dataManip/tst_psFunc03.c (modified) (1 diff)
-
test/dataManip/tst_psFunc04.c (modified) (1 diff)
-
test/dataManip/tst_psFunc05.c (modified) (1 diff)
-
test/dataManip/tst_psFunc07.c (modified) (1 diff)
-
test/dataManip/tst_psFunc08.c (modified) (2 diffs)
-
test/dataManip/tst_psFunc09.c (modified) (2 diffs)
-
test/dataManip/tst_psFunc10.c (modified) (2 diffs)
-
test/dataManip/tst_psFunc11.c (modified) (2 diffs)
-
test/dataManip/tst_psHist00.c (modified) (1 diff)
-
test/dataManip/tst_psHist01.c (modified) (1 diff)
-
test/dataManip/tst_psHist02.c (modified) (1 diff)
-
test/dataManip/tst_psHist03.c (modified) (1 diff)
-
test/dataManip/tst_psMatrix01.c (modified) (2 diffs)
-
test/dataManip/tst_psMatrix02.c (modified) (2 diffs)
-
test/dataManip/tst_psMatrix03.c (modified) (2 diffs)
-
test/dataManip/tst_psMatrix04.c (modified) (2 diffs)
-
test/dataManip/tst_psMatrix05.c (modified) (2 diffs)
-
test/dataManip/tst_psMatrix06.c (modified) (2 diffs)
-
test/dataManip/tst_psMatrix07.c (modified) (2 diffs)
-
test/dataManip/tst_psMatrixVectorArithmetic01.c (modified) (2 diffs)
-
test/dataManip/tst_psMatrixVectorArithmetic02.c (modified) (2 diffs)
-
test/dataManip/tst_psMatrixVectorArithmetic03.c (modified) (2 diffs)
-
test/dataManip/tst_psMatrixVectorArithmetic04.c (modified) (2 diffs)
-
test/dataManip/tst_psMinimize00.c (modified) (1 diff)
-
test/dataManip/tst_psMinimize01.c (modified) (1 diff)
-
test/dataManip/tst_psMinimize02.c (modified) (1 diff)
-
test/dataManip/tst_psMinimize03.c (modified) (1 diff)
-
test/dataManip/tst_psMinimize04.c (modified) (1 diff)
-
test/dataManip/tst_psMinimize04_F32.c (modified) (1 diff)
-
test/dataManip/tst_psMinimize04b.c (modified) (1 diff)
-
test/dataManip/tst_psMinimize04b_F32.c (modified) (1 diff)
-
test/dataManip/tst_psMinimize05.c (modified) (1 diff)
-
test/dataManip/tst_psMinimize06.c (modified) (1 diff)
-
test/dataManip/tst_psMinimize07.c (modified) (1 diff)
-
test/dataManip/tst_psRandom.c (modified) (1 diff)
-
test/dataManip/tst_psStats00.c (modified) (1 diff)
-
test/dataManip/tst_psStats01.c (modified) (1 diff)
-
test/dataManip/tst_psStats02.c (modified) (1 diff)
-
test/dataManip/tst_psStats03.c (modified) (1 diff)
-
test/dataManip/tst_psStats04.c (modified) (1 diff)
-
test/dataManip/tst_psStats05.c (modified) (1 diff)
-
test/dataManip/tst_psStats06.c (modified) (1 diff)
-
test/dataManip/tst_psStats07.c (modified) (1 diff)
-
test/dataManip/tst_psStats08.c (modified) (1 diff)
-
test/dataManip/tst_psStats09.c (modified) (1 diff)
-
test/dataManip/tst_psVectorFFT.c (modified) (2 diffs)
-
test/fileUtils/tst_psDB.c (modified) (2 diffs)
-
test/fileUtils/tst_psFits.c (modified) (2 diffs)
-
test/fileUtils/tst_psLookupTable_01.c (modified) (2 diffs)
-
test/image/tst_psImage.c (modified) (4 diffs)
-
test/image/tst_psImageConvolve.c (modified) (2 diffs)
-
test/image/tst_psImageExtraction.c (modified) (2 diffs)
-
test/image/tst_psImageFFT.c (modified) (2 diffs)
-
test/image/tst_psImageIO.c (modified) (2 diffs)
-
test/image/tst_psImageInterpolate.c (modified) (3 diffs)
-
test/image/tst_psImageManip.c (modified) (3 diffs)
-
test/image/tst_psImageStats.c (modified) (1 diff)
-
test/image/verified/tst_psImage.stderr (modified) (1 diff)
-
test/image/verified/tst_psImageInterpolate.stderr (modified) (1 diff)
-
test/image/verified/tst_psImageManip.stderr (modified) (1 diff)
-
test/runTest (modified) (3 diffs)
-
test/sysUtils/tst_psAbort.c (modified) (1 diff)
-
test/sysUtils/tst_psConfigure.c (modified) (2 diffs)
-
test/sysUtils/tst_psError.c (modified) (2 diffs)
-
test/sysUtils/tst_psLogMsg.c (modified) (1 diff)
-
test/sysUtils/tst_psMemory.c (modified) (2 diffs)
-
test/sysUtils/tst_psString.c (modified) (2 diffs)
-
test/sysUtils/tst_psStringCopy.c (modified) (2 diffs)
-
test/sysUtils/tst_psTrace.c (modified) (1 diff)
-
test/tst_template.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/Makefile.am
r3662 r3682 14 14 15 15 $(prefix)/docs/pslib: 16 mkdir -p $(prefix)/docs/pslib16 mkdir -p -m 755 $(prefix)/docs/pslib 17 17 18 18 $(mandir)/man3: 19 mkdir -p $(mandir)/man319 mkdir -p -m 755 $(mandir)/man3 20 20 21 21 $(datadir)/pslib: 22 mkdir -p $(datadir)/pslib22 mkdir -p -m 755 $(datadir)/pslib 23 23 24 24 install-data-hook: $(datadir)/pslib … … 26 26 27 27 uninstall-hook: 28 if [ `pwd`/share != $(datadir) ] ; then rm -rf $(datadir)/pslib; fi28 if [ `pwd`/share/pslib != $(datadir) ] ; then rm -rf $(datadir) ; fi 29 29 rm -rf $(prefix)/docs/pslib/* 30 30 … … 32 32 33 33 test: check 34 35 distuninstallcheck_listfiles = \ 36 `find . -name .packlist -or -name perllocal.pod -or -name pslib.bs -or -name pslib.so -or -name pslib.pm` 37 38 distuninstallcheck: 39 @: -
trunk/psLib/configure.ac
r3662 r3682 1 AC_INIT([pslib],[0.5. 0],[www.pan-starrs.org/bugzilla])1 AC_INIT([pslib],[0.5.1],[www.pan-starrs.org/bugzilla]) 2 2 AM_CONFIG_HEADER(src/config.h) 3 AM_INIT_AUTOMAKE(pslib, 0.5. 0)3 AM_INIT_AUTOMAKE(pslib, 0.5.1) 4 4 5 5 PSLIB_LT_VERSION="0:5:0" -
trunk/psLib/etc/pslib/Makefile.am
r3601 r3682 11 11 12 12 $(sysconfdir)/pslib: 13 mkdir -p $(sysconfdir)/pslib14 15 install- data-hook: psTime.config $(sysconfdir)/pslib13 mkdir -p -m 755 $(sysconfdir)/pslib 14 15 install-exec-hook: psTime.config $(sysconfdir)/pslib 16 16 if [ `pwd` != $(sysconfdir)/pslib ] ; then $(INSTALL) $(srcdir)/psTime.xml psTime.config $(sysconfdir)/pslib ; fi 17 17 18 uninstall- hook:19 if [ `pwd` != $(sysconfdir) /pslib ] ; then rm -rf $(sysconfdir)/pslib; fi18 uninstall-local: 19 if [ `pwd` != $(sysconfdir) ] ; then rm -rf $(sysconfdir) ; fi 20 20 21 21 -
trunk/psLib/pslib.kdevses
r3662 r3682 2 2 <!DOCTYPE KDevPrjSession> 3 3 <KDevPrjSession> 4 <DocsAndViews NumberOfDocuments="4" > 5 <Doc0 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/src/fileUtils/psFits.h" > 6 <View0 Type="Source" /> 7 </Doc0> 8 <Doc1 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/src/fileUtils/psFits.c" > 9 <View0 line="538" Type="Source" /> 10 </Doc1> 11 <Doc2 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/test/fileUtils/tst_psFits.c" > 12 <View0 line="647" Type="Source" /> 13 </Doc2> 14 <Doc3 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/src/astronomy/psMetadata.h" > 15 <View0 line="76" Type="Source" /> 16 </Doc3> 17 </DocsAndViews> 4 <DocsAndViews NumberOfDocuments="0" /> 18 5 <pluginList> 19 6 <kdevdebugger> -
trunk/psLib/src/Makefile.am
r3240 r3682 28 28 pslibinclude_HEADERS = \ 29 29 psTest.h \ 30 pslib.h 30 pslib.h \ 31 pslib_strict.h 31 32 32 33 install-exec-hook: libpslib.la -
trunk/psLib/src/astro/psCoord.c
r3598 r3682 10 10 * @author GLG, MHPCC 11 11 * 12 * @version $Revision: 1.6 1$ $Name: not supported by cvs2svn $13 * @date $Date: 2005-0 3-31 23:01:46$12 * @version $Revision: 1.62 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-04-07 20:27:41 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 214 214 psPlane *p = psAlloc(sizeof(psPlane)); 215 215 216 p _psMemSetDeallocator(p, (psFreeFcn) planeFree);216 psMemSetDeallocator(p, (psFreeFcn) planeFree); 217 217 return(p); 218 218 } … … 228 228 psSphere *s = psAlloc(sizeof(psSphere)); 229 229 230 p _psMemSetDeallocator(s, (psFreeFcn) sphereFree);230 psMemSetDeallocator(s, (psFreeFcn) sphereFree); 231 231 return(s); 232 232 } … … 247 247 pt->y = psDPolynomial2DAlloc(n1, n2, PS_POLYNOMIAL_ORD); 248 248 249 p _psMemSetDeallocator(pt, (psFreeFcn) planeTransformFree);249 psMemSetDeallocator(pt, (psFreeFcn) planeTransformFree); 250 250 return(pt); 251 251 } … … 293 293 pt->y = psDPolynomial4DAlloc(n1, n2, n3, n4, PS_POLYNOMIAL_ORD); 294 294 295 p _psMemSetDeallocator(pt, (psFreeFcn) planeDistortFree);295 psMemSetDeallocator(pt, (psFreeFcn) planeDistortFree); 296 296 return(pt); 297 297 } … … 508 508 p->type = type; 509 509 510 p _psMemSetDeallocator(p, (psFreeFcn) projectionFree);510 psMemSetDeallocator(p, (psFreeFcn) projectionFree); 511 511 return(p); 512 512 } -
trunk/psLib/src/astronomy/psAstrometry.c
r3598 r3682 8 8 * @author GLG, MHPCC 9 9 * 10 * @version $Revision: 1.6 3$ $Name: not supported by cvs2svn $11 * @date $Date: 2005-0 3-31 23:01:46$10 * @version $Revision: 1.64 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2005-04-07 20:27:41 $ 12 12 * 13 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 191 191 } 192 192 193 p _psMemSetDeallocator(tmp,(psFreeFcn)fixedPatternFree);193 psMemSetDeallocator(tmp,(psFreeFcn)fixedPatternFree); 194 194 195 195 return(tmp); … … 238 238 exp->telescopeName = NULL; 239 239 240 p _psMemSetDeallocator(exp,(psFreeFcn)exposureFree);240 psMemSetDeallocator(exp,(psFreeFcn)exposureFree); 241 241 242 242 return exp; … … 263 263 *(double *)&obs->tlr = tlr; 264 264 265 p _psMemSetDeallocator(obs,(psFreeFcn)observatoryFree);265 psMemSetDeallocator(obs,(psFreeFcn)observatoryFree); 266 266 267 267 return obs; … … 304 304 newFPA->chi2 = 0.0f; 305 305 306 p _psMemSetDeallocator(newFPA,(psFreeFcn)FPAFree);306 psMemSetDeallocator(newFPA,(psFreeFcn)FPAFree); 307 307 308 308 return newFPA; … … 338 338 chip->parent = parentFPA; 339 339 340 p _psMemSetDeallocator(chip,(psFreeFcn)chipFree);340 psMemSetDeallocator(chip,(psFreeFcn)chipFree); 341 341 342 342 return chip; … … 376 376 cell->parent = parentChip; 377 377 378 p _psMemSetDeallocator(cell,(psFreeFcn)cellFree);378 psMemSetDeallocator(cell,(psFreeFcn)cellFree); 379 379 380 380 return cell; … … 399 399 readout->metadata = NULL; 400 400 401 p _psMemSetDeallocator(readout,(psFreeFcn)readoutFree);401 psMemSetDeallocator(readout,(psFreeFcn)readoutFree); 402 402 403 403 return readout; -
trunk/psLib/src/astronomy/psCoord.c
r3598 r3682 10 10 * @author GLG, MHPCC 11 11 * 12 * @version $Revision: 1.6 1$ $Name: not supported by cvs2svn $13 * @date $Date: 2005-0 3-31 23:01:46$12 * @version $Revision: 1.62 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-04-07 20:27:41 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 214 214 psPlane *p = psAlloc(sizeof(psPlane)); 215 215 216 p _psMemSetDeallocator(p, (psFreeFcn) planeFree);216 psMemSetDeallocator(p, (psFreeFcn) planeFree); 217 217 return(p); 218 218 } … … 228 228 psSphere *s = psAlloc(sizeof(psSphere)); 229 229 230 p _psMemSetDeallocator(s, (psFreeFcn) sphereFree);230 psMemSetDeallocator(s, (psFreeFcn) sphereFree); 231 231 return(s); 232 232 } … … 247 247 pt->y = psDPolynomial2DAlloc(n1, n2, PS_POLYNOMIAL_ORD); 248 248 249 p _psMemSetDeallocator(pt, (psFreeFcn) planeTransformFree);249 psMemSetDeallocator(pt, (psFreeFcn) planeTransformFree); 250 250 return(pt); 251 251 } … … 293 293 pt->y = psDPolynomial4DAlloc(n1, n2, n3, n4, PS_POLYNOMIAL_ORD); 294 294 295 p _psMemSetDeallocator(pt, (psFreeFcn) planeDistortFree);295 psMemSetDeallocator(pt, (psFreeFcn) planeDistortFree); 296 296 return(pt); 297 297 } … … 508 508 p->type = type; 509 509 510 p _psMemSetDeallocator(p, (psFreeFcn) projectionFree);510 psMemSetDeallocator(p, (psFreeFcn) projectionFree); 511 511 return(p); 512 512 } -
trunk/psLib/src/astronomy/psMetadata.c
r3541 r3682 12 12 * @author Ross Harman, MHPCC 13 13 * 14 * @version $Revision: 1.5 7$ $Name: not supported by cvs2svn $15 * @date $Date: 2005-0 3-29 21:31:54$14 * @version $Revision: 1.58 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-04-07 20:27:41 $ 16 16 * 17 17 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 183 183 184 184 // Set deallocator 185 p _psMemSetDeallocator(metadataItem, (psFreeFcn) metadataItemFree);185 psMemSetDeallocator(metadataItem, (psFreeFcn) metadataItemFree); 186 186 187 187 // Allocate and set metadata item comment … … 252 252 metadata = (psMetadata*) psAlloc(sizeof(psMetadata)); 253 253 // Set deallocator 254 p _psMemSetDeallocator(metadata, (psFreeFcn) metadataFree);254 psMemSetDeallocator(metadata, (psFreeFcn) metadataFree); 255 255 256 256 // Allocate metadata's internal containers … … 598 598 599 599 // Set deallocator 600 p _psMemSetDeallocator(newIter, (psFreeFcn) metadataIteratorFree);600 psMemSetDeallocator(newIter, (psFreeFcn) metadataIteratorFree); 601 601 602 602 if (regex == NULL) { -
trunk/psLib/src/collections/psArray.c
r3286 r3682 9 9 * @author Ross Harman, MHPCC 10 10 * 11 * @version $Revision: 1.2 6$ $Name: not supported by cvs2svn $12 * @date $Date: 2005-0 2-18 22:17:20$11 * @version $Revision: 1.27 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-04-07 20:27:41 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 55 55 // Create vector struct 56 56 psArr = (psArray* ) psAlloc(sizeof(psArray)); 57 p _psMemSetDeallocator(psArr, (psFreeFcn) arrayFree);57 psMemSetDeallocator(psArr, (psFreeFcn) arrayFree); 58 58 59 59 psArr->nalloc = nalloc; -
trunk/psLib/src/collections/psBitSet.c
r3298 r3682 11 11 * @author Robert DeSonia, MHPCC 12 12 * 13 * @version $Revision: 1.2 3$ $Name: not supported by cvs2svn $14 * @date $Date: 2005-0 2-22 19:25:52$13 * @version $Revision: 1.24 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2005-04-07 20:27:41 $ 15 15 * 16 16 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 80 80 numBytes = ceil(n / 8.0); 81 81 newObj = psAlloc(sizeof(psBitSet)); 82 p _psMemSetDeallocator(newObj, (psFreeFcn) bitSetFree);82 psMemSetDeallocator(newObj, (psFreeFcn) bitSetFree); 83 83 newObj->n = numBytes; 84 84 -
trunk/psLib/src/collections/psHash.c
r3286 r3682 12 12 * @author Robert DeSonia, MHPCC 13 13 * 14 * @version $Revision: 1.1 3$ $Name: not supported by cvs2svn $15 * @date $Date: 2005-0 2-18 22:17:20$14 * @version $Revision: 1.14 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-04-07 20:27:41 $ 16 16 * 17 17 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 90 90 psHashBucket* bucket = psAlloc(sizeof(psHashBucket)); 91 91 92 p _psMemSetDeallocator(bucket, (psFreeFcn) hashBucketFree);92 psMemSetDeallocator(bucket, (psFreeFcn) hashBucketFree); 93 93 94 94 // Initialize the bucket. … … 141 141 psHash* table = psAlloc(sizeof(psHash)); 142 142 143 p _psMemSetDeallocator(table, (psFreeFcn) hashFree);143 psMemSetDeallocator(table, (psFreeFcn) hashFree); 144 144 145 145 // Allocate memory for the buckets. -
trunk/psLib/src/collections/psList.c
r3264 r3682 6 6 * @author Robert Daniel DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1.3 4$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-0 2-17 19:26:23$8 * @version $Revision: 1.35 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-04-07 20:27:41 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 45 45 psArray* iterators = list->iterators; 46 46 for (int i = 0; i < iterators->n; i++) { 47 p _psMemSetDeallocator(iterators->data[i], NULL);47 psMemSetDeallocator(iterators->data[i], NULL); 48 48 } 49 49 … … 129 129 psList* list = psAlloc(sizeof(psList)); 130 130 131 p _psMemSetDeallocator(list, (psFreeFcn) listFree);131 psMemSetDeallocator(list, (psFreeFcn) listFree); 132 132 133 133 list->size = 0; … … 153 153 psListIterator* iter = psAlloc(sizeof(psListIterator)); 154 154 155 p _psMemSetDeallocator(iter, (psFreeFcn) listIteratorFree);155 psMemSetDeallocator(iter, (psFreeFcn) listIteratorFree); 156 156 157 157 // initialize the attributes -
trunk/psLib/src/collections/psMetadata.c
r3541 r3682 12 12 * @author Ross Harman, MHPCC 13 13 * 14 * @version $Revision: 1.5 7$ $Name: not supported by cvs2svn $15 * @date $Date: 2005-0 3-29 21:31:54$14 * @version $Revision: 1.58 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-04-07 20:27:41 $ 16 16 * 17 17 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 183 183 184 184 // Set deallocator 185 p _psMemSetDeallocator(metadataItem, (psFreeFcn) metadataItemFree);185 psMemSetDeallocator(metadataItem, (psFreeFcn) metadataItemFree); 186 186 187 187 // Allocate and set metadata item comment … … 252 252 metadata = (psMetadata*) psAlloc(sizeof(psMetadata)); 253 253 // Set deallocator 254 p _psMemSetDeallocator(metadata, (psFreeFcn) metadataFree);254 psMemSetDeallocator(metadata, (psFreeFcn) metadataFree); 255 255 256 256 // Allocate metadata's internal containers … … 598 598 599 599 // Set deallocator 600 p _psMemSetDeallocator(newIter, (psFreeFcn) metadataIteratorFree);600 psMemSetDeallocator(newIter, (psFreeFcn) metadataIteratorFree); 601 601 602 602 if (regex == NULL) { -
trunk/psLib/src/collections/psVector.c
r3476 r3682 9 9 * @author Robert DeSonia, MHPCC 10 10 * 11 * @version $Revision: 1.3 6$ $Name: not supported by cvs2svn $12 * @date $Date: 2005-0 3-22 21:52:49$11 * @version $Revision: 1.37 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-04-07 20:27:41 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 51 51 // Create vector struct 52 52 psVec = (psVector* ) psAlloc(sizeof(psVector)); 53 p _psMemSetDeallocator(psVec, (psFreeFcn) vectorFree);53 psMemSetDeallocator(psVec, (psFreeFcn) vectorFree); 54 54 55 55 psVec->type.dimen = PS_DIMEN_VECTOR; -
trunk/psLib/src/dataIO/psFits.c
r3671 r3682 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1.2 6$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-04-0 6 01:12:58$9 * @version $Revision: 1.27 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-04-07 20:27:41 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 249 249 fits->p_fd = fptr; 250 250 strcpy((char*)fits->filename,name); 251 p _psMemSetDeallocator(fits,(psFreeFcn)fitsFree);251 psMemSetDeallocator(fits,(psFreeFcn)fitsFree); 252 252 253 253 return fits; -
trunk/psLib/src/dataIO/psLookupTable.c
r3586 r3682 7 7 * @author Ross Harman, MHPCC 8 8 * 9 * @version $Revision: 1.1 1$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-0 3-31 02:33:17$9 * @version $Revision: 1.12 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-04-07 20:27:41 $ 11 11 * 12 12 * Copyright 2004-5 Maui High Performance Computing Center, University of Hawaii … … 421 421 422 422 // Set deallocator 423 p _psMemSetDeallocator(outTable, (psFreeFcn)lookupTableFree);423 psMemSetDeallocator(outTable, (psFreeFcn)lookupTableFree); 424 424 425 425 // Allocate and set metadata item comment -
trunk/psLib/src/dataManip/psFunctions.c
r3671 r3682 7 7 * polynomials. It also contains a Gaussian functions. 8 8 * 9 * @version $Revision: 1.9 5$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-04-0 6 01:12:58$9 * @version $Revision: 1.96 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-04-07 20:27:41 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 1048 1048 1049 1049 newPoly = (psPolynomial1D* ) psAlloc(sizeof(psPolynomial1D)); 1050 p _psMemSetDeallocator(newPoly, (psFreeFcn) polynomial1DFree);1050 psMemSetDeallocator(newPoly, (psFreeFcn) polynomial1DFree); 1051 1051 1052 1052 newPoly->type = type; … … 1075 1075 1076 1076 newPoly = (psPolynomial2D* ) psAlloc(sizeof(psPolynomial2D)); 1077 p _psMemSetDeallocator(newPoly, (psFreeFcn) polynomial2DFree);1077 psMemSetDeallocator(newPoly, (psFreeFcn) polynomial2DFree); 1078 1078 1079 1079 newPoly->type = type; … … 1113 1113 1114 1114 newPoly = (psPolynomial3D* ) psAlloc(sizeof(psPolynomial3D)); 1115 p _psMemSetDeallocator(newPoly, (psFreeFcn) polynomial3DFree);1115 psMemSetDeallocator(newPoly, (psFreeFcn) polynomial3DFree); 1116 1116 1117 1117 newPoly->type = type; … … 1161 1161 1162 1162 newPoly = (psPolynomial4D* ) psAlloc(sizeof(psPolynomial4D)); 1163 p _psMemSetDeallocator(newPoly, (psFreeFcn) polynomial4DFree);1163 psMemSetDeallocator(newPoly, (psFreeFcn) polynomial4DFree); 1164 1164 1165 1165 newPoly->type = type; … … 1410 1410 1411 1411 newPoly = (psDPolynomial1D* ) psAlloc(sizeof(psDPolynomial1D)); 1412 p _psMemSetDeallocator(newPoly, (psFreeFcn) dPolynomial1DFree);1412 psMemSetDeallocator(newPoly, (psFreeFcn) dPolynomial1DFree); 1413 1413 1414 1414 newPoly->type = type; … … 1437 1437 1438 1438 newPoly = (psDPolynomial2D* ) psAlloc(sizeof(psDPolynomial2D)); 1439 p _psMemSetDeallocator(newPoly, (psFreeFcn) dPolynomial2DFree);1439 psMemSetDeallocator(newPoly, (psFreeFcn) dPolynomial2DFree); 1440 1440 1441 1441 newPoly->type = type; … … 1475 1475 1476 1476 newPoly = (psDPolynomial3D* ) psAlloc(sizeof(psDPolynomial3D)); 1477 p _psMemSetDeallocator(newPoly, (psFreeFcn) dPolynomial3DFree);1477 psMemSetDeallocator(newPoly, (psFreeFcn) dPolynomial3DFree); 1478 1478 1479 1479 newPoly->type = type; … … 1523 1523 1524 1524 newPoly = (psDPolynomial4D* ) psAlloc(sizeof(psDPolynomial4D)); 1525 p _psMemSetDeallocator(newPoly, (psFreeFcn) dPolynomial4DFree);1525 psMemSetDeallocator(newPoly, (psFreeFcn) dPolynomial4DFree); 1526 1526 1527 1527 newPoly->type = type; … … 1829 1829 tmp->knots->data.F32[numSplines] = max; 1830 1830 1831 p _psMemSetDeallocator(tmp,(psFreeFcn)spline1DFree);1831 psMemSetDeallocator(tmp,(psFreeFcn)spline1DFree); 1832 1832 return(tmp); 1833 1833 } … … 1872 1872 } 1873 1873 1874 p _psMemSetDeallocator(tmp,(psFreeFcn)spline1DFree);1874 psMemSetDeallocator(tmp,(psFreeFcn)spline1DFree); 1875 1875 return(tmp); 1876 1876 } -
trunk/psLib/src/dataManip/psStats.c
r3551 r3682 9 9 * @author GLG, MHPCC 10 10 * 11 * @version $Revision: 1.12 4$ $Name: not supported by cvs2svn $12 * @date $Date: 2005-0 3-29 22:51:24$11 * @version $Revision: 1.125 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-04-07 20:27:41 $ 13 13 * 14 14 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 1833 1833 // bins, then there are N+1 bounds to those bins. 1834 1834 newHist = (psHistogram* ) psAlloc(sizeof(psHistogram)); 1835 p _psMemSetDeallocator(newHist, (psFreeFcn) histogramFree);1835 psMemSetDeallocator(newHist, (psFreeFcn) histogramFree); 1836 1836 newHist->bounds = psVectorAlloc(n + 1, PS_TYPE_F32); 1837 1837 newHist->bounds->n = newHist->bounds->nalloc; … … 1880 1880 // Allocate memory for the new histogram structure. 1881 1881 newHist = (psHistogram* ) psAlloc(sizeof(psHistogram)); 1882 p _psMemSetDeallocator(newHist, (psFreeFcn) histogramFree);1882 psMemSetDeallocator(newHist, (psFreeFcn) histogramFree); 1883 1883 newHist->bounds = psVectorAlloc(bounds->n, PS_TYPE_F32); 1884 1884 newHist->bounds->n = newHist->bounds->nalloc; -
trunk/psLib/src/fileUtils/psFits.c
r3671 r3682 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1.2 6$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-04-0 6 01:12:58$9 * @version $Revision: 1.27 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-04-07 20:27:41 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 249 249 fits->p_fd = fptr; 250 250 strcpy((char*)fits->filename,name); 251 p _psMemSetDeallocator(fits,(psFreeFcn)fitsFree);251 psMemSetDeallocator(fits,(psFreeFcn)fitsFree); 252 252 253 253 return fits; -
trunk/psLib/src/fileUtils/psLookupTable.c
r3586 r3682 7 7 * @author Ross Harman, MHPCC 8 8 * 9 * @version $Revision: 1.1 1$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-0 3-31 02:33:17$9 * @version $Revision: 1.12 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-04-07 20:27:41 $ 11 11 * 12 12 * Copyright 2004-5 Maui High Performance Computing Center, University of Hawaii … … 421 421 422 422 // Set deallocator 423 p _psMemSetDeallocator(outTable, (psFreeFcn)lookupTableFree);423 psMemSetDeallocator(outTable, (psFreeFcn)lookupTableFree); 424 424 425 425 // Allocate and set metadata item comment -
trunk/psLib/src/fits/psFits.c
r3671 r3682 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1.2 6$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-04-0 6 01:12:58$9 * @version $Revision: 1.27 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-04-07 20:27:41 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 249 249 fits->p_fd = fptr; 250 250 strcpy((char*)fits->filename,name); 251 p _psMemSetDeallocator(fits,(psFreeFcn)fitsFree);251 psMemSetDeallocator(fits,(psFreeFcn)fitsFree); 252 252 253 253 return fits; -
trunk/psLib/src/image/psImage.c
r3671 r3682 9 9 * @author Ross Harman, MHPCC 10 10 * 11 * @version $Revision: 1.6 2$ $Name: not supported by cvs2svn $12 * @date $Date: 2005-04-0 6 01:12:58$11 * @version $Revision: 1.63 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-04-07 20:27:41 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 67 67 psImage* image = (psImage* ) psAlloc(sizeof(psImage)); 68 68 69 p _psMemSetDeallocator(image, (psFreeFcn) imageFree);69 psMemSetDeallocator(image, (psFreeFcn) imageFree); 70 70 71 71 image->data.V = psAlloc(sizeof(psPtr ) * numRows); -
trunk/psLib/src/image/psImageConvolve.c
r3191 r3682 5 5 * @author Robert DeSonia, MHPCC 6 6 * 7 * @version $Revision: 1.1 2$ $Name: not supported by cvs2svn $8 * @date $Date: 2005-0 2-11 20:27:34$7 * @version $Revision: 1.13 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2005-04-07 20:27:41 $ 9 9 * 10 10 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 75 75 result->kernel = kernelRows - yMin; 76 76 77 p _psMemSetDeallocator(result,(psFreeFcn)freeKernel);77 psMemSetDeallocator(result,(psFreeFcn)freeKernel); 78 78 79 79 return result; -
trunk/psLib/src/image/psImageExtraction.c
r3476 r3682 9 9 * @author Robert DeSonia, MHPCC 10 10 * 11 * @version $Revision: 1.3 3$ $Name: not supported by cvs2svn $12 * @date $Date: 2005-0 3-22 21:52:49$11 * @version $Revision: 1.34 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-04-07 20:27:41 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 105 105 106 106 // set the new psImage's deallocator to the same as the input image 107 p _psMemSetDeallocator(out,p_psMemGetDeallocator(image));107 psMemSetDeallocator(out,psMemGetDeallocator(image)); 108 108 109 109 inputColOffset = elementSize * col0; -
trunk/psLib/src/imageops/psImageConvolve.c
r3191 r3682 5 5 * @author Robert DeSonia, MHPCC 6 6 * 7 * @version $Revision: 1.1 2$ $Name: not supported by cvs2svn $8 * @date $Date: 2005-0 2-11 20:27:34$7 * @version $Revision: 1.13 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2005-04-07 20:27:41 $ 9 9 * 10 10 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 75 75 result->kernel = kernelRows - yMin; 76 76 77 p _psMemSetDeallocator(result,(psFreeFcn)freeKernel);77 psMemSetDeallocator(result,(psFreeFcn)freeKernel); 78 78 79 79 return result; -
trunk/psLib/src/math/psPolynomial.c
r3671 r3682 7 7 * polynomials. It also contains a Gaussian functions. 8 8 * 9 * @version $Revision: 1.9 5$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-04-0 6 01:12:58$9 * @version $Revision: 1.96 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-04-07 20:27:41 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 1048 1048 1049 1049 newPoly = (psPolynomial1D* ) psAlloc(sizeof(psPolynomial1D)); 1050 p _psMemSetDeallocator(newPoly, (psFreeFcn) polynomial1DFree);1050 psMemSetDeallocator(newPoly, (psFreeFcn) polynomial1DFree); 1051 1051 1052 1052 newPoly->type = type; … … 1075 1075 1076 1076 newPoly = (psPolynomial2D* ) psAlloc(sizeof(psPolynomial2D)); 1077 p _psMemSetDeallocator(newPoly, (psFreeFcn) polynomial2DFree);1077 psMemSetDeallocator(newPoly, (psFreeFcn) polynomial2DFree); 1078 1078 1079 1079 newPoly->type = type; … … 1113 1113 1114 1114 newPoly = (psPolynomial3D* ) psAlloc(sizeof(psPolynomial3D)); 1115 p _psMemSetDeallocator(newPoly, (psFreeFcn) polynomial3DFree);1115 psMemSetDeallocator(newPoly, (psFreeFcn) polynomial3DFree); 1116 1116 1117 1117 newPoly->type = type; … … 1161 1161 1162 1162 newPoly = (psPolynomial4D* ) psAlloc(sizeof(psPolynomial4D)); 1163 p _psMemSetDeallocator(newPoly, (psFreeFcn) polynomial4DFree);1163 psMemSetDeallocator(newPoly, (psFreeFcn) polynomial4DFree); 1164 1164 1165 1165 newPoly->type = type; … … 1410 1410 1411 1411 newPoly = (psDPolynomial1D* ) psAlloc(sizeof(psDPolynomial1D)); 1412 p _psMemSetDeallocator(newPoly, (psFreeFcn) dPolynomial1DFree);1412 psMemSetDeallocator(newPoly, (psFreeFcn) dPolynomial1DFree); 1413 1413 1414 1414 newPoly->type = type; … … 1437 1437 1438 1438 newPoly = (psDPolynomial2D* ) psAlloc(sizeof(psDPolynomial2D)); 1439 p _psMemSetDeallocator(newPoly, (psFreeFcn) dPolynomial2DFree);1439 psMemSetDeallocator(newPoly, (psFreeFcn) dPolynomial2DFree); 1440 1440 1441 1441 newPoly->type = type; … … 1475 1475 1476 1476 newPoly = (psDPolynomial3D* ) psAlloc(sizeof(psDPolynomial3D)); 1477 p _psMemSetDeallocator(newPoly, (psFreeFcn) dPolynomial3DFree);1477 psMemSetDeallocator(newPoly, (psFreeFcn) dPolynomial3DFree); 1478 1478 1479 1479 newPoly->type = type; … … 1523 1523 1524 1524 newPoly = (psDPolynomial4D* ) psAlloc(sizeof(psDPolynomial4D)); 1525 p _psMemSetDeallocator(newPoly, (psFreeFcn) dPolynomial4DFree);1525 psMemSetDeallocator(newPoly, (psFreeFcn) dPolynomial4DFree); 1526 1526 1527 1527 newPoly->type = type; … … 1829 1829 tmp->knots->data.F32[numSplines] = max; 1830 1830 1831 p _psMemSetDeallocator(tmp,(psFreeFcn)spline1DFree);1831 psMemSetDeallocator(tmp,(psFreeFcn)spline1DFree); 1832 1832 return(tmp); 1833 1833 } … … 1872 1872 } 1873 1873 1874 p _psMemSetDeallocator(tmp,(psFreeFcn)spline1DFree);1874 psMemSetDeallocator(tmp,(psFreeFcn)spline1DFree); 1875 1875 return(tmp); 1876 1876 } -
trunk/psLib/src/math/psSpline.c
r3671 r3682 7 7 * polynomials. It also contains a Gaussian functions. 8 8 * 9 * @version $Revision: 1.9 5$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-04-0 6 01:12:58$9 * @version $Revision: 1.96 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-04-07 20:27:41 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 1048 1048 1049 1049 newPoly = (psPolynomial1D* ) psAlloc(sizeof(psPolynomial1D)); 1050 p _psMemSetDeallocator(newPoly, (psFreeFcn) polynomial1DFree);1050 psMemSetDeallocator(newPoly, (psFreeFcn) polynomial1DFree); 1051 1051 1052 1052 newPoly->type = type; … … 1075 1075 1076 1076 newPoly = (psPolynomial2D* ) psAlloc(sizeof(psPolynomial2D)); 1077 p _psMemSetDeallocator(newPoly, (psFreeFcn) polynomial2DFree);1077 psMemSetDeallocator(newPoly, (psFreeFcn) polynomial2DFree); 1078 1078 1079 1079 newPoly->type = type; … … 1113 1113 1114 1114 newPoly = (psPolynomial3D* ) psAlloc(sizeof(psPolynomial3D)); 1115 p _psMemSetDeallocator(newPoly, (psFreeFcn) polynomial3DFree);1115 psMemSetDeallocator(newPoly, (psFreeFcn) polynomial3DFree); 1116 1116 1117 1117 newPoly->type = type; … … 1161 1161 1162 1162 newPoly = (psPolynomial4D* ) psAlloc(sizeof(psPolynomial4D)); 1163 p _psMemSetDeallocator(newPoly, (psFreeFcn) polynomial4DFree);1163 psMemSetDeallocator(newPoly, (psFreeFcn) polynomial4DFree); 1164 1164 1165 1165 newPoly->type = type; … … 1410 1410 1411 1411 newPoly = (psDPolynomial1D* ) psAlloc(sizeof(psDPolynomial1D)); 1412 p _psMemSetDeallocator(newPoly, (psFreeFcn) dPolynomial1DFree);1412 psMemSetDeallocator(newPoly, (psFreeFcn) dPolynomial1DFree); 1413 1413 1414 1414 newPoly->type = type; … … 1437 1437 1438 1438 newPoly = (psDPolynomial2D* ) psAlloc(sizeof(psDPolynomial2D)); 1439 p _psMemSetDeallocator(newPoly, (psFreeFcn) dPolynomial2DFree);1439 psMemSetDeallocator(newPoly, (psFreeFcn) dPolynomial2DFree); 1440 1440 1441 1441 newPoly->type = type; … … 1475 1475 1476 1476 newPoly = (psDPolynomial3D* ) psAlloc(sizeof(psDPolynomial3D)); 1477 p _psMemSetDeallocator(newPoly, (psFreeFcn) dPolynomial3DFree);1477 psMemSetDeallocator(newPoly, (psFreeFcn) dPolynomial3DFree); 1478 1478 1479 1479 newPoly->type = type; … … 1523 1523 1524 1524 newPoly = (psDPolynomial4D* ) psAlloc(sizeof(psDPolynomial4D)); 1525 p _psMemSetDeallocator(newPoly, (psFreeFcn) dPolynomial4DFree);1525 psMemSetDeallocator(newPoly, (psFreeFcn) dPolynomial4DFree); 1526 1526 1527 1527 newPoly->type = type; … … 1829 1829 tmp->knots->data.F32[numSplines] = max; 1830 1830 1831 p _psMemSetDeallocator(tmp,(psFreeFcn)spline1DFree);1831 psMemSetDeallocator(tmp,(psFreeFcn)spline1DFree); 1832 1832 return(tmp); 1833 1833 } … … 1872 1872 } 1873 1873 1874 p _psMemSetDeallocator(tmp,(psFreeFcn)spline1DFree);1874 psMemSetDeallocator(tmp,(psFreeFcn)spline1DFree); 1875 1875 return(tmp); 1876 1876 } -
trunk/psLib/src/math/psStats.c
r3551 r3682 9 9 * @author GLG, MHPCC 10 10 * 11 * @version $Revision: 1.12 4$ $Name: not supported by cvs2svn $12 * @date $Date: 2005-0 3-29 22:51:24$11 * @version $Revision: 1.125 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-04-07 20:27:41 $ 13 13 * 14 14 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 1833 1833 // bins, then there are N+1 bounds to those bins. 1834 1834 newHist = (psHistogram* ) psAlloc(sizeof(psHistogram)); 1835 p _psMemSetDeallocator(newHist, (psFreeFcn) histogramFree);1835 psMemSetDeallocator(newHist, (psFreeFcn) histogramFree); 1836 1836 newHist->bounds = psVectorAlloc(n + 1, PS_TYPE_F32); 1837 1837 newHist->bounds->n = newHist->bounds->nalloc; … … 1880 1880 // Allocate memory for the new histogram structure. 1881 1881 newHist = (psHistogram* ) psAlloc(sizeof(psHistogram)); 1882 p _psMemSetDeallocator(newHist, (psFreeFcn) histogramFree);1882 psMemSetDeallocator(newHist, (psFreeFcn) histogramFree); 1883 1883 newHist->bounds = psVectorAlloc(bounds->n, PS_TYPE_F32); 1884 1884 newHist->bounds->n = newHist->bounds->nalloc; -
trunk/psLib/src/mathtypes/psImage.c
r3671 r3682 9 9 * @author Ross Harman, MHPCC 10 10 * 11 * @version $Revision: 1.6 2$ $Name: not supported by cvs2svn $12 * @date $Date: 2005-04-0 6 01:12:58$11 * @version $Revision: 1.63 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-04-07 20:27:41 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 67 67 psImage* image = (psImage* ) psAlloc(sizeof(psImage)); 68 68 69 p _psMemSetDeallocator(image, (psFreeFcn) imageFree);69 psMemSetDeallocator(image, (psFreeFcn) imageFree); 70 70 71 71 image->data.V = psAlloc(sizeof(psPtr ) * numRows); -
trunk/psLib/src/mathtypes/psVector.c
r3476 r3682 9 9 * @author Robert DeSonia, MHPCC 10 10 * 11 * @version $Revision: 1.3 6$ $Name: not supported by cvs2svn $12 * @date $Date: 2005-0 3-22 21:52:49$11 * @version $Revision: 1.37 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-04-07 20:27:41 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 51 51 // Create vector struct 52 52 psVec = (psVector* ) psAlloc(sizeof(psVector)); 53 p _psMemSetDeallocator(psVec, (psFreeFcn) vectorFree);53 psMemSetDeallocator(psVec, (psFreeFcn) vectorFree); 54 54 55 55 psVec->type.dimen = PS_DIMEN_VECTOR; -
trunk/psLib/src/pslib.h
r3598 r3682 1 2 1 /** @file pslib.h 3 2 * … … 9 8 * @author Eric Van Alst, MHPCC 10 9 * 11 * @version $Revision: 1.3 4$ $Name: not supported by cvs2svn $12 * @date $Date: 2005-0 3-31 23:01:46$10 * @version $Revision: 1.35 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2005-04-07 20:27:41 $ 13 12 * 14 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 18 17 #define PS_LIB_H 19 18 20 /******************************************************************************/ 21 22 /* INCLUDE FILES */ 23 24 /******************************************************************************/ 25 26 // // System Utilities 27 28 /// @defgroup SysUtils System Utilities 29 /// @{ 30 31 /** @defgroup MemoryManagement Memory Management Utilities 32 * 33 * This is the generic memory management system put inbetween the user's high level code and the OS-level 34 * memory allocation routines. This system adds such features as callback routines for memory error events, 35 * tracing capabilities, and reference counting. 36 * 37 * @ingroup SysUtils 38 */ 39 40 #include "fitsio.h" 41 42 #include "psMemory.h" 43 44 /// @defgroup LogTrace Tracing and Logging 45 /// @ingroup SysUtils 46 #include "psLogMsg.h" 47 #include "psTrace.h" 48 49 /// @defgroup ErrorHandling Error Handling 50 /// @ingroup SysUtils 51 #include "psAbort.h" 52 #include "psError.h" 53 54 #include "psString.h" 55 56 /// @defgroup Configure Configure psLib 57 /// @ingroup SysUtils 58 #include "psConfigure.h" 59 60 /// @} 61 62 // Collections 63 /// @defgroup DataContainer Data Containers 64 /// @{ 65 66 #include "psType.h" 67 68 /// @defgroup LinkedList Linked List 69 /// @ingroup DataContainer 70 #include "psList.h" 71 72 /// @defgroup HashTable Hash Table 73 /// @ingroup DataContainer 74 #include "psHash.h" 75 76 /// @defgroup Scalar Scalar 77 /// @ingroup DataContainer 78 #include "psScalar.h" 79 80 /// @defgroup Vector Vector Container 81 /// @ingroup DataContainer 82 #include "psVector.h" 83 84 /// @defgroup Array Array Container 85 /// @ingroup DataContainer 86 #include "psArray.h" 87 88 /// @defgroup Image Image Container 89 /// @ingroup DataContainer 90 /// @{ 91 #include "psImage.h" 92 #include "psImageExtraction.h" 93 #include "psImageManip.h" 94 #include "psImageConvolve.h" 95 96 /// @defgroup ImageIO Image File I/O Functions 97 /// @ingroup Image 98 #include "psImageIO.h" 99 100 /// @defgroup ImageStats Image Statistical Functions 101 /// @ingroup Image 102 #include "psImageStats.h" 103 104 /// @} 105 106 /// @defgroup BitSet Bit Set Container 107 /// @ingroup DataContainer 108 #include "psBitSet.h" 109 110 /// @} 111 112 // Data Manipulation 113 /// @defgroup DataManip Data Manipulation 114 /// @{ 115 116 /// @defgroup Compare Comparison Functions 117 /// @ingroup DataManip 118 #include "psCompare.h" 119 120 /// @defgroup Stats Statistic Functions 121 /// @ingroup DataManip 122 #include "psStats.h" 123 124 /// @defgroup Matrix Matrix Operations 125 /// @ingroup DataManip 126 #include "psMatrix.h" 127 128 /// @defgroup MatrixArithmetic Matrix Arithmetic Operations 129 /// @ingroup DataManip 130 #include "psBinaryOp.h" 131 #include "psUnaryOp.h" 132 133 #include "psRandom.h" 134 135 /// @defgroup Transform Fourier Transform Operations 136 /// @ingroup DataManip 137 #include "psVectorFFT.h" 138 #include "psImageFFT.h" 139 140 #include "psFunctions.h" 141 #include "psMinimize.h" 142 143 /// @} 144 145 // Astronomy 146 /// @defgroup Astronomy Astronomy Functions 147 /// @{ 148 149 /// @defgroup CoordinateTransform Coordinate Functions 150 /// @ingroup Astronomy 151 #include "psCoord.h" 152 153 /// @defgroup Photometry Photometry 154 /// @ingroup Astronomy 155 #include "psPhotometry.h" 156 157 /// @defgroup Time Time Functions 158 /// @ingroup Astronomy 159 #include "psTime.h" 160 161 /// @defgroup Metadata Metadata Functions 162 /// @ingroup Astronomy 163 #include "psMetadata.h" 164 #include "psMetadataIO.h" 165 166 /// @defgroup AstroImage Astrometry Functions 167 /// @ingroup Astronomy 168 #include "psAstrometry.h" 169 #include "psConstants.h" 170 #include "psDB.h" 171 172 /// @} 173 174 // FileUtils 175 /// @defgroup FileUtils File Utilities 176 /// @{ 177 #include "psFits.h" 178 179 /// @defgroup LookupTable Lookup Table 180 /// @ingroup FileUtils 181 #include "psLookupTable.h" 182 183 /// @} 19 #include "pslib_strict.h" 184 20 185 21 #endif -
trunk/psLib/src/sys/psError.c
r3476 r3682 10 10 * @author Eric Van Alst, MHPCC 11 11 * 12 * @version $Revision: 1.2 3$ $Name: not supported by cvs2svn $13 * @date $Date: 2005-0 3-22 21:52:49$12 * @version $Revision: 1.24 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-04-07 20:27:41 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 62 62 err->code = code; 63 63 64 p _psMemSetDeallocator(err,(psFreeFcn)errFree);64 psMemSetDeallocator(err,(psFreeFcn)errFree); 65 65 66 66 return err; -
trunk/psLib/src/sys/psErrorCodes.c
r3264 r3682 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1.1 6$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-0 2-17 19:26:24$9 * @version $Revision: 1.17 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-04-07 20:27:41 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 105 105 } 106 106 107 p _psMemSetDeallocator(err,(psFreeFcn)freeErrorDescription);107 psMemSetDeallocator(err,(psFreeFcn)freeErrorDescription); 108 108 return err; 109 109 } -
trunk/psLib/src/sys/psMemory.c
r3585 r3682 8 8 * @author Robert Lupton, Princeton University 9 9 * 10 * @version $Revision: 1. 49$ $Name: not supported by cvs2svn $11 * @date $Date: 2005-0 3-31 02:32:20$10 * @version $Revision: 1.50 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2005-04-07 20:27:41 $ 12 12 * 13 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 641 641 } 642 642 643 void p _psMemSetDeallocator(psPtr vptr, psFreeFcn freeFcn)643 void psMemSetDeallocator(psPtr vptr, psFreeFcn freeFcn) 644 644 { 645 645 if (vptr == NULL) { … … 656 656 657 657 } 658 psFreeFcn p _psMemGetDeallocator(psPtr vptr)658 psFreeFcn psMemGetDeallocator(psPtr vptr) 659 659 { 660 660 if (vptr == NULL) { -
trunk/psLib/src/sys/psMemory.h
r3264 r3682 12 12 * @ingroup MemoryManagement 13 13 * 14 * @version $Revision: 1.3 5$ $Name: not supported by cvs2svn $15 * @date $Date: 2005-0 2-17 19:26:24$14 * @version $Revision: 1.36 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-04-07 20:27:41 $ 16 16 * 17 17 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 150 150 * 151 151 */ 152 void p _psMemSetDeallocator(152 void psMemSetDeallocator( 153 153 psPtr ptr, ///< the memory block to operate on 154 154 psFreeFcn freeFcn ///< the function to be executed at deallocation … … 164 164 * @return psFreeFcn the routine to be called at deallocation. 165 165 */ 166 psFreeFcn p _psMemGetDeallocator(166 psFreeFcn psMemGetDeallocator( 167 167 psPtr ptr ///< the memory block 168 168 ); -
trunk/psLib/src/sys/psTrace.c
r3541 r3682 9 9 * @author GLG, MHPCC 10 10 * 11 * @version $Revision: 1.4 4$ $Name: not supported by cvs2svn $12 * @date $Date: 2005-0 3-29 21:31:54$11 * @version $Revision: 1.45 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-04-07 20:27:41 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 67 67 68 68 p_psMemSetPersistent(comp,true); 69 p _psMemSetDeallocator(comp, (psFreeFcn) componentFree);69 psMemSetDeallocator(comp, (psFreeFcn) componentFree); 70 70 comp->name = psStringCopy(name); 71 71 p_psMemSetPersistent((psPtr)comp->name,true); -
trunk/psLib/src/sysUtils/psError.c
r3476 r3682 10 10 * @author Eric Van Alst, MHPCC 11 11 * 12 * @version $Revision: 1.2 3$ $Name: not supported by cvs2svn $13 * @date $Date: 2005-0 3-22 21:52:49$12 * @version $Revision: 1.24 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-04-07 20:27:41 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 62 62 err->code = code; 63 63 64 p _psMemSetDeallocator(err,(psFreeFcn)errFree);64 psMemSetDeallocator(err,(psFreeFcn)errFree); 65 65 66 66 return err; -
trunk/psLib/src/sysUtils/psErrorCodes.c
r3264 r3682 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1.1 6$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-0 2-17 19:26:24$9 * @version $Revision: 1.17 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-04-07 20:27:41 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 105 105 } 106 106 107 p _psMemSetDeallocator(err,(psFreeFcn)freeErrorDescription);107 psMemSetDeallocator(err,(psFreeFcn)freeErrorDescription); 108 108 return err; 109 109 } -
trunk/psLib/src/sysUtils/psMemory.c
r3585 r3682 8 8 * @author Robert Lupton, Princeton University 9 9 * 10 * @version $Revision: 1. 49$ $Name: not supported by cvs2svn $11 * @date $Date: 2005-0 3-31 02:32:20$10 * @version $Revision: 1.50 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2005-04-07 20:27:41 $ 12 12 * 13 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 641 641 } 642 642 643 void p _psMemSetDeallocator(psPtr vptr, psFreeFcn freeFcn)643 void psMemSetDeallocator(psPtr vptr, psFreeFcn freeFcn) 644 644 { 645 645 if (vptr == NULL) { … … 656 656 657 657 } 658 psFreeFcn p _psMemGetDeallocator(psPtr vptr)658 psFreeFcn psMemGetDeallocator(psPtr vptr) 659 659 { 660 660 if (vptr == NULL) { -
trunk/psLib/src/sysUtils/psMemory.h
r3264 r3682 12 12 * @ingroup MemoryManagement 13 13 * 14 * @version $Revision: 1.3 5$ $Name: not supported by cvs2svn $15 * @date $Date: 2005-0 2-17 19:26:24$14 * @version $Revision: 1.36 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-04-07 20:27:41 $ 16 16 * 17 17 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 150 150 * 151 151 */ 152 void p _psMemSetDeallocator(152 void psMemSetDeallocator( 153 153 psPtr ptr, ///< the memory block to operate on 154 154 psFreeFcn freeFcn ///< the function to be executed at deallocation … … 164 164 * @return psFreeFcn the routine to be called at deallocation. 165 165 */ 166 psFreeFcn p _psMemGetDeallocator(166 psFreeFcn psMemGetDeallocator( 167 167 psPtr ptr ///< the memory block 168 168 ); -
trunk/psLib/src/sysUtils/psTrace.c
r3541 r3682 9 9 * @author GLG, MHPCC 10 10 * 11 * @version $Revision: 1.4 4$ $Name: not supported by cvs2svn $12 * @date $Date: 2005-0 3-29 21:31:54$11 * @version $Revision: 1.45 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-04-07 20:27:41 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 67 67 68 68 p_psMemSetPersistent(comp,true); 69 p _psMemSetDeallocator(comp, (psFreeFcn) componentFree);69 psMemSetDeallocator(comp, (psFreeFcn) componentFree); 70 70 comp->name = psStringCopy(name); 71 71 p_psMemSetPersistent((psPtr)comp->name,true); -
trunk/psLib/src/types/psArray.c
r3286 r3682 9 9 * @author Ross Harman, MHPCC 10 10 * 11 * @version $Revision: 1.2 6$ $Name: not supported by cvs2svn $12 * @date $Date: 2005-0 2-18 22:17:20$11 * @version $Revision: 1.27 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-04-07 20:27:41 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 55 55 // Create vector struct 56 56 psArr = (psArray* ) psAlloc(sizeof(psArray)); 57 p _psMemSetDeallocator(psArr, (psFreeFcn) arrayFree);57 psMemSetDeallocator(psArr, (psFreeFcn) arrayFree); 58 58 59 59 psArr->nalloc = nalloc; -
trunk/psLib/src/types/psBitSet.c
r3298 r3682 11 11 * @author Robert DeSonia, MHPCC 12 12 * 13 * @version $Revision: 1.2 3$ $Name: not supported by cvs2svn $14 * @date $Date: 2005-0 2-22 19:25:52$13 * @version $Revision: 1.24 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2005-04-07 20:27:41 $ 15 15 * 16 16 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 80 80 numBytes = ceil(n / 8.0); 81 81 newObj = psAlloc(sizeof(psBitSet)); 82 p _psMemSetDeallocator(newObj, (psFreeFcn) bitSetFree);82 psMemSetDeallocator(newObj, (psFreeFcn) bitSetFree); 83 83 newObj->n = numBytes; 84 84 -
trunk/psLib/src/types/psHash.c
r3286 r3682 12 12 * @author Robert DeSonia, MHPCC 13 13 * 14 * @version $Revision: 1.1 3$ $Name: not supported by cvs2svn $15 * @date $Date: 2005-0 2-18 22:17:20$14 * @version $Revision: 1.14 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-04-07 20:27:41 $ 16 16 * 17 17 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 90 90 psHashBucket* bucket = psAlloc(sizeof(psHashBucket)); 91 91 92 p _psMemSetDeallocator(bucket, (psFreeFcn) hashBucketFree);92 psMemSetDeallocator(bucket, (psFreeFcn) hashBucketFree); 93 93 94 94 // Initialize the bucket. … … 141 141 psHash* table = psAlloc(sizeof(psHash)); 142 142 143 p _psMemSetDeallocator(table, (psFreeFcn) hashFree);143 psMemSetDeallocator(table, (psFreeFcn) hashFree); 144 144 145 145 // Allocate memory for the buckets. -
trunk/psLib/src/types/psList.c
r3264 r3682 6 6 * @author Robert Daniel DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1.3 4$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-0 2-17 19:26:23$8 * @version $Revision: 1.35 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-04-07 20:27:41 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 45 45 psArray* iterators = list->iterators; 46 46 for (int i = 0; i < iterators->n; i++) { 47 p _psMemSetDeallocator(iterators->data[i], NULL);47 psMemSetDeallocator(iterators->data[i], NULL); 48 48 } 49 49 … … 129 129 psList* list = psAlloc(sizeof(psList)); 130 130 131 p _psMemSetDeallocator(list, (psFreeFcn) listFree);131 psMemSetDeallocator(list, (psFreeFcn) listFree); 132 132 133 133 list->size = 0; … … 153 153 psListIterator* iter = psAlloc(sizeof(psListIterator)); 154 154 155 p _psMemSetDeallocator(iter, (psFreeFcn) listIteratorFree);155 psMemSetDeallocator(iter, (psFreeFcn) listIteratorFree); 156 156 157 157 // initialize the attributes -
trunk/psLib/src/types/psLookupTable.c
r3586 r3682 7 7 * @author Ross Harman, MHPCC 8 8 * 9 * @version $Revision: 1.1 1$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-0 3-31 02:33:17$9 * @version $Revision: 1.12 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-04-07 20:27:41 $ 11 11 * 12 12 * Copyright 2004-5 Maui High Performance Computing Center, University of Hawaii … … 421 421 422 422 // Set deallocator 423 p _psMemSetDeallocator(outTable, (psFreeFcn)lookupTableFree);423 psMemSetDeallocator(outTable, (psFreeFcn)lookupTableFree); 424 424 425 425 // Allocate and set metadata item comment -
trunk/psLib/src/types/psMetadata.c
r3541 r3682 12 12 * @author Ross Harman, MHPCC 13 13 * 14 * @version $Revision: 1.5 7$ $Name: not supported by cvs2svn $15 * @date $Date: 2005-0 3-29 21:31:54$14 * @version $Revision: 1.58 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-04-07 20:27:41 $ 16 16 * 17 17 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 183 183 184 184 // Set deallocator 185 p _psMemSetDeallocator(metadataItem, (psFreeFcn) metadataItemFree);185 psMemSetDeallocator(metadataItem, (psFreeFcn) metadataItemFree); 186 186 187 187 // Allocate and set metadata item comment … … 252 252 metadata = (psMetadata*) psAlloc(sizeof(psMetadata)); 253 253 // Set deallocator 254 p _psMemSetDeallocator(metadata, (psFreeFcn) metadataFree);254 psMemSetDeallocator(metadata, (psFreeFcn) metadataFree); 255 255 256 256 // Allocate metadata's internal containers … … 598 598 599 599 // Set deallocator 600 p _psMemSetDeallocator(newIter, (psFreeFcn) metadataIteratorFree);600 psMemSetDeallocator(newIter, (psFreeFcn) metadataIteratorFree); 601 601 602 602 if (regex == NULL) { -
trunk/psLib/swig/Makefile.am
r3601 r3682 48 48 49 49 install-exec-hook: swig-install 50 51 uninstall-local: psLibModule/Makefile52 cd psLibModule && make uninstall && make clean -
trunk/psLib/test/astronomy/builddir/tst_psMetadata_01.d
r1391 r3682 1 builddir/tst_psMetadata_01.o: tst_psMetadata_01.c ../../include/pslib .h \1 builddir/tst_psMetadata_01.o: tst_psMetadata_01.c ../../include/pslib_strict.h \ 2 2 ../../include/psMemory.h ../../include/psLogMsg.h \ 3 3 ../../include/psTrace.h ../../include/psAbort.h ../../include/psError.h \ -
trunk/psLib/test/astronomy/builddir/tst_psMetadata_02.d
r1402 r3682 1 builddir/tst_psMetadata_02.o: tst_psMetadata_02.c ../../include/pslib .h \1 builddir/tst_psMetadata_02.o: tst_psMetadata_02.c ../../include/pslib_strict.h \ 2 2 ../../include/psMemory.h ../../include/psLogMsg.h \ 3 3 ../../include/psTrace.h ../../include/psAbort.h ../../include/psError.h \ -
trunk/psLib/test/astronomy/builddir/tst_psMetadata_03.d
r1412 r3682 1 builddir/tst_psMetadata_03.o: tst_psMetadata_03.c ../../include/pslib .h \1 builddir/tst_psMetadata_03.o: tst_psMetadata_03.c ../../include/pslib_strict.h \ 2 2 ../../include/psMemory.h ../../include/psLogMsg.h \ 3 3 ../../include/psTrace.h ../../include/psAbort.h ../../include/psError.h \ -
trunk/psLib/test/astronomy/builddir/tst_psMetadata_04.d
r1428 r3682 1 builddir/tst_psMetadata_04.o: tst_psMetadata_04.c ../../include/pslib .h \1 builddir/tst_psMetadata_04.o: tst_psMetadata_04.c ../../include/pslib_strict.h \ 2 2 ../../include/psMemory.h ../../include/psLogMsg.h \ 3 3 ../../include/psTrace.h ../../include/psAbort.h ../../include/psError.h \ -
trunk/psLib/test/astronomy/builddir/tst_psMetadata_05.d
r1444 r3682 1 builddir/tst_psMetadata_05.o: tst_psMetadata_05.c ../../include/pslib .h \1 builddir/tst_psMetadata_05.o: tst_psMetadata_05.c ../../include/pslib_strict.h \ 2 2 ../../include/psMemory.h ../../include/psLogMsg.h \ 3 3 ../../include/psTrace.h ../../include/psAbort.h ../../include/psError.h \ -
trunk/psLib/test/astronomy/builddir/tst_psMetadata_06.d
r1457 r3682 1 builddir/tst_psMetadata_06.o: tst_psMetadata_06.c ../../include/pslib .h \1 builddir/tst_psMetadata_06.o: tst_psMetadata_06.c ../../include/pslib_strict.h \ 2 2 ../../include/psMemory.h ../../include/psLogMsg.h \ 3 3 ../../include/psTrace.h ../../include/psAbort.h ../../include/psError.h \ -
trunk/psLib/test/astronomy/builddir/tst_psTime_01.d
r1434 r3682 1 builddir/tst_psTime_01.o: tst_psTime_01.c ../../include/pslib .h \1 builddir/tst_psTime_01.o: tst_psTime_01.c ../../include/pslib_strict.h \ 2 2 ../../include/psMemory.h ../../include/psLogMsg.h \ 3 3 ../../include/psTrace.h ../../include/psAbort.h ../../include/psError.h \ -
trunk/psLib/test/astronomy/builddir/tst_psTime_02.d
r1434 r3682 1 builddir/tst_psTime_02.o: tst_psTime_02.c ../../include/pslib .h \1 builddir/tst_psTime_02.o: tst_psTime_02.c ../../include/pslib_strict.h \ 2 2 ../../include/psMemory.h ../../include/psLogMsg.h \ 3 3 ../../include/psTrace.h ../../include/psAbort.h ../../include/psError.h \ -
trunk/psLib/test/astronomy/tst_psAstrometry.c
r3341 r3682 5 5 * @author Robert DeSonia, MHPCC 6 6 * 7 * @version $Revision: 1.1 6$ $Name: not supported by cvs2svn $8 * @date $Date: 2005-0 2-28 23:34:10$7 * @version $Revision: 1.17 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2005-04-07 20:27:41 $ 9 9 * 10 10 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 17 17 18 18 #include "psTest.h" 19 #include "pslib .h"19 #include "pslib_strict.h" 20 20 21 21 static psS32 testExposureAlloc(void); … … 40 40 psLogSetLevel(PS_LOG_INFO); 41 41 42 return ! runTestSuite(stderr,"ps Image",tests,argc,argv);42 return ! runTestSuite(stderr,"psAstrometry",tests,argc,argv); 43 43 } 44 44 -
trunk/psLib/test/astronomy/tst_psAstrometry01.c
r3638 r3682 5 5 * @author GLG, MHPCC 6 6 * 7 * @version $Revision: 1.1 7$ $Name: not supported by cvs2svn $8 * @date $Date: 2005-04-0 1 22:22:17$7 * @version $Revision: 1.18 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2005-04-07 20:27:41 $ 9 9 * 10 10 * XXX: Must test … … 23 23 24 24 #include "psTest.h" 25 #include "pslib .h"25 #include "pslib_strict.h" 26 26 27 27 static psS32 test1( void ); -
trunk/psLib/test/astronomy/tst_psCoord.c
r3471 r3682 6 6 * @author GLG, MHPCC 7 7 * 8 * @version $Revision: 1.2 7$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-0 3-22 01:36:47$8 * @version $Revision: 1.28 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-04-07 20:27:41 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 13 13 14 14 #include "psTest.h" 15 #include "pslib .h"15 #include "pslib_strict.h" 16 16 static psS32 testSphereTransformAlloc(void); 17 17 static psS32 testPlaneTransformAlloc(void); -
trunk/psLib/test/astronomy/tst_psCoord01.c
r3472 r3682 6 6 * @author Eric Van Alst, MHPCC 7 7 * 8 * @version $Revision: 1. 3$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-0 3-22 01:37:31 $8 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-04-07 20:27:41 $ 10 10 * 11 11 * Copyright 2005 Maui High Performance Computing Center, Univ. of Hawaii 12 12 */ 13 13 14 #include "pslib .h"14 #include "pslib_strict.h" 15 15 #include "psTest.h" 16 16 -
trunk/psLib/test/astronomy/tst_psDB.c
r3598 r3682 9 9 * @author Aaron Culliney, MHPCC 10 10 * 11 * @version $Revision: 1. 6$ $Name: not supported by cvs2svn $12 * @date $Date: 2005-0 3-31 23:01:46$11 * @version $Revision: 1.7 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-04-07 20:27:41 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 25 25 26 26 #include "psTest.h" 27 #include "pslib .h"27 #include "pslib_strict.h" 28 28 29 29 #define STR_1 "hello world!" -
trunk/psLib/test/astronomy/tst_psMetadataIO.c
r3407 r3682 14 14 * @author Robert DeSonia, MHPCC 15 15 * 16 * @version $Revision: 1.1 2$ $Name: not supported by cvs2svn $17 * @date $Date: 2005-0 3-11 20:38:56$16 * @version $Revision: 1.13 $ $Name: not supported by cvs2svn $ 17 * @date $Date: 2005-04-07 20:27:41 $ 18 18 * 19 19 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 22 22 23 23 #include <string.h> 24 #include "pslib .h"24 #include "pslib_strict.h" 25 25 #include "psTest.h" 26 26 -
trunk/psLib/test/astronomy/tst_psMetadata_01.c
r3407 r3682 18 18 * @author Ross Harman, MHPCC 19 19 * 20 * @version $Revision: 1.2 3$ $Name: not supported by cvs2svn $21 * @date $Date: 2005-0 3-11 20:38:56$20 * @version $Revision: 1.24 $ $Name: not supported by cvs2svn $ 21 * @date $Date: 2005-04-07 20:27:41 $ 22 22 * 23 23 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 26 26 27 27 #include <string.h> 28 #include "pslib .h"28 #include "pslib_strict.h" 29 29 #include "psTest.h" 30 30 -
trunk/psLib/test/astronomy/tst_psMetadata_02.c
r3407 r3682 15 15 * @author Robert DeSonia, MHPCC 16 16 * 17 * @version $Revision: 1.1 4$ $Name: not supported by cvs2svn $18 * @date $Date: 2005-0 3-11 20:38:56$17 * @version $Revision: 1.15 $ $Name: not supported by cvs2svn $ 18 * @date $Date: 2005-04-07 20:27:41 $ 19 19 * 20 20 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 23 23 24 24 #include <string.h> 25 #include "pslib .h"25 #include "pslib_strict.h" 26 26 #include "psTest.h" 27 27 -
trunk/psLib/test/astronomy/tst_psMetadata_03.c
r3407 r3682 18 18 * @author Ross Harman, MHPCC 19 19 * 20 * @version $Revision: 1.1 6$ $Name: not supported by cvs2svn $21 * @date $Date: 2005-0 3-11 20:38:56$20 * @version $Revision: 1.17 $ $Name: not supported by cvs2svn $ 21 * @date $Date: 2005-04-07 20:27:41 $ 22 22 * 23 23 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 26 26 27 27 #include <string.h> 28 #include "pslib .h"28 #include "pslib_strict.h" 29 29 #include "psTest.h" 30 30 -
trunk/psLib/test/astronomy/tst_psMetadata_04.c
r3407 r3682 23 23 * @author Ross Harman, MHPCC 24 24 * 25 * @version $Revision: 1.1 7$ $Name: not supported by cvs2svn $26 * @date $Date: 2005-0 3-11 20:38:56$25 * @version $Revision: 1.18 $ $Name: not supported by cvs2svn $ 26 * @date $Date: 2005-04-07 20:27:41 $ 27 27 * 28 28 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 31 31 32 32 #include <string.h> 33 #include "pslib .h"33 #include "pslib_strict.h" 34 34 #include "psTest.h" 35 35 -
trunk/psLib/test/astronomy/tst_psMetadata_05.c
r3445 r3682 22 22 * @author Ross Harman, MHPCC 23 23 * 24 * @version $Revision: 1.2 3$ $Name: not supported by cvs2svn $25 * @date $Date: 2005-0 3-17 19:44:44$24 * @version $Revision: 1.24 $ $Name: not supported by cvs2svn $ 25 * @date $Date: 2005-04-07 20:27:41 $ 26 26 * 27 27 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 30 30 31 31 #include <string.h> 32 #include "pslib .h"32 #include "pslib_strict.h" 33 33 #include "psTest.h" 34 34 -
trunk/psLib/test/astronomy/tst_psMetadata_06.c
r3407 r3682 13 13 * @author Ross Harman, MHPCC 14 14 * 15 * @version $Revision: 1.1 2$ $Name: not supported by cvs2svn $16 * @date $Date: 2005-0 3-11 20:38:56$15 * @version $Revision: 1.13 $ $Name: not supported by cvs2svn $ 16 * @date $Date: 2005-04-07 20:27:41 $ 17 17 * 18 18 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 21 21 22 22 #include <string.h> 23 #include "pslib .h"23 #include "pslib_strict.h" 24 24 #include "psTest.h" 25 25 -
trunk/psLib/test/astronomy/tst_psMetadata_07.c
r3341 r3682 9 9 * @author Ross Harman, MHPCC 10 10 * 11 * @version $Revision: 1. 9$ $Name: not supported by cvs2svn $12 * @date $Date: 2005-0 2-28 23:34:10$11 * @version $Revision: 1.10 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-04-07 20:27:41 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 16 16 */ 17 17 #include "config.h" 18 #include "pslib .h"18 #include "pslib_strict.h" 19 19 #include "psTest.h" 20 20 -
trunk/psLib/test/astronomy/tst_psTime_01.c
r3264 r3682 23 23 * @author Ross Harman, MHPCC 24 24 * 25 * @version $Revision: 1.2 0$ $Name: not supported by cvs2svn $26 * @date $Date: 2005-0 2-17 19:26:24$25 * @version $Revision: 1.21 $ $Name: not supported by cvs2svn $ 26 * @date $Date: 2005-04-07 20:27:41 $ 27 27 * 28 28 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 31 31 32 32 #include <string.h> 33 #include "pslib .h"33 #include "pslib_strict.h" 34 34 #include "psTest.h" 35 35 -
trunk/psLib/test/astronomy/tst_psTime_02.c
r3264 r3682 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1. 9$ $Name: not supported by cvs2svn $13 * @date $Date: 2005-0 2-17 19:26:24$12 * @version $Revision: 1.10 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-04-07 20:27:41 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 17 17 */ 18 18 19 #include "pslib .h"19 #include "pslib_strict.h" 20 20 #include "psTest.h" 21 21 -
trunk/psLib/test/astronomy/tst_psTime_03.c
r3264 r3682 19 19 * @author Ross Harman, MHPCC 20 20 * 21 * @version $Revision: 1.1 2$ $Name: not supported by cvs2svn $22 * @date $Date: 2005-0 2-17 19:26:24$21 * @version $Revision: 1.13 $ $Name: not supported by cvs2svn $ 22 * @date $Date: 2005-04-07 20:27:41 $ 23 23 * 24 24 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 26 26 */ 27 27 28 #include "pslib .h"28 #include "pslib_strict.h" 29 29 #include "psTest.h" 30 30 -
trunk/psLib/test/astronomy/tst_psTime_04.c
r3264 r3682 14 14 * @author Ross Harman, MHPCC 15 15 * 16 * @version $Revision: 1.1 0$ $Name: not supported by cvs2svn $17 * @date $Date: 2005-0 2-17 19:26:24$16 * @version $Revision: 1.11 $ $Name: not supported by cvs2svn $ 17 * @date $Date: 2005-04-07 20:27:41 $ 18 18 * 19 19 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 22 22 #include "config.h" 23 23 24 #include "pslib .h"24 #include "pslib_strict.h" 25 25 #include "psTest.h" 26 26 -
trunk/psLib/test/astronomy/verified/tst_psAstrometry.stderr
r2063 r3682 1 1 /***************************** TESTPOINT ******************************************\ 2 2 * TestFile: tst_psAstrometry.c * 3 * TestPoint: ps Image{psExposureAlloc}*3 * TestPoint: psAstrometry{psExposureAlloc} * 4 4 * TestType: Positive * 5 5 \**********************************************************************************/ 6 6 7 7 8 ---> TESTPOINT PASSED (ps Image{psExposureAlloc} | tst_psAstrometry.c)8 ---> TESTPOINT PASSED (psAstrometry{psExposureAlloc} | tst_psAstrometry.c) 9 9 10 10 /***************************** TESTPOINT ******************************************\ 11 11 * TestFile: tst_psAstrometry.c * 12 * TestPoint: ps Image{psObservatoryAlloc}*12 * TestPoint: psAstrometry{psObservatoryAlloc} * 13 13 * TestType: Positive * 14 14 \**********************************************************************************/ 15 15 16 16 17 ---> TESTPOINT PASSED (ps Image{psObservatoryAlloc} | tst_psAstrometry.c)17 ---> TESTPOINT PASSED (psAstrometry{psObservatoryAlloc} | tst_psAstrometry.c) 18 18 19 19 /***************************** TESTPOINT ******************************************\ 20 20 * TestFile: tst_psAstrometry.c * 21 * TestPoint: ps Image{psFPAAlloc}*21 * TestPoint: psAstrometry{psFPAAlloc} * 22 22 * TestType: Positive * 23 23 \**********************************************************************************/ 24 24 25 25 26 ---> TESTPOINT PASSED (ps Image{psFPAAlloc} | tst_psAstrometry.c)26 ---> TESTPOINT PASSED (psAstrometry{psFPAAlloc} | tst_psAstrometry.c) 27 27 28 28 /***************************** TESTPOINT ******************************************\ 29 29 * TestFile: tst_psAstrometry.c * 30 * TestPoint: ps Image{psChipAlloc}*30 * TestPoint: psAstrometry{psChipAlloc} * 31 31 * TestType: Positive * 32 32 \**********************************************************************************/ 33 33 34 34 35 ---> TESTPOINT PASSED (ps Image{psChipAlloc} | tst_psAstrometry.c)35 ---> TESTPOINT PASSED (psAstrometry{psChipAlloc} | tst_psAstrometry.c) 36 36 37 37 /***************************** TESTPOINT ******************************************\ 38 38 * TestFile: tst_psAstrometry.c * 39 * TestPoint: ps Image{psCellAlloc}*39 * TestPoint: psAstrometry{psCellAlloc} * 40 40 * TestType: Positive * 41 41 \**********************************************************************************/ 42 42 43 43 44 ---> TESTPOINT PASSED (ps Image{psCellAlloc} | tst_psAstrometry.c)44 ---> TESTPOINT PASSED (psAstrometry{psCellAlloc} | tst_psAstrometry.c) 45 45 46 46 /***************************** TESTPOINT ******************************************\ 47 47 * TestFile: tst_psAstrometry.c * 48 * TestPoint: ps Image{psReadoutAlloc}*48 * TestPoint: psAstrometry{psReadoutAlloc} * 49 49 * TestType: Positive * 50 50 \**********************************************************************************/ 51 51 52 52 53 ---> TESTPOINT PASSED (ps Image{psReadoutAlloc} | tst_psAstrometry.c)53 ---> TESTPOINT PASSED (psAstrometry{psReadoutAlloc} | tst_psAstrometry.c) 54 54 -
trunk/psLib/test/collections/tst_psArray.c
r3286 r3682 17 17 * @author Ross Harman, MHPCC 18 18 * 19 * @version $Revision: 1.1 2$ $Name: not supported by cvs2svn $20 * @date $Date: 2005-0 2-18 22:17:20$19 * @version $Revision: 1.13 $ $Name: not supported by cvs2svn $ 20 * @date $Date: 2005-04-07 20:27:41 $ 21 21 * 22 22 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 26 26 #include <math.h> 27 27 28 #include "pslib .h"28 #include "pslib_strict.h" 29 29 #include "psTest.h" 30 30 -
trunk/psLib/test/collections/tst_psBitSet.c
r3289 r3682 17 17 * @author Ross Harman, MHPCC 18 18 * 19 * @version $Revision: 1. 7$ $Name: not supported by cvs2svn $20 * @date $Date: 2005-0 2-18 22:46:50$19 * @version $Revision: 1.8 $ $Name: not supported by cvs2svn $ 20 * @date $Date: 2005-04-07 20:27:41 $ 21 21 * 22 22 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 24 24 */ 25 25 26 #include "pslib .h"26 #include "pslib_strict.h" 27 27 #include "psTest.h" 28 28 -
trunk/psLib/test/collections/tst_psHash00.c
r2392 r3682 4 4 *****************************************************************************/ 5 5 #include <stdio.h> 6 #include "pslib .h"6 #include "pslib_strict.h" 7 7 #include "psTest.h" 8 8 #include "psHash.h" -
trunk/psLib/test/collections/tst_psHash01.c
r2620 r3682 4 4 #include <stdio.h> 5 5 #include <string.h> 6 #include "pslib .h"6 #include "pslib_strict.h" 7 7 #include "psTest.h" 8 8 #include "psHash.h" -
trunk/psLib/test/collections/tst_psHash02.c
r2622 r3682 8 8 #include <stdio.h> 9 9 #include <string.h> 10 #include "pslib .h"10 #include "pslib_strict.h" 11 11 #include "psTest.h" 12 12 #include "psHash.h" -
trunk/psLib/test/collections/tst_psHash03.c
r2624 r3682 6 6 #include <stdio.h> 7 7 #include <string.h> 8 #include "pslib .h"8 #include "pslib_strict.h" 9 9 #include "psTest.h" 10 10 #include "psHash.h" -
trunk/psLib/test/collections/tst_psHash04.c
r2626 r3682 3 3 *****************************************************************************/ 4 4 #include <stdio.h> 5 #include "pslib .h"5 #include "pslib_strict.h" 6 6 #include "psTest.h" 7 7 #include "psHash.h" -
trunk/psLib/test/collections/tst_psHash05.c
r3264 r3682 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1. 2$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-0 2-17 19:26:24$8 * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-04-07 20:27:41 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 13 13 14 14 #include "psTest.h" 15 #include "pslib .h"15 #include "pslib_strict.h" 16 16 17 17 static psS32 hashToArray( void ); -
trunk/psLib/test/collections/tst_psList.c
r3264 r3682 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1. 29$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-0 2-17 19:26:24$8 * @version $Revision: 1.30 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-04-07 20:27:41 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 13 13 14 14 #include "psTest.h" 15 #include "pslib .h"15 #include "pslib_strict.h" 16 16 17 17 void printListInt(psList* list); -
trunk/psLib/test/collections/tst_psMetadataIO.c
r3407 r3682 14 14 * @author Robert DeSonia, MHPCC 15 15 * 16 * @version $Revision: 1.1 2$ $Name: not supported by cvs2svn $17 * @date $Date: 2005-0 3-11 20:38:56$16 * @version $Revision: 1.13 $ $Name: not supported by cvs2svn $ 17 * @date $Date: 2005-04-07 20:27:41 $ 18 18 * 19 19 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 22 22 23 23 #include <string.h> 24 #include "pslib .h"24 #include "pslib_strict.h" 25 25 #include "psTest.h" 26 26 -
trunk/psLib/test/collections/tst_psMetadata_01.c
r3407 r3682 18 18 * @author Ross Harman, MHPCC 19 19 * 20 * @version $Revision: 1.2 3$ $Name: not supported by cvs2svn $21 * @date $Date: 2005-0 3-11 20:38:56$20 * @version $Revision: 1.24 $ $Name: not supported by cvs2svn $ 21 * @date $Date: 2005-04-07 20:27:41 $ 22 22 * 23 23 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 26 26 27 27 #include <string.h> 28 #include "pslib .h"28 #include "pslib_strict.h" 29 29 #include "psTest.h" 30 30 -
trunk/psLib/test/collections/tst_psMetadata_02.c
r3407 r3682 15 15 * @author Robert DeSonia, MHPCC 16 16 * 17 * @version $Revision: 1.1 4$ $Name: not supported by cvs2svn $18 * @date $Date: 2005-0 3-11 20:38:56$17 * @version $Revision: 1.15 $ $Name: not supported by cvs2svn $ 18 * @date $Date: 2005-04-07 20:27:41 $ 19 19 * 20 20 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 23 23 24 24 #include <string.h> 25 #include "pslib .h"25 #include "pslib_strict.h" 26 26 #include "psTest.h" 27 27 -
trunk/psLib/test/collections/tst_psMetadata_03.c
r3407 r3682 18 18 * @author Ross Harman, MHPCC 19 19 * 20 * @version $Revision: 1.1 6$ $Name: not supported by cvs2svn $21 * @date $Date: 2005-0 3-11 20:38:56$20 * @version $Revision: 1.17 $ $Name: not supported by cvs2svn $ 21 * @date $Date: 2005-04-07 20:27:41 $ 22 22 * 23 23 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 26 26 27 27 #include <string.h> 28 #include "pslib .h"28 #include "pslib_strict.h" 29 29 #include "psTest.h" 30 30 -
trunk/psLib/test/collections/tst_psMetadata_04.c
r3407 r3682 23 23 * @author Ross Harman, MHPCC 24 24 * 25 * @version $Revision: 1.1 7$ $Name: not supported by cvs2svn $26 * @date $Date: 2005-0 3-11 20:38:56$25 * @version $Revision: 1.18 $ $Name: not supported by cvs2svn $ 26 * @date $Date: 2005-04-07 20:27:41 $ 27 27 * 28 28 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 31 31 32 32 #include <string.h> 33 #include "pslib .h"33 #include "pslib_strict.h" 34 34 #include "psTest.h" 35 35 -
trunk/psLib/test/collections/tst_psMetadata_05.c
r3445 r3682 22 22 * @author Ross Harman, MHPCC 23 23 * 24 * @version $Revision: 1.2 3$ $Name: not supported by cvs2svn $25 * @date $Date: 2005-0 3-17 19:44:44$24 * @version $Revision: 1.24 $ $Name: not supported by cvs2svn $ 25 * @date $Date: 2005-04-07 20:27:41 $ 26 26 * 27 27 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 30 30 31 31 #include <string.h> 32 #include "pslib .h"32 #include "pslib_strict.h" 33 33 #include "psTest.h" 34 34 -
trunk/psLib/test/collections/tst_psMetadata_06.c
r3407 r3682 13 13 * @author Ross Harman, MHPCC 14 14 * 15 * @version $Revision: 1.1 2$ $Name: not supported by cvs2svn $16 * @date $Date: 2005-0 3-11 20:38:56$15 * @version $Revision: 1.13 $ $Name: not supported by cvs2svn $ 16 * @date $Date: 2005-04-07 20:27:41 $ 17 17 * 18 18 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 21 21 22 22 #include <string.h> 23 #include "pslib .h"23 #include "pslib_strict.h" 24 24 #include "psTest.h" 25 25 -
trunk/psLib/test/collections/tst_psMetadata_07.c
r3341 r3682 9 9 * @author Ross Harman, MHPCC 10 10 * 11 * @version $Revision: 1. 9$ $Name: not supported by cvs2svn $12 * @date $Date: 2005-0 2-28 23:34:10$11 * @version $Revision: 1.10 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-04-07 20:27:41 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 16 16 */ 17 17 #include "config.h" 18 #include "pslib .h"18 #include "pslib_strict.h" 19 19 #include "psTest.h" 20 20 -
trunk/psLib/test/collections/tst_psScalar.c
r3264 r3682 5 5 * @author Eric Van Alst, MHPCC 6 6 * 7 * @version $Revision: 1. 3$7 * @version $Revision: 1.4 $ 8 8 * $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-0 2-17 19:26:24$9 * @date $Date: 2005-04-07 20:27:41 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 13 13 14 14 #include "psTest.h" 15 #include "pslib .h"15 #include "pslib_strict.h" 16 16 17 17 static psS32 testScalarAlloc(void); -
trunk/psLib/test/collections/tst_psVector.c
r3264 r3682 14 14 * @author Ross Harman, MHPCC 15 15 * 16 * @version $Revision: 1. 7$ $Name: not supported by cvs2svn $17 * @date $Date: 2005-0 2-17 19:26:24$16 * @version $Revision: 1.8 $ $Name: not supported by cvs2svn $ 17 * @date $Date: 2005-04-07 20:27:41 $ 18 18 * 19 19 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 21 21 */ 22 22 23 #include "pslib .h"23 #include "pslib_strict.h" 24 24 #include "psTest.h" 25 25 -
trunk/psLib/test/collections/tst_psVectorSort_01.c
r3444 r3682 12 12 * @author Ross Harman, MHPCC 13 13 * 14 * @version $Revision: 1. 7$ $Name: not supported by cvs2svn $15 * @date $Date: 2005-0 3-17 19:26:19$14 * @version $Revision: 1.8 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-04-07 20:27:41 $ 16 16 * 17 17 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 19 19 */ 20 20 21 #include "pslib .h"21 #include "pslib_strict.h" 22 22 #include "psTest.h" 23 23 -
trunk/psLib/test/collections/tst_psVectorSort_02.c
r3264 r3682 14 14 * @author Ross Harman, MHPCC 15 15 * 16 * @version $Revision: 1. 7$ $Name: not supported by cvs2svn $17 * @date $Date: 2005-0 2-17 19:26:24$16 * @version $Revision: 1.8 $ $Name: not supported by cvs2svn $ 17 * @date $Date: 2005-04-07 20:27:41 $ 18 18 * 19 19 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 21 21 */ 22 22 23 #include "pslib .h"23 #include "pslib_strict.h" 24 24 #include "psTest.h" 25 25 -
trunk/psLib/test/collections/tst_psVectorSort_03.c
r3264 r3682 12 12 * @author Ross Harman, MHPCC 13 13 * 14 * @version $Revision: 1. 7$ $Name: not supported by cvs2svn $15 * @date $Date: 2005-0 2-17 19:26:24$14 * @version $Revision: 1.8 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-04-07 20:27:41 $ 16 16 * 17 17 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 19 19 */ 20 20 21 #include "pslib .h"21 #include "pslib_strict.h" 22 22 #include "psTest.h" 23 23 -
trunk/psLib/test/collections/tst_psVectorSort_04.c
r3264 r3682 9 9 * @author Ross Harman, MHPCC 10 10 * 11 * @version $Revision: 1. 6$ $Name: not supported by cvs2svn $12 * @date $Date: 2005-0 2-17 19:26:24$11 * @version $Revision: 1.7 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-04-07 20:27:41 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 16 16 */ 17 17 18 #include "pslib .h"18 #include "pslib_strict.h" 19 19 #include "psTest.h" 20 20 -
trunk/psLib/test/dataIO/tst_psDB.c
r3598 r3682 9 9 * @author Aaron Culliney, MHPCC 10 10 * 11 * @version $Revision: 1. 6$ $Name: not supported by cvs2svn $12 * @date $Date: 2005-0 3-31 23:01:46$11 * @version $Revision: 1.7 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-04-07 20:27:41 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 25 25 26 26 #include "psTest.h" 27 #include "pslib .h"27 #include "pslib_strict.h" 28 28 29 29 #define STR_1 "hello world!" -
trunk/psLib/test/dataIO/tst_psFits.c
r3495 r3682 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1.2 3$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-0 3-24 22:21:17$8 * @version $Revision: 1.24 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-04-07 20:27:42 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 18 18 19 19 #include "psTest.h" 20 #include "pslib .h"20 #include "pslib_strict.h" 21 21 22 22 #define GENIMAGE(img,c,r,TYP, valueFcn) \ -
trunk/psLib/test/dataIO/tst_psLookupTable_01.c
r3598 r3682 12 12 * @author Ross Harman, MHPCC 13 13 * 14 * @version $Revision: 1.1 3$ $Name: not supported by cvs2svn $15 * @date $Date: 2005-0 3-31 23:01:46$14 * @version $Revision: 1.14 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-04-07 20:27:42 $ 16 16 * 17 17 * Copyright 2004-5 Maui High Performance Computing Center, University of Hawaii … … 19 19 */ 20 20 21 #include "pslib .h"21 #include "pslib_strict.h" 22 22 #include "psTest.h" 23 23 #include <string.h> -
trunk/psLib/test/dataManip/tst_psFunc00.c
r3549 r3682 14 14 * orders are created. 15 15 * 16 * @version $Revision: 1.2 0$ $Name: not supported by cvs2svn $17 * @date $Date: 2005-0 3-29 22:50:16$16 * @version $Revision: 1.21 $ $Name: not supported by cvs2svn $ 17 * @date $Date: 2005-04-07 20:27:41 $ 18 18 * 19 19 * Copyright 2004-2005 Maui High Performance Computing Center, Univ. of Hawaii … … 21 21 *****************************************************************************/ 22 22 #include <stdio.h> 23 #include "pslib .h"23 #include "pslib_strict.h" 24 24 #include "psTest.h" 25 25 -
trunk/psLib/test/dataManip/tst_psFunc01.c
r2436 r3682 6 6 *****************************************************************************/ 7 7 #include <stdio.h> 8 #include "pslib .h"8 #include "pslib_strict.h" 9 9 #include "psTest.h" 10 10 #include "psMemory.h" -
trunk/psLib/test/dataManip/tst_psFunc02.c
r3096 r3682 5 5 *****************************************************************************/ 6 6 #include <stdio.h> 7 #include "pslib .h"7 #include "pslib_strict.h" 8 8 #include "psTest.h" 9 9 #include "psMemory.h" -
trunk/psLib/test/dataManip/tst_psFunc03.c
r3096 r3682 6 6 *****************************************************************************/ 7 7 #include <stdio.h> 8 #include "pslib .h"8 #include "pslib_strict.h" 9 9 #include "psTest.h" 10 10 #include "psMemory.h" -
trunk/psLib/test/dataManip/tst_psFunc04.c
r3096 r3682 10 10 #include <stdio.h> 11 11 #include <math.h> 12 #include "pslib .h"12 #include "pslib_strict.h" 13 13 #include "psTest.h" 14 14 #include "psMemory.h" -
trunk/psLib/test/dataManip/tst_psFunc05.c
r3096 r3682 11 11 #include <stdio.h> 12 12 #include <math.h> 13 #include "pslib .h"13 #include "pslib_strict.h" 14 14 #include "psTest.h" 15 15 #include "psMemory.h" -
trunk/psLib/test/dataManip/tst_psFunc07.c
r3096 r3682 12 12 #include <stdio.h> 13 13 #include <math.h> 14 #include "pslib .h"14 #include "pslib_strict.h" 15 15 #include "psTest.h" 16 16 #include "psMemory.h" -
trunk/psLib/test/dataManip/tst_psFunc08.c
r3379 r3682 4 4 * ORD and CHEB type polynomials. 5 5 * 6 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $7 * @date $Date: 2005-0 3-07 20:31:06$6 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2005-04-07 20:27:42 $ 8 8 * 9 9 * Copyright 2004-2005 Maui High Performance Computing Center, Univ. of Hawaii … … 11 11 ***************************************************************************/ 12 12 13 #include "pslib .h"13 #include "pslib_strict.h" 14 14 #include "psTest.h" 15 15 -
trunk/psLib/test/dataManip/tst_psFunc09.c
r3385 r3682 4 4 * ORD and CHEB type polynomials. 5 5 * 6 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $7 * @date $Date: 2005-0 3-08 02:46:20$6 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2005-04-07 20:27:42 $ 8 8 * 9 9 * Copyright 2004-2005 Maui High Performance Computing Center, Univ. of Hawaii … … 11 11 ***************************************************************************/ 12 12 13 #include "pslib .h"13 #include "pslib_strict.h" 14 14 #include "psTest.h" 15 15 -
trunk/psLib/test/dataManip/tst_psFunc10.c
r3398 r3682 4 4 * ORD and CHEB type polynomials. 5 5 * 6 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $7 * @date $Date: 2005-0 3-10 01:14:11$6 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2005-04-07 20:27:42 $ 8 8 * 9 9 * Copyright 2004-2005 Maui High Performance Computing Center, Univ. of Hawaii … … 11 11 ***************************************************************************/ 12 12 13 #include "pslib .h"13 #include "pslib_strict.h" 14 14 #include "psTest.h" 15 15 -
trunk/psLib/test/dataManip/tst_psFunc11.c
r3406 r3682 4 4 * ORD and CHEB type polynomials. 5 5 * 6 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $7 * @date $Date: 2005-0 3-10 22:36:09$6 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2005-04-07 20:27:42 $ 8 8 * 9 9 * Copyright 2004-2005 Maui High Performance Computing Center, Univ. of Hawaii … … 11 11 ***************************************************************************/ 12 12 13 #include "pslib .h"13 #include "pslib_strict.h" 14 14 #include "psTest.h" 15 15 -
trunk/psLib/test/dataManip/tst_psHist00.c
r2782 r3682 4 4 *****************************************************************************/ 5 5 #include <stdio.h> 6 #include "pslib .h"6 #include "pslib_strict.h" 7 7 #include "psTest.h" 8 8 #include "psMemory.h" -
trunk/psLib/test/dataManip/tst_psHist01.c
r2782 r3682 4 4 *****************************************************************************/ 5 5 #include <stdio.h> 6 #include "pslib .h"6 #include "pslib_strict.h" 7 7 #include "psTest.h" 8 8 #include "psMemory.h" -
trunk/psLib/test/dataManip/tst_psHist02.c
r2782 r3682 5 5 *****************************************************************************/ 6 6 #include <stdio.h> 7 #include "pslib .h"7 #include "pslib_strict.h" 8 8 #include "psTest.h" 9 9 #include "psMemory.h" -
trunk/psLib/test/dataManip/tst_psHist03.c
r2782 r3682 5 5 *****************************************************************************/ 6 6 #include <stdio.h> 7 #include "pslib .h"7 #include "pslib_strict.h" 8 8 #include "psTest.h" 9 9 #include "psMemory.h" -
trunk/psLib/test/dataManip/tst_psMatrix01.c
r3264 r3682 11 11 * @author Ross Harman, MHPCC 12 12 * 13 * @version $Revision: 1.1 2$ $Name: not supported by cvs2svn $14 * @date $Date: 2005-0 2-17 19:26:25$13 * @version $Revision: 1.13 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2005-04-07 20:27:42 $ 15 15 * 16 16 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 18 18 */ 19 19 20 #include "pslib .h"20 #include "pslib_strict.h" 21 21 #include "psTest.h" 22 22 -
trunk/psLib/test/dataManip/tst_psMatrix02.c
r3313 r3682 12 12 * @author Ross Harman, MHPCC 13 13 * 14 * @version $Revision: 1. 6$ $Name: not supported by cvs2svn $15 * @date $Date: 2005-0 2-24 00:19:51$14 * @version $Revision: 1.7 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-04-07 20:27:42 $ 16 16 * 17 17 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 19 19 */ 20 20 21 #include "pslib .h"21 #include "pslib_strict.h" 22 22 #include "psTest.h" 23 23 -
trunk/psLib/test/dataManip/tst_psMatrix03.c
r3313 r3682 14 14 * @author Ross Harman, MHPCC 15 15 * 16 * @version $Revision: 1.1 5$ $Name: not supported by cvs2svn $17 * @date $Date: 2005-0 2-24 00:19:51$16 * @version $Revision: 1.16 $ $Name: not supported by cvs2svn $ 17 * @date $Date: 2005-04-07 20:27:42 $ 18 18 * 19 19 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 21 21 */ 22 22 23 #include "pslib .h"23 #include "pslib_strict.h" 24 24 #include "psTest.h" 25 25 -
trunk/psLib/test/dataManip/tst_psMatrix04.c
r3264 r3682 13 13 * @author Ross Harman, MHPCC 14 14 * 15 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $16 * @date $Date: 2005-0 2-17 19:26:25$15 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 16 * @date $Date: 2005-04-07 20:27:42 $ 17 17 * 18 18 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 20 20 */ 21 21 22 #include "pslib .h"22 #include "pslib_strict.h" 23 23 #include "psTest.h" 24 24 -
trunk/psLib/test/dataManip/tst_psMatrix05.c
r3264 r3682 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $13 * @date $Date: 2005-0 2-17 19:26:25$12 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-04-07 20:27:42 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 17 17 */ 18 18 19 #include "pslib .h"19 #include "pslib_strict.h" 20 20 #include "psTest.h" 21 21 -
trunk/psLib/test/dataManip/tst_psMatrix06.c
r3264 r3682 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $13 * @date $Date: 2005-0 2-17 19:26:25$12 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-04-07 20:27:42 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 17 17 */ 18 18 19 #include "pslib .h"19 #include "pslib_strict.h" 20 20 #include "psTest.h" 21 21 -
trunk/psLib/test/dataManip/tst_psMatrix07.c
r3313 r3682 16 16 * @author Ross Harman, MHPCC 17 17 * 18 * @version $Revision: 1.1 1$ $Name: not supported by cvs2svn $19 * @date $Date: 2005-0 2-24 00:19:51$18 * @version $Revision: 1.12 $ $Name: not supported by cvs2svn $ 19 * @date $Date: 2005-04-07 20:27:42 $ 20 20 * 21 21 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 23 23 */ 24 24 25 #include "pslib .h"25 #include "pslib_strict.h" 26 26 #include "psTest.h" 27 27 -
trunk/psLib/test/dataManip/tst_psMatrixVectorArithmetic01.c
r3264 r3682 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1. 7$ $Name: not supported by cvs2svn $13 * @date $Date: 2005-0 2-17 19:26:25$12 * @version $Revision: 1.8 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-04-07 20:27:42 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 17 17 */ 18 18 19 #include "pslib .h"19 #include "pslib_strict.h" 20 20 #include "psTest.h" 21 21 -
trunk/psLib/test/dataManip/tst_psMatrixVectorArithmetic02.c
r3264 r3682 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1.1 1$ $Name: not supported by cvs2svn $13 * @date $Date: 2005-0 2-17 19:26:25$12 * @version $Revision: 1.12 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-04-07 20:27:42 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 17 17 */ 18 18 19 #include "pslib .h"19 #include "pslib_strict.h" 20 20 #include "psTest.h" 21 21 -
trunk/psLib/test/dataManip/tst_psMatrixVectorArithmetic03.c
r3264 r3682 15 15 * @author Ross Harman, MHPCC 16 16 * 17 * @version $Revision: 1. 9$ $Name: not supported by cvs2svn $18 * @date $Date: 2005-0 2-17 19:26:25$17 * @version $Revision: 1.10 $ $Name: not supported by cvs2svn $ 18 * @date $Date: 2005-04-07 20:27:42 $ 19 19 * 20 20 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 22 22 */ 23 23 24 #include "pslib .h"24 #include "pslib_strict.h" 25 25 #include "psTest.h" 26 26 -
trunk/psLib/test/dataManip/tst_psMatrixVectorArithmetic04.c
r3264 r3682 9 9 * @author Eric Van Alst, MHPCC 10 10 * 11 * @version $Revision: 1. 2$ $Name: not supported by cvs2svn $12 * @date $Date: 2005-0 2-17 19:26:25$11 * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-04-07 20:27:42 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 16 16 */ 17 17 18 #include "pslib .h"18 #include "pslib_strict.h" 19 19 #include "psTest.h" 20 20 -
trunk/psLib/test/dataManip/tst_psMinimize00.c
r2204 r3682 4 4 *****************************************************************************/ 5 5 #include <stdio.h> 6 #include "pslib .h"6 #include "pslib_strict.h" 7 7 #include "psTest.h" 8 8 #include "psMemory.h" -
trunk/psLib/test/dataManip/tst_psMinimize01.c
r2204 r3682 4 4 *****************************************************************************/ 5 5 #include <stdio.h> 6 #include "pslib .h"6 #include "pslib_strict.h" 7 7 #include "psTest.h" 8 8 #include "psMemory.h" -
trunk/psLib/test/dataManip/tst_psMinimize02.c
r2204 r3682 4 4 *****************************************************************************/ 5 5 #include <stdio.h> 6 #include "pslib .h"6 #include "pslib_strict.h" 7 7 #include "psTest.h" 8 8 #include "psMemory.h" -
trunk/psLib/test/dataManip/tst_psMinimize03.c
r2204 r3682 4 4 *****************************************************************************/ 5 5 #include <stdio.h> 6 #include "pslib .h"6 #include "pslib_strict.h" 7 7 #include "psTest.h" 8 8 #include "psMemory.h" -
trunk/psLib/test/dataManip/tst_psMinimize04.c
r2436 r3682 13 13 *****************************************************************************/ 14 14 #include <stdio.h> 15 #include "pslib .h"15 #include "pslib_strict.h" 16 16 #include "psTest.h" 17 17 #include "psMemory.h" -
trunk/psLib/test/dataManip/tst_psMinimize04_F32.c
r2436 r3682 13 13 *****************************************************************************/ 14 14 #include <stdio.h> 15 #include "pslib .h"15 #include "pslib_strict.h" 16 16 #include "psTest.h" 17 17 #include "psMemory.h" -
trunk/psLib/test/dataManip/tst_psMinimize04b.c
r2740 r3682 3 3 *****************************************************************************/ 4 4 #include <stdio.h> 5 #include "pslib .h"5 #include "pslib_strict.h" 6 6 #include "psTest.h" 7 7 #include "psMemory.h" -
trunk/psLib/test/dataManip/tst_psMinimize04b_F32.c
r2740 r3682 3 3 *****************************************************************************/ 4 4 #include <stdio.h> 5 #include "pslib .h"5 #include "pslib_strict.h" 6 6 #include "psTest.h" 7 7 #include "psMemory.h" -
trunk/psLib/test/dataManip/tst_psMinimize05.c
r2743 r3682 7 7 *****************************************************************************/ 8 8 #include <stdio.h> 9 #include "pslib .h"9 #include "pslib_strict.h" 10 10 #include "psTest.h" 11 11 #include <math.h> -
trunk/psLib/test/dataManip/tst_psMinimize06.c
r2392 r3682 3 3 *****************************************************************************/ 4 4 #include <stdio.h> 5 #include "pslib .h"5 #include "pslib_strict.h" 6 6 #include "psTest.h" 7 7 #include <math.h> -
trunk/psLib/test/dataManip/tst_psMinimize07.c
r2393 r3682 3 3 *****************************************************************************/ 4 4 #include <stdio.h> 5 #include "pslib .h"5 #include "pslib_strict.h" 6 6 #include "psTest.h" 7 7 #include <math.h> -
trunk/psLib/test/dataManip/tst_psRandom.c
r3299 r3682 19 19 #include <stdio.h> 20 20 #include <math.h> 21 #include "pslib .h"21 #include "pslib_strict.h" 22 22 #include "psTest.h" 23 23 -
trunk/psLib/test/dataManip/tst_psStats00.c
r3502 r3682 5 5 * @author George Gusciora, MHPCC 6 6 * 7 * @version $Revision: 1.1 6$ $Name: not supported by cvs2svn $8 * @date $Date: 2005-0 3-24 23:57:13$7 * @version $Revision: 1.17 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2005-04-07 20:27:42 $ 9 9 * 10 10 * Copyright 2004-2005 Maui High Performance Computing Center, Univ. of Hawaii 11 11 */ 12 12 13 #include "pslib .h"13 #include "pslib_strict.h" 14 14 #include "psTest.h" 15 15 -
trunk/psLib/test/dataManip/tst_psStats01.c
r3530 r3682 5 5 * @author George Gusciora, MHPCC 6 6 * 7 * @version $Revision: 1.1 0$ $Name: not supported by cvs2svn $8 * @date $Date: 2005-0 3-28 22:50:59$7 * @version $Revision: 1.11 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2005-04-07 20:27:42 $ 9 9 * 10 10 * Copyright 2004-2005 Maui High Performance Computing Center, Univ. of Hawaii 11 11 */ 12 12 13 #include "pslib .h"13 #include "pslib_strict.h" 14 14 #include "psTest.h" 15 15 -
trunk/psLib/test/dataManip/tst_psStats02.c
r3535 r3682 5 5 * @author George Gusciora, MHPCC 6 6 * 7 * @version $Revision: 1.1 0$ $Name: not supported by cvs2svn $8 * @date $Date: 2005-0 3-28 23:54:14$7 * @version $Revision: 1.11 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2005-04-07 20:27:42 $ 9 9 * 10 10 * Copyright 2004-2005 Maui High Performance Computing Center, Univ. of Hawaii 11 11 */ 12 12 13 #include "pslib .h"13 #include "pslib_strict.h" 14 14 #include "psTest.h" 15 15 -
trunk/psLib/test/dataManip/tst_psStats03.c
r2780 r3682 4 4 *****************************************************************************/ 5 5 #include <stdio.h> 6 #include "pslib .h"6 #include "pslib_strict.h" 7 7 #include "psTest.h" 8 8 #define N1 1029 // This should be an odd number. -
trunk/psLib/test/dataManip/tst_psStats04.c
r2204 r3682 7 7 *****************************************************************************/ 8 8 #include <stdio.h> 9 #include "pslib .h"9 #include "pslib_strict.h" 10 10 #include "psTest.h" 11 11 #define N1 1029 -
trunk/psLib/test/dataManip/tst_psStats05.c
r2392 r3682 4 4 *****************************************************************************/ 5 5 #include <stdio.h> 6 #include "pslib .h"6 #include "pslib_strict.h" 7 7 #include "psTest.h" 8 8 #define MISC_FLOAT_NUMBER 345.0 -
trunk/psLib/test/dataManip/tst_psStats06.c
r2780 r3682 4 4 *****************************************************************************/ 5 5 #include <stdio.h> 6 #include "pslib .h"6 #include "pslib_strict.h" 7 7 #include "psTest.h" 8 8 #include "psTest.h" -
trunk/psLib/test/dataManip/tst_psStats07.c
r3549 r3682 4 4 *****************************************************************************/ 5 5 #include <stdio.h> 6 #include "pslib .h"6 #include "pslib_strict.h" 7 7 #include "psTest.h" 8 8 #include "psTest.h" -
trunk/psLib/test/dataManip/tst_psStats08.c
r2780 r3682 4 4 *****************************************************************************/ 5 5 #include <stdio.h> 6 #include "pslib .h"6 #include "pslib_strict.h" 7 7 #include "psTest.h" 8 8 #include "psTest.h" -
trunk/psLib/test/dataManip/tst_psStats09.c
r3160 r3682 5 5 *****************************************************************************/ 6 6 #include <stdio.h> 7 #include "pslib .h"7 #include "pslib_strict.h" 8 8 #include "psTest.h" 9 9 #include "psTest.h" -
trunk/psLib/test/dataManip/tst_psVectorFFT.c
r3264 r3682 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1.1 4$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-0 2-17 19:26:25$8 * @version $Revision: 1.15 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-04-07 20:27:42 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 16 16 17 17 #include "psTest.h" 18 #include "pslib .h"18 #include "pslib_strict.h" 19 19 20 20 #define GENIMAGE(img,c,r,TYP, valueFcn) \ -
trunk/psLib/test/fileUtils/tst_psDB.c
r3598 r3682 9 9 * @author Aaron Culliney, MHPCC 10 10 * 11 * @version $Revision: 1. 6$ $Name: not supported by cvs2svn $12 * @date $Date: 2005-0 3-31 23:01:46$11 * @version $Revision: 1.7 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-04-07 20:27:41 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 25 25 26 26 #include "psTest.h" 27 #include "pslib .h"27 #include "pslib_strict.h" 28 28 29 29 #define STR_1 "hello world!" -
trunk/psLib/test/fileUtils/tst_psFits.c
r3495 r3682 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1.2 3$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-0 3-24 22:21:17$8 * @version $Revision: 1.24 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-04-07 20:27:42 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 18 18 19 19 #include "psTest.h" 20 #include "pslib .h"20 #include "pslib_strict.h" 21 21 22 22 #define GENIMAGE(img,c,r,TYP, valueFcn) \ -
trunk/psLib/test/fileUtils/tst_psLookupTable_01.c
r3598 r3682 12 12 * @author Ross Harman, MHPCC 13 13 * 14 * @version $Revision: 1.1 3$ $Name: not supported by cvs2svn $15 * @date $Date: 2005-0 3-31 23:01:46$14 * @version $Revision: 1.14 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-04-07 20:27:42 $ 16 16 * 17 17 * Copyright 2004-5 Maui High Performance Computing Center, University of Hawaii … … 19 19 */ 20 20 21 #include "pslib .h"21 #include "pslib_strict.h" 22 22 #include "psTest.h" 23 23 #include <string.h> -
trunk/psLib/test/image/tst_psImage.c
r3264 r3682 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1.3 1$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-0 2-17 19:26:25$8 * @version $Revision: 1.32 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-04-07 20:27:42 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 18 18 19 19 #include "psTest.h" 20 #include "pslib .h"20 #include "pslib_strict.h" 21 21 #include "psType.h" 22 22 … … 51 51 0,1,100,1,150,100 52 52 }; 53 psU32 types = 1 3;53 psU32 types = 12; 54 54 psElemType type[] = { PS_TYPE_S8, PS_TYPE_S16, PS_TYPE_S32, PS_TYPE_S64, 55 55 PS_TYPE_U8, PS_TYPE_U16, PS_TYPE_U32, PS_TYPE_U64, 56 PS_TYPE_F32, PS_TYPE_F64, PS_TYPE_C32, PS_TYPE_C64, 57 PS_TYPE_PTR }; 56 PS_TYPE_F32, PS_TYPE_F64, PS_TYPE_C32, PS_TYPE_C64}; 58 57 59 58 psLogMsg(__func__,PS_LOG_INFO,"#546 - psImageAlloc shall allocate memory for a psImage structure"); … … 193 192 } 194 193 } 195 }196 break;197 case PS_TYPE_PTR: {198 psU32 rows = numRows[i];199 psU32 cols = numCols[i];200 psImage* temp = psImageAlloc(1,1,PS_TYPE_F32);201 202 for (psS32 r=0;r<rows;r++) {203 for (psS32 c=0;c<cols;c++) {204 image->data.PTR[r][c] = psMemIncrRefCounter(temp);205 }206 }207 for (psS32 r=0;r<rows;r++) {208 for (psS32 c=0;c<cols;c++) {209 if (image->data.PTR[r][c] != temp) {210 psError(PS_ERR_UNKNOWN, true, "Could not set pixel in pointer image at (%d,%d): %x %x",211 c,r,image->data.PTR[r][c],temp);212 psFree(image);213 psFree(temp);214 return 8;215 }216 }217 }218 psFree(temp);219 194 } 220 195 break; -
trunk/psLib/test/image/tst_psImageConvolve.c
r2911 r3682 5 5 * @author Robert DeSonia, MHPCC 6 6 * 7 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $8 * @date $Date: 2005-0 1-05 21:16:15$7 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2005-04-07 20:27:42 $ 9 9 * 10 10 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 17 17 18 18 #include "psTest.h" 19 #include "pslib .h"19 #include "pslib_strict.h" 20 20 #include "psType.h" 21 21 -
trunk/psLib/test/image/tst_psImageExtraction.c
r3311 r3682 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1.2 1$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-0 2-23 21:36:57$8 * @version $Revision: 1.22 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-04-07 20:27:42 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 15 15 16 16 #include "psTest.h" 17 #include "pslib .h"17 #include "pslib_strict.h" 18 18 #include "psType.h" 19 19 -
trunk/psLib/test/image/tst_psImageFFT.c
r3264 r3682 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1.1 6$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-0 2-17 19:26:25$8 * @version $Revision: 1.17 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-04-07 20:27:42 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 16 16 17 17 #include "psTest.h" 18 #include "pslib .h"18 #include "pslib_strict.h" 19 19 20 20 #define GENIMAGE(img,c,r,TYP, valueFcn) \ -
trunk/psLib/test/image/tst_psImageIO.c
r3264 r3682 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1.1 3$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-0 2-17 19:26:25$8 * @version $Revision: 1.14 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-04-07 20:27:42 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 21 21 22 22 #include "psTest.h" 23 #include "pslib .h"23 #include "pslib_strict.h" 24 24 25 25 #define GENIMAGE(img,c,r,TYP, valueFcn) \ -
trunk/psLib/test/image/tst_psImageInterpolate.c
r3446 r3682 5 5 * @author Eric Van Alst, MHPCC 6 6 * 7 * @version $Revision: 1. 5$7 * @version $Revision: 1.6 $ 8 8 * $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-0 3-18 02:35:15$9 * @date $Date: 2005-04-07 20:27:42 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 14 14 15 15 #include "psTest.h" 16 #include "pslib .h"16 #include "pslib_strict.h" 17 17 18 18 #define GENIMAGE(img,c,r,TYP,valueFcn) \ … … 100 100 101 101 // Perform interpolation with invalid input image type 102 img1 = psImageAlloc(10,10,PS_TYPE_ PTR);102 img1 = psImageAlloc(10,10,PS_TYPE_BOOL); 103 103 psLogMsg(__func__,PS_LOG_INFO,"Following should generate an error message"); 104 104 val = psImagePixelInterpolate(img1,1.2,1.2,NULL,0,10.0,PS_INTERPOLATE_FLAT); -
trunk/psLib/test/image/tst_psImageManip.c
r3446 r3682 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1.4 0$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-0 3-18 02:35:15$8 * @version $Revision: 1.41 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-04-07 20:27:42 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 22 22 23 23 #include "psTest.h" 24 #include "pslib .h"24 #include "pslib_strict.h" 25 25 #include "psType.h" 26 26 … … 1788 1788 // Verify that that an invalid image type is handled properly 1789 1789 psErrorClear(); 1790 psImage* invImage = psImageAlloc(cols,rows,PS_TYPE_ PTR);1791 memset(invImage->rawDataBuffer,0,cols*rows*sizeof(ps Ptr)); // make sure the image is of all NULLs1790 psImage* invImage = psImageAlloc(cols,rows,PS_TYPE_BOOL); 1791 memset(invImage->rawDataBuffer,0,cols*rows*sizeof(psBool)); // make sure the image is of all NULLs 1792 1792 result = psImageResample(result,invImage,2,PS_INTERPOLATE_FLAT); 1793 1793 if (result != NULL) { -
trunk/psLib/test/image/tst_psImageStats.c
r3310 r3682 15 15 #include <math.h> 16 16 17 #include "pslib .h"17 #include "pslib_strict.h" 18 18 #include "psTest.h" 19 19 -
trunk/psLib/test/image/verified/tst_psImage.stderr
r3127 r3682 79 79 <DATE><TIME>|<HOST>|E|psImageAlloc (FILE:LINENO) 80 80 Specified number of rows (0) or columns (0) is invalid. 81 <DATE><TIME>|<HOST>|I|testImageAlloc82 Testing psImage with type 0h83 <DATE><TIME>|<HOST>|I|testImageAlloc84 Following should be an error.85 <DATE><TIME>|<HOST>|E|psImageAlloc (FILE:LINENO)86 Specified number of rows (0) or columns (0) is invalid.87 81 88 82 ---> TESTPOINT PASSED (psImage{psImageAlloc} | tst_psImage.c) -
trunk/psLib/test/image/verified/tst_psImageInterpolate.stderr
r3127 r3682 21 21 Following should generate an error message 22 22 <DATE><TIME>|<HOST>|E|psImagePixelInterpolate (FILE:LINENO) 23 Specified psImage type, ps Ptr, is not supported.23 Specified psImage type, psBool, is not supported. 24 24 <DATE><TIME>|<HOST>|I|testInterpolateError 25 25 Following should generate an error message 26 26 <DATE><TIME>|<HOST>|E|psImagePixelInterpolate (FILE:LINENO) 27 Specified psImage type, ps Ptr, is not supported.27 Specified psImage type, psBool, is not supported. 28 28 29 29 ---> TESTPOINT PASSED (psImagePixelInterpolate{psImagePixelInterpolate} | tst_psImageInterpolate.c) -
trunk/psLib/test/image/verified/tst_psImageManip.stderr
r3446 r3682 424 424 Specified interpolation mode, -1, is unsupported. 425 425 <DATE><TIME>|<HOST>|E|psImageResample (FILE:LINENO) 426 Specified psImage type, ps Ptr, is not supported.426 Specified psImage type, psBool, is not supported. 427 427 428 428 ---> TESTPOINT PASSED (psImage{psImageResample} | tst_psImageManip.c) -
trunk/psLib/test/runTest
r3599 r3682 26 26 # 27 27 # $Revison: $ $Name: not supported by cvs2svn $ 28 # $Date: 2005-0 3-31 23:37:09$28 # $Date: 2005-04-07 20:27:41 $ 29 29 # 30 30 # Copyright 2004 Maui High Performance Computering Center, University of Hawaii … … 144 144 s/v\d+.\d+.\d+/vX.X.X/g; 145 145 146 if (m/TestPoint:\s*([^\*]+)/) { 147 $testfile = $1; 148 } 149 if (m/^---> TESTPOINT\s(\S+)/) { 150 print "\t$testfile- $1\n"; 151 } 152 146 153 # Filter lines with malloc. This is an artifact of memory testing 147 154 # with the Mac testbed … … 177 184 s/v\d+.\d+.\d+/vX.X.X/g; 178 185 186 if (m/ TestPoint:\s*([^\*]+)/) { 187 $testfile = $1; 188 } 189 if (m/^---> TESTPOINT\s(\S+)/) { 190 print "\t$testfile- $1\n"; 191 } 192 179 193 # Filter lines with malloc. This is an artifact of memory testing 180 194 # with the Mac testbed 195 181 196 if ( !m/\*\*\*\smalloc/ ) { 182 197 print MODFILE ($_); -
trunk/psLib/test/sysUtils/tst_psAbort.c
r3264 r3682 8 8 * @author Eric Van Alst, MHPCC 9 9 * 10 * @version $Revision: 1. 4$ $Name: not supported by cvs2svn $11 * @date $Date: 2005-0 2-17 19:26:25$10 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2005-04-07 20:27:42 $ 12 12 * 13 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii 14 14 */ 15 15 16 #include "pslib .h"16 #include "pslib_strict.h" 17 17 #include "psTest.h" 18 18 -
trunk/psLib/test/sysUtils/tst_psConfigure.c
r3264 r3682 11 11 * @author Ross Harman, MHPCC 12 12 * 13 * @version $Revision: 1. 2$ $Name: not supported by cvs2svn $14 * @date $Date: 2005-0 2-17 19:26:25$13 * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2005-04-07 20:27:42 $ 15 15 * 16 16 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 18 18 */ 19 19 20 #include "pslib .h"20 #include "pslib_strict.h" 21 21 #include "psTest.h" 22 22 -
trunk/psLib/test/sysUtils/tst_psError.c
r3264 r3682 13 13 * @author Eric Van Alst, MHPCC 14 14 * 15 * @version $Revision: 1.1 7$ $Name: not supported by cvs2svn $16 * @date $Date: 2005-0 2-17 19:26:25$15 * @version $Revision: 1.18 $ $Name: not supported by cvs2svn $ 16 * @date $Date: 2005-04-07 20:27:42 $ 17 17 * 18 18 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 23 23 #include <stdlib.h> 24 24 #include <string.h> 25 #include "pslib .h"25 #include "pslib_strict.h" 26 26 #include "psTest.h" 27 27 -
trunk/psLib/test/sysUtils/tst_psLogMsg.c
r2204 r3682 5 5 *****************************************************************************/ 6 6 #include <stdio.h> 7 #include "pslib .h"7 #include "pslib_strict.h" 8 8 #include "psTest.h" 9 9 -
trunk/psLib/test/sysUtils/tst_psMemory.c
r3264 r3682 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1.3 1$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-0 2-17 19:26:25$8 * @version $Revision: 1.32 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-04-07 20:27:42 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii 12 12 */ 13 14 // need to allow malloc for callback use15 #define PS_ALLOW_MALLOC 116 13 17 14 #include <unistd.h> … … 24 21 25 22 #include "psTest.h" 26 #include "pslib.h" 23 #include "pslib.h" // need to allow malloc for callback use 27 24 28 25 static psS32 TPFreeReferencedMemory( void ); -
trunk/psLib/test/sysUtils/tst_psString.c
r3264 r3682 17 17 * @author Eric Van Alst, MHPCC 18 18 * 19 * @version $Revision: 1.1 2$ $Name: not supported by cvs2svn $20 * @date $Date: 2005-0 2-17 19:26:25$19 * @version $Revision: 1.13 $ $Name: not supported by cvs2svn $ 20 * @date $Date: 2005-04-07 20:27:42 $ 21 21 * 22 22 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 25 25 26 26 #include <string.h> 27 #include "pslib .h"27 #include "pslib_strict.h" 28 28 #include "psTest.h" 29 29 -
trunk/psLib/test/sysUtils/tst_psStringCopy.c
r3264 r3682 17 17 * @author Eric Van Alst, MHPCC 18 18 * 19 * @version $Revision: 1.1 2$ $Name: not supported by cvs2svn $20 * @date $Date: 2005-0 2-17 19:26:25$19 * @version $Revision: 1.13 $ $Name: not supported by cvs2svn $ 20 * @date $Date: 2005-04-07 20:27:42 $ 21 21 * 22 22 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 25 25 26 26 #include <string.h> 27 #include "pslib .h"27 #include "pslib_strict.h" 28 28 #include "psTest.h" 29 29 -
trunk/psLib/test/sysUtils/tst_psTrace.c
r3541 r3682 6 6 *****************************************************************************/ 7 7 #include <stdio.h> 8 #include "pslib .h"8 #include "pslib_strict.h" 9 9 #include "psTest.h" 10 10 -
trunk/psLib/test/tst_template.c
r3533 r3682 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1. 5$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-0 3-28 22:54:59$8 * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-04-07 20:27:41 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 13 13 14 14 #include "psTest.h" 15 #include "pslib .h"15 #include "pslib_strict.h" 16 16 17 17 static psS32 test1( void );
Note:
See TracChangeset
for help on using the changeset viewer.
