rpmio/rpmmalloc.c File Reference

#include "system.h"
#include "debug.h"

Include dependency graph for rpmmalloc.c:

Go to the source code of this file.

Functions

void * vmefail (size_t size)
void * xmalloc (size_t size)
void * xcalloc (size_t nmemb, size_t size)
void * xrealloc (void *ptr, size_t size)
char * xstrdup (const char *str)


Detailed Description

Definition in file rpmmalloc.c.


Function Documentation

void* vmefail ( size_t  size  ) 

Definition at line 20 of file rpmmalloc.c.

References _, and EXIT_FAILURE.

Referenced by xcalloc(), xmalloc(), xrealloc(), and xstrdup().

void* xcalloc ( size_t  nmemb,
size_t  size 
)

void* xmalloc ( size_t  size  ) 

Definition at line 31 of file rpmmalloc.c.

References vmefail().

Referenced by _tagCanonicalize(), addFile(), addSource(), addTE(), argvJoin(), argvSplit(), bin2hex(), copyEntry(), cpioHeaderRead(), dbinstanceTag(), dbt2set(), doAddSubtract(), doLookup(), doputenv(), dosetenv(), dupMacroEntry(), expandMacro(), expandMacroTable(), formatValue(), fpCacheCreate(), fsmFsPath(), fsmStage(), genCpioListAndHeader(), grabData(), headerAddI18NString(), headerAppendEntry(), headerCheck(), headerCopyLoad(), headerInit(), headerUnload(), hGetNVRA(), htAddEntry(), htCreate(), localeTag(), lzdReadOpen(), machAddEquiv(), main(), makeGPGSignature(), mireDup(), newOpenFileInfo(), newSl(), newSt(), newStringBuf(), parseForLang(), parseRCPOT(), pgpArmorWrap(), pgpPrtSig(), pgpPrtUserID(), printNewSpecfile(), pushMacro(), queryArgCallback(), rdSignature(), readLine(), relocateFileList(), rpmcliImportPubkey(), rpmdbInitIterator(), rpmdbRebuild(), rpmDigestFinal(), rpmdsDup(), rpmdsDupArgv(), rpmdsGetconf(), rpmdsMerge(), rpmdsNewDNEVR(), rpmdsSingle(), rpmdsThis(), rpmExpand(), rpmfd_Fopen(), rpmfiBuildFClasses(), rpmfiBuildFContexts(), rpmfiBuildFDeps(), rpmfiBuildFNames(), rpmfiBuildFSContexts(), rpmfiBuildREContexts(), rpmfiFN(), rpmfiNew(), rpmgiEscapeSpaces(), rpmGlob(), rpmheRealloc(), rpmInitMacros(), rpmInstallSourcePackage(), rpmioSlurp(), rpmProblemString(), rpmpsmStage(), rpmReadHeader(), rpmRebuildTargetVars(), rpmsxAdd(), rpmsxParse(), rpmsxSort(), rpmteChain(), rpmtsImportPubkey(), rpmtsRun(), runInstScript(), runScript(), set2dbt(), shescapeFormat(), showQueryPackage(), splitString(), sql_cget(), sql_step(), tarHeaderRead(), tarHeaderReadName(), triggercondsTag(), triggertypeTag(), urlFind(), valueMakeInteger(), valueMakeString(), vfs_parse_ls_lga(), vrpmlog(), writeLinkedFile(), and XurlNew().

void* xrealloc ( void *  ptr,
size_t  size 
)

char* xstrdup ( const char *  str  ) 

Definition at line 62 of file rpmmalloc.c.

References vmefail().

Referenced by addFile(), addSource(), addTE(), addTriggerIndex(), argvAdd(), argvAppend(), argvSplit(), armorFormat(), base64Format(), cpio_doio(), cpioHeaderRead(), dbiTagsInit(), depflagsFormat(), doLookup(), doPatch(), doSetupMacro(), doUntar(), dupAttrRec(), fdSetOpen(), fflagsFormat(), forceIncludeFile(), formatValue(), fsmMakeLinks(), fsmStage(), genSourceRpmName(), getFilesystemList(), getGidS(), getGname(), getGnameS(), getUidS(), getUname(), getUnameS(), headerCheck(), headerNEVRA(), headerReload(), headerSetOrigin(), headerSprintf(), i18nTag(), ignoreDep(), installArgCallback(), instprefixTag(), intFormat(), isPart(), localeTag(), machAddEquiv(), main(), mireDup(), parseChangelog(), parseCVOG(), parseExpressionBoolean(), parseExpressionString(), parseForSimple(), parseScript(), parseSpec(), permsFormat(), pgpsigFormat(), printNewSpecfile(), processPackageFiles(), processSourceFiles(), pushMacro(), rdLead(), rdSignature(), rdToken(), readLineFromOFI(), realDateFormat(), rpmalAdd(), rpmalAllFileSatisfiesDepend(), rpmcliAllArgCallback(), rpmcliConfigured(), rpmcliInit(), rpmcliInstall(), rpmcliQuery(), rpmdbRebuild(), rpmds_compare(), rpmds_iternext(), rpmds_Single(), rpmdsCompare(), rpmdsCpuinfo(), rpmdsELF(), rpmdsGetconf(), rpmdsLdconfig(), rpmdsNew(), rpmdsPipe(), rpmdsSysinfo(), rpmEVRparse(), rpmExpand(), rpmfcGenerateDepends(), rpmfd_Fopen(), rpmfi_BN(), rpmfi_DN(), rpmfi_FClass(), rpmfi_FGroup(), rpmfi_FLink(), rpmfi_FN(), rpmfi_FUser(), rpmfi_MD5(), rpmfi_subscript(), rpmfiNew(), rpmGetPath(), rpmgiInitFilter(), rpmgiNext(), rpmGlob(), rpmInitMacros(), rpmmgBuffer(), rpmmgFile(), rpmmgNew(), rpmPermsString(), rpmps_ass_sub(), rpmpsAppend(), rpmpsmStage(), rpmQueryVerify(), rpmReadHeader(), rpmRebuildTargetVars(), rpmSetMachine(), rpmts_Check(), rpmtsCheck(), rpmtsFindPubkey(), rpmtsSetCurrDir(), rpmtsSetRootDir(), rpmWriteHeader(), shescapeFormat(), sql_open(), sql_step(), stashSt(), triggercondsTag(), triggertypeFormat(), triggertypeTag(), unsatisfiedDepend(), urlFind(), urlSplit(), writeFile(), writeLinkedFile(), writeRPM(), xmlFormat(), and yamlFormat().


Generated on Thu Apr 23 17:49:10 2009 for rpm by  doxygen 1.5.8