Searched refs:newPos (Results 1 - 17 of 17) sorted by relevance

/macosx-10.9.5/WebCore-7537.78.1/rendering/
H A DRenderMarquee.cpp265 int newPos; local
267 newPos = m_end;
281 newPos = currentPos + (addIncrement ? increment : -increment);
283 newPos = min(newPos, endPoint);
285 newPos = max(newPos, endPoint);
288 if (newPos == endPoint) {
297 m_layer->scrollToXOffset(newPos);
299 m_layer->scrollToYOffset(newPos);
[all...]
/macosx-10.9.5/WebCore-7537.78.1/platform/
H A DScrollAnimator.cpp65 float newPos = std::max(std::min(*currentPos + (step * multiplier), static_cast<float>(m_scrollableArea->scrollSize(orientation))), 0.0f); local
66 float delta = *currentPos - newPos;
67 if (*currentPos == newPos)
69 *currentPos = newPos;
/macosx-10.9.5/tcl-102/tcl_ext/memchan/memchan/generic/
H A Dbuf.c626 BufferPosition* newPos = (BufferPosition*) Tcl_Alloc (sizeof (BufferPosition));
628 newPos->buf = bPos->buf;
629 newPos->offset = bPos->offset;
633 return (Buf_BufferPosition) newPos;
660 BufferPosition* newPos = (BufferPosition*) Tcl_Alloc (sizeof (BufferPosition));
662 newPos->buf = buf;
663 newPos->offset = offset;
667 return (Buf_BufferPosition) newPos;
606 BufferPosition* newPos = (BufferPosition*) Tcl_Alloc (sizeof (BufferPosition)); local
639 BufferPosition* newPos = (BufferPosition*) Tcl_Alloc (sizeof (BufferPosition)); local
/macosx-10.9.5/AppleUSBIrDA-145.2.4/IrDA/Utils/
H A DCBufferSegment.cpp362 UByte* newPos; local
383 newPos = fBase + off;
387 newPos = fMark + off;
391 newPos = fEnd - off;
395 newPos = fMark;
399 fMark = (UByte*) UMinMax((uintptr_t) fBase, (uintptr_t) newPos, (uintptr_t) fEnd);
/macosx-10.9.5/objc4-551.1/runtime/
H A Dobjc-layout.mm349 * Slides bits [oldPos, bits.bitCount) to [newPos, bits.bitCount+newPos-oldPos)
350 * Bits [oldPos, newPos) are zero-filled.
352 * newPos >= oldPos.
355 layout_bitmap_slide(layout_bitmap *bits, size_t oldPos, size_t newPos)
360 if (oldPos == newPos) return;
361 if (oldPos > newPos) _objc_fatal("layout bitmap sliding backwards");
363 shift = newPos - oldPos;
366 move_bits(*bits, oldPos, newPos, count); // slide
378 layout_bitmap_slide_anywhere(layout_bitmap *bits, size_t oldPos, size_t newPos)
[all...]
H A Dobjc-private.h677 extern void layout_bitmap_slide(layout_bitmap *bits, size_t oldPos, size_t newPos);
678 extern void layout_bitmap_slide_anywhere(layout_bitmap *bits, size_t oldPos, size_t newPos);
/macosx-10.9.5/Chess-310.5/Sources/
H A DMBCMoveGenerator.mm118 MBCPieces newPos = fPosition;
119 newPos.fBoard[to] = newPos.fBoard[from];
120 newPos.fBoard[from] = EMPTY;
122 if (!fGenerator->InCheck(fWhite, newPos))
136 MBCPieces newPos = fPosition;
137 newPos.fBoard[at] = piece;
139 if (!fGenerator->InCheck(fWhite, newPos))
147 MBCPieces newPos = fPosition;
153 std::swap(newPos
[all...]
/macosx-10.9.5/tcl-102/tcl/tcl/win/
H A DtclWinChan.c484 LONG newPos, newPosHigh, oldPos, oldPosHigh;
513 newPos = SetFilePointer(infoPtr->handle, offset, &newPosHigh, moveMethod);
514 if (newPos == (LONG)INVALID_SET_FILE_POINTER) {
533 return (int) newPos;
564 LONG newPos, newPosHigh;
576 newPos = SetFilePointer(infoPtr->handle, Tcl_WideAsLong(offset),
578 if (newPos == (LONG)INVALID_SET_FILE_POINTER) {
587 return (((Tcl_WideInt)((unsigned)newPos)) | (Tcl_LongAsWide(newPosHigh) << 32));
613 LONG newPos, newPosHigh, oldPos, oldPosHigh;
634 newPos
476 LONG newPos, newPosHigh, oldPos, oldPosHigh; local
555 LONG newPos, newPosHigh; local
603 LONG newPos, newPosHigh, oldPos, oldPosHigh; local
[all...]
/macosx-10.9.5/tcl-102/tk/tk/generic/
H A DtkPointer.c152 int newPos, oldPos;
154 newPos = TkPositionInTree(winPtr, restrictWinPtr);
162 if ((newPos != oldPos) && ((newPos == TK_GRAB_IN_TREE)
167 if (newPos == TK_GRAB_IN_TREE) {
173 || (newPos == TK_GRAB_ANCESTOR)) {
150 int newPos, oldPos; local
/macosx-10.9.5/tcl-102/tk84/tk/generic/
H A DtkPointer.c158 int newPos, oldPos;
160 newPos = TkPositionInTree(winPtr, restrictWinPtr);
168 if ((newPos != oldPos) && ((newPos == TK_GRAB_IN_TREE)
173 if (newPos == TK_GRAB_IN_TREE) {
179 || (newPos == TK_GRAB_ANCESTOR)) {
156 int newPos, oldPos; local
/macosx-10.9.5/tcl-102/tcl84/tcl/win/
H A DtclWinChan.c488 DWORD newPos, newPosHigh;
516 newPos = SetFilePointer(infoPtr->handle, (LONG) offset, &newPosHigh,
518 if (newPos == INVALID_SET_FILE_POINTER) {
535 return (int) newPos;
566 DWORD newPos, newPosHigh;
578 newPos = SetFilePointer(infoPtr->handle, (LONG) offset, &newPosHigh,
580 if (newPos == INVALID_SET_FILE_POINTER) {
588 return (((Tcl_WideInt)((unsigned)newPos)) | (Tcl_LongAsWide(newPosHigh) << 32));
480 DWORD newPos, newPosHigh; local
557 DWORD newPos, newPosHigh; local
/macosx-10.9.5/WebCore-7537.78.1/platform/mac/
H A DScrollAnimatorMac.mm686 float newPos = std::max<float>(std::min<float>(currentPos + (step * multiplier), static_cast<float>(m_scrollableArea->scrollSize(orientation))), 0);
687 if (currentPos == newPos)
693 newPoint = orientation == HorizontalScrollbar ? NSMakePoint(newPos, targetOrigin.y) : NSMakePoint(targetOrigin.x, newPos);
695 newPoint = orientation == HorizontalScrollbar ? NSMakePoint(newPos, m_currentPosY) : NSMakePoint(m_currentPosX, newPos);
1174 FloatPoint newPos = adjustScrollPositionIfNecessary(FloatPoint(m_currentPosX, m_currentPosY) + delta);
1175 if (newPos.x() == m_currentPosX && newPos.y() == m_currentPosY)
1178 FloatSize adjustedDelta = FloatSize(newPos
[all...]
/macosx-10.9.5/ICU-511.35/icuSources/i18n/
H A Dtmutfmt.cpp246 int32_t newPos = -1; local
316 newPos = pos.getIndex();
350 pos.setIndex(newPos);
/macosx-10.9.5/WebCore-7537.78.1/inspector/front-end/cm/
H A Dcodemirror.js2431 var newPos = m.find()[dir < 0 ? "from" : "to"];
2432 if (posEq(newPos, curPos)) {
2433 newPos.ch += dir;
2434 if (newPos.ch < 0) {
2435 if (newPos.line > doc.first) newPos = clipPos(doc, Pos(newPos.line - 1));
2436 else newPos = null;
2437 } else if (newPos.ch > line.text.length) {
2438 if (newPos
[all...]
/macosx-10.9.5/WebCore-7537.78.1/inspector/front-end/ace/
H A Dace.js14601 var newPos = {row: otherPos.row, column: otherPos.column + distanceFromStart};
14603 newPos.column += lengthDiff;
14604 this.doc.insert(newPos, delta.text);
14609 var newPos = {row: otherPos.row, column: otherPos.column + distanceFromStart};
14611 newPos.column += lengthDiff;
14612 this.doc.remove(new Range(newPos.row, newPos.column, newPos.row, newPos.column - lengthDiff));
14620 var newPos
[all...]
/macosx-10.9.5/tcl-102/tcl/tcl/library/
H A Dclock.tcl2306 foreach currPos $currFieldPos newPos $fPos {
2307 if { ![string is integer $newPos]
2309 || $newPos > $currPos } {
2312 if { $newPos < $currPos } {
/macosx-10.9.5/xnu-2422.115.4/iokit/Kernel/
H A DIOPMrootDomain.cpp9120 uint32_t curPos = 0, newPos = 0; local
9146 newPos = curPos+len;
9147 if (newPos >= (hdr->dlog_buf_offset+hdr->dlog_size)) {
9148 newPos = hdr->dlog_buf_offset+len;
9154 } while (!OSCompareAndSwap(curPos, newPos, &hdr->dlog_cur_pos));

Completed in 396 milliseconds