/external/clang/lib/Lex/ |
D | PPLexerChange.cpp | 256 const char *EndPos = CurLexer->BufferEnd; in getCurLexerEndPos() local 257 if (EndPos != CurLexer->BufferStart && in getCurLexerEndPos() 258 (EndPos[-1] == '\n' || EndPos[-1] == '\r')) { in getCurLexerEndPos() 259 --EndPos; in getCurLexerEndPos() 262 if (EndPos != CurLexer->BufferStart && in getCurLexerEndPos() 263 (EndPos[-1] == '\n' || EndPos[-1] == '\r') && in getCurLexerEndPos() 264 EndPos[-1] != EndPos[0]) in getCurLexerEndPos() 265 --EndPos; in getCurLexerEndPos() 268 return EndPos; in getCurLexerEndPos() 378 const char *EndPos = getCurLexerEndPos(); in HandleEndOfFile() local [all …]
|
/external/pdfium/core/include/fpdfdoc/ |
D | fpdf_vt.h | 118 EndPos.Default(); in Default() 124 this->EndPos = end; in Set() 136 this->EndPos = end; in SetEndPos() 142 return this->BeginPos != this->EndPos; in IsExist() 147 return wr.BeginPos != this->BeginPos || wr.EndPos != this->EndPos; 152 if (BeginPos.WordCmp(EndPos) > 0) { in SwapWordPlace() 153 CPVT_WordPlace place = EndPos; in SwapWordPlace() 154 EndPos = BeginPos; in SwapWordPlace() 161 CPVT_WordPlace EndPos; member
|
/external/pdfium/fpdfsdk/src/fxedit/ |
D | fxet_edit.cpp | 754 m_pEdit->SetSel(m_wrSel.BeginPos,m_wrSel.EndPos); in Redo() 766 m_pEdit->SetSel(m_wrSel.BeginPos,m_wrSel.EndPos); in Undo() 796 m_pEdit->SetSel(m_wrSel.BeginPos,m_wrSel.EndPos); in Redo() 818 m_pEdit->PaintInsertText(m_wrSel.BeginPos,m_wrSel.EndPos); in Undo() 819 m_pEdit->SetSel(m_wrSel.BeginPos,m_wrSel.EndPos); in Undo() 896 m_pEdit->SetSel(m_wrPlace.BeginPos,m_wrPlace.EndPos); in Redo() 910 m_pEdit->SetSel(m_wrPlace.BeginPos,m_wrPlace.EndPos); in Undo() 941 m_pEdit->SetSel(m_wrPlace.BeginPos,m_wrPlace.EndPos); in Redo() 955 m_pEdit->SetSel(m_wrPlace.BeginPos,m_wrPlace.EndPos); in Undo() 1184 SetCaret(m_SelState.EndPos); in SetSel() [all …]
|
D | fxet_pageobjs.cpp | 109 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() 522 if (pRange && place.WordCmp(pRange->EndPos) > 0) break; in GeneratePageObjects() 584 if (pRange && place.WordCmp(pRange->EndPos) > 0) break; in GenerateRichPageObjects() 671 if (pRange && place.WordCmp(pRange->EndPos) > 0) break; in GenerateUnderlineObjects()
|
D | fxet_ap.cpp | 89 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/ |
D | PWL_Edit.cpp | 354 CPVT_WordRange wrSelAfter(wrSelect.EndPos,wrWhole.EndPos); in GetThisAppearanceStream() 572 ptPopup = GetWordRightBottomPoint(wrLatin.EndPos); in OnRButtonUp() 676 …Sel(m_pEdit->WordPlaceToWordIndex(wrLatin.BeginPos),m_pEdit->WordPlaceToWordIndex(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() 1193 if (wr1.EndPos.WordCmp(wr2.EndPos) < 0) in CombineWordRange() 1195 wrRet.EndPos = wr2.EndPos; in CombineWordRange() 1199 wrRet.EndPos = wr1.EndPos; in CombineWordRange()
|
D | PWL_Utils.cpp | 115 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() 1675 if (place.LineCmp(wrWord.EndPos) == 0) in AddSpellCheckObj() 1677 pIterator->SetAt(wrWord.EndPos); in AddSpellCheckObj() [all …]
|
/external/clang/lib/Rewrite/Frontend/ |
D | RewriteMacros.cpp | 171 unsigned EndPos; in RewriteMacrosInInput() local 174 EndPos = RawOffs+RawTok.getLength(); in RewriteMacrosInInput() 188 RB.InsertTextBefore(EndPos, "*/"); in RewriteMacrosInInput()
|
/external/pdfium/fpdfsdk/include/fxedit/ |
D | fxet_edit.h | 239 Set(range.BeginPos,range.EndPos); in CFX_Edit_Select() 244 return CPVT_WordRange(this->BeginPos,this->EndPos); in ConvertToWordRange() 250 EndPos.Default(); in Default() 256 this->EndPos = end; in Set() 266 this->EndPos = end; in SetEndPos() 271 return this->BeginPos != this->EndPos; in IsExist() 276 return wr.BeginPos != this->BeginPos || wr.EndPos != this->EndPos; 279 CPVT_WordPlace BeginPos,EndPos; variable
|
/external/pdfium/core/src/fpdfdoc/ |
D | doc_vt.cpp | 247 FX_INT32 nRight = range.EndPos.nWordIndex + 1; in SearchWordPlace() 304 if (PlaceRange.EndPos.WordCmp(SecEndPos) <= 0) { in ClearWords() 305 ClearMidWords(PlaceRange.BeginPos.nWordIndex, PlaceRange.EndPos.nWordIndex); in ClearWords() 309 } else if (PlaceRange.EndPos.WordCmp(SecEndPos) <= 0) { in ClearWords() 310 ClearLeftWords(PlaceRange.EndPos.nWordIndex); in ClearWords() 964 if (CSection * pSection = m_SectionArray.GetAt(PlaceRange.EndPos.nSecIndex)) { in DeleteWords() 965 bLastSecPos = (PlaceRange.EndPos == pSection->GetEndWordPlace()); in DeleteWords() 968 if (PlaceRange.BeginPos.nSecIndex != PlaceRange.EndPos.nSecIndex) { in DeleteWords() 1473 for (FX_INT32 s = PlaceRange.EndPos.nSecIndex; s > PlaceRange.BeginPos.nSecIndex; s--) { in ClearEmptySections() 1498 NewRange.EndPos = AjustLineHeader(PlaceRange.EndPos, TRUE); in ClearWords() [all …]
|
D | doc_ap.cpp | 651 if (pVisible && place.WordCmp(pVisible->EndPos) > 0) { in GenerateEditAP()
|
/external/llvm/lib/IR/ |
D | GCOV.cpp | 171 uint32_t EndPos = Buff.getCursor() + LineTableLength*4; in readGCNO() local 186 if (Buff.getCursor() != (EndPos - sizeof(uint32_t))) { in readGCNO() 196 while (Buff.getCursor() < (EndPos - 2 * sizeof(uint32_t))) { in readGCNO()
|
/external/llvm/utils/TableGen/ |
D | AsmMatcherEmitter.cpp | 847 size_t EndPos = End - String.begin(); in tokenizeAsmString() local 848 AsmOperands.push_back(AsmOperand(String.slice(i, EndPos+1))); in tokenizeAsmString() 849 Prev = EndPos + 1; in tokenizeAsmString() 850 i = EndPos; in tokenizeAsmString()
|