Home
last modified time | relevance | path

Searched refs:pCharMap (Results 1 – 9 of 9) sorted by relevance

/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_decode.cpp399 CFX_WideString PDF_DecodeText(FX_LPCBYTE src_data, FX_DWORD src_len, CFX_CharMap* pCharMap) in PDF_DecodeText() argument
430 } else if (pCharMap == NULL) { in PDF_DecodeText()
437 return (*pCharMap->m_GetWideString)(pCharMap, CFX_ByteString((FX_LPCSTR)src_data, src_len)); in PDF_DecodeText()
441 CFX_WideString PDF_DecodeText(const CFX_ByteString& bstr, CFX_CharMap* pCharMap) in PDF_DecodeText() argument
443 return PDF_DecodeText((FX_LPCBYTE)(FX_LPCSTR)bstr, bstr.GetLength(), pCharMap); in PDF_DecodeText()
445 CFX_ByteString PDF_EncodeText(FX_LPCWSTR pString, int len, CFX_CharMap* pCharMap) in PDF_EncodeText() argument
451 if (pCharMap == NULL) { in PDF_EncodeText()
Dfpdf_parser_objects.cpp333 CFX_WideString CPDF_Object::GetUnicodeText(CFX_CharMap* pCharMap) const in GetUnicodeText()
339 return PDF_DecodeText(((CPDF_String*)this)->m_String, pCharMap); in GetUnicodeText()
343 CFX_WideString result = PDF_DecodeText(stream.GetData(), stream.GetSize(), pCharMap); in GetUnicodeText()
346 return PDF_DecodeText(((CPDF_Name*)this)->m_Name, pCharMap); in GetUnicodeText()
660 CFX_WideString CPDF_Dictionary::GetUnicodeText(FX_BSTR key, CFX_CharMap* pCharMap) const in GetUnicodeText()
668 return p->GetUnicodeText(pCharMap); in GetUnicodeText()
670 return p->GetUnicodeText(pCharMap); in GetUnicodeText()
/external/pdfium/core/src/fxcrt/
Dfx_basic_wstring.cpp336 void CFX_WideString::ConvertFrom(const CFX_ByteString& str, CFX_CharMap* pCharMap) in ConvertFrom() argument
338 if (pCharMap == NULL) { in ConvertFrom()
339 pCharMap = CFX_CharMap::GetDefaultMapper(); in ConvertFrom()
341 *this = pCharMap->m_GetWideString(pCharMap, str); in ConvertFrom()
1104 static CFX_ByteString _DefMap_GetByteString(CFX_CharMap* pCharMap, const CFX_WideString& widestr) in _DefMap_GetByteString() argument
1107 int codepage = pCharMap->m_GetCodePage ? pCharMap->m_GetCodePage() : 0; in _DefMap_GetByteString()
1118 static CFX_WideString _DefMap_GetWideString(CFX_CharMap* pCharMap, const CFX_ByteString& bytestr) in _DefMap_GetWideString() argument
1121 int codepage = pCharMap->m_GetCodePage ? pCharMap->m_GetCodePage() : 0; in _DefMap_GetWideString()
Dfx_basic_bstring.cpp970 void CFX_ByteString::ConvertFrom(const CFX_WideString& str, CFX_CharMap* pCharMap) in ConvertFrom() argument
972 if (pCharMap == NULL) { in ConvertFrom()
973 pCharMap = CFX_CharMap::GetDefaultMapper(); in ConvertFrom()
975 *this = (*pCharMap->m_GetByteString)(pCharMap, str); in ConvertFrom()
/external/pdfium/core/include/fpdfapi/
Dfpdf_objects.h66 CFX_WideString GetUnicodeText(CFX_CharMap* pCharMap = NULL) const;
447 CFX_WideString GetUnicodeText(FX_BSTR key, CFX_CharMap* pCharMap = NULL) const;
Dfpdf_parser.h789 CFX_WideString PDF_DecodeText(const CFX_ByteString& str, CFX_CharMap* pCharMap = NULL);
790 CFX_WideString PDF_DecodeText(FX_LPCBYTE pData, FX_DWORD size, CFX_CharMap* pCharMap = NULL);
791 CFX_ByteString PDF_EncodeText(FX_LPCWSTR pString, int len = -1, CFX_CharMap* pCharMap = NULL);
/external/pdfium/core/include/fxcrt/
Dfx_string.h328 void ConvertFrom(const CFX_WideString& str, CFX_CharMap* pCharMap = NULL);
749 void ConvertFrom(const CFX_ByteString& str, CFX_CharMap* pCharMap = NULL);
/external/pdfium/core/src/fpdfdoc/
Ddoc_form.cpp1511 CFX_CharMap *pCharMap = CFX_CharMap::GetDefaultMapper(g_fieldEncoding[i].m_codePage); in FPDFDOC_FDF_GetFieldValue() local
1512 FXSYS_assert(pCharMap != NULL); in FPDFDOC_FDF_GetFieldValue()
1513 csValue.ConvertFrom(csBValue, pCharMap); in FPDFDOC_FDF_GetFieldValue()
Ddoc_ap.cpp309 CFX_CharMap* pCharMap = pDefFont->GetCharMap(); in GenerateWidgetAP() local