Home
last modified time | relevance | path

Searched refs:CFX_ByteStringC (Results 1 – 25 of 40) sorted by relevance

12

/external/pdfium/core/src/fxcrt/
Dfx_basic_bstring_unittest.cpp92 CFX_ByteStringC null_string_c; in TEST()
93 CFX_ByteStringC empty_string_c(""); in TEST()
107 CFX_ByteStringC byte_string_c_same1("hello"); in TEST()
111 CFX_ByteStringC byte_string_c1("he"); in TEST()
112 CFX_ByteStringC byte_string_c2("hellp"); in TEST()
113 CFX_ByteStringC byte_string_c3("hellod"); in TEST()
197 CFX_ByteStringC null_string_c; in TEST()
198 CFX_ByteStringC empty_string_c(""); in TEST()
208 CFX_ByteStringC byte_string_c_same1("hello"); in TEST()
212 CFX_ByteStringC byte_string_c1("he"); in TEST()
[all …]
Dfx_xml_composer.cpp9 void FX_XML_SplitQualifiedName(FX_BSTR bsFullName, CFX_ByteStringC &bsSpace, CFX_ByteStringC &bsNam… in FX_XML_SplitQualifiedName()
23 bsSpace = CFX_ByteStringC(bsFullName.GetCStr(), iStart); in FX_XML_SplitQualifiedName()
25 bsName = CFX_ByteStringC(bsFullName.GetCStr() + iStart, bsFullName.GetLength() - iStart); in FX_XML_SplitQualifiedName()
36 CFX_ByteStringC bsSpace, bsName; in SetTag()
Dfx_basic_maps.cpp418 static CFX_ByteStringC _CompactStringGet(_CompactString* pCompact) in _CompactStringGet()
421 return CFX_ByteStringC(pCompact->m_pBuffer, pCompact->m_LenHigh * 256 + pCompact->m_LenLow); in _CompactStringGet()
424 return CFX_ByteStringC(); in _CompactStringGet()
426 return CFX_ByteStringC(&pCompact->m_LenHigh, pCompact->m_CompactLen); in _CompactStringGet()
501 …urn !_CompactStringSame((_CompactString*)pData, ((CFX_ByteStringC*)param)->GetPtr(), ((CFX_ByteStr… in _CMapLookupCallback()
Dxml_int.h161 void FX_XML_SplitQualifiedName(FX_BSTR bsFullName, CFX_ByteStringC &bsSpace, CFX_ByteStringC &bsNam…
Dfx_xml_parser.cpp209 CFX_ByteStringC ref = buf.GetByteString(); in GetCharRef()
649 CFX_ByteStringC bsSpace, bsName; in HasAttr()
655 CFX_ByteStringC bsSpace, bsName; in GetAttrValue()
670 CFX_ByteStringC bsSpace, bsName; in GetAttrInteger()
690 CFX_ByteStringC bsSpace, bsName; in GetAttrFloat()
Dfx_basic_bstring.cpp48 return CFX_ByteStringC(buf, _Buffer_itoa(buf, i, flags)); in FormatInteger()
246 bool CFX_ByteString::Equal(const CFX_ByteStringC& str) const in Equal()
1012 TrimRight(CFX_ByteStringC(chTarget)); in TrimRight()
1050 TrimLeft(CFX_ByteStringC(chTarget)); in TrimLeft()
1058 return CFX_ByteStringC(*this).GetID(start_pos); in GetID()
1060 FX_DWORD CFX_ByteStringC::GetID(FX_STRSIZE start_pos) const in GetID()
Dfx_basic_buffer.cpp138 CFX_ByteStringC CFX_BinaryBuf::GetByteString() const in GetByteString()
140 return CFX_ByteStringC(m_pBuffer, m_DataSize); in GetByteString()
173 void CFX_ByteTextBuf::operator =(const CFX_ByteStringC& str) in operator =()
/external/pdfium/core/include/fxcrt/
Dfx_string.h23 class CFX_ByteStringC
28 CFX_ByteStringC() in CFX_ByteStringC() function
34 CFX_ByteStringC(FX_LPCBYTE ptr, FX_STRSIZE size) in CFX_ByteStringC() function
40 CFX_ByteStringC(FX_LPCSTR ptr) in CFX_ByteStringC() function
53 CFX_ByteStringC(FX_CHAR& ch) in CFX_ByteStringC() function
59 CFX_ByteStringC(FX_LPCSTR ptr, FX_STRSIZE len) in CFX_ByteStringC() function
65 CFX_ByteStringC(const CFX_ByteStringC& src) in CFX_ByteStringC() function
71 CFX_ByteStringC(const CFX_ByteString& src);
73 CFX_ByteStringC& operator = (FX_LPCSTR src)
80 CFX_ByteStringC& operator = (const CFX_ByteStringC& src)
[all …]
/external/pdfium/core/src/reflow/
Dlayoutprovider_taggedpdf.h40 CFX_ByteStringC ConvertLayoutType(LayoutType type);
41 CFX_ByteStringC ConvertLayoutAttr(LayoutAttr attr);
42 LayoutEnum ConvertLayoutEnum(CFX_ByteStringC Enum);
46 CFX_ByteStringC GetAttrOwner(LayoutAttr attr_type);
47 CFX_ByteStringC GetDefaultNameValue(LayoutAttr attr_type);
Dlayoutprovider_taggedpdf.cpp128 CFX_ByteStringC CPDF_LayoutElement::ConvertLayoutType(LayoutType type) in ConvertLayoutType()
234 CFX_ByteStringC CPDF_LayoutElement::ConvertLayoutAttr(LayoutAttr attr) in ConvertLayoutAttr()
329 LayoutEnum CPDF_LayoutElement::ConvertLayoutEnum(CFX_ByteStringC Enum) in ConvertLayoutEnum()
472 CFX_ByteStringC owner = GetAttrOwner(attr_type); in GetEnumAttr()
473 CFX_ByteStringC default_value = GetDefaultNameValue(attr_type); in GetEnumAttr()
474 CFX_ByteStringC AttrName = ConvertLayoutAttr(attr_type); in GetEnumAttr()
478 CFX_ByteStringC CPDF_LayoutElement::GetAttrOwner(LayoutAttr attr_type) in GetAttrOwner()
502 CFX_ByteStringC owner = GetAttrOwner(attr_type); in GetNumberAttr()
504 CFX_ByteStringC AttrName = ConvertLayoutAttr(attr_type); in GetNumberAttr()
516 CFX_ByteStringC owner = GetAttrOwner(attr_type); in GetColorAttr()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_utility.cpp154 CFX_ByteStringC CPDF_SimpleParser::GetWord() in GetWord()
167 return CFX_ByteStringC(pStart, (FX_STRSIZE)(m_dwCurPos - (pStart - m_pData))); in GetWord()
193 return CFX_ByteStringC(pStart, (FX_STRSIZE)(m_dwCurPos - (pStart - m_pData))); in GetWord()
195 return CFX_ByteStringC(pStart, dwSize); in GetWord()
215 CFX_ByteStringC word = GetWord(); in SkipWord()
236 CFX_ByteStringC word = GetWord(); in FindTagPair()
261 CFX_ByteStringC word = GetWord(); in FindTagParam()
316 return PDF_NameDecode(CFX_ByteStringC(orig)); in PDF_NameDecode()
Dfpdf_parser_objects.cpp67 CFX_ByteStringC CPDF_Object::GetConstString() const in GetConstString()
71 …return CFX_ByteStringC((FX_LPCBYTE)((CPDF_String*)this)->m_String, ((CPDF_String*)this)->m_String.… in GetConstString()
73 …return CFX_ByteStringC((FX_LPCBYTE)((CPDF_Name*)this)->m_Name, ((CPDF_Name*)this)->m_Name.GetLengt… in GetConstString()
81 return CFX_ByteStringC(); in GetConstString()
86 return CFX_ByteStringC(); in GetConstString()
433 CFX_ByteStringC CPDF_Array::GetConstString(FX_DWORD i) const in GetConstString()
440 return CFX_ByteStringC(); in GetConstString()
612 CFX_ByteStringC CPDF_Dictionary::GetConstString(FX_BSTR key) const in GetConstString()
619 return CFX_ByteStringC(); in GetConstString()
646 CFX_ByteStringC CPDF_Dictionary::GetConstString(FX_BSTR key, FX_BSTR def) const in GetConstString()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_parser.cpp121 … m_ParamBuf1[index].m_pObject = CPDF_Name::Create(PDF_NameDecode(CFX_ByteStringC(name, len))); in AddNameParam()
128 CFX_ByteString str = PDF_NameDecode(CFX_ByteStringC(name, len)); in AddNameParam()
138 FX_atonum(CFX_ByteStringC(str, len), m_ParamBuf1[index].m_Number.m_bInteger, in AddNumberParam()
441 static CFX_ByteStringC _PDF_FindFullName(const _FX_BSTR* table, int count, FX_BSTR abbr) in _PDF_FindFullName()
446 return CFX_ByteStringC(table[i].m_Ptr, table[i].m_Size); in _PDF_FindFullName()
450 return CFX_ByteStringC(); in _PDF_FindFullName()
461 CFX_ByteStringC fullname = _PDF_FindFullName(_PDF_InlineKeyAbbr, in _PDF_ReplaceAbbr()
486 CFX_ByteStringC fullname = _PDF_FindFullName(_PDF_InlineValueAbbr, in _PDF_ReplaceAbbr()
499 static CFX_ByteStringC _PDF_FindAbbrName(const _FX_BSTR* table, int count, FX_BSTR fullName) in _PDF_FindAbbrName()
504 return CFX_ByteStringC(table[i + 1].m_Ptr, table[i + 1].m_Size); in _PDF_FindAbbrName()
[all …]
Dfpdf_page_parser_old.cpp225 … FX_atonum(CFX_ByteStringC(m_pSyntax->GetWordBuf(), m_pSyntax->GetWordSize()), bInteger, &value); in ParsePathObject()
590 return CPDF_Number::Create(CFX_ByteStringC(m_WordBuffer, m_WordSize)); in ReadNextObject()
594 return CPDF_Name::Create(PDF_NameDecode(CFX_ByteStringC(m_WordBuffer + 1, m_WordSize - 1))); in ReadNextObject()
617 CFX_ByteString key = PDF_NameDecode(CFX_ByteStringC(m_WordBuffer + 1, m_WordSize - 1)); in ReadNextObject()
Dfpdf_page_func.cpp151 CFX_ByteStringC word = parser.GetWord(); in Parse()
160 CFX_ByteStringC word = parser.GetWord(); in Parse()
177 if (word == CFX_ByteStringC(_PDF_PSOpNames[i].name)) { in Parse()
Dfpdf_page_doc.cpp578 if (m_HashProfileMap.Lookup(CFX_ByteStringC(digest, 20), (void*&)pCopiedStream)) { in GetIccProfile()
588 m_HashProfileMap.SetAt(CFX_ByteStringC(digest, 20), pIccProfileStream); in GetIccProfile()
/external/pdfium/testing/
Dfx_string_testhelpers.h13 std::ostream& operator<<(std::ostream& out, const CFX_ByteStringC& str);
Dfx_string_testhelpers.cpp33 std::ostream& operator<<(std::ostream& out, const CFX_ByteStringC& str) { in operator <<()
/external/pdfium/core/include/fpdfapi/
Dfpdf_objects.h71 CFX_ByteStringC GetConstString() const;
322 CFX_ByteStringC GetConstString(FX_DWORD index) const;
409 CFX_ByteStringC GetConstString(FX_BSTR key) const;
413 CFX_ByteStringC GetConstString(FX_BSTR key, FX_BSTR default_str) const;
/external/pdfium/core/src/fxge/apple/
Dfx_mac_imp.cpp52 if (face == CFX_ByteStringC(Base14Substs[iBaseFont].m_pName)) { in MapFont()
/external/pdfium/core/src/fpdfdoc/
Ddoc_bookmark.cpp84 CFX_ByteStringC name = pDest->GetString(); in GetDest()
Ddoc_link.cpp94 CFX_ByteStringC name = pDest->GetString(); in GetDest()
Ddoc_action.cpp23 CFX_ByteStringC name = pDest->GetString(); in GetDest()
/external/pdfium/core/src/fxge/ge/
Dfx_ge_linux.cpp85 if (face == CFX_ByteStringC(Base14Substs[iBaseFont].m_pName)) { in MapFont()
/external/pdfium/core/src/fpdfapi/fpdf_font/
Dfpdf_font_cid.cpp54 if (Ordering == CFX_ByteStringC(g_CharsetNames[charset])) in _CharsetFromOrdering()
369 if (cmapid == CFX_ByteStringC(g_PredefinedCMaps[index].m_pName)) { in LoadPredefined()
406 CFX_ByteStringC word = syntax.GetWord(); in LoadEmbedded()

12