Home
last modified time | relevance | path

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

12

/external/pdfium/xfa/fde/
Dcfde_txtedtengine.cpp164 CFX_WideString CFDE_TxtEdtEngine::GetText(int32_t nStart, in GetText() argument
168 nCount = nTextBufLength - nStart; in GetText()
170 CFX_WideString wsText = m_pTxtBuf->GetRange(nStart, nCount); in GetText()
318 int32_t CFDE_TxtEdtEngine::Insert(int32_t nStart, in Insert() argument
395 nStart = m_nCaret; in Insert()
396 nStart += nLength; in Insert()
397 FX_WCHAR wChar = m_pTxtBuf->GetCharByIndex(nStart - 1); in Insert()
400 nStart--; in Insert()
403 SetCaretPos(nStart, bBefore); in Insert()
408 int32_t CFDE_TxtEdtEngine::Delete(int32_t nStart, bool bBackspace) { in Delete() argument
[all …]
Dcfde_txtedtengine.h35 CFX_WideString GetText(int32_t nStart, int32_t nCount) const;
48 int32_t Insert(int32_t nStart, const FX_WCHAR* lpText, int32_t nLength);
49 int32_t Delete(int32_t nStart, bool bBackspace = false);
50 int32_t DeleteRange(int32_t nStart, int32_t nCount = -1);
51 int32_t Replace(int32_t nStart,
58 void RemoveSelRange(int32_t nStart, int32_t nCount);
60 void AddSelRange(int32_t nStart, int32_t nCount);
62 int32_t GetSelRange(int32_t nIndex, int32_t* nStart) const;
93 int32_t nStart; member
102 void Inner_Insert(int32_t nStart, const FX_WCHAR* lpText, int32_t nLength);
[all …]
Dcfde_txtedtpage.cpp66 if (nIndex >= piece.nStart && nIndex < piece.nStart + piece.nCount) { in GetCharRect()
68 rect = rectArr[nIndex - piece.nStart]; in GetCharRect()
106 nCaret = m_nPageStart + pPiece->nStart; in GetCharIndex()
112 nCaret = m_nPageStart + pPiece->nStart + j; in GetCharIndex()
174 int32_t nStart, in CalcRangeRectArray() argument
177 int32_t nEnd = nStart + nCount - 1; in CalcRangeRectArray()
181 if (nStart >= piece.nStart && nStart < piece.nStart + piece.nCount) { in CalcRangeRectArray()
184 if (nEnd >= piece.nStart && nEnd < piece.nStart + piece.nCount) { in CalcRangeRectArray()
185 nRangeEnd = nEnd - piece.nStart; in CalcRangeRectArray()
189 CFX_RectF rectPiece = rcArr[nStart - piece.nStart]; in CalcRangeRectArray()
[all …]
Dcfde_txtedtparag.cpp142 int32_t& nStart, in GetLineRange() argument
146 nStart = m_nCharStart; in GetLineRange()
149 nStart += *pLineBaseArr; in GetLineRange()
Dcfde_txtedtparag.h30 void GetLineRange(int32_t nLineIndex, int32_t& nStart, int32_t& nCount) const;
Difde_txtedtpage.h27 virtual void CalcRangeRectArray(int32_t nStart,
Dfde_visualset.h32 int32_t nStart; member
Dcfde_txtedtpage.h32 void CalcRangeRectArray(int32_t nStart,
/external/pdfium/xfa/fxfa/parser/
Dxfa_localevalue.cpp609 int nIndex = 0, nStart = 0; in ValidateCanonicalDate() local
623 nStart = nIndex; in ValidateCanonicalDate()
624 while (pDate[nIndex] != '\0' && nIndex - nStart < wCountM && nIndex < nLen) { in ValidateCanonicalDate()
637 nStart = nIndex; in ValidateCanonicalDate()
638 while (pDate[nIndex] != '\0' && nIndex - nStart < wCountD && nIndex < nLen) { in ValidateCanonicalDate()
696 int nStart = 0; in ValidateCanonicalTime() local
697 while (nIndex - nStart < wCountH && pTime[nIndex]) { in ValidateCanonicalTime()
708 nStart = nIndex; in ValidateCanonicalTime()
709 while (nIndex - nStart < wCountM && nIndex < nLen && pTime[nIndex]) { in ValidateCanonicalTime()
720 nStart = nIndex; in ValidateCanonicalTime()
[all …]
Dcxfa_resolveprocessor.cpp511 int32_t nStart, in GetFilter() argument
513 ASSERT(nStart > -1); in GetFilter()
515 if (nStart >= iLength) { in GetFilter()
520 FX_WCHAR* pNameBuf = wsName.GetBuffer(iLength - nStart); in GetFilter()
521 FX_WCHAR* pConditionBuf = wsCondition.GetBuffer(iLength - nStart); in GetFilter()
529 while (nStart < iLength) { in GetFilter()
530 wCur = pSrc[nStart++]; in GetFilter()
540 FX_WCHAR wLookahead = nStart < iLength ? pSrc[nStart] : 0; in GetFilter()
549 } else if (wCur == '.' && nStart < iLength && in GetFilter()
550 (pSrc[nStart] == '[' || pSrc[nStart] == '(')) { in GetFilter()
[all …]
Dcxfa_scriptcontext.cpp582 int32_t nStart = 0; in ResolveObjects() local
593 m_ResolveProcessor->SetCurStart(nStart); in ResolveObjects()
594 nStart = m_ResolveProcessor->GetFilter(wsExpression, nStart, rndFind); in ResolveObjects()
595 if (nStart < 1) { in ResolveObjects()
598 nStart = m_ResolveProcessor->GetNodeHelper()->m_iCurAllStart; in ResolveObjects()
599 if (nStart != -1) { in ResolveObjects()
624 nStart == wsExpression.GetLength(), this); in ResolveObjects()
638 m_ResolveProcessor->GetFilter(wsExpression, nStart, rndBind); in ResolveObjects()
650 rndFind.m_pScriptAttribute && nStart < wsExpression.GetLength()) { in ResolveObjects()
680 nStart == wsExpression.GetLength(), this); in ResolveObjects()
Dcscript_hostpseudomodel.cpp318 int32_t nStart, in XFA_FilterName() argument
320 ASSERT(nStart > -1); in XFA_FilterName()
322 if (nStart >= iLength) { in XFA_FilterName()
325 FX_WCHAR* pBuf = wsFilter.GetBuffer(iLength - nStart); in XFA_FilterName()
329 while (nStart < iLength) { in XFA_FilterName()
330 wCur = pSrc[nStart++]; in XFA_FilterName()
339 return nStart; in XFA_FilterName()
Dcxfa_resolveprocessor.h42 int32_t nStart,
/external/pdfium/core/fpdfdoc/
Dctypeset.cpp190 int32_t nStart = 0; in CharArray() local
197 nStart = 0; in CharArray()
203 nStart = (m_pVT->m_nCharArray - m_pSection->m_WordArray.GetSize()) / 2; in CharArray()
205 fNodeWidth * nStart - fNodeWidth * VARIABLETEXT_HALF; in CharArray()
208 nStart = m_pVT->m_nCharArray - m_pSection->m_WordArray.GetSize(); in CharArray()
210 fNodeWidth * nStart - fNodeWidth * VARIABLETEXT_HALF; in CharArray()
227 x = (FX_FLOAT)(fNodeWidth * (w + nStart + 0.5) - in CharArray()
/external/pdfium/fpdfsdk/formfiller/
Dcffl_textfield.h21 FFL_TextFieldState() : nStart(0), nEnd(0) {} in FFL_TextFieldState()
23 int nStart; member
Dcffl_combobox.cpp21 m_State.nStart = 0; in CFFL_ComboBox()
209 pEdit->GetSel(m_State.nStart, m_State.nEnd); in SaveState()
225 pEdit->SetSel(m_State.nStart, m_State.nEnd); in RestoreState()
Dcffl_textfield.cpp227 pWnd->GetSel(m_State.nStart, m_State.nEnd); in SaveState()
237 pWnd->SetSel(m_State.nStart, m_State.nEnd); in RestoreState()
Dcffl_combobox.h17 int nStart; member
/external/pdfium/xfa/fwl/
Dcfwl_edit.h77 void AddSelRange(int32_t nStart);
79 int32_t GetSelRange(int32_t nIndex, int32_t* nStart) const;
142 int32_t nStart,
Dcfwl_edit.cpp162 int32_t nStart, in AddSpellCheckObj() argument
176 pPage->CalcRangeRectArray(nStart, nCount, &rectArray); in AddSpellCheckObj()
197 int32_t nStart = 0; in DrawSpellCheck() local
205 nStart = i; in DrawSpellCheck()
214 AddSpellCheckObj(pathSpell, nStart, sLatinWord.GetLength(), fOffSetX, in DrawSpellCheck()
225 AddSpellCheckObj(pathSpell, nStart, sLatinWord.GetLength(), fOffSetX, in DrawSpellCheck()
292 void CFWL_Edit::AddSelRange(int32_t nStart) { in AddSelRange() argument
293 m_EdtEngine.AddSelRange(nStart, -1); in AddSelRange()
300 int32_t CFWL_Edit::GetSelRange(int32_t nIndex, int32_t* nStart) const { in GetSelRange()
301 return m_EdtEngine.GetSelRange(nIndex, nStart); in GetSelRange()
[all …]
Dcfwl_datetimepicker.h55 int32_t GetSelRange(int32_t nIndex, int32_t* nStart) const { in GetSelRange() argument
56 return m_pEdit->GetSelRange(nIndex, nStart); in GetSelRange()
/external/pdfium/core/fxcrt/
Dfx_basic.h406 void Append(int32_t nStart, int32_t nCount) { in Append() argument
407 if (nStart < 0) { in Append()
414 list.start = nStart; in Append()
418 nStart += temp_count; in Append()
488 void Add(int32_t nStart, int32_t nCount) { m_Data.Append(nStart, nCount); } in Add() argument
Dfx_basic_wstring.cpp663 FX_STRSIZE CFX_WideString::Find(FX_WCHAR ch, FX_STRSIZE nStart) const { in Find()
667 if (nStart < 0 || nStart >= m_pData->m_nDataLength) in Find()
671 wmemchr(m_pData->m_String + nStart, ch, m_pData->m_nDataLength - nStart); in Find()
676 FX_STRSIZE nStart) const { in Find()
681 if (nStart > nLength) in Find()
685 FX_wcsstr(m_pData->m_String + nStart, m_pData->m_nDataLength - nStart, in Find()
Dfx_basic_bstring.cpp699 FX_STRSIZE CFX_ByteString::Find(FX_CHAR ch, FX_STRSIZE nStart) const { in Find()
703 if (nStart < 0 || nStart >= m_pData->m_nDataLength) in Find()
707 memchr(m_pData->m_String + nStart, ch, m_pData->m_nDataLength - nStart)); in Find()
724 FX_STRSIZE nStart) const { in Find()
729 if (nStart > nLength) in Find()
733 FX_strstr(m_pData->m_String + nStart, m_pData->m_nDataLength - nStart, in Find()
/external/pdfium/fpdfsdk/javascript/
DPublicMethods.h136 int nStart,
140 int nStart,

12