From d9871435eb7cea00a173baf780934f9d3525329a Mon Sep 17 00:00:00 2001 From: tsepez Date: Thu, 15 Sep 2016 14:01:31 -0700 Subject: Add string pools to save storage. Adds string hashes so CFX strings will interoperate with STL unordered containers. These will be employed per-document in a subsequent cl. BUG=pdfium:597 Review-Url: https://codereview.chromium.org/2341683005 --- core/fxcrt/include/fx_ext.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'core/fxcrt/include/fx_ext.h') diff --git a/core/fxcrt/include/fx_ext.h b/core/fxcrt/include/fx_ext.h index f7aca68d64..e33d57bdb7 100644 --- a/core/fxcrt/include/fx_ext.h +++ b/core/fxcrt/include/fx_ext.h @@ -83,19 +83,11 @@ inline int FXSYS_toDecimalDigit(const FX_WCHAR c) { FX_FLOAT FXSYS_FractionalScale(size_t scale_factor, int value); int FXSYS_FractionalScaleCount(); -uint32_t FX_HashCode_GetA(const CFX_ByteStringC& str, bool bIgnoreCase); -uint32_t FX_HashCode_GetW(const CFX_WideStringC& Str, bool bIgnoreCase); - void* FX_Random_MT_Start(uint32_t dwSeed); - -uint32_t FX_Random_MT_Generate(void* pContext); - void FX_Random_MT_Close(void* pContext); - +uint32_t FX_Random_MT_Generate(void* pContext); void FX_Random_GenerateBase(uint32_t* pBuffer, int32_t iCount); - void FX_Random_GenerateMT(uint32_t* pBuffer, int32_t iCount); - void FX_Random_GenerateCrypto(uint32_t* pBuffer, int32_t iCount); #ifdef PDF_ENABLE_XFA -- cgit v1.2.3