Home
last modified time | relevance | path

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

/external/pdfium/core/fpdfdoc/
Dcpvt_wordrange.h20 : BeginPos(begin), EndPos(end) { in CPVT_WordRange()
26 EndPos.Reset(); in Reset()
31 EndPos = end; in Set()
41 EndPos = end; in SetEndPos()
46 if (that.EndPos < BeginPos || that.BeginPos > EndPos || in Intersect()
47 EndPos < that.BeginPos || BeginPos > that.EndPos) { in Intersect()
52 std::min(EndPos, that.EndPos)); in Intersect()
55 inline bool IsEmpty() const { return BeginPos == EndPos; } in IsEmpty()
57 return wr.BeginPos == BeginPos && wr.EndPos == EndPos;
64 if (BeginPos > EndPos) in Normalize()
[all …]
Dcsection.cpp188 int32_t nRight = range.EndPos.nWordIndex + 1; in SearchWordPlace()
242 if (PlaceRange.EndPos <= SecEndPos) { in ClearWords()
244 PlaceRange.EndPos.nWordIndex); in ClearWords()
248 } else if (PlaceRange.EndPos <= SecEndPos) { in ClearWords()
249 ClearLeftWords(PlaceRange.EndPos.nWordIndex); in ClearWords()
Dcpdf_variabletext.cpp266 pdfium::IndexInBounds(m_SectionArray, PlaceRange.EndPos.nSecIndex) && in DeleteWords()
267 PlaceRange.EndPos == in DeleteWords()
268 m_SectionArray[PlaceRange.EndPos.nSecIndex]->GetEndWordPlace(); in DeleteWords()
271 if (PlaceRange.BeginPos.nSecIndex != PlaceRange.EndPos.nSecIndex) { in DeleteWords()
751 for (int32_t s = PlaceRange.EndPos.nSecIndex; in ClearEmptySections()
777 NewRange.EndPos = AdjustLineHeader(PlaceRange.EndPos, true); in ClearWords()
778 for (int32_t s = NewRange.EndPos.nSecIndex; s >= NewRange.BeginPos.nSecIndex; in ClearWords()
886 int32_t nESecIndex = PlaceRange.EndPos.nSecIndex; in RearrangeSections()
/external/clang/lib/Lex/
DPPLexerChange.cpp276 const char *EndPos = CurLexer->BufferEnd; in getCurLexerEndPos() local
277 if (EndPos != CurLexer->BufferStart && in getCurLexerEndPos()
278 (EndPos[-1] == '\n' || EndPos[-1] == '\r')) { in getCurLexerEndPos()
279 --EndPos; in getCurLexerEndPos()
282 if (EndPos != CurLexer->BufferStart && in getCurLexerEndPos()
283 (EndPos[-1] == '\n' || EndPos[-1] == '\r') && in getCurLexerEndPos()
284 EndPos[-1] != EndPos[0]) in getCurLexerEndPos()
285 --EndPos; in getCurLexerEndPos()
288 return EndPos; in getCurLexerEndPos()
408 const char *EndPos = getCurLexerEndPos(); in HandleEndOfFile() local
[all …]
/external/pdfium/fpdfsdk/pwl/
Dcpwl_edit_impl.cpp387 m_pEdit->SetSelection(m_wrSel.BeginPos, m_wrSel.EndPos); in Redo()
395 m_pEdit->SetSelection(m_wrSel.BeginPos, m_wrSel.EndPos); in Undo()
469 if (pRange && place > pRange->EndPos) in DrawEdit()
473 bSelect = place > wrSelect.BeginPos && place <= wrSelect.EndPos; in DrawEdit()
682 SetCaret(m_SelState.EndPos); in SetSelection()
700 if (m_SelState.BeginPos < m_SelState.EndPos) { in GetSelection()
702 nEndChar = m_pVT->WordPlaceToWordIndex(m_SelState.EndPos); in GetSelection()
705 nStartChar = m_pVT->WordPlaceToWordIndex(m_SelState.EndPos); in GetSelection()
749 m_pVT->UpdateWordPlace(wrTemp.EndPos); in GetRangeText()
756 if (place > wrTemp.EndPos) in GetRangeText()
[all …]
Dcpwl_edit.cpp661 std::max(wr1.EndPos, wr2.EndPos)); in CombineWordRange()
Dcpwl_edit_impl.h74 CPVT_WordPlace EndPos; variable
/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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-rc/
DResourceScriptToken.cpp226 auto EndPos = Data.find("*/", Pos); in consumeToken() local
227 if (EndPos == StringRef::npos) in consumeToken()
230 advance(EndPos - Pos); in consumeToken()
/external/syzkaller/pkg/report/
Dreport_test.go189 if rep.StartPos != startPos || rep.EndPos != endPos {
191 rep.StartPos, rep.EndPos, startPos, endPos,
192 string(test.Log[rep.StartPos:rep.EndPos]))
Dfuzz.go32 if rep.StartPos >= rep.EndPos {
Dfreebsd.go52 rep.EndPos = next
Dfuchsia.go68 EndPos: len(output),
Dreport.go39 EndPos int member
Dlinux.go128 EndPos: endPos,
/external/llvm/lib/IR/
DGCOV.cpp199 uint32_t EndPos = Buff.getCursor() + LineTableLength * 4; in readGCNO() local
216 if (Buff.getCursor() != (EndPos - sizeof(uint32_t))) { in readGCNO()
227 while (Buff.getCursor() < (EndPos - 2 * sizeof(uint32_t))) { in readGCNO()
255 uint64_t EndPos = Buff.getCursor() + HeaderLength * sizeof(uint32_t); in readGCDA() local
286 if (Buff.getCursor() < EndPos) { in readGCDA()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/
DGCOV.cpp205 uint32_t EndPos = Buff.getCursor() + LineTableLength * 4; in readGCNO() local
222 if (Buff.getCursor() != (EndPos - sizeof(uint32_t))) { in readGCNO()
233 while (Buff.getCursor() < (EndPos - 2 * sizeof(uint32_t))) { in readGCNO()
261 uint64_t EndPos = Buff.getCursor() + HeaderLength * sizeof(uint32_t); in readGCDA() local
292 if (Buff.getCursor() < EndPos) { in readGCDA()
/external/syzkaller/vm/
Dvm.go239 end := mon.matchPos + rep.EndPos + afterContext
245 rep.EndPos += mon.matchPos - start
/external/swiftshader/third_party/LLVM/utils/TableGen/
DAsmMatcherEmitter.cpp716 size_t EndPos = End - String.begin(); in TokenizeAsmString() local
717 AsmOperands.push_back(AsmOperand(String.slice(i, EndPos+1))); in TokenizeAsmString()
718 Prev = EndPos + 1; in TokenizeAsmString()
719 i = EndPos; in TokenizeAsmString()
/external/llvm/utils/TableGen/
DAsmMatcherEmitter.cpp1017 size_t EndPos = String.find('}', i); in tokenizeAsmString() local
1018 assert(EndPos != StringRef::npos && in tokenizeAsmString()
1020 addAsmOperand(String.slice(i, EndPos+1), IsIsolatedToken); in tokenizeAsmString()
1021 Prev = EndPos + 1; in tokenizeAsmString()
1022 i = EndPos; in tokenizeAsmString()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DAsmMatcherEmitter.cpp1033 size_t EndPos = String.find('}', i); in tokenizeAsmString() local
1034 assert(EndPos != StringRef::npos && in tokenizeAsmString()
1036 addAsmOperand(String.slice(i, EndPos+1), IsIsolatedToken); in tokenizeAsmString()
1037 Prev = EndPos + 1; in tokenizeAsmString()
1038 i = EndPos; in tokenizeAsmString()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Demangle/
DMicrosoftDemangle.cpp1225 size_t EndPos = MangledName.find('@'); in demangleOperatorName() local
1226 if (EndPos == StringView::npos) in demangleOperatorName()