Home
last modified time | relevance | path

Searched refs:EndPos (Results 1 – 13 of 13) sorted by relevance

/external/clang/lib/Lex/
DPPLexerChange.cpp275 const char *EndPos = CurLexer->BufferEnd; in getCurLexerEndPos() local
276 if (EndPos != CurLexer->BufferStart && in getCurLexerEndPos()
277 (EndPos[-1] == '\n' || EndPos[-1] == '\r')) { in getCurLexerEndPos()
278 --EndPos; in getCurLexerEndPos()
281 if (EndPos != CurLexer->BufferStart && in getCurLexerEndPos()
282 (EndPos[-1] == '\n' || EndPos[-1] == '\r') && in getCurLexerEndPos()
283 EndPos[-1] != EndPos[0]) in getCurLexerEndPos()
284 --EndPos; in getCurLexerEndPos()
287 return EndPos; in getCurLexerEndPos()
397 const char *EndPos = getCurLexerEndPos(); in HandleEndOfFile() local
[all …]
/external/pdfium/core/include/fpdfdoc/
Dfpdf_vt.h122 EndPos.Default(); in Default()
128 this->EndPos = end; in Set()
140 this->EndPos = end; in SetEndPos()
146 return this->BeginPos != this->EndPos; in IsExist()
151 return wr.BeginPos != this->BeginPos || wr.EndPos != this->EndPos;
156 if (BeginPos.WordCmp(EndPos) > 0) { in SwapWordPlace()
157 CPVT_WordPlace place = EndPos; in SwapWordPlace()
158 EndPos = BeginPos; in SwapWordPlace()
165 CPVT_WordPlace EndPos; member
/external/pdfium/fpdfsdk/src/fxedit/
Dfxet_edit.cpp737 m_pEdit->SetSel(m_wrSel.BeginPos,m_wrSel.EndPos); in Redo()
749 m_pEdit->SetSel(m_wrSel.BeginPos,m_wrSel.EndPos); in Undo()
779 m_pEdit->SetSel(m_wrSel.BeginPos,m_wrSel.EndPos); in Redo()
801 m_pEdit->PaintInsertText(m_wrSel.BeginPos,m_wrSel.EndPos); in Undo()
802 m_pEdit->SetSel(m_wrSel.BeginPos,m_wrSel.EndPos); in Undo()
879 m_pEdit->SetSel(m_wrPlace.BeginPos,m_wrPlace.EndPos); in Redo()
893 m_pEdit->SetSel(m_wrPlace.BeginPos,m_wrPlace.EndPos); in Undo()
924 m_pEdit->SetSel(m_wrPlace.BeginPos,m_wrPlace.EndPos); in Redo()
938 m_pEdit->SetSel(m_wrPlace.BeginPos,m_wrPlace.EndPos); in Undo()
1167 SetCaret(m_SelState.EndPos); in SetSel()
[all …]
Dfxet_pageobjs.cpp109 if (pRange && place.WordCmp(pRange->EndPos) > 0) break; in DrawUnderline()
183 if (pRange && place.WordCmp(pRange->EndPos) > 0) break; in DrawEdit()
187 bSelect = place.WordCmp(wrSelect.BeginPos) > 0 && place.WordCmp(wrSelect.EndPos) <= 0; in DrawEdit()
317 if (pRange && place.WordCmp(pRange->EndPos) > 0) break; in DrawRichEdit()
328 bSelect = place.WordCmp(wrSelect.BeginPos) > 0 && place.WordCmp(wrSelect.EndPos) <= 0; in DrawRichEdit()
476 if (pRange && place.WordCmp(pRange->EndPos) > 0) break; in GeneratePageObjects()
538 if (pRange && place.WordCmp(pRange->EndPos) > 0) break; in GenerateRichPageObjects()
625 if (pRange && place.WordCmp(pRange->EndPos) > 0) break; in GenerateUnderlineObjects()
Dfxet_ap.cpp89 if (pRange && place.WordCmp(pRange->EndPos) > 0) break; in GetEditAppearanceStream()
207 if (pRange && place.WordCmp(pRange->EndPos) > 0) break; in GetSelectAppearanceStream()
/external/pdfium/fpdfsdk/src/pdfwindow/
DPWL_Edit.cpp355 CPVT_WordRange wrSelAfter(wrSelect.EndPos,wrWhole.EndPos); in GetThisAppearanceStream()
576 ptPopup = GetWordRightBottomPoint(wrLatin.EndPos); in OnRButtonUp()
680 …Sel(m_pEdit->WordPlaceToWordIndex(wrLatin.BeginPos),m_pEdit->WordPlaceToWordIndex(wrLatin.EndPos)); in OnRButtonUp()
684 …Sel(m_pEdit->WordPlaceToWordIndex(wrLatin.BeginPos),m_pEdit->WordPlaceToWordIndex(wrLatin.EndPos)); in OnRButtonUp()
688 …Sel(m_pEdit->WordPlaceToWordIndex(wrLatin.BeginPos),m_pEdit->WordPlaceToWordIndex(wrLatin.EndPos)); in OnRButtonUp()
692 …Sel(m_pEdit->WordPlaceToWordIndex(wrLatin.BeginPos),m_pEdit->WordPlaceToWordIndex(wrLatin.EndPos)); in OnRButtonUp()
696 …Sel(m_pEdit->WordPlaceToWordIndex(wrLatin.BeginPos),m_pEdit->WordPlaceToWordIndex(wrLatin.EndPos)); in OnRButtonUp()
1197 if (wr1.EndPos.WordCmp(wr2.EndPos) < 0) in CombineWordRange()
1199 wrRet.EndPos = wr2.EndPos; in CombineWordRange()
1203 wrRet.EndPos = wr1.EndPos; in CombineWordRange()
DPWL_Utils.cpp115 if (wr2.EndPos.WordCmp(wr1.BeginPos) < 0 || wr2.BeginPos.WordCmp(wr1.EndPos) > 0) return wrRet; in OverlapWordRange()
116 if (wr1.EndPos.WordCmp(wr2.BeginPos) < 0 || wr1.BeginPos.WordCmp(wr2.EndPos) > 0) return wrRet; in OverlapWordRange()
127 if (wr1.EndPos.WordCmp(wr2.EndPos) < 0) in OverlapWordRange()
129 wrRet.EndPos = wr1.EndPos; in OverlapWordRange()
133 wrRet.EndPos = wr2.EndPos; in OverlapWordRange()
532 if (place.LineCmp(wrWord.EndPos) == 0) in GetWordSpellCheckAppearanceStream()
534 pIterator->SetAt(wrWord.EndPos); in GetWordSpellCheckAppearanceStream()
580 if (pRange && place.WordCmp(pRange->EndPos) > 0) break; in GetSpellCheckAppStream()
1672 if (place.LineCmp(wrWord.EndPos) == 0) in AddSpellCheckObj()
1674 pIterator->SetAt(wrWord.EndPos); in AddSpellCheckObj()
[all …]
/external/clang/lib/Frontend/Rewrite/
DRewriteMacros.cpp171 unsigned EndPos; in RewriteMacrosInInput() local
174 EndPos = RawOffs+RawTok.getLength(); in RewriteMacrosInInput()
188 RB.InsertTextBefore(EndPos, "*/"); in RewriteMacrosInInput()
/external/pdfium/fpdfsdk/include/fxedit/
Dfxet_edit.h240 Set(range.BeginPos,range.EndPos); in CFX_Edit_Select()
245 return CPVT_WordRange(this->BeginPos,this->EndPos); in ConvertToWordRange()
251 EndPos.Default(); in Default()
257 this->EndPos = end; in Set()
267 this->EndPos = end; in SetEndPos()
272 return this->BeginPos != this->EndPos; in IsExist()
277 return wr.BeginPos != this->BeginPos || wr.EndPos != this->EndPos;
280 CPVT_WordPlace BeginPos,EndPos; variable
/external/pdfium/core/src/fpdfdoc/
Ddoc_vt.cpp246 FX_INT32 nRight = range.EndPos.nWordIndex + 1; in SearchWordPlace()
303 if (PlaceRange.EndPos.WordCmp(SecEndPos) <= 0) { in ClearWords()
304 ClearMidWords(PlaceRange.BeginPos.nWordIndex, PlaceRange.EndPos.nWordIndex); in ClearWords()
308 } else if (PlaceRange.EndPos.WordCmp(SecEndPos) <= 0) { in ClearWords()
309 ClearLeftWords(PlaceRange.EndPos.nWordIndex); in ClearWords()
960 if (CSection * pSection = m_SectionArray.GetAt(PlaceRange.EndPos.nSecIndex)) { in DeleteWords()
961 bLastSecPos = (PlaceRange.EndPos == pSection->GetEndWordPlace()); in DeleteWords()
964 if (PlaceRange.BeginPos.nSecIndex != PlaceRange.EndPos.nSecIndex) { in DeleteWords()
1466 for (FX_INT32 s = PlaceRange.EndPos.nSecIndex; s > PlaceRange.BeginPos.nSecIndex; s--) { in ClearEmptySections()
1491 NewRange.EndPos = AjustLineHeader(PlaceRange.EndPos, TRUE); in ClearWords()
[all …]
Ddoc_ap.cpp653 if (pVisible && place.WordCmp(pVisible->EndPos) > 0) { in GenerateEditAP()
/external/llvm/lib/IR/
DGCOV.cpp198 uint32_t EndPos = Buff.getCursor() + LineTableLength * 4; in readGCNO() local
215 if (Buff.getCursor() != (EndPos - sizeof(uint32_t))) { in readGCNO()
226 while (Buff.getCursor() < (EndPos - 2 * sizeof(uint32_t))) { in readGCNO()
/external/llvm/utils/TableGen/
DAsmMatcherEmitter.cpp853 size_t EndPos = End - String.begin(); in tokenizeAsmString() local
854 AsmOperands.push_back(AsmOperand(String.slice(i, EndPos+1))); in tokenizeAsmString()
855 Prev = EndPos + 1; in tokenizeAsmString()
856 i = EndPos; in tokenizeAsmString()