diff options
author | tsepez <tsepez@chromium.org> | 2016-09-15 14:01:31 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-15 14:01:31 -0700 |
commit | d9871435eb7cea00a173baf780934f9d3525329a (patch) | |
tree | ec96dffc6e25865d6015f754b1a6406621c31bf4 /core/fxcrt/include/fx_ext.h | |
parent | 0a17fafd723e8684d1deb4b5ceea58967a0154da (diff) | |
download | pdfium-d9871435eb7cea00a173baf780934f9d3525329a.tar.xz |
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
Diffstat (limited to 'core/fxcrt/include/fx_ext.h')
-rw-r--r-- | core/fxcrt/include/fx_ext.h | 10 |
1 files changed, 1 insertions, 9 deletions
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 |