Home
last modified time | relevance | path

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

12

/external/pdfium/xfa/src/fee/src/fee/
Dfde_txtedtengine.cpp144 int32_t nLength = wsText.GetLength(); in SetText() local
145 if (nLength > 0) { in SetText()
147 FX_WCHAR* lpBuffer = wsTemp.GetBuffer(nLength); in SetText()
148 FXSYS_memcpy(lpBuffer, wsText.c_str(), nLength * sizeof(FX_WCHAR)); in SetText()
149 ReplaceParagEnd(lpBuffer, nLength, FALSE); in SetText()
150 wsTemp.ReleaseBuffer(nLength); in SetText()
151 if (m_nLimit > 0 && nLength > m_nLimit) { in SetText()
152 wsTemp.Delete(m_nLimit, nLength - m_nLimit); in SetText()
153 nLength = m_nLimit; in SetText()
157 m_pTxtBuf->Insert(nLength, &m_wLineEnd, 1); in SetText()
[all …]
Dfde_txtedtblock.cpp349 int32_t nLength = wsField.GetLength() + FDE_FORMAT_EDIT_FIELD_HADERSIZE + in GetDisplayText() local
351 FX_WCHAR* lpBuffer = wsDisplay.GetBuffer(nLength); in GetDisplayText()
353 lpBuffer[nLength - 1] = FDE_TXTEDT_FORMATBLOCK_END; in GetDisplayText()
357 (nLength - 4) * sizeof(FX_WCHAR)); in GetDisplayText()
358 wsDisplay.ReleaseBuffer(nLength); in GetDisplayText()
391 int32_t nLength = m_wsField.GetLength(); in NormalizeCaretPos() local
491 int32_t nLength = wsText.GetLength(); in Validate() local
493 if (nLength - i > (m_nLength - (m_bSign ? 1 : 0))) { in Validate()
497 for (; i < nLength; i++) { in Validate()
541 int32_t nLength = wsText.GetLength(); in Validate() local
[all …]
Dfde_txtedtbuf.cpp222 int32_t nLength) const { in GetRange()
225 int32_t nLeave = nLength; in GetRange()
227 FX_WCHAR* lpDstBuf = wsText.GetBuffer(nLength); in GetRange()
251 int32_t nLength) { in Insert() argument
255 int32_t nLengthTemp = nLength; in Insert()
295 m_nTotal += nLength; in Insert()
298 void CFDE_TxtEdtBuf::Delete(int32_t nIndex, int32_t nLength) { in Delete() argument
299 FXSYS_assert(nLength > 0 && nIndex >= 0 && nIndex + nLength <= m_nTotal); in Delete()
301 Index2CP(nIndex + nLength - 1, cpEnd); in Delete()
302 m_nTotal -= nLength; in Delete()
[all …]
Dfde_txtedtengine.h92 int32_t nLength);
96 int32_t nLength,
147 void Inner_Insert(int32_t nStart, const FX_WCHAR* lpText, int32_t nLength);
149 void RawInsert(int32_t nStart, const FX_WCHAR* lpText, int32_t nLength);
153 int32_t nLength);
157 int32_t nLength);
162 int32_t nLength);
177 int32_t& nLength,
233 int32_t nLength);
Dfde_txtedtbuf.h73 int32_t nLength = 1);
74 virtual void Delete(int32_t nIndex, int32_t nLength = 1);
Dfde_txtedtpage.cpp71 int32_t nLength = pPiece->nCount; in GetDisplayPos() local
72 if (nLength < 1) { in GetDisplayPos()
84 tr.iLength = nLength; in GetDisplayPos()
106 int32_t nLength = pPiece->nCount; in GetCharRects_Impl() local
107 if (nLength < 1) { in GetCharRects_Impl()
117 tr.iLength = nLength; in GetCharRects_Impl()
/external/pdfium/fpdfsdk/src/fpdfxfa/
Dfpdfxfa_app.cpp201 int nLength = 2048; in Response() local
202 char* pBuff = new char[nLength]; in Response()
203 nLength = pEnv->JS_appResponse(wsQuestion.GetPtr(), wsTitle.GetPtr(), in Response()
205 nLength); in Response()
206 if (nLength > 0) { in Response()
207 nLength = nLength > 2046 ? 2046 : nLength; in Response()
208 pBuff[nLength] = 0; in Response()
209 pBuff[nLength + 1] = 0; in Response()
212 nLength / sizeof(unsigned short)); in Response()
/external/pdfium/fpdfsdk/src/javascript/
DJS_GlobalData.cpp313 int32_t nLength = 0; in LoadGlobalPersistentVariables() local
315 LoadFileBuffer(m_sFilePath.c_str(), pBuffer, nLength); in LoadGlobalPersistentVariables()
316 CRYPT_ArcFourCryptBlock(pBuffer, nLength, JS_RC4KEY, sizeof(JS_RC4KEY)); in LoadGlobalPersistentVariables()
337 if (dwSize == nLength - sizeof(FX_WORD) * 2 - sizeof(FX_DWORD) * 2) { in LoadGlobalPersistentVariables()
339 if (p > pBuffer + nLength) in LoadGlobalPersistentVariables()
345 if (p + dwNameLen > pBuffer + nLength) in LoadGlobalPersistentVariables()
381 if (p + dwLength > pBuffer + nLength) in LoadGlobalPersistentVariables()
438 int32_t& nLength) { in LoadFileBuffer() argument
444 int32_t nLength) { in WriteFileBuffer() argument
DJS_GlobalData.h93 int32_t& nLength);
96 int32_t nLength);
/external/pdfium/core/src/fpdfdoc/
Ddoc_form.cpp147 FX_STRSIZE nLength; in SetField() local
148 name_extractor.GetNext(pName, nLength); in SetField()
150 while (nLength > 0) { in SetField()
152 CFX_WideString name = CFX_WideString(pName, nLength); in SetField()
157 name_extractor.GetNext(pName, nLength); in SetField()
169 FX_STRSIZE nLength; in GetField() local
170 name_extractor.GetNext(pName, nLength); in GetField()
172 while (nLength > 0 && pNode) { in GetField()
174 CFX_WideString name = CFX_WideString(pName, nLength); in GetField()
176 name_extractor.GetNext(pName, nLength); in GetField()
[all …]
/external/pdfium/xfa/src/fee/include/
Difde_txtedtbuf.h28 int32_t nLength = 1) = 0;
29 virtual void Delete(int32_t nIndex, int32_t nLength = 1) = 0;
Difde_txtedtengine.h213 int32_t nLength) = 0;
217 int32_t nLength,
/external/pdfium/xfa/src/fxbarcode/
DBC_Utils.cpp33 int32_t nLength = src.GetSize(); in BC_FX_PtrArray_Sort() local
37 for (int32_t i = 0; i < nLength - 1; i++) { in BC_FX_PtrArray_Sort()
/external/pdfium/core/src/fxcrt/
Dxml_int.h68 FX_FILESIZE nLength = m_pFileRead->GetSize(); variable
70 if (m_nStart >= nLength) {
75 std::min(FX_XMLDATASTREAM_BufferSize, nLength - m_nStart));
Dfx_basic_bstring.cpp746 FX_STRSIZE nLength = m_pData->m_nDataLength; in Find() local
747 if (nStart >= nLength) { in Find()
757 FX_STRSIZE nLength = m_pData->m_nDataLength; in ReverseFind() local
758 while (nLength) { in ReverseFind()
759 if (m_pData->m_String[nLength - 1] == ch) { in ReverseFind()
760 return nLength - 1; in ReverseFind()
762 nLength--; in ReverseFind()
794 FX_STRSIZE nLength = m_pData->m_nDataLength; in Find() local
795 if (nStart > nLength) { in Find()
Dfx_basic_wstring.cpp525 FX_STRSIZE nLength = GetLength(); in Find() local
526 if (nLength < 1 || nStart > nLength) { in Find()
536 FX_STRSIZE nLength = m_pData->m_nDataLength; in Find() local
537 if (nStart >= nLength) { in Find()
/external/pdfium/fpdfsdk/src/
Dfpdfppo.cpp313 int nLength = rangstring.GetLength(); in ParserPageRangeString() local
315 for (int i = 0; i < nLength; ++i) { in ParserPageRangeString()
322 while (nStringTo < nLength) { in ParserPageRangeString()
325 nStringTo = nLength; in ParserPageRangeString()
/external/google-breakpad/src/tools/windows/dump_syms/
Ddump_syms_unittest.cc103 sec_attr_stdout.nLength = sizeof(sec_attr_stdout); in RunCommand()
114 sec_attr_stdin.nLength = sizeof(sec_attr_stdin); in RunCommand()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_symbolizer_win.cc175 attrs.nLength = sizeof(SECURITY_ATTRIBUTES); in StartSymbolizerSubprocess()
/external/pdfium/xfa/src/fwl/src/basewidget/
Dfwl_editimp.cpp711 int32_t nStart, nLength; in Copy() local
713 nLength = m_pEdtEngine->GetSelRange(i, nStart); in Copy()
714 m_pEdtEngine->GetText(wsTemp, nStart, nLength); in Copy()
729 int32_t nStart, nLength; in Cut() local
731 nLength = m_pEdtEngine->GetSelRange(i, nStart); in Cut()
732 m_pEdtEngine->GetText(wsTemp, nStart, nLength); in Cut()
/external/pdfium/xfa/src/fgas/src/font/
Dfx_stdfontmgr.cpp1258 unsigned long nLength = 0; in ReportFace() local
1262 unsigned int error = FXFT_Load_Sfnt_Table(pFace, dwTag, 0, NULL, &nLength); in ReportFace()
1263 if (0 == error && 0 != nLength) { in ReportFace()
1264 pTable = FX_Alloc(uint8_t, nLength); in ReportFace()
/external/icu/icu4c/source/common/
Dumapfile.c122 mappingAttributes.nLength = sizeof(mappingAttributes); in uprv_mapFile()
/external/webrtc/webrtc/base/
Dwin32filesystem.cc160 security_attributes.nLength = sizeof(security_attributes); in CreatePrivateFile()
/external/deqp/execserver/
DxsWin32TestProcess.cpp521 securityAttr.nLength = sizeof(SECURITY_ATTRIBUTES); in start()
/external/deqp/framework/delibs/deutil/
DdeProcess.c657 securityAttr.nLength = sizeof(SECURITY_ATTRIBUTES); in deProcess_start()

12