|
musrfit 1.10.0
|

Go to the source code of this file.
Macros | |
| #define | PACK_OP 1 |
| #define | UNPACK_OP 2 |
Functions | |
| static int MUD_SEC_GEN_HIST_dopack | _ANSI_ARGS_ ((int num, int inBinSize, void *inHist, int outBinSize, void *outHist)) |
| static int n_bytes_needed | _ANSI_ARGS_ ((UINT32 val)) |
| static UINT32 varBinArray | _ANSI_ARGS_ ((void *pHistData, int binSize, int index)) |
| static void next_few_bins | _ANSI_ARGS_ ((int num_tot, int inBinSize, void *pHistData, int outBinSize_now, MUD_VAR_BIN_LEN_TYPE *pNum_next, MUD_VAR_BIN_SIZ_TYPE *pOutBinSize_next)) |
| int | MUD_SEC_GEN_RUN_DESC_proc (MUD_OPT op, BUF *pBuf, MUD_SEC_GEN_RUN_DESC *pMUD) |
| int | MUD_SEC_GEN_HIST_HDR_proc (MUD_OPT op, BUF *pBuf, MUD_SEC_GEN_HIST_HDR *pMUD) |
| int | MUD_SEC_GEN_HIST_DAT_proc (MUD_OPT op, BUF *pBuf, MUD_SEC_GEN_HIST_DAT *pMUD) |
| int | MUD_SEC_GEN_SCALER_proc (MUD_OPT op, BUF *pBuf, MUD_SEC_GEN_SCALER *pMUD) |
| int | MUD_SEC_GEN_IND_VAR_proc (MUD_OPT op, BUF *pBuf, MUD_SEC_GEN_IND_VAR *pMUD) |
| int | MUD_SEC_GEN_ARRAY_proc (MUD_OPT op, BUF *pBuf, MUD_SEC_GEN_ARRAY *pMUD) |
| int | MUD_SEC_GEN_HIST_pack (int num, int inBinSize, void *inHist, int outBinSize, void *outHist) |
| int | MUD_SEC_GEN_HIST_unpack (int num, int inBinSize, void *inHist, int outBinSize, void *outHist) |
| static int | MUD_SEC_GEN_HIST_dopack (int num, int inBinSize, void *inHist, int outBinSize, void *outHist) |
| static int | n_bytes_needed (UINT32 val) |
| static UINT32 | varBinArray (void *pHistData, int binSize, int index) |
| static void | next_few_bins (int num_tot, int inBinSize, void *pHistData, int outBinSize_now, MUD_VAR_BIN_LEN_TYPE *pNum_next, MUD_VAR_BIN_SIZ_TYPE *pOutBinSize_next) |
Variables | |
| static int | pack_op |
| #define PACK_OP 1 |
Definition at line 34 of file mud_gen.c.
Referenced by MUD_SEC_GEN_HIST_dopack(), MUD_SEC_GEN_HIST_pack(), and varBinArray().
| #define UNPACK_OP 2 |
Definition at line 35 of file mud_gen.c.
Referenced by MUD_SEC_GEN_HIST_dopack(), MUD_SEC_GEN_HIST_unpack(), and varBinArray().
|
static |
References MUD_SEC_GEN_HIST_dopack().
|
static |
References next_few_bins().
|
static |
References n_bytes_needed().
|
static |
References varBinArray().
| int MUD_SEC_GEN_ARRAY_proc | ( | MUD_OPT | op, |
| BUF * | pBuf, | ||
| MUD_SEC_GEN_ARRAY * | pMUD ) |
Definition at line 419 of file mud_gen.c.
References _decode_obj, _encode_obj, _free, decode_4, decode_double(), decode_float(), MUD_SEC_GEN_ARRAY::elemSize, encode_4, encode_double(), encode_float(), MUD_SEC_GEN_ARRAY::hasTime, MUD_DECODE, MUD_ENCODE, MUD_FREE, MUD_GET_SIZE, MUD_HEADS, MUD_SHOW, MUD_SEC_GEN_ARRAY::nBytes, MUD_SEC_GEN_ARRAY::num, MUD_SEC_GEN_ARRAY::pData, MUD_SEC_GEN_ARRAY::pTime, MUD_SEC_GEN_ARRAY::type, and zalloc.
Referenced by _ANSI_ARGS_(), and MUD_new().
| int MUD_SEC_GEN_HIST_DAT_proc | ( | MUD_OPT | op, |
| BUF * | pBuf, | ||
| MUD_SEC_GEN_HIST_DAT * | pMUD ) |
Definition at line 283 of file mud_gen.c.
References _decode_obj, _encode_obj, _free, decode_4, encode_4, MUD_DECODE, MUD_ENCODE, MUD_FREE, MUD_GET_SIZE, MUD_HEADS, MUD_SHOW, MUD_SEC_GEN_HIST_DAT::nBytes, MUD_SEC_GEN_HIST_DAT::pData, and zalloc.
Referenced by _ANSI_ARGS_(), and MUD_new().
|
static |
Definition at line 548 of file mud_gen.c.
References bdecode_1, bdecode_2(), bdecode_4(), bencode_1, bencode_2(), bencode_4(), MUD_SEC_GEN_HIST_pack(), MUD_SEC_GEN_HIST_unpack(), n_bytes_needed(), next_few_bins(), PACK_OP, pack_op, UNPACK_OP, and varBinArray().
Referenced by _ANSI_ARGS_(), MUD_SEC_GEN_HIST_pack(), and MUD_SEC_GEN_HIST_unpack().
| int MUD_SEC_GEN_HIST_HDR_proc | ( | MUD_OPT | op, |
| BUF * | pBuf, | ||
| MUD_SEC_GEN_HIST_HDR * | pMUD ) |
Definition at line 196 of file mud_gen.c.
References _free, _strlen, MUD_SEC_GEN_HIST_HDR::bkgd1, MUD_SEC_GEN_HIST_HDR::bkgd2, MUD_SEC_GEN_HIST_HDR::bytesPerBin, decode_4, decode_str(), encode_4, encode_str(), MUD_SEC_GEN_HIST_HDR::fsPerBin, MUD_SEC_GEN_HIST_HDR::goodBin1, MUD_SEC_GEN_HIST_HDR::goodBin2, MUD_SEC_GEN_HIST_HDR::histType, MUD_DECODE, MUD_ENCODE, MUD_FREE, MUD_GET_SIZE, MUD_HEADS, MUD_SHOW, MUD_SEC_GEN_HIST_HDR::nBins, MUD_SEC_GEN_HIST_HDR::nBytes, MUD_SEC_GEN_HIST_HDR::nEvents, MUD_SEC_GEN_HIST_HDR::t0_bin, MUD_SEC_GEN_HIST_HDR::t0_ps, and MUD_SEC_GEN_HIST_HDR::title.
Referenced by _ANSI_ARGS_(), and MUD_new().
| int MUD_SEC_GEN_HIST_pack | ( | int | num, |
| int | inBinSize, | ||
| void * | inHist, | ||
| int | outBinSize, | ||
| void * | outHist ) |
Definition at line 534 of file mud_gen.c.
References MUD_SEC_GEN_HIST_dopack(), PACK_OP, and pack_op.
Referenced by _ANSI_ARGS_(), MUD_pack(), and MUD_SEC_GEN_HIST_dopack().
| int MUD_SEC_GEN_HIST_unpack | ( | int | num, |
| int | inBinSize, | ||
| void * | inHist, | ||
| int | outBinSize, | ||
| void * | outHist ) |
Definition at line 541 of file mud_gen.c.
References MUD_SEC_GEN_HIST_dopack(), pack_op, and UNPACK_OP.
Referenced by _ANSI_ARGS_(), MUD_SEC_GEN_HIST_dopack(), and MUD_unpack().
| int MUD_SEC_GEN_IND_VAR_proc | ( | MUD_OPT | op, |
| BUF * | pBuf, | ||
| MUD_SEC_GEN_IND_VAR * | pMUD ) |
Definition at line 357 of file mud_gen.c.
References _free, _strlen, decode_double(), decode_str(), MUD_SEC_GEN_IND_VAR::description, encode_double(), encode_str(), MUD_SEC_GEN_IND_VAR::high, MUD_SEC_GEN_IND_VAR::low, MUD_SEC_GEN_IND_VAR::mean, MUD_DECODE, MUD_ENCODE, MUD_FREE, MUD_GET_SIZE, MUD_HEADS, MUD_SHOW, MUD_SEC_GEN_IND_VAR::name, MUD_SEC_GEN_IND_VAR::skewness, MUD_SEC_GEN_IND_VAR::stddev, and MUD_SEC_GEN_IND_VAR::units.
Referenced by _ANSI_ARGS_(), and MUD_new().
| int MUD_SEC_GEN_RUN_DESC_proc | ( | MUD_OPT | op, |
| BUF * | pBuf, | ||
| MUD_SEC_GEN_RUN_DESC * | pMUD ) |
Definition at line 45 of file mud_gen.c.
References _free, _strlen, MUD_SEC_GEN_RUN_DESC::apparatus, MUD_SEC_GEN_RUN_DESC::area, MUD_SEC_GEN_RUN_DESC::das, decode_4, decode_str(), MUD_SEC_GEN_RUN_DESC::elapsedSec, encode_4, encode_str(), MUD_SEC_GEN_RUN_DESC::experimenter, MUD_SEC_GEN_RUN_DESC::exptNumber, MUD_SEC_GEN_RUN_DESC::field, MUD_SEC_GEN_RUN_DESC::insert, MUD_SEC_GEN_RUN_DESC::lab, MUD_SEC_GEN_RUN_DESC::method, MUD_DECODE, MUD_ENCODE, MUD_FREE, MUD_GET_SIZE, MUD_HEADS, MUD_SHOW, MUD_SEC_GEN_RUN_DESC::orient, MUD_SEC_GEN_RUN_DESC::runNumber, MUD_SEC_GEN_RUN_DESC::sample, MUD_SEC_GEN_RUN_DESC::temperature, MUD_SEC_GEN_RUN_DESC::timeBegin, MUD_SEC_GEN_RUN_DESC::timeEnd, and MUD_SEC_GEN_RUN_DESC::title.
Referenced by _ANSI_ARGS_(), and MUD_new().
| int MUD_SEC_GEN_SCALER_proc | ( | MUD_OPT | op, |
| BUF * | pBuf, | ||
| MUD_SEC_GEN_SCALER * | pMUD ) |
Definition at line 316 of file mud_gen.c.
References _free, _strlen, MUD_SEC_GEN_SCALER::counts, decode_4, decode_str(), encode_4, encode_str(), MUD_SEC_GEN_SCALER::label, MUD_DECODE, MUD_ENCODE, MUD_FREE, MUD_GET_SIZE, MUD_HEADS, and MUD_SHOW.
Referenced by _ANSI_ARGS_(), and MUD_new().
|
static |
Definition at line 905 of file mud_gen.c.
Referenced by _ANSI_ARGS_(), MUD_SEC_GEN_HIST_dopack(), and next_few_bins().
|
static |
Definition at line 957 of file mud_gen.c.
References n_bytes_needed(), and varBinArray().
Referenced by _ANSI_ARGS_(), and MUD_SEC_GEN_HIST_dopack().
|
static |
Definition at line 915 of file mud_gen.c.
References bdecode_1, bdecode_2(), bdecode_4(), PACK_OP, pack_op, and UNPACK_OP.
Referenced by _ANSI_ARGS_(), MUD_SEC_GEN_HIST_dopack(), and next_few_bins().
|
static |
Definition at line 36 of file mud_gen.c.
Referenced by MUD_SEC_GEN_HIST_dopack(), MUD_SEC_GEN_HIST_pack(), MUD_SEC_GEN_HIST_unpack(), and varBinArray().