Home
last modified time | relevance | path

Searched refs:FX_STRSIZE (Results 1 – 25 of 44) sorted by relevance

12

/external/pdfium/core/fxcrt/
Dfx_string.h47 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 …]
Dfx_basic_bstring.cpp85 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 …]
Dfx_basic_wstring.cpp78 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 …]
Dcfx_string_c_template.h32 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 …]
Dcfx_string_data_template.h17 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()
Dfx_basic_buffer.cpp19 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 …]
Dfx_basic.h26 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 …]
Dfx_system.h84 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))
Dfx_safe_types.h18 typedef pdfium::base::CheckedNumeric<FX_STRSIZE> FX_SAFE_STRSIZE;
Dfx_xml_composer.cpp17 FX_STRSIZE iStart = bsFullName.Find(':'); in FX_XML_SplitQualifiedName()
Dfx_extension.cpp527 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()
Dfx_basic_utf.cpp78 FX_STRSIZE len = wsStr.GetLength(); in FX_UTF8Encode()
/external/pdfium/xfa/fxfa/parser/
Dcxfa_document.cpp319 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/
Dfpdf_parser_decode_unittest.cpp84 FX_STRSIZE expected_length; in TEST()
106 for (FX_STRSIZE j = 0; j < test_case.expected_length; ++j) { in TEST()
Dcpdf_simple_parser.cpp106 (FX_STRSIZE)(m_dwCurPos - (pStart - m_pData))); in GetWord()
134 (FX_STRSIZE)(m_dwCurPos - (pStart - m_pData))); in GetWord()
/external/pdfium/testing/libfuzzer/
Dpdf_css_fuzzer.cc16 CFX_ByteStringC(data, static_cast<FX_STRSIZE>(size))); in LLVMFuzzerTestOneInput()
Dpdf_cfx_saxreader_fuzzer.cc14 CFX_ByteStringC(data, static_cast<FX_STRSIZE>(size))); in LLVMFuzzerTestOneInput()
/external/pdfium/core/fxcodec/codec/
Dccodec_jpegmodule.h65 FX_STRSIZE* dest_size);
Dccodec_pngmodule.cpp69 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/edit/
Deditint.h23 FX_STRSIZE offset;
/external/pdfium/core/fpdfapi/page/
Dcpdf_image.cpp174 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/fpdftext/
Dcpdf_textpage.cpp69 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/
Dcpdfsdk_interform.cpp444 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/
Dcpdf_interform.cpp310 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/
Dutil.cpp332 FX_STRSIZE iSourceIdx = 0; in printx()
333 FX_STRSIZE iFormatIdx = 0; in printx()

12