#include "cdfdist.h"
Classes | |
struct | QOPstruct |
struct | GroupStruct |
struct | HyperStruct |
Defines | |
#define | CDFTOOLSh_INCLUDEd__ |
#define | INPUT_MAJOR 0 |
#define | useDEFAULTcacheSIZE 0 |
#define | CHECKforABORTso |
#define | NOMATCH (-1) |
#define | MATCHES (-2) |
#define | LEFT_JUSTIFY 1 |
#define | CENTER_JUSTIFY 2 |
#define | RIGHT_JUSTIFY 3 |
#define | DU_MAX_DIR_LEN 512 |
#define | DU_MAX_NAME_LEN 256 |
#define | DU_MAX_PATTERNS 16 |
#define | TIME_STAMP_LEN 31 |
#define | EPOCH0_STYLE 0 |
#define | EPOCH1_STYLE 1 |
#define | EPOCH2_STYLE 2 |
#define | EPOCH3_STYLE 3 |
#define | EPOCHf_STYLE 4 |
#define | EPOCHx_STYLE 5 |
#define | QOP_MAX_ARGVs 40 |
#define | QOP_MAX_PARMs 40 |
#define | QOP_MAX_QUALs 30 |
#define | ERRORs 0 |
#define | WARNs 1 |
#define | INFOs 2 |
#define | Int32FORMAT "%ld" |
#define | Int64FORMAT "%lld" |
#define | Int32uFORMAT "%lu" |
#define | Int32FORMATmod "l" |
#define | Int32hexFORMAT "0x%08lX" |
#define | Int64hexFORMAT "0x%016llX" |
#define | NOvalues 0 |
#define | NRVvalues 1 |
#define | RVvalues 2 |
#define | ALLvalues 3 |
#define | NAMEDvalues 4 |
#define | NoMoreAccess(id) |
#define | HYPER_READ(id, zVar, hyperX, buffer) |
#define | HYPER_WRITE(id, zVar, hyperX, buffer) |
#define | NO_PCT (-1) |
#define | PCT(n, N, x, X) ((int)((n*100*X + 100*x)/(N*X))) |
#define | SCREEN_WIDTH 80 |
#define | SCREEN_HEIGHT 24 |
#define | MAX_SCREENLINE_LEN 79 |
#define | MAX_QUALIFIER_NAME_LEN 40 |
#define | MAX_nonSTRING_VALUE_LEN 320 |
#define | MAX_KEY_TOKEN_LEN 20 |
#define | MAX_GZIP_TOKEN_LEN 6 |
#define | MAX_TOKEN_LEN 30 |
#define | MAX_SEVERITY_TEXT_LEN 20 |
#define | MAX_MESSAGE_TEXT_LEN 80 |
#define | MAX_PROGRAM_NAME_LEN 25 |
#define | MAX_ENCODED_INT4_LEN 10 |
#define | MAX_REPORTMASK_LEN 40 |
#define | MAX_oTEXT_LEN 150 |
#define | MAX_CACHESIZES_LEN 30 |
#define | MAX_TOLERANCES_LEN 30 |
#define | MAX_LINES_WHEN_PAGING 22 |
#define | BLANKs78 " " |
#define | BLANKs40 " " |
#define | EXIT_SUCCESS_ 0 |
#define | EXIT_FAILURE_ 1 |
#define | Exit exit(EXIT_SUCCESS_) |
#define | ExitBAD exit(EXIT_FAILURE_) |
#define | HighSHORTinLONG(l) ((short) (l >> 16)) |
#define | LowSHORTinLONG(l) ((short) (l & 0xFFFF)) |
#define | MAIN int main (argc, argv) int argc; char *argv[]; |
#define | NULpString(string) (string[0] == 0) |
#define | AOSs1(arrayofstrings, string0) |
#define | AOSs1A(arrayofstrings, string0) |
#define | AOSs1B(arrayofstrings, string0) |
#define | AOSs1C(arrayofstrings, string0) |
#define | AOSs1D(arrayofstrings, string0) |
#define | AOSs1E(arrayofstrings, string0) |
#define | AOSs2(arrayofstrings, string0, string1) |
#define | AOSs2A(arrayofstrings, string0, string1) |
#define | AOSs2B(arrayofstrings, string0, string1) |
#define | AOSs2C(arrayofstrings, string0, string1) |
#define | AOSs3(arrayofstrings, string0, string1, string2) |
#define | AOSs4(arrayofstrings, string0, string1, string2, string3) |
#define | AOSs5(arrayofstrings, string0, string1, string2, string3, string4) |
#define | AOSs6(arrayofstrings, string0, string1, string2, string3, string4, string5) |
#define | AOSs11(arrayofstrings, string0, string1, string2, string3, string4, string5, string6, string7, string8, string9, string10) |
#define | AOSs15(arrayofstrings, string0, string1, string2, string3, string4, string5, string6, string7, string8, string9, string10, string11, string12, string13, string14) |
#define | AOSs18(arrayofstrings, string0, string1, string2, string3, string4, string5, string6, string7, string8, string9, string10, string11, string12, string13, string14, string15, string16, string17) |
Typedefs | |
typedef struct QOPstruct | QOP |
Functions | |
void ASSIGNx | PROTOARGs ((void *, void *, long, long)) |
Logical IsDir | PROTOARGs ((char *)) |
void EncodeRecordJustify | PROTOARGs ((char *string, long recN, int minWidth)) |
void EncodeIndicesJustify | PROTOARGs ((char *string, long numDims, long indices[], int minWidth)) |
void EncodeRecordIndicesJustify | PROTOARGs ((char *string, long recN, long numDims, long indices[], int minWidth)) |
void Justify | PROTOARGs ((char *string, int minWidth)) |
void RemoveLeadingBlanks | PROTOARGs ((char *string)) |
void CopyToField | PROTOARGs ((char *string, char *field, int length)) |
void CopyFromField | PROTOARGs ((char *field, int length, char *string)) |
void CatToString | PROTOARGs ((char *string, char *cat, int length, int justify, char *more)) |
double SystemClock | PROTOARGs ((void)) |
void ParsePath | PROTOARGs ((char *path, char dir[DU_MAX_DIR_LEN+1], char name[DU_MAX_NAME_LEN+1])) |
QOP *Qop | PROTOARGs ((int, char *[], char *[], int *)) |
FILE *OnlineHelpFP | PROTOARGs ((char *, char *)) |
int WriteOut | PROTOARGs ((FILE *, char *)) |
char PickDelimiter | PROTOARGs ((char *, size_t)) |
void ConvertDataType | PROTOARGs ((long, long, void *, long, long, void *)) |
int EncodeDimensionality | PROTOARGs ((char *, long, long *)) |
int EncodeVariances | PROTOARGs ((char *, long, long, long *)) |
int EncodeRecordIndices | PROTOARGs ((char *, long, long, long, long *, long *)) |
int EncodeString | PROTOARGs ((long, char *, char *, int, int)) |
int EncodeValue | PROTOARGs ((long, void *, char *, int)) |
int EncodeValueFormat | PROTOARGs ((long dataType, void *binary, char *text, char *format, int minWidth, int maxWidth, int style)) |
int EncodeValuesFormat | PROTOARGs ((long dataType, long numElems, void *binary, char *text, char *format, int minWidth, int maxWidth, int style)) |
void EncodeNegativeZero | PROTOARGs ((char *string, char *format)) |
void WriteStringValue | PROTOARGs ((FILE *, long, void *, int, int)) |
void WriteEntryValue | PROTOARGs ((FILE *, long, long, void *, int, int)) |
char *EncodingToken | PROTOARGs ((long)) |
char *CompressionToken | PROTOARGs ((long cType, long cParms[CDF_MAX_PARMS])) |
char *SparsenessToken | PROTOARGs ((long sRecordsType, long sArraysType, long sArraysParms[CDF_MAX_PARMS])) |
long WhichCompression | PROTOARGs ((char *, long *, long *)) |
Logical DecodeValues | PROTOARGs ((char *, long, long *, void **, int)) |
Logical DecodeVariances | PROTOARGs ((char *, long, long *, long *)) |
Logical DecodeRecordAndIndices | PROTOARGs ((char *string, long *recN, long *nIndices, long indices[CDF_MAX_DIMS])) |
char *NextNonSpace | PROTOARGs ((char *cp)) |
char *strstrIgCase | PROTOARGs ((char *string, char *substring)) |
char *strchrIgCase | PROTOARGs ((char *str, int chr)) |
int strcmpIgCase | PROTOARGs ((char *string1, char *string2)) |
int strncmpIgCase | PROTOARGs ((char *string1, char *string2, size_t count)) |
void OutputWithMargin | PROTOARGs ((FILE *fp, char *text, int maxLen, int marginLen)) |
void InitPctLog | PROTOARGs ((int *lastPct, Logical *pctOn)) |
void UpdatePctLog | PROTOARGs ((int pct, int *lastPct)) |
void RefreshPctLog | PROTOARGs ((int lastPct)) |
void CleanupPctLog | PROTOARGs ((Logical *pctOn)) |
void Ncharacters | PROTOARGs ((FILE *fp, int nChars, int chr)) |
void CatNcharacters | PROTOARGs ((char *string, int nChars, int chr)) |
Logical TFqualifier | PROTOARGs ((QOP *qop, Logical *variable, int Tx, int Fx, Logical defaultTF, char *conflictText)) |
Logical S2qualifierLong | PROTOARGs ((QOP *qop, long *variable, int S1x, long S1, int S2x, long S2, long defaultS, char *conflictText)) |
Logical S3qualifierLong | PROTOARGs ((QOP *qop, long *variable, int S1x, long S1, int S2x, long S2, int S3x, long S3, long defaultS, char *conflictText)) |
void BlankPadRight | PROTOARGs ((char *string, int count)) |
CDFstatus GetFormatEntry | PROTOARGs ((Logical, long, char **)) |
Logical ParseOptionList | PROTOARGs ((int nTokens, char *tokens[], char *list, Logical present[])) |
char *NULedString | PROTOARGs ((char *existingString, size_t nCharacters)) |
void ReadCharStdIn | PROTOARGs ((char *key)) |
void WriteStringStdOut | PROTOARGs ((char *string, size_t length)) |
void DisplayError | PROTOARGs ((char *message)) |
int DirList | PROTOARGs ((char *dir, int patternC, char **patternS, char ***dirS, char ***nameS)) |
int CDFdirList | PROTOARGs ((char *path, char ***dirS, char ***nameS)) |
void RemoveExtensions | PROTOARGs ((int, char **)) |
char *TempCharStr | PROTOARGs ((int character)) |
void DisplayStatistics | PROTOARGs ((char *label, vSTATS *vStatsDotCDF, vSTATS *vStatsStage, vSTATS *vStatsCompress)) |
void BuildStatistics | PROTOARGs ((char *label, vSTATS *vStats, char temp1[MAX_SCREENLINE_LEN+1], char temp2[MAX_SCREENLINE_LEN+1], char temp3[MAX_SCREENLINE_LEN+1])) |
int WriteOutSO | VARPROTOARGs ((char *format,...)) |
int WriteOutFP | VARPROTOARGs ((FILE *fp, char *format,...)) |
void IncrRecordIndicesFirstLast | PROTOARGs ((Logical rowMajor, long *recordN, long numDims, long first[], long last[], long indices[])) |
void IncrIndicesFirstLastRow | PROTOARGs ((long numDims, long first[], long last[], long indices[])) |
Logical AllocateBuffers | PROTOARGs ((long nRecords, long numDims, long dimSizes[], struct GroupStruct *groups, int nScalarBuffers, int nHyperBuffers, Byte **handles[], size_t nValueBytes[], Logical rowMajor, int minNofHypers, void(*fatalFnc) PROTOARGs((char *msg)))) |
void InitHyperParms | PROTOARGs ((struct HyperStruct *hyperX, struct GroupStruct *groups, long numDims, long *nHypers, long *nValues)) |
void IncrHyperParms | PROTOARGs ((struct HyperStruct *hyperX, struct GroupStruct *groups, long numDims, Logical rowMajor, long *nValues)) |
Logical HyperFullRecord | PROTOARGs ((struct GroupStruct *groups, long numDims)) |
Logical HyperStartOfRecord | PROTOARGs ((struct HyperStruct *hyperX, long numDims)) |
void WriteOutPct | PROTOARGs ((int pct)) |
Logical SwitchMajority | PROTOARGs ((Byte *buffer, Logical rowMajor, long numDims, long dimSizes[], long recCount, size_t nValueBytes)) |
Logical CompressedCDF | PROTOARGs ((char *CDFpath)) |
Logical SameCompressions | PROTOARGs ((long cType1, long cParms1[CDF_MAX_PARMS], long cType2, long cParms2[CDF_MAX_PARMS])) |
Logical SameSparsenesses | PROTOARGs ((long sRecordsType1, long sArraysType1, long sArraysParms1[CDF_MAX_PARMS], long sRecordsType2, long sArraysType2, long sArraysParms2[CDF_MAX_PARMS])) |
int LongWidth | PROTOARGs ((long value)) |
void DisplayIdentification | PROTOARGs ((char *name)) |
Logical ParseCacheSizes | PROTOARGs ((char *sizes, long *workingCache, long *stageCache, long *compressCache)) |
int FindUniqueMatch | PROTOARGs ((char *target, char *strings[])) |
char *StatusCodeReportOptions | PROTOARGs ((Logical e, Logical w, Logical i)) |
Variables | |
Logical | pagingOn |
int | soLineCount |
char | pgmName [MAX_PROGRAM_NAME_LEN+1] |
#define ALLvalues 3 |
#define AOSs1 | ( | arrayofstrings, | |||
string0 | ) |
Value:
static char _1line0_[] = string0; \ static char *arrayofstrings[] = { _1line0_ };
#define AOSs11 | ( | arrayofstrings, | |||
string0, | |||||
string1, | |||||
string2, | |||||
string3, | |||||
string4, | |||||
string5, | |||||
string6, | |||||
string7, | |||||
string8, | |||||
string9, | |||||
string10 | ) |
Value:
static char _11line0_[] = string0; \ static char _11line1_[] = string1; \ static char _11line2_[] = string2; \ static char _11line3_[] = string3; \ static char _11line4_[] = string4; \ static char _11line5_[] = string5; \ static char _11line6_[] = string6; \ static char _11line7_[] = string7; \ static char _11line8_[] = string8; \ static char _11line9_[] = string9; \ static char _11line10_[] = string10; \ static char *arrayofstrings[] = { \ _11line0_, _11line1_, _11line2_, _11line3_, _11line4_, _11line5_, \ _11line6_, _11line7_, _11line8_, _11line9_, _11line10_ \ };
#define AOSs15 | ( | arrayofstrings, | |||
string0, | |||||
string1, | |||||
string2, | |||||
string3, | |||||
string4, | |||||
string5, | |||||
string6, | |||||
string7, | |||||
string8, | |||||
string9, | |||||
string10, | |||||
string11, | |||||
string12, | |||||
string13, | |||||
string14 | ) |
Value:
static char _15line0_[] = string0; \ static char _15line1_[] = string1; \ static char _15line2_[] = string2; \ static char _15line3_[] = string3; \ static char _15line4_[] = string4; \ static char _15line5_[] = string5; \ static char _15line6_[] = string6; \ static char _15line7_[] = string7; \ static char _15line8_[] = string8; \ static char _15line9_[] = string9; \ static char _15line10_[] = string10; \ static char _15line11_[] = string11; \ static char _15line12_[] = string12; \ static char _15line13_[] = string13; \ static char _15line14_[] = string14; \ static char *arrayofstrings[] = { \ _15line0_, _15line1_, _15line2_, _15line3_, _15line4_, _15line5_, \ _15line6_, _15line7_, _15line8_, _15line9_, _15line10_, _15line11_, \ _15line12_, _15line13_, _15line14_ \ };
#define AOSs18 | ( | arrayofstrings, | |||
string0, | |||||
string1, | |||||
string2, | |||||
string3, | |||||
string4, | |||||
string5, | |||||
string6, | |||||
string7, | |||||
string8, | |||||
string9, | |||||
string10, | |||||
string11, | |||||
string12, | |||||
string13, | |||||
string14, | |||||
string15, | |||||
string16, | |||||
string17 | ) |
Value:
static char _18line0_[] = string0; \ static char _18line1_[] = string1; \ static char _18line2_[] = string2; \ static char _18line3_[] = string3; \ static char _18line4_[] = string4; \ static char _18line5_[] = string5; \ static char _18line6_[] = string6; \ static char _18line7_[] = string7; \ static char _18line8_[] = string8; \ static char _18line9_[] = string9; \ static char _18line10_[] = string10; \ static char _18line11_[] = string11; \ static char _18line12_[] = string12; \ static char _18line13_[] = string13; \ static char _18line14_[] = string14; \ static char _18line15_[] = string15; \ static char _18line16_[] = string16; \ static char _18line17_[] = string17; \ static char *arrayofstrings[] = { \ _18line0_, _18line1_, _18line2_, _18line3_, _18line4_, _18line5_, \ _18line6_, _18line7_, _18line8_, _18line9_, _18line10_, _18line11_, \ _18line12_, _18line13_, _18line14_, _18line15_, _18line16_, _18line17_ \ };
#define AOSs1A | ( | arrayofstrings, | |||
string0 | ) |
Value:
static char _1Aline0_[] = string0; \ static char *arrayofstrings[] = { _1Aline0_ };
#define AOSs1B | ( | arrayofstrings, | |||
string0 | ) |
Value:
static char _1Bline0_[] = string0; \ static char *arrayofstrings[] = { _1Bline0_ };
#define AOSs1C | ( | arrayofstrings, | |||
string0 | ) |
Value:
static char _1Cline0_[] = string0; \ static char *arrayofstrings[] = { _1Cline0_ };
#define AOSs1D | ( | arrayofstrings, | |||
string0 | ) |
Value:
static char _1Dline0_[] = string0; \ static char *arrayofstrings[] = { _1Dline0_ };
#define AOSs1E | ( | arrayofstrings, | |||
string0 | ) |
Value:
static char _1Eline0_[] = string0; \ static char *arrayofstrings[] = { _1Eline0_ };
#define AOSs2 | ( | arrayofstrings, | |||
string0, | |||||
string1 | ) |
Value:
static char _2line0_[] = string0; \ static char _2line1_[] = string1; \ static char *arrayofstrings[] = { _2line0_, _2line1_ };
#define AOSs2A | ( | arrayofstrings, | |||
string0, | |||||
string1 | ) |
Value:
static char _2Aline0_[] = string0; \ static char _2Aline1_[] = string1; \ static char *arrayofstrings[] = { _2Aline0_, _2Aline1_ };
#define AOSs2B | ( | arrayofstrings, | |||
string0, | |||||
string1 | ) |
Value:
static char _2Bline0_[] = string0; \ static char _2Bline1_[] = string1; \ static char *arrayofstrings[] = { _2Bline0_, _2Bline1_ };
#define AOSs2C | ( | arrayofstrings, | |||
string0, | |||||
string1 | ) |
Value:
static char _2Cline0_[] = string0; \ static char _2Cline1_[] = string1; \ static char *arrayofstrings[] = { _2Cline0_, _2Cline1_ };
#define AOSs3 | ( | arrayofstrings, | |||
string0, | |||||
string1, | |||||
string2 | ) |
Value:
static char _3line0_[] = string0; \ static char _3line1_[] = string1; \ static char _3line2_[] = string2; \ static char *arrayofstrings[] = { _3line0_, _3line1_, _3line2_ };
#define AOSs4 | ( | arrayofstrings, | |||
string0, | |||||
string1, | |||||
string2, | |||||
string3 | ) |
Value:
static char _4line0_[] = string0; \ static char _4line1_[] = string1; \ static char _4line2_[] = string2; \ static char _4line3_[] = string3; \ static char *arrayofstrings[] = { _4line0_, _4line1_, _4line2_, _4line3_ };
#define AOSs5 | ( | arrayofstrings, | |||
string0, | |||||
string1, | |||||
string2, | |||||
string3, | |||||
string4 | ) |
Value:
static char _5line0_[] = string0; \ static char _5line1_[] = string1; \ static char _5line2_[] = string2; \ static char _5line3_[] = string3; \ static char _5line4_[] = string4; \ static char *arrayofstrings[] = { \ _5line0_, _5line1_, _5line2_, _5line3_, _5line4_ \ };
#define AOSs6 | ( | arrayofstrings, | |||
string0, | |||||
string1, | |||||
string2, | |||||
string3, | |||||
string4, | |||||
string5 | ) |
Value:
static char _6line0_[] = string0; \ static char _6line1_[] = string1; \ static char _6line2_[] = string2; \ static char _6line3_[] = string3; \ static char _6line4_[] = string4; \ static char _6line5_[] = string5; \ static char *arrayofstrings[] = { \ _6line0_, _6line1_, _6line2_, _6line3_, _6line4_, _6line5_ \ };
#define BLANKs40 " " |
#define BLANKs78 " " |
#define CDFTOOLSh_INCLUDEd__ |
#define CENTER_JUSTIFY 2 |
#define CHECKforABORTso |
#define DU_MAX_DIR_LEN 512 |
#define DU_MAX_NAME_LEN 256 |
#define DU_MAX_PATTERNS 16 |
#define EPOCH0_STYLE 0 |
#define EPOCH1_STYLE 1 |
#define EPOCH2_STYLE 2 |
#define EPOCH3_STYLE 3 |
#define EPOCHf_STYLE 4 |
#define EPOCHx_STYLE 5 |
#define ERRORs 0 |
#define Exit exit(EXIT_SUCCESS_) |
#define EXIT_FAILURE_ 1 |
#define EXIT_SUCCESS_ 0 |
#define ExitBAD exit(EXIT_FAILURE_) |
#define HighSHORTinLONG | ( | l | ) | ((short) (l >> 16)) |
#define HYPER_READ | ( | id, | |||
zVar, | |||||
hyperX, | |||||
buffer | ) |
Value:
CDFlib (SELECT_, CDF_, id, \ BOO(zVar,zVAR_RECNUMBER_, \ rVARs_RECNUMBER_), hyperX.recNumber, \ BOO(zVar,zVAR_RECCOUNT_, \ rVARs_RECCOUNT_), hyperX.recCount, \ BOO(zVar,zVAR_RECINTERVAL_, \ rVARs_RECINTERVAL_), hyperX.recInterval, \ BOO(zVar,zVAR_DIMINDICES_, \ rVARs_DIMINDICES_), hyperX.dimIndices, \ BOO(zVar,zVAR_DIMCOUNTS_, \ rVARs_DIMCOUNTS_), hyperX.dimCounts, \ BOO(zVar,zVAR_DIMINTERVALS_, \ rVARs_DIMINTERVALS_), hyperX.dimIntervals, \ GET_, BOO(zVar,zVAR_HYPERDATA_,rVAR_HYPERDATA_), buffer, \ NULL_)
#define HYPER_WRITE | ( | id, | |||
zVar, | |||||
hyperX, | |||||
buffer | ) |
Value:
CDFlib (SELECT_, CDF_, id, \ BOO(zVar,zVAR_RECNUMBER_, \ rVARs_RECNUMBER_), hyperX.recNumber, \ BOO(zVar,zVAR_RECCOUNT_, \ rVARs_RECCOUNT_), hyperX.recCount, \ BOO(zVar,zVAR_RECINTERVAL_, \ rVARs_RECINTERVAL_), hyperX.recInterval, \ BOO(zVar,zVAR_DIMINDICES_, \ rVARs_DIMINDICES_), hyperX.dimIndices, \ BOO(zVar,zVAR_DIMCOUNTS_, \ rVARs_DIMCOUNTS_), hyperX.dimCounts, \ BOO(zVar,zVAR_DIMINTERVALS_, \ rVARs_DIMINTERVALS_), hyperX.dimIntervals, \ PUT_, BOO(zVar,zVAR_HYPERDATA_,rVAR_HYPERDATA_), buffer, \ NULL_)
#define INFOs 2 |
#define INPUT_MAJOR 0 |
#define Int32FORMAT "%ld" |
#define Int32FORMATmod "l" |
#define Int32hexFORMAT "0x%08lX" |
#define Int32uFORMAT "%lu" |
#define Int64FORMAT "%lld" |
#define Int64hexFORMAT "0x%016llX" |
#define LEFT_JUSTIFY 1 |
#define LowSHORTinLONG | ( | l | ) | ((short) (l & 0xFFFF)) |
#define MAIN int main (argc, argv) int argc; char *argv[]; |
#define MATCHES (-2) |
#define MAX_CACHESIZES_LEN 30 |
#define MAX_ENCODED_INT4_LEN 10 |
#define MAX_GZIP_TOKEN_LEN 6 |
#define MAX_KEY_TOKEN_LEN 20 |
#define MAX_LINES_WHEN_PAGING 22 |
#define MAX_MESSAGE_TEXT_LEN 80 |
#define MAX_nonSTRING_VALUE_LEN 320 |
#define MAX_oTEXT_LEN 150 |
#define MAX_PROGRAM_NAME_LEN 25 |
#define MAX_QUALIFIER_NAME_LEN 40 |
#define MAX_REPORTMASK_LEN 40 |
#define MAX_SCREENLINE_LEN 79 |
#define MAX_SEVERITY_TEXT_LEN 20 |
#define MAX_TOKEN_LEN 30 |
#define MAX_TOLERANCES_LEN 30 |
#define NAMEDvalues 4 |
#define NO_PCT (-1) |
#define NOMATCH (-1) |
#define NoMoreAccess | ( | id | ) |
#define NOvalues 0 |
#define NRVvalues 1 |
#define NULpString | ( | string | ) | (string[0] == 0) |
#define PCT | ( | n, | |||
N, | |||||
x, | |||||
X | ) | ((int)((n*100*X + 100*x)/(N*X))) |
#define QOP_MAX_ARGVs 40 |
#define QOP_MAX_PARMs 40 |
#define QOP_MAX_QUALs 30 |
#define RIGHT_JUSTIFY 3 |
#define RVvalues 2 |
#define SCREEN_HEIGHT 24 |
#define SCREEN_WIDTH 80 |
#define TIME_STAMP_LEN 31 |
#define useDEFAULTcacheSIZE 0 |
#define WARNs 1 |
int FindUniqueMatch PROTOARGs | ( | (char *target, char *strings[]) | ) |
Logical ParseCacheSizes PROTOARGs | ( | (char *sizes, long *workingCache, long *stageCache, long *compressCache) | ) |
void DisplayIdentification PROTOARGs | ( | (char *name) | ) |
int Long64Width PROTOARGs | ( | (long value) | ) |
Logical SameSparsenesses PROTOARGs | ( | (long sRecordsType1, long sArraysType1, long sArraysParms1[CDF_MAX_PARMS], long sRecordsType2, long sArraysType2, long sArraysParms2[CDF_MAX_PARMS]) | ) |
Logical SameCompressions PROTOARGs | ( | (long cType1, long cParms1[CDF_MAX_PARMS], long cType2, long cParms2[CDF_MAX_PARMS]) | ) |
Logical CompressedCDF PROTOARGs | ( | (char *CDFpath) | ) |
Logical SwitchMajority PROTOARGs | ( | (Byte *buffer, Logical rowMajor, long numDims, long dimSizes[], long recCount, size_t nValueBytes) | ) |
void WriteOutPct PROTOARGs | ( | (int pct) | ) |
Logical HyperStartOfRecord PROTOARGs | ( | (struct HyperStruct *hyperX, long numDims) | ) |
long HypersPerRecord PROTOARGs | ( | (struct GroupStruct *groups, long numDims) | ) |
void IncrHyperParms PROTOARGs | ( | (struct HyperStruct *hyperX, struct GroupStruct *groups, long numDims, Logical rowMajor, long *nValues) | ) |
void InitHyperParms PROTOARGs | ( | (struct HyperStruct *hyperX, struct GroupStruct *groups, long numDims, long *nHypers, long *nValues) | ) |
Logical AllocateBuffers PROTOARGs | ( | (long nRecords, long numDims, long dimSizes[], struct GroupStruct *groups, int nScalarBuffers, int nHyperBuffers, Byte **handles[], size_t nValueBytes[], Logical rowMajor, int minNofHypers, void(*fatalFnc) PROTOARGs((char *msg))) | ) |
void IncrIndicesFirstLastCol PROTOARGs | ( | (long numDims, long first[], long last[], long indices[]) | ) |
void IncrRecordIndicesFirstLast PROTOARGs | ( | (Logical rowMajor, long *recordN, long numDims, long first[], long last[], long indices[]) | ) |
void BuildStatistics PROTOARGs | ( | (char *label, vSTATS *vStats, char temp1[MAX_SCREENLINE_LEN+1], char temp2[MAX_SCREENLINE_LEN+1], char temp3[MAX_SCREENLINE_LEN+1]) | ) |
void DisplayStatistics PROTOARGs | ( | (char *label, vSTATS *vStatsDotCDF, vSTATS *vStatsStage, vSTATS *vStatsCompress) | ) |
char* TempCharStr PROTOARGs | ( | (int character) | ) |
void RemoveExtensions PROTOARGs | ( | (int, char **) | ) |
int CDFdirList PROTOARGs | ( | (char *path, char ***dirS, char ***nameS) | ) |
int DirList PROTOARGs | ( | (char *dir, int patternC, char **patternS, char ***dirS, char ***nameS) | ) |
void FatalError PROTOARGs | ( | (char *message) | ) |
void WriteStringStdOut PROTOARGs | ( | (char *string, size_t length) | ) |
void ReadCharStdIn PROTOARGs | ( | (char *key) | ) |
char* NULedString PROTOARGs | ( | (char *existingString, size_t nCharacters) | ) |
void BlankPadRight PROTOARGs | ( | (char *string, int count) | ) |
Logical S3qualifierLong PROTOARGs | ( | (QOP *qop, long *variable, int S1x, long S1, int S2x, long S2, int S3x, long S3, long defaultS, char *conflictText) | ) |
Logical S2qualifierLong PROTOARGs | ( | (QOP *qop, long *variable, int S1x, long S1, int S2x, long S2, long defaultS, char *conflictText) | ) |
Logical TFqualifier PROTOARGs | ( | (QOP *qop, Logical *variable, int Tx, int Fx, Logical defaultTF, char *conflictText) | ) |
void CpyNcharacters PROTOARGs | ( | (char *string, int nChars, int chr) | ) |
void Ncharacters PROTOARGs | ( | (FILE *fp, int nChars, int chr) | ) |
void CleanupPctLog PROTOARGs | ( | (Logical *pctOn) | ) |
void RefreshPctLog PROTOARGs | ( | (int lastPct) | ) |
void UpdatePctLog PROTOARGs | ( | (int pct, int *lastPct) | ) |
void InitPctLog PROTOARGs | ( | (int *lastPct, Logical *pctOn) | ) |
void OutputWithMargin PROTOARGs | ( | (FILE *fp, char *text, int maxLen, int marginLen) | ) |
int strncmpIgCasePattern PROTOARGs | ( | (char *string1, char *string2, size_t count) | ) |
int strcmpIgCase PROTOARGs | ( | (char *string1, char *string2) | ) |
char* strchrIgCase PROTOARGs | ( | (char *str, int chr) | ) |
char* strstrIgCase PROTOARGs | ( | (char *string, char *substring) | ) |
char *NextNonDigit PROTOARGs | ( | (char *cp) | ) |
Logical DecodeRecordAndIndices PROTOARGs | ( | (char *string, long *recN, long *nIndices, long indices[CDF_MAX_DIMS]) | ) |
Logical DecodeVariances PROTOARGs | ( | (char *, long, long *, long *) | ) |
Logical DecodeValues PROTOARGs | ( | (char *, long, long *, void **, int) | ) |
Logical DecodeDimensionality PROTOARGs | ( | (char *, long *, long *) | ) |
char* SparsenessToken PROTOARGs | ( | (long sRecordsType, long sArraysType, long sArraysParms[CDF_MAX_PARMS]) | ) |
char* CompressionToken PROTOARGs | ( | (long cType, long cParms[CDF_MAX_PARMS]) | ) |
char* EncodingToken PROTOARGs | ( | (long) | ) |
void WriteEntryValue PROTOARGs | ( | (FILE *, long, long, void *, int, int) | ) |
void WriteStringValue PROTOARGs | ( | (FILE *, long, void *, int, int) | ) |
void EncodeNegativeZero PROTOARGs | ( | (char *string, char *format) | ) |
int EncodeValuesFormat PROTOARGs | ( | (long dataType, long numElems, void *binary, char *text, char *format, int minWidth, int maxWidth, int style) | ) |
int EncodeValueFormat PROTOARGs | ( | (long dataType, void *binary, char *text, char *format, int minWidth, int maxWidth, int style) | ) |
int EncodeValue PROTOARGs | ( | (long, void *, char *, int) | ) |
int EncodeString PROTOARGs | ( | (long, char *, char *, int, int) | ) |
int EncodeRecordIndices PROTOARGs | ( | (char *, long, long, long, long *, long *) | ) |
int EncodeRecordIndicesVARY PROTOARGs | ( | (char *, long, long, long *) | ) |
int EncodeDimensionality PROTOARGs | ( | (char *, long, long *) | ) |
void ConvertDataType PROTOARGs | ( | (long, long, void *, long, long, void *) | ) |
char PickDelimiter PROTOARGs | ( | (char *, size_t) | ) |
int WriteOut PROTOARGs | ( | (FILE *, char *) | ) |
FILE* OnlineHelpFP PROTOARGs | ( | (char *, char *) | ) |
QOP* Qop PROTOARGs | ( | (int, char *[], char *[], int *) | ) |
void ParsePath PROTOARGs | ( | (char *path, char dir[DU_MAX_DIR_LEN+1], char name[DU_MAX_NAME_LEN+1]) | ) |
double SystemClock PROTOARGs | ( | (void) | ) |
void CatToString PROTOARGs | ( | (char *string, char *cat, int length, int justify, char *more) | ) |
void CopyFromField PROTOARGs | ( | (char *field, int length, char *string) | ) |
void CopyToField PROTOARGs | ( | (char *string, char *field, int length) | ) |
void RemoveLeadingBlanks PROTOARGs | ( | (char *string) | ) |
void Justify PROTOARGs | ( | (char *string, int minWidth) | ) |
void EncodeRecordIndicesJustify PROTOARGs | ( | (char *string, long recN, long numDims, long indices[], int minWidth) | ) |
void EncodeIndicesJustify PROTOARGs | ( | (char *string, long numDims, long indices[], int minWidth) | ) |
void EncodeRecordJustify PROTOARGs | ( | (char *string, long recN, int minWidth) | ) |
Logical IsDir PROTOARGs | ( | (char *) | ) |
Logical GTx PROTOARGs | ( | (void *, void *, long, long) | ) |
int WriteOutFP VARPROTOARGs | ( | (FILE *fp, char *format,...) | ) |
int WriteOutSO VARPROTOARGs | ( | (char *format,...) | ) |
char pgmName[MAX_PROGRAM_NAME_LEN+1] |
int soLineCount |