Home
last modified time | relevance | path

Searched refs:m_current (Results 1 – 25 of 42) sorted by relevance

12

/external/webkit/Source/WebKit2/UIProcess/
DWebBackForwardList.cpp37 , m_current(NoCurrentItemIndex) in WebBackForwardList()
42 ASSERT(m_current == NoCurrentItemIndex || m_current < m_entries.size()); in WebBackForwardList()
62 ASSERT(m_current == NoCurrentItemIndex || m_current < m_entries.size()); in addItem()
70 if (m_current != NoCurrentItemIndex) { in addItem()
71 unsigned targetSize = m_current + 1; in addItem()
83 if (m_entries.size() == m_capacity && (m_current != 0 || m_capacity == 1)) { in addItem()
88 m_current--; in addItem()
91 m_entries.insert(m_current + 1, newItem); in addItem()
92 m_current++; in addItem()
97 ASSERT(m_current == NoCurrentItemIndex || m_current < m_entries.size()); in addItem()
[all …]
DWebBackForwardList.h73 uint32_t currentIndex() { return m_current; } in currentIndex()
94 uint32_t m_current; variable
/external/webkit/Source/JavaScriptCore/parser/
DLexer.cpp268 m_current = *m_code; in setCode()
270 m_current = -1; in setCode()
277 ASSERT(m_current != -1); in shift()
278 m_current = -1; in shift()
281 m_current = *m_code; in shift()
298 …if (UNLIKELY(!isASCIIHexDigit(m_current) || !isASCIIHexDigit(char1) || !isASCIIHexDigit(char2) || … in getUnicodeCharacter()
301 int result = convertUnicode(m_current, char1, char2, char3); in getUnicodeCharacter()
311 ASSERT(isLineTerminator(m_current)); in shiftLineTerminator()
313 int m_prev = m_current; in shiftLineTerminator()
317 if (m_prev + m_current == '\n' + '\r') in shiftLineTerminator()
[all …]
DLexer.h77 m_current = -1; in setOffset()
79 m_current = *m_code; in setOffset()
141 int m_current; variable
/external/webkit/Source/WebCore/svg/
DSVGPathStringSource.cpp31 , m_current(string.characters()) in SVGPathStringSource()
32 , m_end(m_current + string.length()) in SVGPathStringSource()
39 return m_current < m_end; in hasMoreData()
44 return skipOptionalSpaces(m_current, m_end); in moveToNextToken()
49 switch (*(m_current++)) { in parseSVGSegmentType()
117 …if ((*m_current == '+' || *m_current == '-' || *m_current == '.' || (*m_current >= '0' && *m_curre… in nextCommand()
134 if (!parseNumber(m_current, m_end, toX) || !parseNumber(m_current, m_end, toY)) in parseMoveToSegment()
144 if (!parseNumber(m_current, m_end, toX) || !parseNumber(m_current, m_end, toY)) in parseLineToSegment()
152 return parseNumber(m_current, m_end, x); in parseLineToHorizontalSegment()
157 return parseNumber(m_current, m_end, y); in parseLineToVerticalSegment()
[all …]
DSVGPathBuilder.cpp39 m_current = mode == AbsoluteCoordinates ? targetPoint : m_current + targetPoint; in moveTo()
42 m_path->moveTo(m_current); in moveTo()
48 m_current = mode == AbsoluteCoordinates ? targetPoint : m_current + targetPoint; in lineTo()
49 m_path->addLineTo(m_current); in lineTo()
56 m_path->addBezierCurveTo(m_current + point1, m_current + point2, m_current + targetPoint); in curveToCubic()
57 m_current += targetPoint; in curveToCubic()
59 m_current = targetPoint; in curveToCubic()
60 m_path->addBezierCurveTo(point1, point2, m_current); in curveToCubic()
/external/webkit/Source/WebCore/history/
DBackForwardListImpl.cpp48 , m_current(NoCurrentItemIndex) in BackForwardListImpl()
67 if (m_current != NoCurrentItemIndex) { in addItem()
68 unsigned targetSize = m_current + 1; in addItem()
79 if (m_entries.size() == m_capacity && (m_current != 0 || m_capacity == 1)) { in addItem()
84 m_current--; in addItem()
90 m_entries.insert(m_current + 1, prpItem); in addItem()
91 m_current++; in addItem()
98 ASSERT(m_current > 0); in goBack()
99 if (m_current > 0) { in goBack()
100 m_current--; in goBack()
[all …]
/external/opencv/otherlibs/highgui/
Dbitstrm.cpp92 m_current = m_end; in Allocate()
98 m_start = m_end = m_current = 0; in RBaseStream()
130 m_current -= m_block_size; in ReadBlock()
133 if( readed == 0 || m_current >= m_end ) in ReadBlock()
173 m_start = m_end = m_current = 0; in Release()
197 if( m_current < m_end && block_pos == m_block_pos - m_block_size ) in SetPos()
199 m_current = m_start + offset; in SetPos()
204 m_current = m_start + m_block_size + offset; in SetPos()
212 return m_block_pos - m_block_size + (int)(m_current - m_start); in GetPos()
218 m_current += bytes; in Skip()
[all …]
/external/webkit/Source/WebCore/html/
DHTMLViewSourceDocument.cpp97 m_current = m_tbody; in createContainingTable()
102 if (!m_current) in addSource()
129 if (!m_current) in processDoctypeToken()
131 m_current = addSpanWithClassName("webkit-html-doctype"); in processDoctypeToken()
133 m_current = m_td; in processDoctypeToken()
138 m_current = addSpanWithClassName("webkit-html-tag"); in processTagToken()
159 m_current = addBase(value); in processTagToken()
168 m_current = m_td; in processTagToken()
173 m_current = addSpanWithClassName("webkit-html-comment"); in processCommentToken()
175 m_current = m_td; in processCommentToken()
[all …]
/external/webkit/Source/WebCore/dom/
DTreeWalker.cpp38 , m_current(root()) in TreeWalker()
48 m_current = node; in setCurrentNode()
53 m_current = node; in setCurrent()
54 return m_current.get(); in setCurrent()
59 RefPtr<Node> node = m_current; in parentNode()
75 for (RefPtr<Node> node = m_current->firstChild(); node; ) { in firstChild()
81 m_current = node.release(); in firstChild()
82 return m_current.get(); in firstChild()
98 if (!parent || parent == root() || parent == m_current) in firstChild()
108 for (RefPtr<Node> node = m_current->lastChild(); node; ) { in lastChild()
[all …]
DTreeWalker.h44 Node* currentNode() const { return m_current.get(); } in currentNode()
57 … parentNode() { return parentNode(scriptStateFromNode(mainThreadNormalWorld(), m_current.get())); } in parentNode()
58 … firstChild() { return firstChild(scriptStateFromNode(mainThreadNormalWorld(), m_current.get())); } in firstChild()
59 …Node* lastChild() { return lastChild(scriptStateFromNode(mainThreadNormalWorld(), m_current.get())… in lastChild()
60 …ibling() { return previousSibling(scriptStateFromNode(mainThreadNormalWorld(), m_current.get())); } in previousSibling()
61 …extSibling() { return nextSibling(scriptStateFromNode(mainThreadNormalWorld(), m_current.get())); } in nextSibling()
62 …viousNode() { return previousNode(scriptStateFromNode(mainThreadNormalWorld(), m_current.get())); } in previousNode()
63 …Node* nextNode() { return nextNode(scriptStateFromNode(mainThreadNormalWorld(), m_current.get()));… in nextNode()
70 RefPtr<Node> m_current; variable
/external/webkit/Source/JavaScriptCore/wtf/
DBumpPointerAllocator.h47 void* allocationEnd = static_cast<char*>(m_current) + size; in ensureCapacity()
48 ASSERT(allocationEnd > m_current); // check for overflow in ensureCapacity()
58 void* current = m_current; in alloc()
62 m_current = allocationEnd; in alloc()
82 ASSERT(position <= m_current); in dealloc()
83 m_current = position; in dealloc()
98 : m_current(allocation.base()) in BumpPointerPool()
131 m_current = m_start; in shrink()
148 …ASSERT((static_cast<char*>(previousPool->m_current) + size) > previousPool->m_current); // check f… in ensureCapacityCrossPool()
149 … ASSERT((static_cast<char*>(previousPool->m_current) + size) > static_cast<void*>(previousPool)); in ensureCapacityCrossPool()
[all …]
/external/opencv/
DWLNonFileByteStream.cpp21 m_start = m_end = m_current = 0; in WLNonFileByteStream()
39 m_current = m_start; in Allocate()
57 m_current = m_start; in Open()
73 *m_current++ = (uchar)val; in PutByte()
81 assert( data && m_current && count >= 0 ); in PutBytes()
85 int l = (int)(m_end - m_current); in PutBytes()
92 memcpy( m_current, data, l ); in PutBytes()
93 m_current += l; in PutBytes()
103 uchar *current = m_current; in PutWord()
109 m_current = current + 2; in PutWord()
[all …]
/external/webkit/Source/WebCore/bindings/v8/
DIntrusiveDOMWrapperMap.h42 ChunkedTable() : m_chunks(0), m_current(0), m_last(0) { } in ChunkedTable()
46 if (m_current == m_last) { in add()
48 m_current = m_chunks->m_entries; in add()
49 m_last = m_current + CHUNK_SIZE; in add()
51 ASSERT((m_chunks->m_entries <= m_current) && (m_current < m_last)); in add()
52 T* p = m_current++; in add()
60 ASSERT(m_current > m_chunks->m_entries); in remove()
61 m_current--; in remove()
62 if (element != m_current) in remove()
63 Traits::move(element, m_current); in remove()
[all …]
DV8Utilities.h92 m_previous = m_current; in AllowAllocation()
93 m_current = true; in AllowAllocation()
98 m_current = m_previous; in ~AllowAllocation()
101 static bool m_current; variable
/external/webkit/Source/WebCore/css/
DCSSMutableStyleDeclaration.h42 const CSSProperty& operator*() const { return *m_current; }
43 const CSSProperty* operator->() const { return m_current; }
45 …eStyleDeclarationConstIterator& o) { ASSERT(m_decl == o.m_decl); return m_current != o.m_current; }
46 …eStyleDeclarationConstIterator& o) { ASSERT(m_decl == o.m_decl); return m_current == o.m_current; }
55 CSSProperty* m_current; variable
185 , m_current(current) in CSSMutableStyleDeclarationConstIterator()
194 , m_current(o.m_current) in CSSMutableStyleDeclarationConstIterator()
211 m_current = o.m_current;
220 ASSERT(m_current != const_cast<CSSMutableStyleDeclaration*>(m_decl)->m_properties.end());
221 ++m_current;
[all …]
DCSSParserValues.h68 : m_current(0) in CSSParserValueList()
79 CSSParserValue* current() { return m_current < m_values.size() ? &m_values[m_current] : 0; } in current()
80 CSSParserValue* next() { ++m_current; return current(); } in next()
87 unsigned m_current;
/external/webkit/Source/WebCore/platform/text/
DSegmentedString.h35 , m_current(0) in SegmentedSubstring()
42 , m_current(str.isEmpty() ? 0 : str.characters()) in SegmentedSubstring()
48 void clear() { m_length = 0; m_current = 0; } in clear()
59 if (m_string.characters() == m_current) { in appendTo()
65 str.append(String(m_current, m_length)); in appendTo()
70 const UChar* m_current; variable
94 , m_currentChar(m_currentString.m_current) in SegmentedString()
119 m_currentChar = m_pushedChar1 ? &m_pushedChar1 : m_currentString.m_current; in push()
144 m_currentChar = ++m_currentString.m_current; in advance()
172 m_currentChar = ++m_currentString.m_current; in advancePastNewline()
[all …]
DBidiResolver.h163 const Iterator& position() const { return m_current; } in position()
164 void setPosition(const Iterator& position) { m_current = position; } in setPosition()
166 void increment() { m_current.increment(); } in increment()
199 Iterator m_current; variable
483 m_sor = m_current; in createBidiRunsForLine()
485 while (m_current != end && !m_current.atEnd()) { in createBidiRunsForLine()
486 m_eor = m_current; in createBidiRunsForLine()
501 m_last = m_current; in createBidiRunsForLine()
507 if (pastEnd && (hardLineBreak || m_current.atEnd())) { in createBidiRunsForLine()
526 dirCurrent = m_current.direction(); in createBidiRunsForLine()
[all …]
DSegmentedString.cpp152 m_currentChar = m_pushedChar1 ? &m_pushedChar1 : m_currentString.m_current; in append()
166 m_currentChar = m_pushedChar1 ? &m_pushedChar1 : m_currentString.m_current; in prepend()
214 } else if (m_currentString.m_current) { in advanceSlowCase()
215 ++m_currentString.m_current; in advanceSlowCase()
219 m_currentChar = m_pushedChar1 ? &m_pushedChar1 : m_currentString.m_current; in advanceSlowCase()
227 } else if (m_currentString.m_current) { in advanceSlowCase()
228 if (*m_currentString.m_current++ == '\n' && m_currentString.doNotExcludeLineNumbers()) { in advanceSlowCase()
237 m_currentChar = m_pushedChar1 ? &m_pushedChar1 : m_currentString.m_current; in advanceSlowCase()
/external/webkit/Source/WebCore/platform/graphics/
DPathTraversalState.cpp138 traversalState.m_current = curve.end; in curveLength()
162 float distance = distanceLine(m_current, m_start); in closeSubpath()
163 m_current = m_control1 = m_control2 = m_start; in closeSubpath()
169 m_current = m_start = m_control1 = m_control2 = point; in moveTo()
175 float distance = distanceLine(m_current, point); in lineTo()
176 m_current = m_control1 = m_control2 = point; in lineTo()
182 …float distance = curveLength<QuadraticBezier>(*this, QuadraticBezier(m_current, newControl, newEnd… in quadraticBezierTo()
188 m_current = newEnd; in quadraticBezierTo()
195 …float distance = curveLength<CubicBezier>(*this, CubicBezier(m_current, newControl1, newControl2, … in cubicBezierTo()
201 m_current = newEnd; in cubicBezierTo()
DPath.cpp49 traversalState.m_previous = traversalState.m_current; in pathLengthApplierFunction()
73 FloatSize change = traversalState.m_current - traversalState.m_previous; in pathLengthApplierFunction()
78 traversalState.m_current.move(offset * cosf(slope), offset * sinf(slope)); in pathLengthApplierFunction()
99 return traversalState.m_current; in pointAtLength()
/external/webkit/Source/WebCore/platform/graphics/gpu/
DPODArena.h121 , m_current(0) in PODArena()
126 , m_current(0) in PODArena()
140 if (m_current) in allocateBase()
141 ptr = m_current->allocate(roundedSize); in allocateBase()
147 m_current = m_chunks.last().get(); in allocateBase()
148 ptr = m_current->allocate(roundedSize); in allocateBase()
205 Chunk* m_current; variable
/external/webkit/Source/WebCore/platform/win/
DWCDataObject.cpp55 size_t m_current; member in WebCore::WCEnumFormatEtc
62 , m_current(0) in WCEnumFormatEtc()
70 , m_current(0) in WCEnumFormatEtc()
108 if(celt <= 0 || lpFormatEtc == 0 || m_current >= m_formats.size()) in Next()
114 while (m_current < m_formats.size() && cReturn > 0) { in Next()
115 *lpFormatEtc++ = m_formats[m_current++]; in Next()
126 if((m_current + int(celt)) >= m_formats.size()) in Skip()
128 m_current += celt; in Skip()
134 m_current = 0; in Reset()
148 newEnum->m_current = m_current; in Clone()
/external/webkit/Source/WebKit2/UIProcess/cf/
DWebBackForwardListCF.cpp55 ASSERT(m_current == NoCurrentItemIndex || m_current < m_entries.size()); in createCFDictionaryRepresentation()
60 int currentIndex = m_current; in createCFDictionaryRepresentation()
156 m_current = currentIndex; in restoreFromCFDictionaryRepresentation()

12