• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/WebCore-7537.78.1/editing/

Lines Matching refs:offset

118         int offset;
119 p.getInlineBoxAndOffset(m_affinity, primaryDirection, box, offset);
126 if ((renderer->isReplaced() || renderer->isBR()) && offset == box->caretRightmostOffset())
134 offset = box->caretRightmostOffset();
138 offset = box->isLeftToRightDirection() ? renderer->previousOffset(offset) : renderer->nextOffset(offset);
143 if (offset > caretMinOffset && offset < caretMaxOffset)
146 if (box->isLeftToRightDirection() ? offset < caretMinOffset : offset > caretMaxOffset) {
165 offset = prevBox->caretRightmostOffset();
169 ASSERT(offset == box->caretLeftmostOffset());
180 offset = primaryDirection == LTR ? box->caretMinOffset() : box->caretMaxOffset();
199 offset = box->caretRightmostOffset();
211 offset = box->caretRightmostOffset();
241 offset = primaryDirection == LTR ? box->caretMinOffset() : box->caretMaxOffset();
246 p = createLegacyEditingPosition(renderer->node(), offset);
283 int offset;
284 p.getInlineBoxAndOffset(m_affinity, primaryDirection, box, offset);
291 if ((renderer->isReplaced() || renderer->isBR()) && offset == box->caretLeftmostOffset())
299 offset = box->caretLeftmostOffset();
303 offset = box->isLeftToRightDirection() ? renderer->nextOffset(offset) : renderer->previousOffset(offset);
308 if (offset > caretMinOffset && offset < caretMaxOffset)
311 if (box->isLeftToRightDirection() ? offset > caretMaxOffset : offset < caretMinOffset) {
330 offset = nextBox->caretLeftmostOffset();
334 ASSERT(offset == box->caretRightmostOffset());
345 offset = primaryDirection == LTR ? box->caretMaxOffset() : box->caretMinOffset();
366 offset = box->caretLeftmostOffset();
378 offset = box->caretLeftmostOffset();
409 offset = primaryDirection == LTR ? box->caretMaxOffset() : box->caretMinOffset();
414 p = createLegacyEditingPosition(renderer->node(), offset);
586 unsigned offset = static_cast<unsigned>(pos.offsetInContainerNode());
589 if (offset >= length)
594 U16_NEXT(characters, offset, length, ch);