/external/pdfium/core/fxcrt/ |
D | fx_string.h | 47 CFX_ByteString(const FX_CHAR* ptr, FX_STRSIZE len); 48 CFX_ByteString(const uint8_t* ptr, FX_STRSIZE len); 57 static CFX_ByteString FromUnicode(const FX_WCHAR* ptr, FX_STRSIZE len = -1); 77 FX_STRSIZE GetLength() const { return m_pData ? m_pData->m_nDataLength : 0; } in GetLength() 104 uint8_t GetAt(FX_STRSIZE nIndex) const { in GetAt() 108 uint8_t operator[](FX_STRSIZE nIndex) const { 112 void SetAt(FX_STRSIZE nIndex, FX_CHAR ch); 113 FX_STRSIZE Insert(FX_STRSIZE index, FX_CHAR ch); 114 FX_STRSIZE Delete(FX_STRSIZE index, FX_STRSIZE count = 1); 119 void Reserve(FX_STRSIZE len); [all …]
|
D | fx_basic_bstring.cpp | 85 CFX_ByteString::CFX_ByteString(const FX_CHAR* pStr, FX_STRSIZE nLen) { in CFX_ByteString() 93 CFX_ByteString::CFX_ByteString(const uint8_t* pStr, FX_STRSIZE nLen) { in CFX_ByteString() 235 FX_STRSIZE len = str.GetLength(); in EqualNoCase() 241 for (FX_STRSIZE i = 0; i < len; i++) { in EqualNoCase() 260 void CFX_ByteString::AssignCopy(const FX_CHAR* pSrcData, FX_STRSIZE nSrcLen) { in AssignCopy() 266 void CFX_ByteString::ReallocBeforeWrite(FX_STRSIZE nNewLength) { in ReallocBeforeWrite() 277 FX_STRSIZE nCopyLength = std::min(m_pData->m_nDataLength, nNewLength); in ReallocBeforeWrite() 287 void CFX_ByteString::AllocBeforeWrite(FX_STRSIZE nNewLength) { in AllocBeforeWrite() 299 void CFX_ByteString::ReleaseBuffer(FX_STRSIZE nNewLength) { in ReleaseBuffer() 323 void CFX_ByteString::Reserve(FX_STRSIZE len) { in Reserve() [all …]
|
D | fx_basic_wstring.cpp | 78 CFX_WideString::CFX_WideString(const FX_WCHAR* pStr, FX_STRSIZE nLen) { in CFX_WideString() 209 void CFX_WideString::AssignCopy(const FX_WCHAR* pSrcData, FX_STRSIZE nSrcLen) { in AssignCopy() 215 void CFX_WideString::ReallocBeforeWrite(FX_STRSIZE nNewLength) { in ReallocBeforeWrite() 226 FX_STRSIZE nCopyLength = std::min(m_pData->m_nDataLength, nNewLength); in ReallocBeforeWrite() 236 void CFX_WideString::AllocBeforeWrite(FX_STRSIZE nNewLength) { in AllocBeforeWrite() 248 void CFX_WideString::ReleaseBuffer(FX_STRSIZE nNewLength) { in ReleaseBuffer() 272 void CFX_WideString::Reserve(FX_STRSIZE len) { in Reserve() 276 FX_WCHAR* CFX_WideString::GetBuffer(FX_STRSIZE nMinBufLength) { in GetBuffer() 301 FX_STRSIZE CFX_WideString::Delete(FX_STRSIZE nIndex, FX_STRSIZE nCount) { in Delete() 308 FX_STRSIZE nOldLength = m_pData->m_nDataLength; in Delete() [all …]
|
D | cfx_string_c_template.h | 32 CFX_StringCTemplate(const CharType* ptr, FX_STRSIZE len) in CFX_StringCTemplate() 39 FX_STRSIZE size, 83 uint32_t GetID(FX_STRSIZE start_pos = 0) const { 88 FX_STRSIZE size = std::min(4, m_Length - start_pos); 89 for (FX_STRSIZE i = 0; i < size; i++) 100 FX_STRSIZE GetLength() const { return m_Length; } in GetLength() 103 UnsignedType GetAt(FX_STRSIZE index) const { return m_Ptr[index]; } in GetAt() 104 CharType CharAt(FX_STRSIZE index) const { in CharAt() 108 FX_STRSIZE Find(CharType ch) const { in Find() 114 CFX_StringCTemplate Mid(FX_STRSIZE index, FX_STRSIZE count = -1) const { [all …]
|
D | cfx_string_data_template.h | 17 static CFX_StringDataTemplate* Create(FX_STRSIZE nLen) { in Create() 48 static CFX_StringDataTemplate* Create(const CharType* pStr, FX_STRSIZE nLen) { in Create() 60 bool CanOperateInPlace(FX_STRSIZE nTotalLen) const { in CanOperateInPlace() 70 void CopyContents(const CharType* pStr, FX_STRSIZE nLen) { in CopyContents() 76 void CopyContentsAt(FX_STRSIZE offset, in CopyContentsAt() 78 FX_STRSIZE nLen) { in CopyContentsAt() 96 FX_STRSIZE m_nDataLength; 97 FX_STRSIZE m_nAllocLength; 103 CFX_StringDataTemplate(FX_STRSIZE dataLen, FX_STRSIZE allocLen) in CFX_StringDataTemplate()
|
D | fx_basic_buffer.cpp | 19 CFX_BinaryBuf::CFX_BinaryBuf(FX_STRSIZE size) in CFX_BinaryBuf() 47 void CFX_BinaryBuf::EstimateSize(FX_STRSIZE size, FX_STRSIZE step) { in EstimateSize() 53 void CFX_BinaryBuf::ExpandBuf(FX_STRSIZE add_size) { in ExpandBuf() 69 void CFX_BinaryBuf::AppendBlock(const void* pBuf, FX_STRSIZE size) { in AppendBlock() 82 void CFX_BinaryBuf::InsertBlock(FX_STRSIZE pos, in InsertBlock() 84 FX_STRSIZE size) { in InsertBlock() 120 FX_STRSIZE len = FX_ftoa((FX_FLOAT)f, buf); in operator <<() 149 FX_STRSIZE len = FXSYS_strlen(buf); in operator <<() 152 for (FX_STRSIZE j = 0; j < len; j++) { in operator <<() 161 FX_STRSIZE len = FX_ftoa((FX_FLOAT)f, buf); in operator <<() [all …]
|
D | fx_basic.h | 26 explicit CFX_BinaryBuf(FX_STRSIZE size); 30 FX_STRSIZE GetSize() const { return m_DataSize; } in GetSize() 33 void EstimateSize(FX_STRSIZE size, FX_STRSIZE alloc_step = 0); 34 void AppendBlock(const void* pBuf, FX_STRSIZE size); 44 void InsertBlock(FX_STRSIZE pos, const void* pBuf, FX_STRSIZE size); 51 void ExpandBuf(FX_STRSIZE size); 53 FX_STRSIZE m_AllocStep; 54 FX_STRSIZE m_AllocSize; 55 FX_STRSIZE m_DataSize; 61 FX_STRSIZE GetLength() const { return m_DataSize; } in GetLength() [all …]
|
D | fx_system.h | 84 typedef int FX_STRSIZE; typedef 152 #define FXSYS_strlen(ptr) pdfium::base::checked_cast<FX_STRSIZE>(strlen(ptr)) 153 #define FXSYS_wcslen(ptr) pdfium::base::checked_cast<FX_STRSIZE>(wcslen(ptr)) 156 inline FX_STRSIZE FXSYS_len(const FX_CHAR* ptr) { in FXSYS_len() 160 inline FX_STRSIZE FXSYS_len(const FX_WCHAR* ptr) { in FXSYS_len() 182 #define FXSYS_strlen(ptr) ((FX_STRSIZE)strlen(ptr)) 183 #define FXSYS_wcslen(ptr) ((FX_STRSIZE)wcslen(ptr))
|
D | fx_safe_types.h | 18 typedef pdfium::base::CheckedNumeric<FX_STRSIZE> FX_SAFE_STRSIZE;
|
D | fx_xml_composer.cpp | 17 FX_STRSIZE iStart = bsFullName.Find(':'); in FX_XML_SplitQualifiedName()
|
D | fx_extension.cpp | 527 for (FX_STRSIZE i = 0; i < str.GetLength(); ++i) in FX_HashCode_GetA() 530 for (FX_STRSIZE i = 0; i < str.GetLength(); ++i) in FX_HashCode_GetA() 539 for (FX_STRSIZE i = 0; i < str.GetLength(); ++i) in FX_HashCode_GetW() 542 for (FX_STRSIZE i = 0; i < str.GetLength(); ++i) in FX_HashCode_GetW()
|
D | fx_basic_utf.cpp | 78 FX_STRSIZE len = wsStr.GetLength(); in FX_UTF8Encode()
|
/external/pdfium/xfa/fxfa/parser/ |
D | cxfa_document.cpp | 319 FX_STRSIZE nPrefixLength = wsTemplateURIPrefix.GetLength(); in RecognizeXFAVersionNumber() 324 FX_STRSIZE nDotPos = wsTemplateNS.Find('.', nPrefixLength); in RecognizeXFAVersionNumber() 325 if (nDotPos == (FX_STRSIZE)-1) in RecognizeXFAVersionNumber() 386 FX_STRSIZE uSharpPos = wsUseVal.Find('#'); in DoProtoMerge() 391 FX_STRSIZE uLen = wsUseVal.GetLength(); in DoProtoMerge()
|
/external/pdfium/core/fpdfapi/parser/ |
D | fpdf_parser_decode_unittest.cpp | 84 FX_STRSIZE expected_length; in TEST() 106 for (FX_STRSIZE j = 0; j < test_case.expected_length; ++j) { in TEST()
|
D | cpdf_simple_parser.cpp | 106 (FX_STRSIZE)(m_dwCurPos - (pStart - m_pData))); in GetWord() 134 (FX_STRSIZE)(m_dwCurPos - (pStart - m_pData))); in GetWord()
|
/external/pdfium/testing/libfuzzer/ |
D | pdf_css_fuzzer.cc | 16 CFX_ByteStringC(data, static_cast<FX_STRSIZE>(size))); in LLVMFuzzerTestOneInput()
|
D | pdf_cfx_saxreader_fuzzer.cc | 14 CFX_ByteStringC(data, static_cast<FX_STRSIZE>(size))); in LLVMFuzzerTestOneInput()
|
/external/pdfium/core/fxcodec/codec/ |
D | ccodec_jpegmodule.h | 65 FX_STRSIZE* dest_size);
|
D | ccodec_pngmodule.cpp | 69 FX_STRSIZE len; in _png_load_bmp_attribute() 89 static_cast<FX_STRSIZE>(text[i].text_length)); in _png_load_bmp_attribute()
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_image.cpp | 174 FX_STRSIZE dest_pitch = 0; in SetImage() 259 FX_STRSIZE mask_size = 0; in SetImage() 287 FX_STRSIZE dest_size = dest_pitch * BitmapHeight; in SetImage()
|
/external/pdfium/core/fpdfapi/edit/ |
D | editint.h | 23 FX_STRSIZE offset;
|
/external/pdfium/core/fpdftext/ |
D | cpdf_textpage.cpp | 69 FX_STRSIZE Unicode_GetNormalization(FX_WCHAR wch, FX_WCHAR* pDst) { in Unicode_GetNormalization() 96 return (FX_STRSIZE)wFind; in Unicode_GetNormalization() 653 FX_STRSIZE nCount = Unicode_GetNormalization(wChar, pDst); in AddCharInfoByLRDirection() 683 FX_STRSIZE nCount = Unicode_GetNormalization(wChar, pDst); in AddCharInfoByRLDirection() 843 FX_STRSIZE nItems = actText.GetLength(); in PreMarkedContent() 849 for (FX_STRSIZE i = 0; i < nItems; i++) { in PreMarkedContent() 860 for (FX_STRSIZE i = 0; i < nItems; i++) { in PreMarkedContent() 889 FX_STRSIZE nItems = actText.GetLength(); in ProcessMarkedContent() 897 for (FX_STRSIZE k = 0; k < nItems; k++) { in ProcessMarkedContent() 1230 FX_STRSIZE nCount = strCurText.GetLength(); in IsHyphen()
|
/external/pdfium/fpdfsdk/ |
D | cpdfsdk_interform.cpp | 444 FX_STRSIZE nBufSize = textBuf.GetLength(); in SubmitFields() 459 FX_STRSIZE& nBufSize) { in FDFToURLEncodedData() 533 FX_STRSIZE nBufSize = FdfBuffer.GetLength(); in SubmitForm()
|
/external/pdfium/core/fpdfdoc/ |
D | cpdf_interform.cpp | 310 void GetNext(const FX_WCHAR*& pSubName, FX_STRSIZE& size) { in GetNext() 315 size = (FX_STRSIZE)(m_pCur - pSubName); in GetNext() 527 FX_STRSIZE nLength; in SetField() 550 FX_STRSIZE nLength; in GetField() 569 FX_STRSIZE nLength; in FindNode()
|
/external/pdfium/fpdfsdk/javascript/ |
D | util.cpp | 332 FX_STRSIZE iSourceIdx = 0; in printx() 333 FX_STRSIZE iFormatIdx = 0; in printx()
|