Home
last modified time | relevance | path

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

/external/pdfium/xfa/fgas/font/
Dfgas_fontutils.cpp13 uint32_t dwHash = wCodePage; in FGAS_GetFontHashCode() local
15 dwHash |= 0x00010000; in FGAS_GetFontHashCode()
18 dwHash |= 0x00020000; in FGAS_GetFontHashCode()
21 dwHash |= 0x00040000; in FGAS_GetFontHashCode()
24 dwHash |= 0x00080000; in FGAS_GetFontHashCode()
27 dwHash |= 0x00100000; in FGAS_GetFontHashCode()
30 dwHash |= 0x00200000; in FGAS_GetFontHashCode()
32 return dwHash; in FGAS_GetFontHashCode()
Dcfgas_fontmgr.cpp117 uint32_t dwHash = FGAS_GetFontHashCode(wCodePage, dwFontStyles); in GetFontByCodePage() local
118 auto it = m_CPFonts.find(dwHash); in GetFontByCodePage()
137 m_CPFonts[dwHash] = pFont; in GetFontByCodePage()
138 dwHash = FGAS_GetFontFamilyHash(pFD->wsFontFace, dwFontStyles, wCodePage); in GetFontByCodePage()
139 m_FamilyFonts[dwHash] = pFont; in GetFontByCodePage()
151 uint32_t dwHash = in GetFontByUnicode() local
153 auto it = m_UnicodeFonts.find(dwHash); in GetFontByUnicode()
176 m_UnicodeFonts[dwHash] = pFont; in GetFontByUnicode()
188 uint32_t dwHash = in LoadFont() local
190 auto it = m_FamilyFonts.find(dwHash); in LoadFont()
[all …]
/external/pdfium/xfa/fde/css/
Dfde_cssdatatable.cpp202 uint32_t dwHash = FX_HashCode_GetW(wsName, true); in FDE_GetCSSPropertyByName() local
208 dwMid = g_FDE_CSSProperties[iMid].dwHash; in FDE_GetCSSPropertyByName()
209 if (dwHash == dwMid) { in FDE_GetCSSPropertyByName()
211 } else if (dwHash > dwMid) { in FDE_GetCSSPropertyByName()
227 uint32_t dwHash = FX_HashCode_GetW(wsName, true); in FDE_GetCSSPropertyValueByName() local
233 dwMid = g_FDE_CSSPropertyValues[iMid].dwHash; in FDE_GetCSSPropertyValueByName()
234 if (dwHash == dwMid) { in FDE_GetCSSPropertyValueByName()
236 } else if (dwHash > dwMid) { in FDE_GetCSSPropertyValueByName()
269 uint32_t dwHash = FX_HashCode_GetW(wsName, true); in FDE_GetCSSColorByName() local
275 dwMid = g_FDE_CSSColors[iMid].dwHash; in FDE_GetCSSColorByName()
[all …]
Dfde_cssdatatable.h24 uint32_t dwHash; member
31 uint32_t dwHash; member
40 uint32_t dwHash; member
/external/pdfium/core/fxge/android/
Dcfpf_skiafontmgr.cpp77 uint32_t FPF_SkiaGetSubstFont(uint32_t dwHash, in FPF_SkiaGetSubstFont() argument
82 skFontMap, pEnd, dwHash, [](const FPF_SKIAFONTMAP& item, uint32_t hash) { in FPF_SkiaGetSubstFont()
85 if (pFontMap < pEnd && pFontMap->dwFamily == dwHash) in FPF_SkiaGetSubstFont()
161 uint32_t dwHash = 0; in FPF_SKIANormalizeFontName() local
168 dwHash = 31 * dwHash + FXSYS_tolower(ch); in FPF_SKIANormalizeFontName()
170 return dwHash; in FPF_SKIANormalizeFontName()
287 uint32_t dwHash = FPF_SKIAGetFamilyHash(bsFamilyname, dwStyle, uCharset); in CreateFont() local
288 auto it = m_FamilyFonts.find(dwHash); in CreateFont()
356 m_FamilyFonts[dwHash] = pFont; in CreateFont()
/external/pdfium/xfa/fxfa/app/
Dxfa_ffdoc.cpp365 uint32_t dwHash = FX_HashCode_GetW(wsName, false); in GetPDFNamedImage() local
366 auto it = m_HashToDibDpiMap.find(dwHash); in GetPDFNamedImage()
412 m_HashToDibDpiMap[dwHash] = {pDibSource, iImageXDpi, iImageYDpi}; in GetPDFNamedImage()
Dxfa_fontmgr.cpp2001 uint32_t dwHash = FX_HashCode_GetW(wsFontFamily, false); in GetFont() local
2003 bsKey.Format("%u%u%u", dwHash, dwFontStyles, wCodePage); in GetFont()
/external/pdfium/xfa/fgas/localization/
Dfgas_locale.cpp406 uint32_t dwHash = FX_HashCode_GetW(wsCategory.AsStringC(), false); in GetCategory() local
407 if (dwHash == FX_LOCALECATEGORY_DateHash) { in GetCategory()
412 } else if (dwHash == FX_LOCALECATEGORY_TimeHash) { in GetCategory()
417 } else if (dwHash == FX_LOCALECATEGORY_DateTimeHash) { in GetCategory()
419 } else if (dwHash == FX_LOCALECATEGORY_TextHash) { in GetCategory()
421 } else if (dwHash == FX_LOCALECATEGORY_NumHash) { in GetCategory()
423 } else if (dwHash == FX_LOCALECATEGORY_ZeroHash) { in GetCategory()
425 } else if (dwHash == FX_LOCALECATEGORY_NullHash) { in GetCategory()
2408 uint32_t dwHash = str[cc++]; in FX_ParseLocaleTime() local
2409 dwHash = (dwHash << 8) | str[cc++]; in FX_ParseLocaleTime()
[all …]