Home
last modified time | relevance | path

Searched refs:dwHash (Results 1 – 8 of 8) sorted by relevance

/external/pdfium/core/fxge/android/
Dcfpf_skiafontmgr.cpp79 uint32_t FPF_SkiaGetSubstFont(uint32_t dwHash, in FPF_SkiaGetSubstFont() argument
84 skFontMap, pEnd, dwHash, [](const FPF_SKIAFONTMAP& item, uint32_t hash) { in FPF_SkiaGetSubstFont()
87 if (pFontMap < pEnd && pFontMap->dwFamily == dwHash) in FPF_SkiaGetSubstFont()
163 uint32_t dwHash = 0; in FPF_SKIANormalizeFontName() local
170 dwHash = 31 * dwHash + FXSYS_tolower(ch); in FPF_SKIANormalizeFontName()
172 return dwHash; in FPF_SKIANormalizeFontName()
288 uint32_t dwHash = FPF_SKIAGetFamilyHash(bsFamilyname, dwStyle, uCharset); in CreateFont() local
289 auto it = m_FamilyFonts.find(dwHash); in CreateFont()
358 m_FamilyFonts[dwHash] = pFont; in CreateFont()
/external/pdfium/core/fxcrt/css/
Dcfx_cssdatatable.cpp127 uint32_t dwHash = FX_HashCode_GetW(wsName, true); in CFX_GetCSSPropertyByName() local
133 dwMid = g_CFX_CSSProperties[iMid].dwHash; in CFX_GetCSSPropertyByName()
134 if (dwHash == dwMid) { in CFX_GetCSSPropertyByName()
136 } else if (dwHash > dwMid) { in CFX_GetCSSPropertyByName()
Dcfx_cssdeclaration.cpp30 uint32_t dwHash; member
100 uint32_t dwHash; member
118 uint32_t dwHash = FX_HashCode_GetW(wsName, true); in GetCSSPropertyValueByName() local
124 dwMid = g_CFX_CSSPropertyValues[iMid].dwHash; in GetCSSPropertyValueByName()
125 if (dwHash == dwMid) { in GetCSSPropertyValueByName()
127 } else if (dwHash > dwMid) { in GetCSSPropertyValueByName()
160 uint32_t dwHash = FX_HashCode_GetW(wsName, true); in GetCSSColorByName() local
166 dwMid = g_CFX_CSSColors[iMid].dwHash; in GetCSSColorByName()
167 if (dwHash == dwMid) { in GetCSSColorByName()
169 } else if (dwHash > dwMid) { in GetCSSColorByName()
Dcfx_cssdatatable.h21 uint32_t dwHash; member
/external/pdfium/xfa/fxfa/
Dcxfa_fontmgr.cpp30 uint32_t dwHash = FX_HashCode_GetW(wsFontFamily, false); in GetFont() local
31 ByteString bsKey = ByteString::Format("%u%u%u", dwHash, dwFontStyles, 0xFFFF); in GetFont()
Dcxfa_ffdoc.cpp346 uint32_t dwHash = FX_HashCode_GetW(wsName, false); in GetPDFNamedImage() local
347 auto it = m_HashToDibDpiMap.find(dwHash); in GetPDFNamedImage()
392 m_HashToDibDpiMap[dwHash] = {pDibSource, iImageXDpi, iImageYDpi}; in GetPDFNamedImage()
/external/pdfium/xfa/fgas/font/
Dcfgas_fontmgr.cpp957 uint32_t dwHash = FX_HashCode_GetA(bsHash.AsStringView(), false); in GetFontByCodePage() local
958 std::vector<RetainPtr<CFGAS_GEFont>>* pFontArray = &m_Hash2Fonts[dwHash]; in GetFontByCodePage()
976 m_Hash2CandidateList[dwHash].get(); in GetFontByCodePage()
982 m_Hash2CandidateList[dwHash] = std::move(pNewFonts); in GetFontByCodePage()
1020 uint32_t dwHash = FX_HashCode_GetA(bsHash.AsStringView(), false); in GetFontByUnicode() local
1021 std::vector<RetainPtr<CFGAS_GEFont>>* pFonts = &m_Hash2Fonts[dwHash]; in GetFontByUnicode()
1048 m_Hash2CandidateList[dwHash].get(); in GetFontByUnicode()
1054 m_Hash2CandidateList[dwHash] = std::move(pNewFonts); in GetFontByUnicode()
1097 uint32_t dwHash = FX_HashCode_GetA(bsHash.AsStringView(), false); in LoadFont() local
1098 std::vector<RetainPtr<CFGAS_GEFont>>* pFontArray = &m_Hash2Fonts[dwHash]; in LoadFont()
/external/pdfium/xfa/fgas/crt/
Dcfgas_formatstring.cpp888 uint32_t dwHash = FX_HashCode_GetW(wsCategory.AsStringView(), false); in GetCategory() local
889 if (dwHash == FX_LOCALECATEGORY_DateTimeHash) in GetCategory()
891 if (dwHash == FX_LOCALECATEGORY_TextHash) in GetCategory()
893 if (dwHash == FX_LOCALECATEGORY_NumHash) in GetCategory()
895 if (dwHash == FX_LOCALECATEGORY_ZeroHash) in GetCategory()
897 if (dwHash == FX_LOCALECATEGORY_NullHash) in GetCategory()
899 if (dwHash == FX_LOCALECATEGORY_DateHash) { in GetCategory()
903 } else if (dwHash == FX_LOCALECATEGORY_TimeHash) { in GetCategory()