MagickCore 7.0.10
|
#include "wizard/studio.h"
#include "wizard/blob.h"
#include "wizard/cipher.h"
#include "wizard/crc64.h"
#include "wizard/exception.h"
#include "wizard/exception-private.h"
#include "wizard/memory_.h"
#include "wizard/memory-private.h"
#include "wizard/string_.h"
#include "wizard/utility-private.h"
Go to the source code of this file.
Data Structures | |
struct | _StringInfo |
Functions | |
WizardExport char * | AcquireString (const char *source) |
WizardExport StringInfo * | AcquireStringInfo (const size_t length) |
WizardExport StringInfo * | BlobToStringInfo (const void *blob, const size_t length) |
WizardExport char * | CloneString (char **destination, const char *source) |
WizardExport StringInfo * | CloneStringInfo (const StringInfo *string_info) |
WizardExport int | CompareStringInfo (const StringInfo *target, const StringInfo *source) |
WizardExport WizardBooleanType | ConcatenateString (char **destination, const char *source) |
WizardExport size_t | ConcatenateWizardString (char *destination, const char *source, const size_t length) |
WizardExport StringInfo * | ConfigureFileToStringInfo (const char *filename) |
WizardExport char * | ConstantString (const char *source) |
WizardExport void | ConcatenateStringInfo (StringInfo *string_info, const StringInfo *source) |
WizardExport size_t | CopyWizardString (char *destination, const char *source, const size_t length) |
WizardExport char * | DestroyString (char *string) |
WizardExport StringInfo * | DestroyStringInfo (StringInfo *string_info) |
WizardExport char ** | DestroyStringList (char **list) |
WizardExport char * | FileToString (const char *filename, const size_t extent, ExceptionInfo *exception) |
WizardExport StringInfo * | FileToStringInfo (const char *filename, const size_t extent, ExceptionInfo *exception) |
WizardExport ssize_t | FormatWizardSize (const WizardSizeType size, const WizardBooleanType bi, const size_t length, char *format) |
WizardExport ssize_t | FormatWizardTime (const time_t time, const size_t length, char *timestamp) |
WizardExport char * | GetEnvironmentValue (const char *name) |
WizardExport WizardSizeType | GetStringInfoCRC (const StringInfo *string_info) |
WizardExport unsigned char * | GetStringInfoDatum (const StringInfo *string_info) |
WizardExport size_t | GetStringInfoLength (const StringInfo *string_info) |
WizardExport const char * | GetStringInfoPath (const StringInfo *string_info) |
WizardExport StringInfo * | HexStringToStringInfo (const char *string) |
WizardExport double | InterpretSiPrefixValue (const char *string, char **sentinal) |
WizardExport int | LocaleCompare (const char *p, const char *q) |
WizardExport void | LocaleLower (char *string) |
WizardExport int | LocaleNCompare (const char *p, const char *q, const size_t length) |
WizardExport ssize_t | PrintWizardString (FILE *file, const char *format,...) |
WizardExport void | PrintStringInfo (FILE *file, const char *id, const StringInfo *string_info) |
WizardExport void | ResetStringInfo (StringInfo *string_info) |
WizardExport void | SetStringInfo (StringInfo *string_info, const StringInfo *source) |
WizardExport void | SetStringInfoDatum (StringInfo *string_info, const unsigned char *source) |
WizardExport void | SetStringInfoLength (StringInfo *string_info, const size_t length) |
WizardExport void | SetStringInfoPath (StringInfo *string_info, const char *path) |
WizardExport StringInfo * | SplitStringInfo (StringInfo *string_info, const size_t offset) |
WizardExport char * | StringInfoToHexString (const StringInfo *string_info) |
WizardExport char * | StringInfoToString (const StringInfo *string_info) |
WizardExport char ** | StringToArgv (const char *text, int *argc) |
WizardExport StringInfo * | StringToStringInfo (const char *string) |
WizardExport void | StripString (char *message) |
WizardExport WizardBooleanType | SubstituteString (char **string, const char *search, const char *replace) |
Variables | |
static const unsigned char | AsciiMap [] |
WizardExport char * AcquireString | ( | const char * | source | ) |
Definition at line 133 of file string.c.
References AcquireQuantumMemory(), ResourceFatalError, ThrowFatalException, and WizardPathExtent.
Referenced by AcquireFileInfo(), AcquireFileLock(), CanonicalXMLContent(), CloneString(), ConcatenateString(), EncodePredefinedEntities(), GenerateEntropicChaos(), GetConfigurePaths(), GetWizardOptions(), LoadLocaleCache(), LoadLogCache(), LoadMimeCache(), PrintKeyringProperties(), RelinquishFileLock(), TranslateEvent(), TranslateFilename(), and XMLTreeInfoToXML().
WizardExport StringInfo * AcquireStringInfo | ( | const size_t | length | ) |
Definition at line 179 of file string.c.
References AcquireQuantumMemory(), AcquireWizardMemory(), _StringInfo::datum, _StringInfo::length, MaxCipherBlocksize, ResourceFatalError, _StringInfo::signature, ThrowFatalException, _StringInfo::timestamp, and WizardSignature.
Referenced by AcquireAESInfo(), AcquireBZIPInfo(), AcquireCRC64Info(), AcquireHashInfo(), AcquireHMACInfo(), AcquireLZMAInfo(), AcquireMD5Info(), AcquireRandomInfo(), AcquireSHA1Info(), AcquireSHA2224Info(), AcquireSHA2256Info(), AcquireSHA2384Info(), AcquireSHA2512Info(), AcquireSHA3Info(), AcquireZIPInfo(), BlobToStringInfo(), CloneStringInfo(), ConfigureFileToStringInfo(), ExportKeyringKey(), FileToStringInfo(), FinalizeMD5(), GenerateCipherNonce(), GenerateEntropicChaos(), GetConfigureOptions(), GetEntropyFromReservoir(), GetLocaleOptions(), GetPassphrase(), GetRandomKey(), GetWizardMagick(), HexStringToStringInfo(), PrintKeyringProperties(), SplitStringInfo(), and StringToStringInfo().
WizardExport StringInfo * BlobToStringInfo | ( | const void * | blob, |
const size_t | length | ||
) |
Definition at line 226 of file string.c.
References AcquireQuantumMemory(), AcquireStringInfo(), _StringInfo::datum, DestroyStringInfo(), _StringInfo::length, ResizeQuantumMemory(), ResourceFatalError, ThrowFatalException, and WizardPathExtent.
WizardExport char * CloneString | ( | char ** | destination, |
const char * | source | ||
) |
Definition at line 280 of file string.c.
References AcquireString(), DestroyString(), ResizeQuantumMemory(), ResourceFatalError, StringDomain, ThrowFatalException, WizardAssert, and WizardPathExtent.
Referenced by SetKeyringPath().
WizardExport StringInfo * CloneStringInfo | ( | const StringInfo * | string_info | ) |
Definition at line 332 of file string.c.
References AcquireStringInfo(), _StringInfo::datum, _StringInfo::length, MaxCipherBlocksize, _StringInfo::signature, StringDomain, WizardAssert, and WizardSignature.
Referenced by AuthenticateSecretKey(), ExportKeyringKey(), GenerateSecretKey(), GenerateSessionKey(), GetEntropyFromReservoir(), GetKeyInfo(), GetWizardMagick(), PrintKeyringProperties(), SetKeyInfo(), SetKeyringId(), SetKeyringKey(), SetKeyringNonce(), and SetSecretId().
WizardExport int CompareStringInfo | ( | const StringInfo * | target, |
const StringInfo * | source | ||
) |
Definition at line 372 of file string.c.
References _StringInfo::datum, _StringInfo::length, _StringInfo::signature, StringDomain, WizardAssert, WizardMin, and WizardSignature.
Referenced by AuthenticateSecretKey(), CompareHashmapStringInfo(), CompareSplayTreeStringInfo(), ExportKeyringKey(), GetEntropyFromReservoir(), GetPassphrase(), and PrintKeyringProperties().
WizardExport WizardBooleanType ConcatenateString | ( | char ** | destination, |
const char * | source | ||
) |
Definition at line 417 of file string.c.
References AcquireString(), OverAllocateMemory(), ResizeQuantumMemory(), ResourceFatalError, ThrowFatalException, WizardPathExtent, and WizardTrue.
Referenced by CanonicalXMLContent(), ParseCharacterContent(), and PrintKeyringProperties().
WizardExport void ConcatenateStringInfo | ( | StringInfo * | string_info, |
const StringInfo * | source | ||
) |
Definition at line 704 of file string.c.
References AcquireQuantumMemory(), _StringInfo::datum, _StringInfo::length, OverAllocateMemory(), ResizeQuantumMemory(), ResourceFatalError, _StringInfo::signature, StringDomain, ThrowFatalException, WizardAssert, WizardPathExtent, and WizardSignature.
Referenced by GenerateEntropicChaos().
WizardExport size_t ConcatenateWizardString | ( | char * | destination, |
const char * | source, | ||
const size_t | length | ||
) |
Definition at line 478 of file string.c.
Referenced by AcquireFileInfo(), AppendFileExtension(), GetConfigurePaths(), GetExecutionPath(), LoadConfigureCache(), LoadLocaleCache(), LoadLogCache(), and LoadMimeCache().
WizardExport StringInfo * ConfigureFileToStringInfo | ( | const char * | filename | ) |
Definition at line 546 of file string.c.
References AcquireQuantumMemory(), AcquireStringInfo(), CopyWizardString(), _StringInfo::datum, _StringInfo::length, MapBlob(), MaxCipherBlocksize, O_BINARY, open_utf8(), _StringInfo::path, ReadMode, RelinquishWizardMemory(), StringDomain, UnmapBlob(), WizardAssert, WizardMin, and WizardPathExtent.
Referenced by GetConfigureOptions(), and GetLocaleOptions().
WizardExport char * ConstantString | ( | const char * | source | ) |
Definition at line 655 of file string.c.
References AcquireQuantumMemory(), ResourceFatalError, and ThrowFatalException.
Referenced by AcquireKeyringInfo(), AcquireLogCache(), AcquireUniqueFileResource(), AddChildToXMLTree(), GetConfigureList(), GetConfigurePaths(), GetEnvironmentValue(), GetExceptionMessage(), GetLocaleList(), GetLogList(), GetMimeList(), GetPathTemplate(), GetXMLTreeAttributes(), IsLocaleTreeInstantiated(), LoadConfigureCache(), LoadLocaleCache(), LoadLogCache(), LoadMimeCache(), NewXMLTree(), NewXMLTreeTag(), ParseEntities(), ParseInternalDoctype(), ParseOpenTag(), ParseProcessingInstructions(), SetLogFormat(), SetSecretPassphrase(), SetXMLTreeAttribute(), SetXMLTreeContent(), ThrowException(), and WizardToMime().
WizardExport size_t CopyWizardString | ( | char * | destination, |
const char * | source, | ||
const size_t | length | ||
) |
Definition at line 762 of file string.c.
Referenced by AcquireConfigureCache(), AcquireFileInfo(), AppendFileExtension(), ConfigureFileToStringInfo(), FileToStringInfo(), GetConfigureOptions(), GetConfigurePaths(), GetExceptionMessage(), GetExecutionPath(), GetLocaleOptions(), GetNextToken(), GetPathComponent(), GetPathComponents(), ListWizardResourceInfo(), LoadLocaleCache(), LoadLogCache(), LoadMimeCache(), OpenBlob(), ParseEntities(), ParseProcessingInstructions(), ParseWizardOption(), SetClientName(), SetClientPath(), SetLogName(), SetStringInfoPath(), TranslateEvent(), TranslateFilename(), and WizardsToolkitGenesis().
WizardExport char * DestroyString | ( | char * | string | ) |
Definition at line 830 of file string.c.
References RelinquishWizardMemory().
Referenced by AcquireFileLock(), AddPathToXMLTree(), CanonicalXMLContent(), CloneString(), DestroyFileInfo(), DestroyKeyringInfo(), DestroyLocaleNode(), DestroyLogElement(), DestroyMimeElement(), DestroyStringList(), DestroyTemporaryResources(), DestroyXMLTree(), DestroyXMLTreeAttributes(), DestroyXMLTreeRoot(), EncodePredefinedEntities(), GenerateEntropicChaos(), GetConfigurePaths(), GetXMLTreePath(), ImportKeyringKey(), IsLocaleTreeInstantiated(), LoadLogCache(), LoadMimeCache(), NewXMLTree(), ParseCharacterContent(), ParseInternalDoctype(), PrintKeyringProperties(), RelinquishFileLock(), ResourceComponentGenesis(), SetLogFormat(), SetSecretPassphrase(), SetXMLTreeAttribute(), and SetXMLTreeContent().
WizardExport StringInfo * DestroyStringInfo | ( | StringInfo * | string_info | ) |
Definition at line 857 of file string.c.
References _StringInfo::datum, RelinquishWizardMemory(), _StringInfo::signature, StringDomain, WizardAssert, and WizardSignature.
Referenced by AcquireCipherInfo(), AcquireRandomInfo(), AcquireUniqueFileResource(), AuthenticateSecretKey(), BlobToStringInfo(), DestroyAESInfo(), DestroyBZIPInfo(), DestroyCipherInfo(), DestroyCRC64Info(), DestroyHashInfo(), DestroyHMACInfo(), DestroyKeyInfo(), DestroyKeyringInfo(), DestroyLZMAInfo(), DestroyMD5Info(), DestroyNode(), DestroyOptions(), DestroyOptions(), DestroyRandomInfo(), DestroySecretInfo(), DestroySHA1Info(), DestroySHA2224Info(), DestroySHA2256Info(), DestroySHA2384Info(), DestroySHA2512Info(), DestroySHA3Info(), DestroyZIPInfo(), ExportKeyringKey(), FileToStringInfo(), FinalizeMD5(), GenerateEntropicChaos(), GenerateSecretKey(), GenerateSessionKey(), GetEntropyFromReservoir(), GetPassphrase(), GetWizardMagick(), ImportKeyringKey(), PrintKeyringProperties(), SaveEntropyToReservoir(), SetKeyringId(), SetKeyringKey(), SetKeyringNonce(), and SetSecretId().
WizardExport char ** DestroyStringList | ( | char ** | list | ) |
Definition at line 891 of file string.c.
References DestroyString(), and RelinquishWizardMemory().
WizardExport char * FileToString | ( | const char * | filename, |
const size_t | extent, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 930 of file string.c.
References FileToBlob(), GetWizardModule, LogWizardEvent(), StringDomain, TraceEvent, and WizardAssert.
WizardExport StringInfo * FileToStringInfo | ( | const char * | filename, |
const size_t | extent, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 969 of file string.c.
References AcquireStringInfo(), CopyWizardString(), _StringInfo::datum, DestroyStringInfo(), FileToBlob(), GetWizardModule, _StringInfo::length, LogWizardEvent(), _StringInfo::path, RelinquishWizardMemory(), StringDomain, TraceEvent, WizardAssert, and WizardPathExtent.
Referenced by AuthenticateSecretKey(), and GenerateSecretKey().
WizardExport ssize_t FormatWizardSize | ( | const WizardSizeType | size, |
const WizardBooleanType | bi, | ||
const size_t | length, | ||
char * | format | ||
) |
Definition at line 1024 of file string.c.
References FormatLocaleString(), and WizardFalse.
Referenced by AcquireWizardResource(), ListWizardResourceInfo(), and RelinquishWizardResource().
WizardExport ssize_t FormatWizardTime | ( | const time_t | time, |
const size_t | length, | ||
char * | timestamp | ||
) |
Definition at line 1105 of file string.c.
References FormatLocaleString().
Referenced by PrintKeyringProperties(), and TranslateEvent().
WizardExport char * GetEnvironmentValue | ( | const char * | name | ) |
Definition at line 1177 of file string.c.
References ConstantString().
Referenced by AcquireFileInfo(), GetConfigurePaths(), GetPathTemplate(), IsLocaleTreeInstantiated(), ResourceComponentGenesis(), and WizardsToolkitGenesis().
WizardExport WizardSizeType GetStringInfoCRC | ( | const StringInfo * | string_info | ) |
Definition at line 1210 of file string.c.
References AcquireCRC64Info(), DestroyCRC64Info(), FinalizeCRC64(), GetCRC64CyclicRedundancyCheck(), InitializeCRC64(), _StringInfo::signature, StringDomain, UpdateCRC64(), WizardAssert, and WizardSignature.
Referenced by GenerateEntropicChaos(), GetEntropyFromReservoir(), and SaveEntropyToReservoir().
WizardExport unsigned char * GetStringInfoDatum | ( | const StringInfo * | string_info | ) |
Definition at line 1251 of file string.c.
References _StringInfo::datum, _StringInfo::signature, StringDomain, WizardAssert, and WizardSignature.
Referenced by AcquireConfigureCache(), AcquireLocaleSplayTree(), AcquireLogCache(), AcquireMimeCache(), AcquireRandomInfo(), AcquireUniqueFileResource(), DecipherCBCMode(), DecipherCFBMode(), DecipherCTRMode(), DecipherECBMode(), DecipherOFBMode(), EncipherCBCMode(), EncipherCFBMode(), EncipherCTRMode(), EncipherECBMode(), EncipherOFBMode(), ExportKeyringKey(), FinalizeCRC64(), FinalizeMD5(), FinalizeSHA1(), FinalizeSHA2224(), FinalizeSHA2256(), FinalizeSHA2384(), FinalizeSHA2512(), FinalizeSHA3(), GenerateCipherNonce(), GenerateEntropicChaos(), GetEntropyFromReservoir(), GetHashHexDigest(), GetPhrase(), GetRandomKey(), HashStringInfoType(), HashStringType(), ImportKeyringKey(), IncreaseBZIP(), IncreaseLZMA(), IncreaseZIP(), IncrementRandomNonce(), InitializeHMAC(), PrintKeyringProperties(), RestoreBZIP(), RestoreLZMA(), RestoreZIP(), SaveEntropyToReservoir(), SetAESKey(), SetChachaKey(), SetRandomKey(), SetSerpentKey(), SetTwofishKey(), TransformSHA1(), TransformSHA2224(), TransformSHA2256(), TransformSHA2384(), TransformSHA2512(), UpdateCRC64(), UpdateMD5(), UpdateSHA1(), UpdateSHA2224(), UpdateSHA2256(), UpdateSHA2384(), UpdateSHA2512(), and UpdateSHA3().
WizardExport size_t GetStringInfoLength | ( | const StringInfo * | string_info | ) |
Definition at line 1280 of file string.c.
References _StringInfo::length, _StringInfo::signature, StringDomain, WizardAssert, and WizardSignature.
Referenced by AcquireUniqueFileResource(), DecipherCBCMode(), DecipherCFBMode(), DecipherCTRMode(), DecipherECBMode(), DecipherOFBMode(), EncipherCBCMode(), EncipherCFBMode(), EncipherCTRMode(), EncipherECBMode(), EncipherOFBMode(), ExportKeyringKey(), FinalizeMD5(), FinalizeSHA1(), FinalizeSHA2224(), FinalizeSHA2256(), FinalizeSHA2384(), FinalizeSHA2512(), GenerateEntropicChaos(), GetEntropyFromReservoir(), GetPassphrase(), GetPhrase(), HashStringInfoType(), HashStringType(), ImportKeyringKey(), IncreaseBZIP(), IncreaseLZMA(), IncreaseZIP(), IncrementRandomNonce(), InitializeHMAC(), PrintKeyringProperties(), RestoreBZIP(), RestoreLZMA(), RestoreZIP(), SaveEntropyToReservoir(), SetAESKey(), SetChachaKey(), SetSerpentKey(), SetTwofishKey(), UpdateCRC64(), UpdateMD5(), UpdateSHA1(), UpdateSHA2224(), UpdateSHA2256(), UpdateSHA2384(), UpdateSHA2512(), and UpdateSHA3().
WizardExport const char * GetStringInfoPath | ( | const StringInfo * | string_info | ) |
Definition at line 1309 of file string.c.
References _StringInfo::path, _StringInfo::signature, StringDomain, WizardAssert, and WizardSignature.
Referenced by AcquireConfigureCache(), AcquireLocaleSplayTree(), AcquireLogCache(), and AcquireMimeCache().
WizardExport StringInfo * HexStringToStringInfo | ( | const char * | string | ) |
Definition at line 1338 of file string.c.
References AcquireStringInfo(), _StringInfo::datum, _StringInfo::length, StringDomain, and WizardAssert.
WizardExport double InterpretSiPrefixValue | ( | const char * | string, |
char ** | sentinal | ||
) |
Definition at line 1418 of file string.c.
References InterpretLocaleValue(), and WizardEpsilon.
Referenced by StringToDoubleInterval().
WizardExport int LocaleCompare | ( | const char * | p, |
const char * | q | ||
) |
Definition at line 1510 of file string.c.
References AsciiMap.
Referenced by CompareSplayTreeString(), FileToXML(), GetLocaleInfo_(), GetLogInfo(), GlobExpression(), IsSkipTag(), IsWizardTrue(), ListLocaleInfo(), ListLogInfo(), LoadLocaleCache(), LoadLogCache(), LocaleInfoCompare(), LocaleTagCompare(), LogCompare(), LogInfoCompare(), OpenBlob(), ParseWizardOption(), RelinquishUniqueFileResource(), ThrowException(), and TranslateEvent().
WizardExport void LocaleLower | ( | char * | string | ) |
Definition at line 1563 of file string.c.
Referenced by WizardToMime().
WizardExport int LocaleNCompare | ( | const char * | p, |
const char * | q, | ||
const size_t | length | ||
) |
Definition at line 1608 of file string.c.
References AsciiMap.
Referenced by GetNextToken(), LoadLocaleCache(), LoadLogCache(), OpenBlob(), and ParseLogHandlers().
WizardExport void PrintStringInfo | ( | FILE * | file, |
const char * | id, | ||
const StringInfo * | string_info | ||
) |
Definition at line 1712 of file string.c.
References _StringInfo::datum, _StringInfo::length, PrintWizardString(), _StringInfo::signature, StringDomain, WizardAssert, and WizardSignature.
WizardExport ssize_t PrintWizardString | ( | FILE * | file, |
const char * | format, | ||
... | |||
) |
Definition at line 1668 of file string.c.
References FormatLocaleStringList(), and WizardPathExtent.
Referenced by GetPassphrase(), and PrintStringInfo().
WizardExport void ResetStringInfo | ( | StringInfo * | string_info | ) |
Definition at line 1761 of file string.c.
References _StringInfo::datum, _StringInfo::length, _StringInfo::signature, StringDomain, WizardAssert, and WizardSignature.
Referenced by AcquireHashInfo(), AcquireRandomInfo(), GenerateCipherNonce(), InitializeHMAC(), and ResetCipherNonce().
WizardExport void SetStringInfo | ( | StringInfo * | string_info, |
const StringInfo * | source | ||
) |
Definition at line 1792 of file string.c.
References _StringInfo::datum, _StringInfo::length, _StringInfo::signature, StringDomain, WizardAssert, WizardMin, and WizardSignature.
Referenced by AcquireRandomInfo(), FinalizeHash(), FinalizeHMAC(), InitializeHMAC(), SetCipherNonce(), SetRandomKey(), and SplitStringInfo().
WizardExport void SetStringInfoDatum | ( | StringInfo * | string_info, |
const unsigned char * | source | ||
) |
Definition at line 1832 of file string.c.
References _StringInfo::datum, _StringInfo::length, _StringInfo::signature, StringDomain, WizardAssert, and WizardSignature.
Referenced by AcquireRandomInfo(), GenerateEntropicChaos(), GetConfigureOptions(), GetLocaleOptions(), GetWizardMagick(), StringToStringInfo(), UpdateSHA1(), UpdateSHA2224(), UpdateSHA2256(), UpdateSHA2384(), and UpdateSHA2512().
WizardExport void SetStringInfoLength | ( | StringInfo * | string_info, |
const size_t | length | ||
) |
Definition at line 1865 of file string.c.
References AcquireQuantumMemory(), _StringInfo::datum, _StringInfo::length, MaxCipherBlocksize, ResizeQuantumMemory(), ResourceFatalError, _StringInfo::signature, StringDomain, ThrowFatalException, WizardAssert, and WizardSignature.
Referenced by AcquireRandomInfo(), GenerateEntropicChaos(), GetConfigureOptions(), GetLocaleOptions(), GetPassphrase(), GetPhrase(), IncreaseBZIP(), IncreaseLZMA(), IncreaseZIP(), RestoreBZIP(), RestoreLZMA(), RestoreZIP(), and SplitStringInfo().
WizardExport void SetStringInfoPath | ( | StringInfo * | string_info, |
const char * | path | ||
) |
Definition at line 1907 of file string.c.
References CopyWizardString(), _StringInfo::path, _StringInfo::signature, StringDomain, WizardAssert, WizardPathExtent, and WizardSignature.
Referenced by GetConfigureOptions(), and GetLocaleOptions().
WizardExport StringInfo * SplitStringInfo | ( | StringInfo * | string_info, |
const size_t | offset | ||
) |
Definition at line 1937 of file string.c.
References AcquireStringInfo(), _StringInfo::datum, _StringInfo::length, MaxCipherBlocksize, SetStringInfo(), SetStringInfoLength(), _StringInfo::signature, StringDomain, WizardAssert, and WizardSignature.
WizardExport char * StringInfoToHexString | ( | const StringInfo * | string_info | ) |
Definition at line 1977 of file string.c.
References AcquireQuantumMemory(), _StringInfo::datum, _StringInfo::length, ResourceFatalError, ThrowFatalException, and WizardPathExtent.
Referenced by ImportKeyringKey(), and PrintKeyringProperties().
WizardExport char * StringInfoToString | ( | const StringInfo * | string_info | ) |
Definition at line 2053 of file string.c.
References AcquireQuantumMemory(), _StringInfo::datum, _StringInfo::length, and WizardPathExtent.
WizardExport char ** StringToArgv | ( | const char * | text, |
int * | argc | ||
) |
Definition at line 2100 of file string.c.
References AcquireQuantumMemory(), RelinquishWizardMemory(), ResourceFatalError, StringFatalError, ThrowFatalException, and WizardPathExtent.
WizardExport StringInfo * StringToStringInfo | ( | const char * | string | ) |
Definition at line 2199 of file string.c.
References AcquireStringInfo(), SetStringInfoDatum(), StringDomain, and WizardAssert.
Referenced by GenerateEntropicChaos(), and HashStringType().
WizardExport void StripString | ( | char * | message | ) |
WizardExport WizardBooleanType SubstituteString | ( | char ** | string, |
const char * | search, | ||
const char * | replace | ||
) |
Definition at line 2295 of file string.c.
References CopyWizardMemory(), OverAllocateMemory(), ResizeQuantumMemory(), ResourceFatalError, ThrowFatalException, WizardFalse, WizardPathExtent, and WizardTrue.
Referenced by LoadMimeCache().
|
static |
Definition at line 80 of file string.c.
Referenced by LocaleCompare(), and LocaleNCompare().