#include "cdflib.h"Defines | |
| #define | COPYblockSIZE 512 |
Functions | |
| static CDFstatus SearchForRecord_r | PROTOARGs ((vFILE *fp, Int32 vxrOffset, Int32 recNum, Int32 *firstRec, Int32 *lastRec, Int32 *offset, Logical *found)) |
| static CDFstatus IndexingStatistics_r | PROTOARGs ((vFILE *fp, Int32 vxrOffset, Int32 maxRec, int level, Int32 *nLevels, Int32 *nVXRs, Int32 *nEntries, Int32 *nAlloc, Int32 *nRecords)) |
| static CDFstatus PrevRecord_r | PROTOARGs ((vFILE *fp, Int32 vxrOffset, Int32 baseRec, Int32 *prevRec, Logical *found)) |
| static CDFstatus NextRecord_r | PROTOARGs ((vFILE *fp, Int32 vxrOffset, Int32 baseRec, Int32 *nextRec, Logical *found)) |
| static CDFstatus CalcCompressionPct_r | PROTOARGs ((vFILE *fp, Int32 vxrOffset, Int32 nPhyRecBytes, long *uTotal, long *cTotal)) |
| static CDFstatus ModIndexOffset_r | PROTOARGs ((vFILE *fp, Int32 vxrOffset, Int32 firstRec, Int32 lastRec, Int32 newOffset)) |
| static CDFstatus ReadSparseFull | PROTOARGs ((struct CDFstruct *CDF, struct VarStruct *Var, Int32 firstRec, Int32 lastRec, void *buffer)) |
| static CDFstatus ReadSparsePartial | PROTOARGs ((struct CDFstruct *CDF, struct VarStruct *Var, Int32 recNum, Int32 offset, Int32 nValues, void *buffer)) |
| static CDFstatus BringToStage | PROTOARGs ((struct CDFstruct *CDF, struct VarStruct *Var, Int32 recNum, Logical *found)) |
| static CDFstatus WriteCompressedRecords | PROTOARGs ((struct CDFstruct *CDF, struct VarStruct *Var, Int32 firstRec, Int32 lastRec, void *buffer, Int32 nValues, Int32 offset, Logical fullRecord)) |
| STATICforIDL CDFstatus | DecompressCDF (vFILE *dotFp, vFILE *uDotFp) |
| STATICforIDL CDFstatus | WriteCompressedCDF (struct CDFstruct *CDF, struct CPRstruct *CPR, Logical empty) |
| STATICforIDL CDFstatus | CopyCDF (vFILE *srcFp, vFILE *destFp) |
| STATICforIDL CDFstatus | WriteVarValues (struct CDFstruct *CDF, struct VarStruct *Var, Int32 startRec, Int32 offset, Int32 nValues, void *buffer) |
| STATICforIDL CDFstatus | WriteVarElems (struct VarStruct *Var, vFILE *fp, Int32 offset, Int32 numElems, void *buffer) |
| STATICforIDL CDFstatus | PrevRecord (struct CDFstruct *CDF, Int32 VDRoffset, Logical zVar, Int32 baseRec, Int32 *prevRec, Logical *found) |
| static CDFstatus | PrevRecord_r (vFILE *fp, Int32 vxrOffset, Int32 baseRec, Int32 *prevRec, Logical *found) |
| STATICforIDL CDFstatus | NextRecord (struct CDFstruct *CDF, Int32 VDRoffset, Logical zVar, Int32 baseRec, Int32 *nextRec, Logical *found) |
| static CDFstatus | NextRecord_r (vFILE *fp, Int32 vxrOffset, Int32 baseRec, Int32 *nextRec, Logical *found) |
| STATICforIDL CDFstatus | SearchForRecord (struct CDFstruct *CDF, Int32 VDRoffset, Logical zVar, Int32 recNum, Int32 *firstRec, Int32 *lastRec, Int32 *offset, Logical *found) |
| static CDFstatus | SearchForRecord_r (vFILE *fp, Int32 vxrOffset, Int32 recNum, Int32 *firstRec, Int32 *lastRec, Int32 *offset, Logical *found) |
| STATICforIDL CDFstatus | IndexingStatistics (struct CDFstruct *CDF, Int32 VDRoffset, Logical zVar, Int32 *nVXRsP, Int32 *nEntriesP, Int32 *nAllocP, Int32 *nRecordsP, Int32 *nLevelsP) |
| static CDFstatus | IndexingStatistics_r (vFILE *fp, Int32 vxrOffset, Int32 maxRec, int level, Int32 *nLevels, Int32 *nVXRs, Int32 *nEntries, Int32 *nAlloc, Int32 *nRecords) |
| STATICforIDL CDFstatus | BuildPadBuffer (struct CDFstruct *CDF, struct VarStruct *Var, Int32 nRecords, int *how, void **buffer, Logical encode) |
| STATICforIDL CDFstatus | ReadVarValues (struct CDFstruct *CDF, struct VarStruct *Var, Int32 startRec, Int32 offset, Int32 nValues, void *buffer) |
| STATICforIDL CDFstatus | ReadVarElems (struct VarStruct *Var, vFILE *fp, Int32 offset, Int32 numElems, void *buffer) |
| VISIBLE_PREFIX void | ROWtoCOL (void *iBuffer, void *oBuffer, long numDims, dimSizes, long nValueBytes) |
| VISIBLE_PREFIX void | COLtoROW (void *iBuffer, void *oBuffer, long numDims, dimSizes, long nValueBytes) |
| VISIBLE_PREFIX void | INCRindicesROW (long numDims, dimSizes, indices) |
| VISIBLE_PREFIX void | INCRindicesCOL (long numDims, dimSizes, indices) |
| STATICforIDL CDFstatus | InitVarStage (struct CDFstruct *CDF, struct VarStruct *Var, Int32 nBytes) |
| STATICforIDL CDFstatus | InitScratch (char *scratchDir, vFILE **scratchFpH, int cacheSize) |
| STATICforIDL char * | ScratchDirectory (struct CDFstruct *CDF) |
| STATICforIDL CDFstatus | FlushStage (struct CDFstruct *CDF, struct VarStruct *Var) |
| static CDFstatus | BringToStage (struct CDFstruct *CDF, struct VarStruct *Var, Int32 recNum, Logical *found) |
| STATICforIDL CDFstatus | CopyBytes (vFILE *iFp, Int32 iStart, CDFstatus iError, Int32 nBytes, vFILE *oFp, Int32 oStart, CDFstatus oError) |
| STATICforIDL CDFstatus | ModIndexOffset (struct CDFstruct *CDF, struct VarStruct *Var, Int32 firstRec, Int32 lastRec, Int32 newOffset) |
| static CDFstatus | ModIndexOffset_r (vFILE *fp, Int32 vxrOffset, Int32 firstRec, Int32 lastRec, Int32 newOffset) |
| static CDFstatus | WriteCompressedRecords (struct CDFstruct *CDF, struct VarStruct *Var, Int32 firstRec, Int32 lastRec, void *buffer, Int32 nValues, Int32 offset, Logical fullRecord) |
| STATICforIDL CDFstatus | CalcCompressionPct (struct CDFstruct *CDF, Int32 vdrOffset, Logical zVar, long *cPct) |
| static CDFstatus | CalcCompressionPct_r (vFILE *fp, Int32 vxrOffset, Int32 nPhyRecBytes, long *uTotal, long *cTotal) |
| STATICforIDL CDFstatus | CalcPhyRecBytes (struct CDFstruct *CDF, Int32 vdrOffset, Logical zVar, Int32 *nPhyRecBytes) |
| static CDFstatus | ReadSparseFull (struct CDFstruct *CDF, struct VarStruct *Var, Int32 firstRec, Int32 lastRec, void *buffer) |
| static CDFstatus | ReadSparsePartial (struct CDFstruct *CDF, struct VarStruct *Var, Int32 recNum, Int32 offset, Int32 nValues, void *buffer) |
| static CDFstatus | ReadCompressedFull (struct CDFstruct *CDF, struct VarStruct *Var, Int32 firstRec, Int32 lastRec, void *buffer) |
| static CDFstatus | ReadCompressedPartial (struct CDFstruct *CDF, struct VarStruct *Var, Int32 recNum, Int32 offset, Int32 nValues, void *buffer) |
| #define COPYblockSIZE 512 |
| static CDFstatus BringToStage | ( | struct CDFstruct * | CDF, | |
| struct VarStruct * | Var, | |||
| Int32 | recNum, | |||
| Logical * | found | |||
| ) | [static] |
| STATICforIDL CDFstatus BuildPadBuffer | ( | struct CDFstruct * | CDF, | |
| struct VarStruct * | Var, | |||
| Int32 | nRecords, | |||
| int * | how, | |||
| void ** | buffer, | |||
| Logical | encode | |||
| ) |
| STATICforIDL CDFstatus CalcCompressionPct | ( | struct CDFstruct * | CDF, | |
| Int32 | vdrOffset, | |||
| Logical | zVar, | |||
| long * | cPct | |||
| ) |
| static CDFstatus CalcCompressionPct_r | ( | vFILE * | fp, | |
| Int32 | vxrOffset, | |||
| Int32 | nPhyRecBytes, | |||
| long * | uTotal, | |||
| long * | cTotal | |||
| ) | [static] |
| STATICforIDL CDFstatus CalcPhyRecBytes | ( | struct CDFstruct * | CDF, | |
| Int32 | vdrOffset, | |||
| Logical | zVar, | |||
| Int32 * | nPhyRecBytes | |||
| ) |
| VISIBLE_PREFIX void COLtoROW | ( | void * | iBuffer, | |
| void * | oBuffer, | |||
| long | numDims, | |||
| dimSizes | , | |||
| long | nValueBytes | |||
| ) |
| STATICforIDL CDFstatus CopyBytes | ( | vFILE * | iFp, | |
| Int32 | iStart, | |||
| CDFstatus | iError, | |||
| Int32 | nBytes, | |||
| vFILE * | oFp, | |||
| Int32 | oStart, | |||
| CDFstatus | oError | |||
| ) |
| VISIBLE_PREFIX void INCRindicesCOL | ( | long | numDims, | |
| dimSizes | , | |||
| indices | ||||
| ) |
| VISIBLE_PREFIX void INCRindicesROW | ( | long | numDims, | |
| dimSizes | , | |||
| indices | ||||
| ) |
| STATICforIDL CDFstatus IndexingStatistics | ( | struct CDFstruct * | CDF, | |
| Int32 | VDRoffset, | |||
| Logical | zVar, | |||
| Int32 * | nVXRsP, | |||
| Int32 * | nEntriesP, | |||
| Int32 * | nAllocP, | |||
| Int32 * | nRecordsP, | |||
| Int32 * | nLevelsP | |||
| ) |
| static CDFstatus IndexingStatistics_r | ( | vFILE * | fp, | |
| Int32 | vxrOffset, | |||
| Int32 | maxRec, | |||
| int | level, | |||
| Int32 * | nLevels, | |||
| Int32 * | nVXRs, | |||
| Int32 * | nEntries, | |||
| Int32 * | nAlloc, | |||
| Int32 * | nRecords | |||
| ) | [static] |
| STATICforIDL CDFstatus InitVarStage | ( | struct CDFstruct * | CDF, | |
| struct VarStruct * | Var, | |||
| Int32 | nBytes | |||
| ) |
| STATICforIDL CDFstatus ModIndexOffset | ( | struct CDFstruct * | CDF, | |
| struct VarStruct * | Var, | |||
| Int32 | firstRec, | |||
| Int32 | lastRec, | |||
| Int32 | newOffset | |||
| ) |
| static CDFstatus ModIndexOffset_r | ( | vFILE * | fp, | |
| Int32 | vxrOffset, | |||
| Int32 | firstRec, | |||
| Int32 | lastRec, | |||
| Int32 | newOffset | |||
| ) | [static] |
| STATICforIDL CDFstatus NextRecord | ( | struct CDFstruct * | CDF, | |
| Int32 | VDRoffset, | |||
| Logical | zVar, | |||
| Int32 | baseRec, | |||
| Int32 * | nextRec, | |||
| Logical * | found | |||
| ) |
| static CDFstatus NextRecord_r | ( | vFILE * | fp, | |
| Int32 | vxrOffset, | |||
| Int32 | baseRec, | |||
| Int32 * | nextRec, | |||
| Logical * | found | |||
| ) | [static] |
| STATICforIDL CDFstatus PrevRecord | ( | struct CDFstruct * | CDF, | |
| Int32 | VDRoffset, | |||
| Logical | zVar, | |||
| Int32 | baseRec, | |||
| Int32 * | prevRec, | |||
| Logical * | found | |||
| ) |
| static CDFstatus PrevRecord_r | ( | vFILE * | fp, | |
| Int32 | vxrOffset, | |||
| Int32 | baseRec, | |||
| Int32 * | prevRec, | |||
| Logical * | found | |||
| ) | [static] |
| static CDFstatus WriteCompressedRecords PROTOARGs | ( | (struct CDFstruct *CDF, struct VarStruct *Var, Int32 firstRec, Int32 lastRec, void *buffer, Int32 nValues, Int32 offset, Logical fullRecord) | ) | [static] |
| static CDFstatus BringToStage PROTOARGs | ( | (struct CDFstruct *CDF, struct VarStruct *Var, Int32 recNum, Logical *found) | ) | [static] |
| static CDFstatus ReadSparsePartial PROTOARGs | ( | (struct CDFstruct *CDF, struct VarStruct *Var, Int32 recNum, Int32 offset, Int32 nValues, void *buffer) | ) | [static] |
| static CDFstatus ReadCompressedFull PROTOARGs | ( | (struct CDFstruct *CDF, struct VarStruct *Var, Int32 firstRec, Int32 lastRec, void *buffer) | ) | [static] |
| static CDFstatus ModIndexOffset_r PROTOARGs | ( | (vFILE *fp, Int32 vxrOffset, Int32 firstRec, Int32 lastRec, Int32 newOffset) | ) | [static] |
| static CDFstatus CalcCompressionPct_r PROTOARGs | ( | (vFILE *fp, Int32 vxrOffset, Int32 nPhyRecBytes, long *uTotal, long *cTotal) | ) | [static] |
| static CDFstatus NextRecord_r PROTOARGs | ( | (vFILE *fp, Int32 vxrOffset, Int32 baseRec, Int32 *nextRec, Logical *found) | ) | [static] |
| static CDFstatus PrevRecord_r PROTOARGs | ( | (vFILE *fp, Int32 vxrOffset, Int32 baseRec, Int32 *prevRec, Logical *found) | ) | [static] |
| static CDFstatus IndexingStatistics_r PROTOARGs | ( | (vFILE *fp, Int32 vxrOffset, Int32 maxRec, int level, Int32 *nLevels, Int32 *nVXRs, Int32 *nEntries, Int32 *nAlloc, Int32 *nRecords) | ) | [static] |
| static CDFstatus SearchForRecord_r PROTOARGs | ( | (vFILE *fp, Int32 vxrOffset, Int32 recNum, Int32 *firstRec, Int32 *lastRec, Int32 *offset, Logical *found) | ) | [static] |
| static CDFstatus ReadCompressedFull | ( | struct CDFstruct * | CDF, | |
| struct VarStruct * | Var, | |||
| Int32 | firstRec, | |||
| Int32 | lastRec, | |||
| void * | buffer | |||
| ) | [static] |
| static CDFstatus ReadCompressedPartial | ( | struct CDFstruct * | CDF, | |
| struct VarStruct * | Var, | |||
| Int32 | recNum, | |||
| Int32 | offset, | |||
| Int32 | nValues, | |||
| void * | buffer | |||
| ) | [static] |
| static CDFstatus ReadSparseFull | ( | struct CDFstruct * | CDF, | |
| struct VarStruct * | Var, | |||
| Int32 | firstRec, | |||
| Int32 | lastRec, | |||
| void * | buffer | |||
| ) | [static] |
| static CDFstatus ReadSparsePartial | ( | struct CDFstruct * | CDF, | |
| struct VarStruct * | Var, | |||
| Int32 | recNum, | |||
| Int32 | offset, | |||
| Int32 | nValues, | |||
| void * | buffer | |||
| ) | [static] |
| STATICforIDL CDFstatus ReadVarElems | ( | struct VarStruct * | Var, | |
| vFILE * | fp, | |||
| Int32 | offset, | |||
| Int32 | numElems, | |||
| void * | buffer | |||
| ) |
| STATICforIDL CDFstatus ReadVarValues | ( | struct CDFstruct * | CDF, | |
| struct VarStruct * | Var, | |||
| Int32 | startRec, | |||
| Int32 | offset, | |||
| Int32 | nValues, | |||
| void * | buffer | |||
| ) |
| VISIBLE_PREFIX void ROWtoCOL | ( | void * | iBuffer, | |
| void * | oBuffer, | |||
| long | numDims, | |||
| dimSizes | , | |||
| long | nValueBytes | |||
| ) |
| STATICforIDL char* ScratchDirectory | ( | struct CDFstruct * | CDF | ) |
| STATICforIDL CDFstatus SearchForRecord | ( | struct CDFstruct * | CDF, | |
| Int32 | VDRoffset, | |||
| Logical | zVar, | |||
| Int32 | recNum, | |||
| Int32 * | firstRec, | |||
| Int32 * | lastRec, | |||
| Int32 * | offset, | |||
| Logical * | found | |||
| ) |
| static CDFstatus SearchForRecord_r | ( | vFILE * | fp, | |
| Int32 | vxrOffset, | |||
| Int32 | recNum, | |||
| Int32 * | firstRec, | |||
| Int32 * | lastRec, | |||
| Int32 * | offset, | |||
| Logical * | found | |||
| ) | [static] |
| STATICforIDL CDFstatus WriteCompressedCDF | ( | struct CDFstruct * | CDF, | |
| struct CPRstruct * | CPR, | |||
| Logical | empty | |||
| ) |
| static CDFstatus WriteCompressedRecords | ( | struct CDFstruct * | CDF, | |
| struct VarStruct * | Var, | |||
| Int32 | firstRec, | |||
| Int32 | lastRec, | |||
| void * | buffer, | |||
| Int32 | nValues, | |||
| Int32 | offset, | |||
| Logical | fullRecord | |||
| ) | [static] |
| STATICforIDL CDFstatus WriteVarElems | ( | struct VarStruct * | Var, | |
| vFILE * | fp, | |||
| Int32 | offset, | |||
| Int32 | numElems, | |||
| void * | buffer | |||
| ) |
| STATICforIDL CDFstatus WriteVarValues | ( | struct CDFstruct * | CDF, | |
| struct VarStruct * | Var, | |||
| Int32 | startRec, | |||
| Int32 | offset, | |||
| Int32 | nValues, | |||
| void * | buffer | |||
| ) |
1.5.7