Home
last modified time | relevance | path

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

12

/external/pdfium/core/include/fxcrt/
Dfx_string.h32 CFX_ByteStringC(const uint8_t* ptr, FX_STRSIZE size) { in CFX_ByteStringC()
54 CFX_ByteStringC(const FX_CHAR* ptr, FX_STRSIZE len) { in CFX_ByteStringC()
93 FX_DWORD GetID(FX_STRSIZE start_pos = 0) const;
99 FX_STRSIZE GetLength() const { return m_Length; } in GetLength()
103 uint8_t GetAt(FX_STRSIZE index) const { return m_Ptr[index]; } in GetAt()
105 CFX_ByteStringC Mid(FX_STRSIZE index, FX_STRSIZE count = -1) const {
127 FX_STRSIZE m_Length;
161 CFX_ByteString(const FX_CHAR* ptr, FX_STRSIZE len);
162 CFX_ByteString(const uint8_t* ptr, FX_STRSIZE len);
169 static CFX_ByteString FromUnicode(const FX_WCHAR* ptr, FX_STRSIZE len = -1);
[all …]
Dfx_basic.h35 CFX_BinaryBuf(FX_STRSIZE size);
41 void EstimateSize(FX_STRSIZE size, FX_STRSIZE alloc_step = 0);
43 void AppendBlock(const void* pBuf, FX_STRSIZE size);
45 void AppendFill(uint8_t byte, FX_STRSIZE count);
58 void InsertBlock(FX_STRSIZE pos, const void* pBuf, FX_STRSIZE size);
60 void AttachData(void* pBuf, FX_STRSIZE size);
62 void CopyData(const void* pBuf, FX_STRSIZE size);
70 FX_STRSIZE GetSize() const { return m_DataSize; } in GetSize()
77 FX_STRSIZE m_AllocStep;
81 FX_STRSIZE m_DataSize;
[all …]
Dfx_system.h81 typedef int FX_STRSIZE; typedef
163 #define FXSYS_strlen(ptr) pdfium::base::checked_cast<FX_STRSIZE>(strlen(ptr))
164 #define FXSYS_wcslen(ptr) pdfium::base::checked_cast<FX_STRSIZE>(wcslen(ptr))
167 #define FXSYS_strlen(ptr) ((FX_STRSIZE)strlen(ptr))
168 #define FXSYS_wcslen(ptr) ((FX_STRSIZE)wcslen(ptr))
/external/pdfium/core/src/fxcrt/
Dfx_basic_bstring.cpp81 CFX_ByteString::CFX_ByteString(const FX_CHAR* lpsz, FX_STRSIZE nLen) { in CFX_ByteString()
94 CFX_ByteString::CFX_ByteString(const uint8_t* lpsz, FX_STRSIZE nLen) { in CFX_ByteString()
184 void CFX_ByteString::Load(const uint8_t* buf, FX_STRSIZE len) { in Load()
258 FX_STRSIZE len = str.GetLength(); in EqualNoCase()
264 for (FX_STRSIZE i = 0; i < len; i++) { in EqualNoCase()
283 void CFX_ByteString::AssignCopy(FX_STRSIZE nSrcLen, in AssignCopy()
296 FX_STRSIZE nDataLength = pData->m_nDataLength; in CopyBeforeWrite()
302 void CFX_ByteString::AllocBeforeWrite(FX_STRSIZE nLen) { in AllocBeforeWrite()
309 void CFX_ByteString::ReleaseBuffer(FX_STRSIZE nNewLength) { in ReleaseBuffer()
325 void CFX_ByteString::Reserve(FX_STRSIZE len) { in Reserve()
[all …]
Dfx_basic_wstring.cpp60 CFX_WideString::CFX_WideString(const FX_WCHAR* lpsz, FX_STRSIZE nLen) { in CFX_WideString()
105 void CFX_WideString::ReleaseBuffer(FX_STRSIZE nNewLength) { in ReleaseBuffer()
216 void CFX_WideString::ConcatInPlace(FX_STRSIZE nSrcLen, in ConcatInPlace()
238 void CFX_WideString::ConcatCopy(FX_STRSIZE nSrc1Len, in ConcatCopy()
240 FX_STRSIZE nSrc2Len, in ConcatCopy()
242 FX_STRSIZE nNewLen = nSrc1Len + nSrc2Len; in ConcatCopy()
261 FX_STRSIZE nDataLength = pData->m_nDataLength; in CopyBeforeWrite()
268 void CFX_WideString::AllocBeforeWrite(FX_STRSIZE nLen) { in AllocBeforeWrite()
275 void CFX_WideString::AssignCopy(FX_STRSIZE nSrcLen, in AssignCopy()
313 void CFX_WideString::Reserve(FX_STRSIZE len) { in Reserve()
[all …]
Dfx_basic_buffer.cpp11 FX_STRSIZE FX_ftoa(FX_FLOAT f, FX_CHAR* buf);
14 CFX_BinaryBuf::CFX_BinaryBuf(FX_STRSIZE size) in CFX_BinaryBuf()
37 void CFX_BinaryBuf::AttachData(void* buffer, FX_STRSIZE size) { in AttachData()
47 void CFX_BinaryBuf::EstimateSize(FX_STRSIZE size, FX_STRSIZE step) { in EstimateSize()
54 void CFX_BinaryBuf::ExpandBuf(FX_STRSIZE add_size) { in ExpandBuf()
55 FX_STRSIZE new_size = add_size + m_DataSize; in ExpandBuf()
78 void CFX_BinaryBuf::CopyData(const void* pStr, FX_STRSIZE size) { in CopyData()
92 void CFX_BinaryBuf::AppendBlock(const void* pBuf, FX_STRSIZE size) { in AppendBlock()
99 void CFX_BinaryBuf::InsertBlock(FX_STRSIZE pos, in InsertBlock()
101 FX_STRSIZE size) { in InsertBlock()
[all …]
Dfx_basic_utf.cpp76 CFX_ByteString FX_UTF8Encode(const FX_WCHAR* pwsStr, FX_STRSIZE len) { in FX_UTF8Encode()
/external/pdfium/core/src/fpdftext/
Dunicodenormalization.cpp17 FX_STRSIZE FX_Unicode_GetNormalization(FX_WCHAR wch, FX_WCHAR* pDst) { in FX_Unicode_GetNormalization()
46 return (FX_STRSIZE)wFind; in FX_Unicode_GetNormalization()
48 FX_STRSIZE FX_WideString_GetNormalization(const CFX_WideStringC& wsSrc, in FX_WideString_GetNormalization()
50 FX_STRSIZE nCount = 0; in FX_WideString_GetNormalization()
51 for (FX_STRSIZE len = 0; len < wsSrc.GetLength(); len++) { in FX_WideString_GetNormalization()
61 FX_STRSIZE FX_WideString_GetNormalization(const CFX_WideStringC& wsSrc, in FX_WideString_GetNormalization()
63 FX_STRSIZE nLen = FX_WideString_GetNormalization(wsSrc, (FX_WCHAR*)NULL); in FX_WideString_GetNormalization()
Dfpdf_text_int.cpp1001 FX_STRSIZE nCount = FX_Unicode_GetNormalization(wChar, pDst); in AddCharInfoByLRDirection()
1032 FX_STRSIZE nCount = FX_Unicode_GetNormalization(wChar, pDst); in AddCharInfoByRLDirection()
1320 FX_STRSIZE nItems = actText.GetLength(); in PreMarkedContent()
1325 for (FX_STRSIZE i = 0; i < nItems; i++) { in PreMarkedContent()
1338 for (FX_STRSIZE i = 0; i < nItems; i++) { in PreMarkedContent()
1374 FX_STRSIZE nItems = actText.GetLength(); in ProcessMarkedContent()
1391 for (FX_STRSIZE k = 0; k < nItems; k++) { in ProcessMarkedContent()
1789 FX_STRSIZE nCount = strCurText.GetLength(); in IsHyphen()
2187 FX_STRSIZE len = findwhatStr.GetLength(); in FindFirst()
Dtext_int.h240 FX_STRSIZE FX_Unicode_GetNormalization(FX_WCHAR wch, FX_WCHAR* pDst);
/external/pdfium/xfa/src/fxfa/src/parser/
Dxfa_document_imp.cpp265 FX_STRSIZE nPrefixLength = wsTemplateURIPrefix.GetLength(); in RecognizeXFAVersionNumber()
270 FX_STRSIZE nDotPos = wsTemplateNS.Find('.', nPrefixLength); in RecognizeXFAVersionNumber()
271 if (nDotPos == (FX_STRSIZE)-1) { in RecognizeXFAVersionNumber()
388 FX_STRSIZE uSharpPos = wsUseVal.Find('#'); in DoProtoMerge()
393 FX_STRSIZE uLen = wsUseVal.GetLength(); in DoProtoMerge()
/external/pdfium/core/src/fpdfapi/fpdf_edit/
Dfpdf_edit_image.cpp94 FX_STRSIZE& size) {} in _DCTEncodeBitmap()
99 FX_STRSIZE& size, in _JBIG2EncodeBitmap()
123 FX_STRSIZE dest_pitch = 0, dest_size = 0, opType = -1; in SetImage()
222 FX_STRSIZE mask_size = 0; in SetImage()
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_utility.cpp170 (FX_STRSIZE)(m_dwCurPos - (pStart - m_pData))); in GetWord()
198 (FX_STRSIZE)(m_dwCurPos - (pStart - m_pData))); in GetWord()
300 result.ReleaseBuffer((FX_STRSIZE)(pDest - pDestStart)); in PDF_NameDecode()
/external/pdfium/xfa/src/fxfa/src/app/
Dxfa_ffimageedit.cpp113 FX_STRSIZE nLen = wsFilePath.GetLength(); in OnLButtonDown()
114 FX_STRSIZE nIndex = nLen - 1; in OnLButtonDown()
/external/pdfium/xfa/src/fxfa/src/fm2js/
Dxfa_fmparse.h44 FX_STRSIZE m_uLength;
Dxfa_lexer.h123 FX_STRSIZE m_uLength;
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_png.cpp67 FX_STRSIZE len; in _png_load_bmp_attribute()
87 (FX_STRSIZE)text[i].text_length); in _png_load_bmp_attribute()
Dfx_codec_jpeg.cpp125 FX_STRSIZE& dest_size, in _JpegEncode()
231 dest_size = dest_buf_length - (FX_STRSIZE)dest.free_in_buffer; in _JpegEncode()
545 FX_STRSIZE& dest_size, in Encode()
Dcodec_int.h183 FX_STRSIZE& dest_size,
Dfx_codec_tiff.cpp270 FX_STRSIZE size = FXSYS_strlen(buf); in Tiff_Exif_GetStringInfo()
/external/pdfium/core/src/fpdfdoc/
Ddoc_form.cpp20 void GetNext(const FX_WCHAR*& pSubName, FX_STRSIZE& size) { in GetNext()
25 size = (FX_STRSIZE)(m_pCur - pSubName); in GetNext()
147 FX_STRSIZE nLength; in SetField()
169 FX_STRSIZE nLength; in GetField()
186 FX_STRSIZE nLength; in RemoveField()
214 FX_STRSIZE nLength; in FindNode()
/external/pdfium/fpdfsdk/src/
Dfpdftext.cpp195 FX_STRSIZE len = CFX_WideString::WStringLength(findwhat); in FPDFText_FindStart()
Dfpdfdoc.cpp101 FX_STRSIZE len = CFX_WideString::WStringLength(title); in FPDFBookmark_Find()
/external/pdfium/fpdfsdk/include/
Dfsdk_baseform.h338 FX_BOOL FDFToURLEncodedData(uint8_t*& pBuf, FX_STRSIZE& nBufSize);
/external/pdfium/core/include/fxcodec/
Dfx_codec.h224 FX_STRSIZE& dest_size,

12