Home
last modified time | relevance | path

Searched refs:nodeIndex (Results 1 – 25 of 56) sorted by relevance

123

/external/webkit/Source/WebCore/inspector/front-end/
DHeapSnapshot.js103 return new WebInspector.HeapSnapshotNode(this._snapshot, this.nodeIndex);
106 get nodeIndex() getter in WebInspector.HeapSnapshotEdge
253 get nodeIndex() getter in WebInspector.HeapSnapshotRetainerEdge
328 WebInspector.HeapSnapshotNode = function(snapshot, nodeIndex) argument
331 this._firstNodeIndex = nodeIndex;
332 this.nodeIndex = nodeIndex;
356 return this._nodes[this.nodeIndex + this._snapshot._dominatorOffset];
366 return this._nodes[this.nodeIndex + this._snapshot._edgesCountOffset];
371 return this._nodes[this.nodeIndex + this._snapshot._nodeIdOffset];
376 return this._nodes[this.nodeIndex + this._snapshot._nodeInstancesCountOffset];
[all …]
DHeapSnapshotProxy.js57 …return {name: edge.name, node: this._extractNodeData(edge.node), nodeIndex: edge.nodeIndex, type: …
62 …return {id: node.id, name: node.name, nodeIndex: node.nodeIndex, retainedSize: node.retainedSize, …
70 createEdgesProvider: function(nodeIndex, filter) argument
76 return new WebInspector.HeapSnapshotEdgesProvider(this._snapshot, nodeIndex, filter);
DDetailedHeapshotGridNodes.js162 this.snapshotNodeIndex = node.nodeIndex;
265 this._provider = this._createProvider(tree.snapshot, edge.nodeIndex);
275 _createProvider: function(snapshot, nodeIndex) argument
279 nodeIndex,
352 this._provider = this._createProvider(baseSnapshot || snapshot, node.nodeIndex);
362 _createProvider: function(snapshot, nodeIndex) argument
366 nodeIndex,
659 this._provider = this._createProvider(tree.snapshot, node.nodeIndex);
669 _createProvider: function(snapshot, nodeIndex) argument
675 return dominatorIndex === nodeIndex
[all …]
/external/webkit/Source/JavaScriptCore/dfg/
DDFGJITCompiler.cpp43 void JITCompiler::fillNumericToDouble(NodeIndex nodeIndex, FPRReg fpr, GPRReg temporary) in fillNumericToDouble() argument
45 Node& node = graph()[nodeIndex]; in fillNumericToDouble()
50 …tr(reinterpret_cast<void*>(reinterpretDoubleToIntptr(valueOfDoubleConstant(nodeIndex)))), tempReg); in fillNumericToDouble()
66 void JITCompiler::fillInt32ToInteger(NodeIndex nodeIndex, GPRReg gpr) in fillInt32ToInteger() argument
68 Node& node = graph()[nodeIndex]; in fillInt32ToInteger()
72 move(MacroAssembler::Imm32(valueOfInt32Constant(nodeIndex)), gprToRegisterID(gpr)); in fillInt32ToInteger()
84 void JITCompiler::fillToJS(NodeIndex nodeIndex, GPRReg gpr) in fillToJS() argument
86 Node& node = graph()[nodeIndex]; in fillToJS()
89 if (isInt32Constant(nodeIndex)) { in fillToJS()
90 JSValue jsValue = jsNumber(valueOfInt32Constant(nodeIndex)); in fillToJS()
[all …]
DDFGGenerationInfo.h72 void initConstant(NodeIndex nodeIndex, uint32_t useCount) in initConstant() argument
74 m_nodeIndex = nodeIndex; in initConstant()
80 void initInteger(NodeIndex nodeIndex, uint32_t useCount, GPRReg gpr) in initInteger() argument
82 m_nodeIndex = nodeIndex; in initInteger()
89 …void initJSValue(NodeIndex nodeIndex, uint32_t useCount, GPRReg gpr, DataFormat format = DataForma…
93 m_nodeIndex = nodeIndex;
100 void initCell(NodeIndex nodeIndex, uint32_t useCount, GPRReg gpr) in initCell() argument
102 m_nodeIndex = nodeIndex; in initCell()
109 void initDouble(NodeIndex nodeIndex, uint32_t useCount, FPRReg fpr) in initDouble() argument
111 m_nodeIndex = nodeIndex; in initDouble()
[all …]
DDFGJITCodeGenerator.h95 bool canReuse(NodeIndex nodeIndex) in canReuse() argument
97 VirtualRegister virtualRegister = m_jit.graph()[nodeIndex].virtualRegister; in canReuse()
135 bool isFilled(NodeIndex nodeIndex) in isFilled() argument
137 VirtualRegister virtualRegister = m_jit.graph()[nodeIndex].virtualRegister; in isFilled()
141 bool isFilledDouble(NodeIndex nodeIndex) in isFilledDouble() argument
143 VirtualRegister virtualRegister = m_jit.graph()[nodeIndex].virtualRegister; in isFilledDouble()
185 void use(NodeIndex nodeIndex) in use() argument
187 VirtualRegister virtualRegister = m_jit.graph()[nodeIndex].virtualRegister; in use()
240 bool isConstant(NodeIndex nodeIndex) { return m_jit.isConstant(nodeIndex); } in isConstant() argument
241 bool isInt32Constant(NodeIndex nodeIndex) { return m_jit.isInt32Constant(nodeIndex); } in isInt32Constant() argument
[all …]
DDFGJITCompiler.h251 bool isConstant(NodeIndex nodeIndex) in isConstant() argument
253 return graph()[nodeIndex].isConstant(); in isConstant()
255 bool isInt32Constant(NodeIndex nodeIndex) in isInt32Constant() argument
257 return graph()[nodeIndex].op == Int32Constant; in isInt32Constant()
259 bool isDoubleConstant(NodeIndex nodeIndex) in isDoubleConstant() argument
261 return graph()[nodeIndex].op == DoubleConstant; in isDoubleConstant()
263 bool isJSConstant(NodeIndex nodeIndex) in isJSConstant() argument
265 return graph()[nodeIndex].op == JSConstant; in isJSConstant()
269 int32_t valueOfInt32Constant(NodeIndex nodeIndex) in valueOfInt32Constant() argument
271 ASSERT(isInt32Constant(nodeIndex)); in valueOfInt32Constant()
[all …]
DDFGJITCodeGenerator.cpp37 GPRReg JITCodeGenerator::fillInteger(NodeIndex nodeIndex, DataFormat& returnFormat) in fillInteger() argument
39 Node& node = m_jit.graph()[nodeIndex]; in fillInteger()
49 if (isInt32Constant(nodeIndex)) { in fillInteger()
50 m_jit.move(MacroAssembler::Imm32(valueOfInt32Constant(nodeIndex)), reg); in fillInteger()
55 if (isDoubleConstant(nodeIndex)) { in fillInteger()
56 JSValue jsValue = jsNumber(valueOfDoubleConstant(nodeIndex)); in fillInteger()
59 ASSERT(isJSConstant(nodeIndex)); in fillInteger()
60 JSValue jsValue = valueOfJSConstant(nodeIndex); in fillInteger()
108 FPRReg JITCodeGenerator::fillDouble(NodeIndex nodeIndex) in fillDouble() argument
110 Node& node = m_jit.graph()[nodeIndex]; in fillDouble()
[all …]
DDFGGraph.h70 void ref(NodeIndex nodeIndex) in ref() argument
72 Node& node = at(nodeIndex); in ref()
75 refChildren(nodeIndex); in ref()
77 void deref(NodeIndex nodeIndex) in deref() argument
79 Node& node = at(nodeIndex); in deref()
83 derefChildren(nodeIndex); in deref()
DDFGNonSpeculativeJIT.h53 NodeIndex nodeIndex; member
130 NodeIndex nodeIndex = info.nodeIndex();
131 Node& node = m_jit.graph()[nodeIndex];
138 ASSERT(isInt32Constant(nodeIndex));
139 m_jit.move(Imm32(valueOfInt32Constant(nodeIndex)), reg);
146 m_jit.move(constantAsJSValueAsImmPtr(nodeIndex), reg);
158 NodeIndex nodeIndex = info.nodeIndex();
159 Node& node = m_jit.graph()[nodeIndex];
164 m_jit.move(constantAsJSValueAsImmPtr(nodeIndex), reg);
DDFGSpeculativeJIT.h85 NodeIndex nodeIndex; member
138 bool isDoubleConstantWithInt32Value(NodeIndex nodeIndex, int32_t& out) in isDoubleConstantWithInt32Value() argument
140 if (!m_jit.isDoubleConstant(nodeIndex)) in isDoubleConstantWithInt32Value()
142 double value = m_jit.valueOfDoubleConstant(nodeIndex); in isDoubleConstantWithInt32Value()
350 bool hasCheckAtIndex(NodeIndex nodeIndex) in hasCheckAtIndex() argument
354 if (current >= nodeIndex) in hasCheckAtIndex()
355 return current == nodeIndex; in hasCheckAtIndex()
DDFGNonSpeculativeJIT.cpp45 m_gprInfo[gpr].nodeIndex = info.nodeIndex(); in EntryLocation()
48 m_gprInfo[gpr].nodeIndex = NoNode; in EntryLocation()
55 m_fprInfo[fpr] = info.nodeIndex(); in EntryLocation()
140 bool NonSpeculativeJIT::isKnownInteger(NodeIndex nodeIndex) in isKnownInteger() argument
142 GenerationInfo& info = m_generationInfo[m_jit.graph()[nodeIndex].virtualRegister]; in isKnownInteger()
152 ASSERT(isConstant(nodeIndex)); in isKnownInteger()
153 return isInt32Constant(nodeIndex); in isKnownInteger()
156 bool NonSpeculativeJIT::isKnownNumeric(NodeIndex nodeIndex) in isKnownNumeric() argument
158 GenerationInfo& info = m_generationInfo[m_jit.graph()[nodeIndex].virtualRegister]; in isKnownNumeric()
170 ASSERT(isConstant(nodeIndex)); in isKnownNumeric()
[all …]
DDFGSpeculativeJIT.cpp34 GPRReg SpeculativeJIT::fillSpeculateIntInternal(NodeIndex nodeIndex, DataFormat& returnFormat) in fillSpeculateIntInternal() argument
36 Node& node = m_jit.graph()[nodeIndex]; in fillSpeculateIntInternal()
47 if (isInt32Constant(nodeIndex)) { in fillSpeculateIntInternal()
48 m_jit.move(MacroAssembler::Imm32(valueOfInt32Constant(nodeIndex)), reg); in fillSpeculateIntInternal()
53 m_jit.move(constantAsJSValueAsImmPtr(nodeIndex), reg); in fillSpeculateIntInternal()
152 m_gprInfo[gpr].nodeIndex = info.nodeIndex(); in SpeculationCheck()
155 m_gprInfo[gpr].nodeIndex = NoNode; in SpeculationCheck()
162 m_fprInfo[fpr] = info.nodeIndex(); in SpeculationCheck()
168 GPRReg SpeculativeJIT::fillSpeculateInt(NodeIndex nodeIndex, DataFormat& returnFormat) in fillSpeculateInt() argument
170 return fillSpeculateIntInternal<false>(nodeIndex, returnFormat); in fillSpeculateInt()
[all …]
DDFGGraph.cpp44 void Graph::dump(NodeIndex nodeIndex, CodeBlock* codeBlock) in dump() argument
46 Node& node = at(nodeIndex); in dump()
73 …printf("% 4d:\t<%c%u:%u>\t%s(", (int)nodeIndex, mustGenerate ? '!' : ' ', refCount, node.virtualRe… in dump()
/external/webkit/Source/WebCore/page/
DDOMSelection.cpp112 return shadowAncestor->nodeIndex(); in anchorOffset()
130 return shadowAncestor->nodeIndex(); in focusOffset()
148 return shadowAncestor->nodeIndex(); in baseOffset()
166 return shadowAncestor->nodeIndex(); in extentOffset()
380 int offset = shadowAncestor->nodeIndex(); in getRangeAt()
470 unsigned nodeIndex = n->nodeIndex(); in containsNode() local
477 …bool nodeFullySelected = Range::compareBoundaryPoints(parentNode, nodeIndex, selectedRange->startC… in containsNode()
478 …&& Range::compareBoundaryPoints(parentNode, nodeIndex + 1, selectedRange->endContainer(ec), select… in containsNode()
483 …bool nodeFullyUnselected = (Range::compareBoundaryPoints(parentNode, nodeIndex, selectedRange->end… in containsNode()
484 …|| (Range::compareBoundaryPoints(parentNode, nodeIndex + 1, selectedRange->startContainer(ec), sel… in containsNode()
/external/webkit/Source/WebCore/xml/
DXPathPath.cpp138 for (size_t nodeIndex = 0; nodeIndex < matches.size(); ++nodeIndex) { in evaluate() local
139 Node* node = matches[nodeIndex]; in evaluate()
/external/webkit/Source/WebCore/dom/
DNodeWithIndex.h49 m_index = m_node->nodeIndex(); in index()
52 ASSERT(m_index == static_cast<int>(m_node->nodeIndex())); in index()
DRange.cpp387 int nodeIndex = refNode->nodeIndex(); in compareNode() local
396 if (comparePoint(parentNode, nodeIndex, ec) < 0) { // starts before in compareNode()
397 if (comparePoint(parentNode, nodeIndex + 1, ec) > 0) // ends after the range in compareNode()
401 if (comparePoint(parentNode, nodeIndex + 1, ec) > 0) // ends after the range in compareNode()
589 int nodeIndex = refNode->nodeIndex(); in intersectsNode() local
598 if (comparePoint(parentNode, nodeIndex, ec) < 0 && // starts before start in intersectsNode()
599 comparePoint(parentNode, nodeIndex + 1, ec) < 0) { // ends before start in intersectsNode()
601 } else if (comparePoint(parentNode, nodeIndex, ec) > 0 && // starts after end in intersectsNode()
602 comparePoint(parentNode, nodeIndex + 1, ec) > 0) { // ends after end in intersectsNode()
734 setStart(partialStart->parentNode(), partialStart->nodeIndex() + 1, ec); in processContents()
[all …]
DPosition.h218 return Position(node->parentNode(), node->nodeIndex(), Position::PositionIsOffsetInAnchor); in positionInParentBeforeNode()
224 return Position(node->parentNode(), node->nodeIndex() + 1, Position::PositionIsOffsetInAnchor); in positionInParentAfterNode()
DRangeBoundaryPoint.h89 m_offsetInContainer = m_childBeforeBoundary->nodeIndex() + 1; in ensureOffsetIsValid()
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/dom2dtm/
DDOM2DTM.java185 int nodeIndex = m_nodes.size(); in addNode() local
188 if(m_dtmIdent.size() == (nodeIndex>>>DTMManager.IDENT_DTM_NODE_BITS)) in addNode()
198 mgrD.addDTM(this,id,nodeIndex); in addNode()
248 m_firstch.setElementAt(NOTPROCESSED,nodeIndex); in addNode()
249 m_nextsib.setElementAt(NOTPROCESSED,nodeIndex); in addNode()
250 m_prevsib.setElementAt(previousSibling,nodeIndex); in addNode()
251 m_parent.setElementAt(parentIndex,nodeIndex); in addNode()
259 m_firstch.setElementAt(nodeIndex,parentIndex); in addNode()
296 m_exptype.setElementAt(expandedNameID,nodeIndex); in addNode()
298 indexNode(expandedNameID, nodeIndex); in addNode()
[all …]
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/sax2dtm/
DSAX2DTM.java872 int nodeIndex = m_size++; in addNode() local
875 if(m_dtmIdent.size() == (nodeIndex>>>DTMManager.IDENT_DTM_NODE_BITS)) in addNode()
877 addNewDTMID(nodeIndex); in addNode()
891 m_nextsib.setElementAt(nodeIndex,previousSibling); in addNode()
905 declareNamespaceInContext(parentIndex,nodeIndex); in addNode()
911 m_firstch.setElementAt(nodeIndex,parentIndex); in addNode()
916 return nodeIndex; in addNode()
924 protected void addNewDTMID(int nodeIndex) { in addNewDTMID() argument
933 mgrD.addDTM(this,id,nodeIndex); in addNewDTMID()
959 int nodeIndex = 0; in migrateTo() local
[all …]
DSAX2DTM2.java2339 int nodeIndex = m_size++; in addNode() local
2343 if (nodeIndex == m_maxNodeIndex) in addNode()
2345 addNewDTMID(nodeIndex); in addNode()
2370 declareNamespaceInContext(parentIndex,nodeIndex); in addNode()
2376 m_nextsib.setElementAt(nodeIndex,previousSibling); in addNode()
2379 m_firstch.setElementAt(nodeIndex,parentIndex); in addNode()
2384 return nodeIndex; in addNode()
/external/icu4c/i18n/
Dtznames_impl.cpp231 uint16_t nodeIndex = parent->fFirstChild; in addChildNode() local
232 while (nodeIndex > 0) { in addChildNode()
233 CharacterNode *current = fNodes + nodeIndex; in addChildNode()
240 prevIndex = nodeIndex; in addChildNode()
241 nodeIndex = current->fNextSibling; in addChildNode()
258 node->fNextSibling = nodeIndex; in addChildNode()
271 uint16_t nodeIndex = parent->fFirstChild; in getChildNode() local
272 while (nodeIndex > 0) { in getChildNode()
273 CharacterNode *current = fNodes + nodeIndex; in getChildNode()
280 nodeIndex = current->fNextSibling; in getChildNode()
/external/webkit/Source/WebCore/editing/
DDeleteSelectionCommand.cpp322 … node->parentNode() && static_cast<unsigned>(position.offsetInContainerNode()) > node->nodeIndex()) in updatePositionForNodeRemoval()
502 ASSERT(node->nodeIndex() < (unsigned)m_downstreamEnd.deprecatedEditingOffset()); in handleGeneralDelete()
541 offset = n->nodeIndex() + 1; in handleGeneralDelete()

123