NCBI C++ ToolKit
Functions | Variables
zutil.c File Reference
#include "zutil_cf.h"
#include "gzguts.h"
+ Include dependency graph for zutil.c:

Go to the source code of this file.

Go to the SVN repository for this file.

Functions

const char *ZEXPORT zlibVersion (void)
 
uLong ZEXPORT zlibCompileFlags (void)
 
const char *ZEXPORT zError (int err)
 
void zmemcpy (Bytef *dest, const Bytef *source, uInt len)
 
int zmemcmp (const Bytef *s1, const Bytef *s2, uInt len)
 
void zmemzero (Bytef *dest, uInt len)
 
voidp malloc (uInt size)
 
voidp calloc (uInt items, uInt size)
 
void free (voidpf ptr)
 
voidpf zcalloc (voidpf opaque, unsigned items, unsigned size)
 
void zcfree (voidpf opaque, voidpf ptr)
 

Variables

z_const char *const zcf_errmsg [10]
 

Function Documentation

◆ calloc()

voidp calloc ( uInt  items,
uInt  size 
)

Referenced by _PSIAlignedBlockNew(), _PSIAllocateMatrix(), _PSICalculateInformationContentFromFreqRatios(), _PSICalculateInformationContentFromScoreMatrix(), _PSIInternalPssmDataNew(), _PSIMsaNew(), _PSIPackedMsaNew(), _PSISequenceWeightsNew(), Alloc(), atd(), BackboneCellNew(), Blast_DiagnosticsInit(), Blast_ForbiddenRangesInitialize(), BLAST_GapAlignStructNew(), BLAST_GetGappedScore(), Blast_GetMatrixValues(), Blast_GetOneQueryStructs(), Blast_HitListNew(), Blast_HSPClone(), Blast_HSPListNew(), Blast_HSPNew(), Blast_HSPResultsNew(), Blast_HSPStreamResultBatchInit(), BLAST_InitHitListNew(), Blast_KarlinBlkNew(), Blast_MappingResultsNew(), Blast_MessageWrite(), Blast_OptimizeTargetFrequencies(), Blast_PerrorEx(), BLAST_PrintAllowedValues(), BLAST_PrintMatrixMessage(), Blast_RedoAlignmentCore_MT(), Blast_ResFreqNew(), Blast_ResFreqStdComp(), Blast_ScoreFreqNew(), BLAST_ScoreSetAmbigRes(), BlastAaLookupFinalize(), BlastAaLookupTableNew(), BlastCompo_HeapInitialize(), BlastCompressedAaLookupTableNew(), BlastDatabaseOptionsNew(), BlastEffectiveLengthsOptionsNew(), BlastEffectiveLengthsParametersNew(), BlastExtendWordNew(), BlastExtensionOptionsNew(), BlastExtensionParametersNew(), BlastFilteringOptionsFromString(), BlastFilteringOptionsToString(), BlastHitSavingOptionsNew(), BlastHitSavingParametersNew(), BlastHSPBestHitOptionsNew(), BlastHSPCullingOptionsNew(), BlastHSPFilteringOptionsNew(), BlastHSPMappingInfoNew(), BlastHSPStreamNew(), BlastHSPSubjectBestHitOptionsNew(), BlastInitialWordOptionsNew(), BlastInitialWordParametersNew(), BlastKarlinLHtoK(), BlastLinkHSPParametersNew(), BlastMaskLocNew(), BlastMBLookupTableNew(), BlastNaHashLookupTableNew(), BlastNaLookupTableNew(), BlastQueryInfoNew(), BlastQuerySetUpOptionsNew(), BlastResCompNew(), BlastScoreBlkNew(), BlastScoringOptionsNew(), BlastScoringParametersNew(), BlastSeqBlkNew(), BlastSeqBlkSetSeqRanges(), BlastSeqLocNew(), BlastSeqSrcIteratorNewEx(), BlastSeqSrcNew(), BlastSmallNaLookupTableNew(), BlastSparseUint1ArrayNew(), BlastTargetTranslationNew(), BOOST_AUTO_TEST_CASE(), CBlastOptionsLocal::CBlastOptionsLocal(), CONN_CreateEx(), cprl(), CreateAsnStruct(), debruijn(), DSOCK_CreateEx(), DynamicInt4ArrayNew(), DynamicSGenCodeNodeArrayNew(), DynamicUint4ArrayNewEx(), GapEditScriptNew(), HEAP_AttachFast(), HINFO_Create(), HSPChainNew(), HSPContainerNew(), HSPPathNew(), impalaScaleMatrix(), InitThreadsMan(), ir_fp_entry_create(), ir_hash_create(), JumperEditsBlockNew(), JumperGapAlignNew(), JumperPrelimEditBlockNew(), Kappa_compactSearchItemsNew(), Kappa_posSearchItemsNew(), ListNodeNew(), LookupTableOptionsNew(), LookupTableWrapInit_MT(), main(), MapperWordHitsNew(), MatrixInfoNew(), mdb_env_create(), mdb_env_init_meta(), mdb_env_open(), mdb_txn_begin(), CdPssmInput::moveUpLongestRow(), NaHashLookupThreadDataNew(), NcbiCreateMbedTlsCertCredentials(), NcbiCredGnuTls(), NcbiCredMbedTls(), NcbiGetHostIfConfEx(), NewCorDef(), NewFldMtf(), NewGibScd(), NewQrySeq(), NewRcxPtl(), NewSeqMtf(), NewThdTbl(), Nlm_DenseMatrixNew(), Nlm_Int4MatrixNew(), Nlm_LtriangMatrixNew(), odbc_buf_add(), odbc_buf_get(), OffsetArrayToContextOffsets(), OrderThdTbl(), PHIBlast_HSPResultsSplit(), PHIGetPatternOccurrences(), PSIBlastOptionsNew(), PSIDiagnosticsRequestNew(), PSIDiagnosticsResponseNew(), PSIMsaNew(), RPSLookupTableNew(), RPSPsiMatrixAttach(), CSeedTop::Run(), s_AA20alphaStd(), s_Accept(), s_AddNeighboringWords(), s_Align(), s_AllocateSeqRange(), s_BlastDiagTableNew(), s_BlastEvenGapLinkHSPs(), s_BlastGapAlignStruct_Copy(), s_BlastGetTranslationTable(), s_BlastGreedyAlignMemAlloc(), s_BlastGumbelBlkNew(), s_BlastHSPBestHitInit(), s_BlastHSPCollectorRun(), s_BlastHSPCullingInit(), s_BlastHSPMapperPairedInit(), s_BlastHSPMapperPairedNew(), s_BlastHSPMapperSplicedPairedRun(), s_BlastHSPStreamResultsBatchArrayNew(), s_BlastNaHashLookupFinalize(), s_BlastNaLookupFinalize(), s_BlastScoreBlk_Copy(), s_BlastSeqLocListToArrayOfPointers(), s_BlastSetUpAuxStructures(), s_checkDbSeqSrcFunctions(), s_CompOn(), s_CompressedLookupFinalize(), s_CountHspListsPerQuery(), s_Create(), s_CreateListening(), s_CreateOnTop(), s_CreateWordArray(), s_ExportToHitlist(), s_ExtendAlignment(), s_FillContigMBTable(), s_FillDiscMBTable(), s_FindHitsLong(), s_FindSpliceJunctionsForOverlaps(), s_GetHSPList(), s_GetMatrixScoreProbs(), s_GetNode(), s_GetPssmScoreProbs(), s_GetQueryInfo(), s_GetSeq4na(), s_GetSeq4naChunkSeq(), s_GetSeq4naChunkSeq_PartialFetching(), s_InitializeGumbelBlk(), s_LinkedHSPSetArrayIndexQueryEnds(), s_LinkedHSPSetArraySetUp(), s_LinkHSPStructReset(), s_MaskSequence(), s_on_ipc_connection(), s_OpenWin(), s_PackVeryLongPattern(), s_PatternSearchItemsInit(), s_PHIBlastAlignPatterns(), s_PHIGetLongPattern(), s_PruneChains(), s_SavedParametersNew(), s_SaveSubjectOverhangs(), s_SegSeq(), s_SegsToBlastSeqLoc(), s_SeqEntropy(), s_SequenceGetProteinRange(), s_SequenceGetRange(), s_SetupScoringOptionsForReevaluateHSP(), s_SortChains(), s_SSequenceNew(), s_StateOn(), s_TrimHSP(), s_WindowsFromProteinAligns(), s_WindowsFromTranslatedAligns(), SBlastFilterOptionsNew(), SBlastProgressNew(), SBlastScoreMatrixNew(), SCompressedAlphabetNew(), SegParametersNewAa(), SERV_DISPD_Open(), SERV_LBDNS_Open(), SERV_LINKERD_Open(), SERV_LOCAL_Open(), SERV_NAMERD_Open(), SERVICE_CreateConnectorEx(), LinkHspTestFixture::setupCutoffScores(), NuclWordFinderTextFixture::setupExtendWord(), CBlastExtendTestFixture::setupHitList(), LinkHspTestFixture::setupHitParams(), setupHSPList(), LinkHspTestFixture::setupHSPListForMiddleInsertTest(), LinkHspTestFixture::setupHSPListNucl(), LinkHspTestFixture::setupHSPListTransl(), NuclWordFinderTextFixture::setupLookupTable(), SetupQueries_OMF(), NuclWordFinderTextFixture::setupSequenceOffsets(), NuclWordFinderTextFixture::setupSequences(), slo0(), SMessageOriginNew(), SmithWatermanScoreWithTraceback(), SNCChunkMaps::SNCChunkMaps(), SPHIPatternSearchBlkNew(), SPHIQueryInfoNew(), SplitQueryBlkNew(), SPsiBlastScoreMatrixNew(), SReadQualityOptionsNew(), SRepeatFilterOptionsNew(), SThreadLocalDataArrayConsolidateResults(), SThreadLocalDataArrayNew(), SThreadLocalDataNew(), SubjectIndexIteratorNew(), SubjectIndexNew(), SWindowMaskerOptionsNew(), tds5_process_insert_bulk_reply(), tds_getaddrinfo(), test(), TRIGGER_Create(), uv_export_start(), VDBSRC_Convert2naToString(), VDBSRC_Convert4naToString(), VDBSRC_FormatErrorMsg(), VDBSRC_Init2naReader(), VDBSRC_NewData(), CTracebackSearchTestFixture::x_GetSampleHspStream(), CTracebackSearchTestFixture::x_GetSelfHitHspStream(), x_Open(), CPhiblastTestFixture::x_SetupHSPList(), and zcalloc().

◆ free()

void free ( voidpf  ptr)

Referenced by zcfree().

◆ malloc()

voidp malloc ( uInt  size)

Referenced by zcalloc().

◆ zcalloc()

voidpf zcalloc ( voidpf  opaque,
unsigned  items,
unsigned  size 
)

Definition at line 280 of file zutil.c.

References calloc(), malloc(), ncbi::grid::netcache::search::fields::size, uInt, and voidpf.

◆ zcfree()

void zcfree ( voidpf  opaque,
voidpf  ptr 
)

Definition at line 286 of file zutil.c.

References free().

◆ zError()

const char* ZEXPORT zError ( int  err)

Definition at line 128 of file zutil.c.

References ERR_MSG.

◆ zlibCompileFlags()

uLong ZEXPORT zlibCompileFlags ( void  )

Definition at line 30 of file zutil.c.

References flags, and z_off_t.

◆ zlibVersion()

const char* ZEXPORT zlibVersion ( void  )

Definition at line 26 of file zutil.c.

References ZLIB_VERSION.

◆ zmemcmp()

int zmemcmp ( const Bytef s1,
const Bytef s2,
uInt  len 
)

Definition at line 149 of file zutil.c.

References len.

◆ zmemcpy()

void zmemcpy ( Bytef dest,
const Bytef source,
uInt  len 
)

Definition at line 142 of file zutil.c.

References len, and rapidjson::source.

◆ zmemzero()

void zmemzero ( Bytef dest,
uInt  len 
)

Definition at line 158 of file zutil.c.

References len.

Variable Documentation

◆ zcf_errmsg

z_const char* const zcf_errmsg[10]
Initial value:
= {
"need dictionary",
"stream end",
"",
"file error",
"stream error",
"data error",
"insufficient memory",
"buffer error",
"incompatible version",
""}

Definition at line 13 of file zutil.c.

Modified on Sun May 19 04:45:41 2024 by modify_doxy.py rev. 669887