Home
last modified time | relevance | path

Searched refs:CFX_ByteString (Results 1 – 25 of 166) sorted by relevance

1234567

/external/pdfium/core/src/fxcrt/
Dfx_basic_bstring.cpp45 CFX_ByteString CFX_ByteString::FormatInteger(int i, FX_DWORD flags) in FormatInteger()
52 CFX_ByteString::StringData* CFX_ByteString::StringData::Create(int nLen) in Create()
78 CFX_ByteString::~CFX_ByteString() in ~CFX_ByteString()
84 CFX_ByteString::CFX_ByteString(FX_LPCSTR lpsz, FX_STRSIZE nLen) in CFX_ByteString() function in CFX_ByteString
98 CFX_ByteString::CFX_ByteString(FX_LPCBYTE lpsz, FX_STRSIZE nLen) in CFX_ByteString() function in CFX_ByteString
109 CFX_ByteString::CFX_ByteString(char ch) in CFX_ByteString() function in CFX_ByteString
116 CFX_ByteString::CFX_ByteString(const CFX_ByteString& stringSrc) in CFX_ByteString() function in CFX_ByteString
130 CFX_ByteString::CFX_ByteString(FX_BSTR stringSrc) in CFX_ByteString() function in CFX_ByteString
140 CFX_ByteString::CFX_ByteString(FX_BSTR str1, FX_BSTR str2) in CFX_ByteString() function in CFX_ByteString
153 const CFX_ByteString& CFX_ByteString::operator=(FX_LPCSTR lpsz) in operator =()
[all …]
Dfx_basic_bstring_unittest.cpp11 CFX_ByteString abc("abc"); in TEST()
19 CFX_ByteString empty; in TEST()
20 CFX_ByteString a("a"); in TEST()
21 CFX_ByteString abc("abc"); in TEST()
22 CFX_ByteString def("def"); in TEST()
49 CFX_ByteString null_string; in TEST()
52 CFX_ByteString empty_string(""); in TEST()
57 CFX_ByteString deleted_string("hello"); in TEST()
65 CFX_ByteString byte_string("hello"); in TEST()
74 CFX_ByteString byte_string_same1("hello"); in TEST()
[all …]
Dfx_basic_util.cpp228 CFX_ByteString FX_UrlEncode(const CFX_WideString& wsUrl) in FX_UrlEncode()
231 CFX_ByteString rUrl; in FX_UrlEncode()
236 CFX_ByteString bsUri = CFX_ByteString::FromUnicode((FX_WORD)word); in FX_UrlEncode()
245 rUrl += CFX_ByteString::FromUnicode((FX_WORD)word); in FX_UrlEncode()
250 CFX_WideString FX_UrlDecode(const CFX_ByteString& bsUrl) in FX_UrlDecode()
252 CFX_ByteString rUrl; in FX_UrlDecode()
264 CFX_ByteString FX_EncodeURI(const CFX_WideString& wsURI) in FX_EncodeURI()
267 CFX_ByteString rURI; in FX_EncodeURI()
268 CFX_ByteString bsUri = wsURI.UTF8Encode(); in FX_EncodeURI()
282 CFX_WideString FX_DecodeURI(const CFX_ByteString& bsURI) in FX_DecodeURI()
[all …]
/external/pdfium/core/src/fpdfdoc/
Ddoc_utils.cpp37 CFX_ByteString CPDF_DefaultAppearance::GetFontString() in GetFontString()
39 CFX_ByteString csFont; in GetFontString()
45 csFont += (CFX_ByteString)syntax.GetWord(); in GetFontString()
47 csFont += (CFX_ByteString)syntax.GetWord(); in GetFontString()
49 csFont += (CFX_ByteString)syntax.GetWord(); in GetFontString()
53 void CPDF_DefaultAppearance::GetFont(CFX_ByteString& csFontNameTag, FX_FLOAT& fFontSize) in GetFont()
62 csFontNameTag = (CFX_ByteString)syntax.GetWord(); in GetFont()
64 fFontSize = FX_atof((CFX_ByteString)syntax.GetWord()); in GetFont()
84 CFX_ByteString CPDF_DefaultAppearance::GetColorString(FX_BOOL bStrokingOperation) in GetColorString()
86 CFX_ByteString csColor; in GetColorString()
[all …]
Ddoc_utils.h13 …t(CPDF_Dictionary* pFormDict, CPDF_Document* pDocument, FX_DWORD index, CFX_ByteString& csNameTag);
14 CPDF_Font* GetInterFormFont(CPDF_Dictionary* pFormDict, CPDF_Document* pDocument, CFX_ByteString c…
15 …t(CPDF_Dictionary* pFormDict, CPDF_Document* pDocument, CFX_ByteString csFontName, CFX_ByteString&…
16 …(CPDF_Dictionary* pFormDict, CPDF_Document* pDocument, FX_BYTE charSet, CFX_ByteString& csNameTag);
17 …tiveInterFormFont(CPDF_Dictionary* pFormDict, CPDF_Document* pDocument, CFX_ByteString& csNameTag);
18 FX_BOOL FindInterFormFont(CPDF_Dictionary* pFormDict, const CPDF_Font* pFont, CFX_ByteString& csN…
19 …tionary* pFormDict, CPDF_Document* pDocument, CFX_ByteString csFontName, CPDF_Font*& pFont, CFX_By…
20 …ctionary*& pFormDict, CPDF_Document* pDocument, const CPDF_Font* pFont, CFX_ByteString& csNameTag);
21 …CPDF_Dictionary*& pFormDict, CPDF_Document* pDocument, FX_BYTE charSet, CFX_ByteString& csNameTag);
22 …iveInterFormFont(CPDF_Dictionary*& pFormDict, CPDF_Document* pDocument, CFX_ByteString& csNameTag);
[all …]
Ddoc_formcontrol.cpp18 CFX_ByteString CPDF_FormControl::GetOnStateName() in GetOnStateName()
21 CFX_ByteString csOn; in GetOnStateName()
37 return CFX_ByteString(); in GetOnStateName()
39 void CPDF_FormControl::SetOnStateName(const CFX_ByteString& csOn) in SetOnStateName()
42 CFX_ByteString csValue = csOn; in SetOnStateName()
49 CFX_ByteString csAS = m_pWidgetDict->GetString("AS", "Off"); in SetOnStateName()
59 CFX_ByteString csKey1; in SetOnStateName()
71 CFX_ByteString csKey2; in SetOnStateName()
83 CFX_ByteString CPDF_FormControl::GetCheckedAPState() in GetCheckedAPState()
86 CFX_ByteString csOn = GetOnStateName(); in GetCheckedAPState()
[all …]
Ddoc_action.cpp13 CFX_ByteString type = m_pDict->GetString("S"); in GetDest()
39 CFX_ByteString csType = m_pDict->GetString("S"); in GetType()
54 CFX_ByteString type = m_pDict->GetString("S"); in GetFilePath()
74 CFX_ByteString CPDF_Action::GetURI(CPDF_Document* pDoc) const in GetURI()
76 CFX_ByteString csURI; in GetURI()
102 CFX_ByteString csType = pDict->GetString("S"); in GetFieldsCount()
132 CFX_ByteString csType = pDict->GetString("S"); in GetAllFields()
165 CFX_ByteString csType = pDict->GetString("S"); in GetField()
213 CFX_ByteString csType = m_pDict->GetString("S"); in GetAnnot()
226 CFX_ByteString csType = m_pDict->GetString("S"); in GetOperationType()
[all …]
Ddoc_basic.cpp49 CFX_ByteString mode; in GetZoomMode()
51 mode = pObj ? pObj->GetString() : CFX_ByteString(); in GetZoomMode()
68 CFX_ByteString CPDF_Dest::GetRemoteName() in GetRemoteName()
71 return CFX_ByteString(); in GetRemoteName()
82 static CPDF_Object* SearchNameNode(CPDF_Dictionary* pNode, const CFX_ByteString& csName, in SearchNameNode()
90 CFX_ByteString csLeft = pLimits->GetString(0); in SearchNameNode()
91 CFX_ByteString csRight = pLimits->GetString(1); in SearchNameNode()
93 CFX_ByteString csTmp = csRight; in SearchNameNode()
105 CFX_ByteString csValue = pNames->GetString(i * 2); in SearchNameNode()
140 CFX_ByteString& csName, CPDF_Array** ppFind, int nLevel = 0) in SearchNameNode()
[all …]
Ddoc_ap.cpp16 CFX_ByteString field_type = FPDF_GetFieldAttr(pAnnotDict, "FT")->GetString(); in FPDF_GenerateAP()
43 const CFX_ByteString & sDefFontAlias);
46 CFX_ByteString GetPDFFontAlias(FX_INT32 nFontIndex);
48 CPDF_Font * & pSysFont, CFX_ByteString & sSysFontAlias);
53 CFX_ByteString m_sDefFontAlias;
55 CFX_ByteString m_sSysFontAlias;
58 const CFX_ByteString & sDefFontAlias) : in CPVT_FontMap()
70 …iveInterFormFont(CPDF_Dictionary*& pFormDict, CPDF_Document* pDocument, CFX_ByteString& csNameTag);
72 CPDF_Font * & pSysFont, CFX_ByteString & sSysFontAlias) in GetAnnotSysPDFFont()
75 CFX_ByteString sFontAlias; in GetAnnotSysPDFFont()
[all …]
/external/pdfium/core/include/fxcrt/
Dfx_string.h17 class CFX_ByteString; variable
71 CFX_ByteStringC(const CFX_ByteString& src);
87 CFX_ByteStringC& operator = (const CFX_ByteString& src);
176 class CFX_ByteString
181 CFX_ByteString() in CFX_ByteString() function
186 CFX_ByteString(const CFX_ByteString& str);
188 CFX_ByteString(char ch);
190 CFX_ByteString(FX_LPCSTR ptr) in CFX_ByteString() function
191 : CFX_ByteString(ptr, ptr ? FXSYS_strlen(ptr) : 0) { } in CFX_ByteString()
193 CFX_ByteString(FX_LPCSTR ptr, FX_STRSIZE len);
[all …]
Dfx_xml.h15 CFX_ByteString m_QSpaceName;
16 CFX_ByteString m_AttrName;
66 CFX_ByteString GetTagName(FX_BOOL bQualified = FALSE) const;
68 CFX_ByteString GetNamespace(FX_BOOL bQualified = FALSE) const;
70 CFX_ByteString GetNamespaceURI(FX_BSTR qName) const;
82 …void GetAttrByIndex(int index, CFX_ByteString &space, CFX_ByteString &name, CFX_WideString &va…
170 CFX_ByteString m_QSpaceName;
171 CFX_ByteString m_TagName;
/external/pdfium/fpdfsdk/include/pdfwindow/
DPWL_Utils.h126 …static CFX_ByteString GetColorAppStream(const CPWL_Color & color,const FX_BOOL & bFillOrStroke…
127 static CFX_ByteString GetBorderAppStream(const CPDF_Rect & rect, FX_FLOAT fWidth,
130 static CFX_ByteString GetCircleBorderAppStream(const CPDF_Rect & rect, FX_FLOAT fWidth,
133 static CFX_ByteString GetRectFillAppStream(const CPDF_Rect & rect,const CPWL_Color & color);
134 static CFX_ByteString GetCircleFillAppStream(const CPDF_Rect & rect,const CPWL_Color & color);
136 static CFX_ByteString GetPushButtonAppStream(const CPDF_Rect & rcBBox,
144 static CFX_ByteString GetCheckBoxAppStream(const CPDF_Rect & rcBBox,
147 static CFX_ByteString GetRadioButtonAppStream(const CPDF_Rect & rcBBox,
151 …static CFX_ByteString GetEditAppStream(IFX_Edit* pEdit, const CPDF_Point & ptOffset, const CPV…
153 static CFX_ByteString GetEditSelAppStream(IFX_Edit* pEdit, const CPDF_Point & ptOffset,
[all …]
DPWL_FontMap.h20 CFX_ByteString sFontName;
26 CFX_ByteString sFontName;
69 virtual CFX_ByteString GetPDFFontAlias(FX_INT32 nFontIndex);
83 CFX_ByteString GetNativeFontName(FX_INT32 nCharset);
85 static CFX_ByteString GetDefaultFontByCharset(FX_INT32 nCharset);
87 …CPDF_Font* AddFontToDocument(CPDF_Document* pDoc, CFX_ByteString& sFontName, FX_BYTE nChar…
88 static FX_BOOL IsStandardFont(const CFX_ByteString& sFontName);
89 CPDF_Font* AddStandardFont(CPDF_Document* pDoc, CFX_ByteString& sFontName);
90 CPDF_Font* AddSystemFont(CPDF_Document* pDoc, CFX_ByteString& sFontName,
94 virtual CPDF_Font* FindFontSameCharset(CFX_ByteString& sFontAlias, FX_INT32 nCharset);
[all …]
/external/pdfium/fpdfsdk/include/formfiller/
DFFL_CBA_Fontmap.h26 void SetDefaultFont(CPDF_Font * pFont, const CFX_ByteString & sFontName);
29 void SetAPType(const CFX_ByteString& sAPType);
32 virtual CPDF_Font* FindFontSameCharset(CFX_ByteString& sFontAlias, FX_INT32 nCharset);
33 virtual void AddedFont(CPDF_Font* pFont, const CFX_ByteString& sFontAlias);
36 CPDF_Font* FindResFontSameCharset(CPDF_Dictionary* pResDict, CFX_ByteString& sFontAlias,
38 CPDF_Font* GetAnnotDefaultFont(CFX_ByteString &csNameTag);
39 void AddFontToAnnotDict(CPDF_Font* pFont, const CFX_ByteString& sAlias);
45 CFX_ByteString m_sDefaultFontName;
47 CFX_ByteString m_sAPType;
/external/pdfium/fpdfsdk/src/pdfwindow/
DPWL_FontMap.cpp65 CFX_ByteString CPWL_FontMap::GetPDFFontAlias(FX_INT32 nFontIndex) in GetPDFFontAlias()
156 CFX_ByteString CPWL_FontMap::GetNativeFontName(FX_INT32 nCharset) in GetNativeFontName()
168 CFX_ByteString sNew = GetNativeFont(nCharset); in GetNativeFontName()
200 CFX_ByteString sFontName = fontname; in Initial()
224 FX_BOOL CPWL_FontMap::IsStandardFont(const CFX_ByteString& sFontName) in IsStandardFont()
235 FX_INT32 CPWL_FontMap::FindFont(const CFX_ByteString& sFontName, FX_INT32 nCharset) in FindFont()
252 FX_INT32 CPWL_FontMap::GetFontIndex(const CFX_ByteString& sFontName, FX_INT32 nCharset, FX_BOOL bFi… in GetFontIndex()
260 CFX_ByteString sAlias; in GetFontIndex()
268 CFX_ByteString sTemp = sFontName; in GetFontIndex()
315 CFX_ByteString sAlias = EncodeFontAlias("Arial_Chrome", nCharset); in GetPWLFontIndex()
[all …]
/external/pdfium/core/include/fpdfdoc/
Dfpdf_doc.h54 CPDF_Object* LookupValue(int nIndex, CFX_ByteString& csName) const;
56 CPDF_Object* LookupValue(const CFX_ByteString& csName) const;
60 int GetIndex(const CFX_ByteString& csName) const;
131 CFX_ByteString GetRemoteName();
200 inline CFX_ByteString GetFileName() in GetFileName()
206 inline CFX_ByteString GetDefaultDirectory() in GetDefaultDirectory()
212 inline CFX_ByteString GetOperation() in GetOperation()
218 inline CFX_ByteString GetParameter() in GetParameter()
285 CFX_ByteString GetTypeName() const in GetTypeName()
318 CFX_ByteString GetURI(CPDF_Document* pDoc) const;
[all …]
/external/pdfium/core/src/fxge/ge/
Dfx_ge_fontmap.cpp90 CFX_ByteString Key; in FreeCache()
101 FXFT_Face CFX_FontMgr::FindSubstFont(const CFX_ByteString& face_name, FX_BOOL bTrueType, in FindSubstFont()
117 FXFT_Face CFX_FontMgr::GetCachedFace(const CFX_ByteString& face_name, in GetCachedFace()
120 CFX_ByteString key(face_name); in GetCachedFace()
122 key += CFX_ByteString::FormatInteger(weight); in GetCachedFace()
133 FXFT_Face CFX_FontMgr::AddCachedFace(const CFX_ByteString& face_name, in AddCachedFace()
158 CFX_ByteString key(face_name); in AddCachedFace()
160 key += CFX_ByteString::FormatInteger(weight); in AddCachedFace()
282 int _PDF_GetStandardFontName(CFX_ByteString& name) in _PDF_GetStandardFontName()
314 CFX_ByteString key; in GetCachedTTCFace()
[all …]
Dtext_int.h80 CFX_ByteString m_FilePath;
81 CFX_ByteString m_FaceName;
86 CFX_ByteString m_FontTables;
95 CFX_ByteString m_FaceName;
102 CFX_ByteString m_FontTables;
/external/pdfium/fpdfsdk/include/
Dfsdk_baseannot.h34 CPDFSDK_DateTime(const CFX_ByteString& dtStr);
49 CPDFSDK_DateTime& FromPDFDateTimeString(const CFX_ByteString& dtStr);
50 CFX_ByteString ToCommonDateTimeString();
51 CFX_ByteString ToPDFDateTimeString();
98 CFX_ByteString GetType() const;
99 virtual CFX_ByteString GetSubType() const;
121 void SetAppState(const CFX_ByteString& str);
122 CFX_ByteString GetAppState() const;
174 void WriteAppearance(const CFX_ByteString& sAPType, const CPDF_Rect& rcBBox,
175 const CPDF_Matrix& matrix, const CFX_ByteString& sContents,
[all …]
/external/pdfium/core/include/fxge/
Dfx_font.h57 FX_BOOL LoadSubst(const CFX_ByteString& face_name, FX_BOOL bTrueType, FX_DWORD flags,
99 CFX_ByteString GetFamilyName() const;
101 CFX_ByteString GetFaceName() const;
173 CFX_ByteString m_Family;
206 FXFT_Face GetCachedFace(const CFX_ByteString& face_name,
208 FXFT_Face AddCachedFace(const CFX_ByteString& face_name,
218 FXFT_Face FindSubstFont(const CFX_ByteString& face_name, FX_BOOL bTrueType, FX_DWORD flags,
236 …virtual FXFT_Face FindSubstFont(const CFX_ByteString& face_name, FX_BOOL bTrueType, FX_DWORD flags,
267 void AddInstalledFont(const CFX_ByteString& name, int charset);
278 …virtual FXFT_Face FindSubstFont(const CFX_ByteString& face_name, FX_BOOL bTrueType, FX_DWORD flags,
[all …]
/external/pdfium/core/include/fpdfapi/
Dfpdf_objects.h69 CFX_ByteString GetString() const;
84 void SetString(const CFX_ByteString& str);
169 CFX_ByteString GetString() const;
215 static CPDF_String* Create(const CFX_ByteString& str, FX_BOOL bHex = FALSE)
227 CPDF_String(const CFX_ByteString& str, FX_BOOL bHex = FALSE)
233 CFX_ByteString& GetString() in GetString()
249 CFX_ByteString m_String;
258 static CPDF_Name* Create(const CFX_ByteString& str) in Create()
273 CPDF_Name(const CFX_ByteString& str) : CPDF_Object(PDFOBJ_NAME), m_Name(str) { } in CPDF_Name()
277 CFX_ByteString& GetString() in GetString()
[all …]
Dfpdf_parser.h77 void GetID(CFX_ByteString& id1, CFX_ByteString& id2) const in GetID()
163 CFX_ByteString m_ID1;
165 CFX_ByteString m_ID2;
266 CFX_ByteString GetString(FX_DWORD objnum, FX_DWORD gennum);
268 CFX_ByteString GetName();
270 CFX_ByteString GetKeyword();
298 CFX_ByteString GetNextWord(FX_BOOL& bIsNumber);
311 CFX_ByteString ReadString();
313 CFX_ByteString ReadHexString();
391 CFX_ByteString GetPassword() in GetPassword()
[all …]
/external/pdfium/fpdfsdk/src/formfiller/
DFFL_CBA_Fontmap.cpp74 void CBA_FontMap::SetDefaultFont(CPDF_Font * pFont, const CFX_ByteString & sFontName) in SetDefaultFont()
92 CPDF_Font* CBA_FontMap::FindFontSameCharset(CFX_ByteString& sFontAlias, FX_INT32 nCharset) in FindFontSameCharset()
121 CPDF_Font* CBA_FontMap::FindResFontSameCharset(CPDF_Dictionary* pResDict, CFX_ByteString& sFontAlia… in FindResFontSameCharset()
138 CFX_ByteString csKey; in FindResFontSameCharset()
161 void CBA_FontMap::AddedFont(CPDF_Font* pFont, const CFX_ByteString& sFontAlias) in AddedFont()
166 void CBA_FontMap::AddFontToAnnotDict(CPDF_Font* pFont, const CFX_ByteString& sAlias) in AddFontToAnnotDict()
226 CPDF_Font* CBA_FontMap::GetAnnotDefaultFont(CFX_ByteString &sAlias) in GetAnnotDefaultFont()
241 CFX_ByteString sDA; in GetAnnotDefaultFont()
251 sDA = pObj ? pObj->GetString() : CFX_ByteString(); in GetAnnotDefaultFont()
261 CFX_ByteString sFontName = syntax.GetWord(); in GetAnnotDefaultFont()
[all …]
/external/pdfium/fpdfsdk/src/
Dfpdf_ext.cpp60 CFX_ByteString cbSubType = pPDFAnnot->GetSubType(); in CheckUnSupportAnnot()
68 CFX_ByteString cbString; in CheckUnSupportAnnot()
93 CFX_ByteString cbString; in CheckUnSupportAnnot()
106 FX_BOOL CheckSharedForm(CXML_Element * pElement, CFX_ByteString cbName) in CheckSharedForm()
112 CFX_ByteString space, name; in CheckSharedForm()
166 CFX_ByteString cbString; in CheckUnSupportError()
188 CFX_ByteString cbStr = pArray->GetString(i); in CheckUnSupportError()
225 CFX_ByteString strPageMode = pName->GetString(); in FPDFDoc_GetPageMode()
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_encrypt.cpp27 CFX_ByteString okey = pEncrypt->GetString(FX_BSTRC("O")); in CalcEncryptKey()
32 CFX_ByteString id = pIdArray->GetString(0); in CalcEncryptKey()
90 CFX_ByteString password = m_pParser->GetPassword(); in CheckSecurity()
136 CFX_ByteString cipher_name = pDefFilter->GetString(FX_BSTRC("CFM")); in _LoadCryptInfo()
157 return _LoadCryptInfo(pEncryptDict, CFX_ByteString(), m_Cipher, m_KeyLen); in LoadDict()
159 CFX_ByteString stmf_name = pEncryptDict->GetString(FX_BSTRC("StmF")); in LoadDict()
160 CFX_ByteString strf_name = pEncryptDict->GetString(FX_BSTRC("StrF")); in LoadDict()
176 CFX_ByteString strf_name, stmf_name; in LoadDict()
294CFX_ByteString okey = m_pEncryptDict ? m_pEncryptDict->GetString(FX_BSTRC("O")) : CFX_ByteString(); in AES256_CheckPassword()
298CFX_ByteString ukey = m_pEncryptDict ? m_pEncryptDict->GetString(FX_BSTRC("U")) : CFX_ByteString(); in AES256_CheckPassword()
[all …]

1234567