Home
last modified time | relevance | path

Searched refs:currentPos (Results 1 – 25 of 37) sorted by relevance

12

/external/webkit/Source/WebCore/platform/text/brew/
DTextBreakIteratorBrew.cpp57 currentPos = 0; in reset()
64 currentPos = position; in following()
69 currentPos = position; in preceding()
73 int currentPos; member in WebCore::TextBreakIterator
104 currentPos = 0; in first()
105 return currentPos; in first()
110 if (currentPos == length) { in next()
111 currentPos = -1; in next()
112 return currentPos; in next()
115 while (currentPos < length) { in next()
[all …]
/external/webkit/Source/WebCore/platform/text/wince/
DTextBreakIteratorWinCE.cpp57 currentPos = 0; in reset()
61 currentPos = 0; in first()
62 return currentPos; in first()
66 currentPos = length; in last()
67 return currentPos; in last()
73 currentPos = position; in following()
78 currentPos = position; in preceding()
82 int currentPos; member in WebCore::TextBreakIterator
109 if (currentPos == length) { in next()
110 currentPos = -1; in next()
[all …]
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/digest/
DSHA1.java21 private int currentPos; field in SHA1
42 currentPos = 0; in reset()
58 int idx = currentPos >> 2; in update()
60 switch (currentPos & 3) in update()
65 currentPos += 4; in update()
67 if (currentPos == 64) in update()
70 currentPos = 0; in update()
76 currentPos += 3; in update()
78 if (currentPos == 64) in update()
81 currentPos = 0; in update()
[all …]
/external/icu4c/tools/toolutil/
Ducbuf.c41 UChar* currentPos; member
174 if(buf->currentPos<buf->bufLimit){ in ucbuf_fillucbuf()
175 offset = (int32_t)(buf->bufLimit-buf->currentPos); in ucbuf_fillucbuf()
176 memmove(buf->buffer,buf->currentPos,offset* sizeof(UChar)); in ucbuf_fillucbuf()
311 buf->currentPos = pTarget; in ucbuf_fillucbuf()
328 if(buf->currentPos>=buf->bufLimit){ in ucbuf_getc()
338 return *(buf->currentPos++); in ucbuf_getc()
348 if(buf->currentPos+1>=buf->bufLimit){ in ucbuf_getc32()
357 if(U16_IS_LEAD(*(buf->currentPos))){ in ucbuf_getc32()
358 retVal=U16_GET_SUPPLEMENTARY(buf->currentPos[0],buf->currentPos[1]); in ucbuf_getc32()
[all …]
/external/webkit/Source/WebCore/dom/
DPosition.cpp425 Position currentPos = *this; in previousCharacterPosition() local
426 while (!currentPos.atStartOfTree()) { in previousCharacterPosition()
427 currentPos = currentPos.previous(); in previousCharacterPosition()
429 if (currentPos.deprecatedNode()->rootEditableElement() != fromRootEditableElement) in previousCharacterPosition()
433 if (currentPos.isCandidate()) in previousCharacterPosition()
434 return currentPos; in previousCharacterPosition()
435 } else if (rendersInDifferentPosition(currentPos)) in previousCharacterPosition()
436 return currentPos; in previousCharacterPosition()
453 Position currentPos = *this; in nextCharacterPosition() local
454 while (!currentPos.atEndOfTree()) { in nextCharacterPosition()
[all …]
/external/javassist/src/main/javassist/expr/
DNewArray.java81 int atype = iterator.byteAt(currentPos + 1); in getComponentType()
86 int index = iterator.u16bitAt(currentPos + 1); in getComponentType()
127 int index = iterator.u16bitAt(currentPos + 1); in getDimension()
143 return iterator.byteAt(currentPos + 3); in getCreatedDimensions()
175 int pos = currentPos; in replace2()
182 index = iterator.byteAt(currentPos + 1); // atype in replace2()
198 index = iterator.u16bitAt(currentPos + 1); in replace2()
200 dim = iterator.byteAt(currentPos + 3); in replace2()
DExpr.java45 int currentPos; field in Expr
58 currentPos = pos; in Expr()
138 int pos = currentPos; in mayThrow()
186 return currentPos; in indexOfBytecode()
195 return thisMethod.getLineNumber(currentPos); in getLineNumber()
319 oldIterator.move(currentPos); in runEditor()
DMethodCall.java35 int pos = currentPos; in getNameAndType()
86 int pos = currentPos; in getClassName()
148 return iterator.byteAt(currentPos) == INVOKESPECIAL in isSuper()
181 int pos = currentPos; in replace()
DFieldAccess.java96 int index = iterator.u16bitAt(currentPos + 1); in getClassName()
104 int index = iterator.u16bitAt(currentPos + 1); in getFieldName()
135 int index = iterator.u16bitAt(currentPos + 1); in getSignature()
152 int pos = currentPos; in replace()
DNewExpr.java105 int methodIndex = iterator.u16bitAt(currentPos + 1); // constructor in getSignature()
114 int index = iterator.u16bitAt(currentPos + 1); in getConstructor()
177 pos = currentPos; in replace()
DInstanceof.java68 int pos = currentPos; in getType()
95 int pos = currentPos; in replace()
DCast.java65 int pos = currentPos; in getType()
92 int pos = currentPos; in replace()
/external/webkit/Source/WebCore/platform/
DScrollAnimator.cpp64 float* currentPos = (orientation == HorizontalScrollbar) ? &m_currentPosX : &m_currentPosY; in scroll() local
65 …float newPos = std::max(std::min(*currentPos + (step * multiplier), static_cast<float>(m_scrollabl… in scroll()
66 if (*currentPos == newPos) in scroll()
68 *currentPos = newPos; in scroll()
DScrollbarThemeComposite.cpp107 float value = scrollbar->currentPos() / static_cast<float>(scrollbar->maximum()); in paint()
263 float overhangAtStart = -scrollbar->currentPos(); in usedTotalSize()
264 … float overhangAtEnd = scrollbar->currentPos() + scrollbar->visibleSize() - scrollbar->totalSize(); in usedTotalSize()
272 …return max(0.0f, scrollbar->currentPos()) * (trackLength(scrollbar) - thumbLength(scrollbar)) / (u… in thumbPosition()
DScrollAnimatorWin.cpp53 ScrollAnimatorWin::PerAxisData::PerAxisData(ScrollAnimatorWin* parent, float* currentPos) in PerAxisData() argument
54 : m_currentPos(currentPos) in PerAxisData()
DScrollAnimatorWin.h51 PerAxisData(ScrollAnimatorWin* parent, float* currentPos);
/external/webkit/Source/WebCore/platform/gtk/
DScrollbarThemeGtk2.cpp114 gtk_adjustment_set_value(adjustment, scrollbar->currentPos()); in paintThumb()
137 if ((BackButtonStartPart == part && scrollbar->currentPos()) in paintButton()
138 || (BackButtonEndPart == part && scrollbar->currentPos()) in paintButton()
139 || (ForwardButtonEndPart == part && scrollbar->currentPos() != scrollbar->maximum()) in paintButton()
140 || (ForwardButtonStartPart == part && scrollbar->currentPos() != scrollbar->maximum())) { in paintButton()
DScrollbarThemeGtk3.cpp127 if ((BackButtonStartPart == part && scrollbar->currentPos()) in paintButton()
128 || (BackButtonEndPart == part && scrollbar->currentPos()) in paintButton()
129 || (ForwardButtonEndPart == part && scrollbar->currentPos() != scrollbar->maximum()) in paintButton()
130 || (ForwardButtonStartPart == part && scrollbar->currentPos() != scrollbar->maximum())) { in paintButton()
/external/javassist/src/main/javassist/bytecode/
DCodeIterator.java38 protected int currentPos; field in CodeIterator
51 currentPos = mark = 0; in begin()
68 currentPos = index; in move()
170 public boolean hasNext() { return currentPos < endPos; } in hasNext()
183 int pos = currentPos; in next()
184 currentPos = nextOpcode(bytecode, pos); in next()
197 return currentPos; in lookAhead()
319 return insert0(currentPos, code, false); in insert()
392 return insert0(currentPos, code, true); in insertEx()
481 return insertGapAt(currentPos, length, false).position; in insertGap()
[all …]
/external/webkit/Source/WebCore/platform/mac/
DScrollbarThemeMac.mm433 if (scrollbar->currentPos() < 0) {
436 overhang = -scrollbar->currentPos();
437 } else if (scrollbar->visibleSize() + scrollbar->currentPos() > scrollbar->totalSize()) {
440 overhang = scrollbar->currentPos() + scrollbar->visibleSize() - scrollbar->totalSize();
445 value = scrollbar->currentPos() / maximum;
476 if (scrollbar->currentPos() < 0) {
478 maximum = (scrollbar->totalSize() - scrollbar->currentPos()) - scrollbar->visibleSize();
480 } else if (scrollbar->visibleSize() + scrollbar->currentPos() > scrollbar->totalSize()) {
482 maximum = scrollbar->currentPos();
487 position = scrollbar->currentPos();
/external/webkit/Source/WebCore/platform/chromium/
DScrollbarThemeChromiumLinux.cpp93 if ((checkMin && (scrollbar->currentPos() <= 0)) in paintButton()
94 || (checkMax && scrollbar->currentPos() == scrollbar->maximum())) { in paintButton()
/external/webkit/Source/WebCore/html/
DHTMLFormCollection.h61 mutable int currentPos; variable
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
DProfiler.cs78 protected Stack<int> currentPos = new Stack<int>(); field in Antlr.Runtime.Debug.Profiler
162 currentPos.Push(pos); in Location()
188 descriptor.pos = currentPos.Peek(); in EnterDecision()
717 currentPos.Peek()); in LocationDescription()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/
DProfiler.cs78 protected Stack<int> currentPos = new Stack<int>(); field in Antlr.Runtime.Debug.Profiler
152 currentPos.Push(pos); in Location()
175 descriptor.pos = currentPos.Peek(); in EnterDecision()
657 currentPos.Peek()); in LocationDescription()
/external/webkit/Source/WebCore/accessibility/
DAccessibilityScrollbar.cpp92 return m_scrollbar->currentPos() / m_scrollbar->maximum(); in valueForRange()

12