Home
last modified time | relevance | path

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

/external/pdfium/core/include/fxcrt/
Dfx_string.h34 CFX_ByteStringC(FX_LPCBYTE ptr, FX_STRSIZE size) in CFX_ByteStringC()
59 CFX_ByteStringC(FX_LPCSTR ptr, FX_STRSIZE len) in CFX_ByteStringC()
102 FX_DWORD GetID(FX_STRSIZE start_pos = 0) const;
114 FX_STRSIZE GetLength() const in GetLength()
124 FX_BYTE GetAt(FX_STRSIZE index) const in GetAt()
129 CFX_ByteStringC Mid(FX_STRSIZE index, FX_STRSIZE count = -1) const
156 FX_STRSIZE m_Length;
193 CFX_ByteString(FX_LPCSTR ptr, FX_STRSIZE len);
195 CFX_ByteString(FX_LPCBYTE ptr, FX_STRSIZE len);
202 static CFX_ByteString FromUnicode(FX_LPCWSTR ptr, FX_STRSIZE len = -1);
[all …]
Dfx_basic.h34 CFX_BinaryBuf(FX_STRSIZE size);
40 void EstimateSize(FX_STRSIZE size, FX_STRSIZE alloc_step = 0);
42 void AppendBlock(const void* pBuf, FX_STRSIZE size);
44 void AppendFill(FX_BYTE byte, FX_STRSIZE count);
59 void InsertBlock(FX_STRSIZE pos, const void* pBuf, FX_STRSIZE size);
61 void AttachData(void* pBuf, FX_STRSIZE size);
63 void CopyData(const void* pBuf, FX_STRSIZE size);
74 FX_STRSIZE GetSize() const in GetSize()
84 FX_STRSIZE m_AllocStep;
88 FX_STRSIZE m_DataSize;
[all …]
Dfx_system.h126 typedef int FX_STRSIZE; typedef
200 #define FXSYS_strlen(ptr) pdfium::base::checked_cast<FX_STRSIZE>(strlen(ptr))
201 #define FXSYS_wcslen(ptr) pdfium::base::checked_cast<FX_STRSIZE>(wcslen(ptr))
204 #define FXSYS_strlen(ptr) ((FX_STRSIZE)strlen(ptr))
205 #define FXSYS_wcslen(ptr) ((FX_STRSIZE)wcslen(ptr))
/external/pdfium/core/src/fxcrt/
Dfx_basic_bstring.cpp84 CFX_ByteString::CFX_ByteString(FX_LPCSTR lpsz, FX_STRSIZE nLen) in CFX_ByteString()
98 CFX_ByteString::CFX_ByteString(FX_LPCBYTE lpsz, FX_STRSIZE nLen) in CFX_ByteString()
195 void CFX_ByteString::Load(FX_LPCBYTE buf, FX_STRSIZE len) in Load()
279 FX_STRSIZE len = str.GetLength(); in EqualNoCase()
285 for (FX_STRSIZE i = 0; i < len; i ++) { in EqualNoCase()
304 void CFX_ByteString::AssignCopy(FX_STRSIZE nSrcLen, FX_LPCSTR lpszSrcData) in AssignCopy()
318 FX_STRSIZE nDataLength = pData->m_nDataLength; in CopyBeforeWrite()
324 void CFX_ByteString::AllocBeforeWrite(FX_STRSIZE nLen) in AllocBeforeWrite()
332 void CFX_ByteString::ReleaseBuffer(FX_STRSIZE nNewLength) in ReleaseBuffer()
349 void CFX_ByteString::Reserve(FX_STRSIZE len) in Reserve()
[all …]
Dfx_basic_wstring.cpp59 CFX_WideString::CFX_WideString(FX_LPCWSTR lpsz, FX_STRSIZE nLen) { in CFX_WideString()
103 void CFX_WideString::ReleaseBuffer(FX_STRSIZE nNewLength) in ReleaseBuffer()
224 void CFX_WideString::ConcatInPlace(FX_STRSIZE nSrcLen, FX_LPCWSTR lpszSrcData) in ConcatInPlace()
244 void CFX_WideString::ConcatCopy(FX_STRSIZE nSrc1Len, FX_LPCWSTR lpszSrc1Data, in ConcatCopy()
245 FX_STRSIZE nSrc2Len, FX_LPCWSTR lpszSrc2Data) in ConcatCopy()
247 FX_STRSIZE nNewLen = nSrc1Len + nSrc2Len; in ConcatCopy()
267 FX_STRSIZE nDataLength = pData->m_nDataLength; in CopyBeforeWrite()
273 void CFX_WideString::AllocBeforeWrite(FX_STRSIZE nLen) in AllocBeforeWrite()
281 void CFX_WideString::AssignCopy(FX_STRSIZE nSrcLen, FX_LPCWSTR lpszSrcData) in AssignCopy()
323 void CFX_WideString::Reserve(FX_STRSIZE len) in Reserve()
[all …]
Dfx_basic_buffer.cpp8 FX_STRSIZE FX_ftoa(FX_FLOAT f, FX_LPSTR buf);
16 CFX_BinaryBuf::CFX_BinaryBuf(FX_STRSIZE size) in CFX_BinaryBuf()
47 void CFX_BinaryBuf::AttachData(void* buffer, FX_STRSIZE size) in AttachData()
61 void CFX_BinaryBuf::EstimateSize(FX_STRSIZE size, FX_STRSIZE step) in EstimateSize()
69 void CFX_BinaryBuf::ExpandBuf(FX_STRSIZE add_size) in ExpandBuf()
71 FX_STRSIZE new_size = add_size + m_DataSize; in ExpandBuf()
94 void CFX_BinaryBuf::CopyData(const void* pStr, FX_STRSIZE size) in CopyData()
109 void CFX_BinaryBuf::AppendBlock(const void* pBuf, FX_STRSIZE size) in AppendBlock()
117 void CFX_BinaryBuf::InsertBlock(FX_STRSIZE pos, const void* pBuf, FX_STRSIZE size) in InsertBlock()
129 void CFX_BinaryBuf::AppendFill(FX_BYTE byte, FX_STRSIZE count) in AppendFill()
[all …]
Dfx_basic_utf.cpp79 CFX_ByteString FX_UTF8Encode(FX_LPCWSTR pwsStr, FX_STRSIZE len) in FX_UTF8Encode()
/external/pdfium/core/src/fpdftext/
Dunicodenormalization.cpp20 FX_STRSIZE FX_Unicode_GetNormalization(FX_WCHAR wch, FX_LPWSTR pDst) in FX_Unicode_GetNormalization()
50 return (FX_STRSIZE)wFind; in FX_Unicode_GetNormalization()
52 FX_STRSIZE FX_WideString_GetNormalization(FX_WSTR wsSrc, FX_LPWSTR pDst) in FX_WideString_GetNormalization()
54 FX_STRSIZE nCount = 0; in FX_WideString_GetNormalization()
55 for (FX_STRSIZE len = 0; len < wsSrc.GetLength(); len ++) { in FX_WideString_GetNormalization()
65 FX_STRSIZE FX_WideString_GetNormalization(FX_WSTR wsSrc, CFX_WideString &wsDst) in FX_WideString_GetNormalization()
67 FX_STRSIZE nLen = FX_WideString_GetNormalization(wsSrc, (FX_LPWSTR)NULL); in FX_WideString_GetNormalization()
Dfpdf_text_int.cpp1164 FX_STRSIZE nCount = FX_Unicode_GetNormalization(wChar, pDst); in AddCharInfoByLRDirection()
1196 FX_STRSIZE nCount = FX_Unicode_GetNormalization(wChar, pDst); in AddCharInfoByRLDirection()
1477 FX_STRSIZE nItems = actText.GetLength(); in PreMarkedContent()
1482 for (FX_STRSIZE i = 0; i < nItems; i++) { in PreMarkedContent()
1495 for (FX_STRSIZE i = 0; i < nItems; i++) { in PreMarkedContent()
1530 FX_STRSIZE nItems = actText.GetLength(); in ProcessMarkedContent()
1547 for (FX_STRSIZE k = 0; k < nItems; k++) { in ProcessMarkedContent()
1932 FX_STRSIZE nCount = strCurText.GetLength(); in IsHyphen()
2303 FX_STRSIZE len = findwhatStr.GetLength(); in FindFirst()
Dtext_int.h218 FX_STRSIZE FX_Unicode_GetNormalization(FX_WCHAR wch, FX_LPWSTR pDst);
Dfpdf_text.cpp290 FX_STRSIZE nCount = FX_Unicode_GetNormalization(wChar, pDst); in NormalizeCompositeChar()
/external/pdfium/core/src/fpdfapi/fpdf_edit/
Dfpdf_edit_image.cpp88 …ictionary *pBitmapDict, const CFX_DIBitmap* pBitmap, int quality, FX_LPBYTE &buf, FX_STRSIZE &size) in _DCTEncodeBitmap()
91 …ict, const CFX_DIBitmap *pBitmap, CPDF_Document *pDoc, FX_LPBYTE &buf, FX_STRSIZE &size, FX_BOOL b… in _JBIG2EncodeBitmap()
111 FX_STRSIZE dest_pitch = 0, dest_size = 0, opType = -1; in SetImage()
208 FX_STRSIZE mask_size; in SetImage()
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_utility.cpp167 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()
308 result.ReleaseBuffer((FX_STRSIZE)(pDest - pDestStart)); in PDF_NameDecode()
/external/pdfium/core/include/fxcodec/
Dfx_codec_provider.h33 …virtual FX_BOOL Encode(const class CFX_DIBSource* pSource, FX_LPBYTE& dest_buf, FX_STRSIZE& dest_…
Dfx_codec.h164 …virtual FX_BOOL Encode(const class CFX_DIBSource* pSource, FX_LPBYTE& dest_buf, FX_STRSIZE& dest_…
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_jpeg.cpp113 static void _JpegEncode(const CFX_DIBSource* pSource, FX_LPBYTE& dest_buf, FX_STRSIZE& dest_size, i… in _JpegEncode()
218 dest_size = dest_buf_length - (FX_STRSIZE)dest.free_in_buffer; in _JpegEncode()
512 FX_BOOL CCodec_JpegModule::Encode(const CFX_DIBSource* pSource, FX_LPBYTE& dest_buf, FX_STRSIZE& de… in Encode()
Dcodec_int.h150 …FX_BOOL Encode(const CFX_DIBSource* pSource, FX_LPBYTE& dest_buf, FX_STRSIZE& dest_size, int qual…
/external/pdfium/core/src/fpdfdoc/
Ddoc_form.cpp22 void GetNext(FX_LPCWSTR &pSubName, FX_STRSIZE& size) in GetNext()
28 size = (FX_STRSIZE)(m_pCur - pSubName); in GetNext()
163 FX_STRSIZE nLength; in SetField()
186 FX_STRSIZE nLength; in GetField()
204 FX_STRSIZE nLength; in RemoveField()
234 FX_STRSIZE nLength; in FindNode()
/external/pdfium/fpdfsdk/src/
Dfpdftext.cpp154 FX_STRSIZE len = CFX_WideString::WStringLength(findwhat); in FPDFText_FindStart()
Dfpdfdoc.cpp72 FX_STRSIZE len = CFX_WideString::WStringLength(title); in FPDFBookmark_Find()
Dfsdk_baseform.cpp2268 FX_STRSIZE nBufSize = textBuf.GetLength(); in SubmitFields()
2322 FX_BOOL CPDFSDK_InterForm::FDFToURLEncodedData(FX_LPBYTE& pBuf, FX_STRSIZE& nBufSize) in FDFToURLEncodedData()
2402 FX_STRSIZE nBufSize = FdfBuffer.GetLength(); in SubmitForm()
/external/pdfium/fpdfsdk/include/
Dfsdk_baseform.h234 FX_BOOL FDFToURLEncodedData(FX_LPBYTE& pBuf, FX_STRSIZE& nBufSize);
/external/pdfium/core/src/fpdfapi/fpdf_font/
Dfpdf_font_cid.cpp172 FX_BYTE digit1 = ((FX_DWORD)i * 2 + 1 < size) ? second.GetAt((FX_STRSIZE)i * 2 + 1) : 0; in _CMap_GetCodeRange()
173 FX_BYTE digit2 = ((FX_DWORD)i * 2 + 2 < size) ? second.GetAt((FX_STRSIZE)i * 2 + 2) : 0; in _CMap_GetCodeRange()
/external/pdfium/core/src/fxge/ge/
Dfx_ge_ps.cpp413 FX_STRSIZE output_size = 0; in DrawDIBits()
/external/pdfium/core/src/fxge/win32/
Dfx_win32_device.cpp325 FX_STRSIZE len = CFX_WideString::WStringLength(pName); in MapFont()