Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

rpmio/rpmmalloc.c File Reference

More...

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

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 12 of file rpmmalloc.c.

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

void* xcalloc ( size_t nmemb,
size_t size )
 

Definition at line 34 of file rpmmalloc.c.

Referenced by XfdNew(), addIndexEntry(), alCreate(), alMakeIndex(), allocateExtensionCache(), checkResponse(), dbiIndexNewItem(), dbiTagsInit(), defaultMachine(), dnlInitIterator(), fsmMkdirs(), fssizesTag(), ftpNLST(), genCpioListAndHeader(), getFilesystemList(), headerGetLangs(), headerLoad(), headerNew(), htCreate(), loadFi(), main(), mapInitIterator(), mergeFiles(), newFSM(), newRpmdb(), newStringBuf(), parseFormat(), psmStage(), rpmDigestInit(), rpmGetFilesystemUsage(), rpmInstallSourcePackage(), rpmReadPackageManifest(), rpmRunTransactions(), rpmVerifyScript(), rpmdbAppendIterator(), rpmdbFindByFile(), rpmdbFindFpList(), rpmdbInitIterator(), rpmdepCheck(), rpmtransCreateSet(), saveHardLink(), and tsInitIterator().

void* xmalloc ( size_t size )
 

Definition at line 22 of file rpmmalloc.c.

Referenced by B64decode(), B64encode(), XfdNew(), XurlNew(), addCanon(), addDefault(), addFile(), addRelation(), addSource(), addTriggerIndex(), alAddPackage(), buildArgCallback(), convertAMD(), copyEntry(), cpioHeaderRead(), currentDirectory(), db1cget(), dbiAppendSet(), dbiSearch(), depflagsFormat(), doAddSubtract(), doBuildFileList(), doHeaderUnload(), doLookup(), doReadRC(), do_inject(), doputenv(), dosetenv(), expandMacroTable(), fflagsFormat(), formatValue(), fpCacheCreate(), fsmFsPath(), fsmStage(), genChangelog(), genCpioListAndHeader(), grabData(), handleInstInstalledFiles(), headerAddI18NString(), headerAppendEntry(), headerCopyLoad(), headerInitIterator(), headerLoad(), headerRead(), headerSprintf(), hexFormat(), htAddEntry(), htCreate(), loadFi(), machAddEquiv(), machCompatCacheAdd(), makeGPGSignature(), makePGPSignature(), mergeFiles(), newOpenFileInfo(), newPackage(), newSl(), newSpec(), newSt(), newStringBuf(), octalFormat(), parseForLang(), parseRCPOT(), parseSpec(), permsFormat(), printDepend(), printNewSpecfile(), processSourceFiles(), psAppend(), psCreate(), psmStage(), pushMacro(), queryArgCallback(), readIcon(), readLine(), realDateFormat(), relocateFileList(), rpmDigestFinal(), rpmGetRpmlibProvides(), rpmGlob(), rpmInstall(), rpmInstallSourcePackage(), rpmProblemString(), rpmRebuildTargetVars(), rpmRunTransactions(), rpmSetVarArch(), rpmdbInitIterator(), rpmdbRebuild(), rpmdepOrder(), rpmtransGetKeys(), shescapeFormat(), showQueryPackage(), singleSprintf(), splitString(), triggercondsTag(), triggertypeTag(), urlFind(), valueMakeInteger(), valueMakeString(), vfs_parse_ls_lga(), and vrpmlog().

void* xrealloc ( void * ptr,
size_t size )
 

Definition at line 45 of file rpmmalloc.c.

Referenced by addCanon(), addDefault(), addFile(), alAddPackage(), appendStringBufAux(), buildArgCallback(), checkPackageDeps(), currentDirectory(), dbiAppendSet(), dbiTagsInit(), expandMacroTable(), fsmMkdirs(), ftpNLST(), getFilesystemList(), gidToGname(), gnameToGid(), handleInstInstalledFiles(), handleOverlappedFiles(), headerAddEntry(), headerAddI18NString(), headerAppendEntry(), headerSprintf(), htAddEntry(), machAddEquiv(), machCompatCacheAdd(), main(), parseForLang(), psAppend(), queryArgCallback(), readLine(), relocateFileList(), removePackage(), rpmGlob(), rpmInstall(), rpmdbGrowIterator(), rpmdepCheck(), rpmtransAddPackage(), showQueryPackage(), singleSprintf(), stashSt(), triggercondsTag(), uidToUname(), unameToUid(), urlFind(), and vrpmlog().

char* xstrdup ( const char * str )
 

Definition at line 55 of file rpmmalloc.c.

Referenced by B64encode(), addCanon(), addDefault(), addFile(), addSource(), addTriggerIndex(), alAddPackage(), alFileSatisfiesDepend(), buildArgCallback(), checkHardLinks(), checkPackageDeps(), configLine(), convertAMD(), cpio_doio(), db1basename(), dbiTagsInit(), depflagsFormat(), doLookup(), doSetupMacro(), dupAttrRec(), fflagsFormat(), findProgramPath(), forceIncludeFile(), formatValue(), fsmMakeLinks(), fsmStage(), genSourceRpmName(), getFilesystemList(), getGname(), getGnameS(), getUname(), getUnameS(), headerSprintf(), hexFormat(), i18nTag(), instprefixTag(), loadFi(), machAddEquiv(), machCompatCacheAdd(), main(), octalFormat(), parseExpression(), parseExpressionBoolean(), parseExpressionString(), parseForSimple(), parseScript(), parseSpec(), permsFormat(), poptGetNextOpt(), poptSetExecPath(), poptSetOtherOptionHelp(), printNewSpecfile(), processPackageFiles(), processSourceFiles(), pushMacro(), rdToken(), readLine(), realDateFormat(), rpmExpand(), rpmGetPath(), rpmGlob(), rpmInitMacros(), rpmInstall(), rpmInstallSourcePackage(), rpmPermsString(), rpmQueryVerify(), rpmRangesOverlap(), rpmReadRC(), rpmRebuildTargetVars(), rpmSetMachine(), rpmSetVar(), rpmSetVarArch(), rpmdbSetIteratorRelease(), rpmdbSetIteratorVersion(), rpmtransCreateSet(), singleSprintf(), stashSt(), triggercondsTag(), triggertypeFormat(), triggertypeTag(), urlFind(), urlSplit(), writeLinkedFile(), and writeRPM().


Generated at Thu Apr 19 15:29:48 2001 for rpm by doxygen1.2.6-20010408 written by Dimitri van Heesch, © 1997-2001