Home
last modified time | relevance | path

Searched refs:elementAt (Results 1 – 25 of 154) sorted by relevance

1234567

/external/apache-xml/src/main/java/org/apache/xpath/compiler/
DOpMap.java96 return m_tokenQueue.elementAt(pos); in getToken()
152 int n = m_opMap.elementAt(MAPINDEX_LENGTH); in shrink()
176 return m_opMap.elementAt(opPos); in getOp()
200 return opPos + m_opMap.elementAt(opPos + 1); in getNextOpPos()
277 int stepType = m_opMap.elementAt(opPos); in getFirstPredicateOpPos()
282 return opPos + m_opMap.elementAt(opPos + 2); in getFirstPredicateOpPos()
287 return opPos + m_opMap.elementAt(opPos + 1); in getFirstPredicateOpPos()
345 return m_opMap.elementAt(opPos + MAPINDEX_LENGTH); in getArgLength()
357 return m_opMap.elementAt(opPos + MAPINDEX_LENGTH + 1) - 3; in getArgLengthOfStep()
381 return m_opMap.elementAt(opPosOfStep + 3); // skip past op, len, len without predicates in getStepTestType()
[all …]
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/x509/
DX509Name.java499 this.ordering.addElement(ordering.elementAt(i)); in X509Name()
516 DERObjectIdentifier oid = (DERObjectIdentifier)this.ordering.elementAt(i); in X509Name()
557 this.ordering.addElement(oids.elementAt(i)); in X509Name()
558 this.values.addElement(values.elementAt(i)); in X509Name()
744 if (((Boolean)this.added.elementAt(i)).booleanValue()) in X509Name()
746 o.insertElementAt(this.ordering.elementAt(i), count); in X509Name()
747 v.insertElementAt(this.values.elementAt(i), count); in X509Name()
748 a.insertElementAt(this.added.elementAt(i), count); in X509Name()
753 o.insertElementAt(this.ordering.elementAt(i), 0); in X509Name()
754 v.insertElementAt(this.values.elementAt(i), 0); in X509Name()
[all …]
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/sax2dtm/
DSAX2DTM2.java1903 return m_exptype.elementAt(identity); in _exptype()
2120 prefix = (String) m_prefixMappings.elementAt(i); in startElement()
2125 String declURL = (String) m_prefixMappings.elementAt(i + 1); in startElement()
2644 dataIndex = m_data.elementAt(-dataIndex); in getLocalName()
2669 dataIndex = m_data.elementAt(-dataIndex); in getNodeNameX()
2681 int qnameIndex = m_dataOrQName.elementAt(nodeID); in getNodeNameX()
2689 qnameIndex = m_data.elementAt(qnameIndex); in getNodeNameX()
2729 dataIndex = m_data.elementAt(-dataIndex); in getNodeName()
2741 int qnameIndex = m_dataOrQName.elementAt(nodeID); in getNodeName()
2749 qnameIndex = m_data.elementAt(qnameIndex); in getNodeName()
[all …]
DSAX2DTM.java313 return m_dataOrQName.elementAt(identity); in _dataOrQName()
325 return m_dataOrQName.elementAt(identity); in _dataOrQName()
513 int dataIndex = m_dataOrQName.elementAt(identity); in dispatchCharactersEvents()
514 int offset = m_data.elementAt(dataIndex); in dispatchCharactersEvents()
515 int length = m_data.elementAt(dataIndex + 1); in dispatchCharactersEvents()
543 offset = m_data.elementAt(dataIndex); in dispatchCharactersEvents()
546 length += m_data.elementAt(dataIndex + 1); in dispatchCharactersEvents()
567 dataIndex = m_data.elementAt(dataIndex + 1); in dispatchCharactersEvents()
620 int qnameIndex = m_dataOrQName.elementAt(makeNodeIdentity(nodeHandle)); in getNodeName()
625 qnameIndex = m_data.elementAt(qnameIndex); in getNodeName()
[all …]
/external/apache-xml/src/main/java/org/apache/xalan/transformer/
DNodeSorter.java104 v.setItem(((NodeCompareElem) nodes.elementAt(i)).m_node, i); in sort()
132 NodeSortKey k = (NodeSortKey) m_keys.elementAt(kIndex); in compare()
314 b.insertElementAt(a.elementAt(i), i); in mergesort()
316 b.setElementAt(a.elementAt(i), i); in mergesort()
326 b.insertElementAt(a.elementAt(j), r + m + 1 - j); in mergesort()
328 b.setElementAt(a.elementAt(j), r + m + 1 - j); in mergesort()
342 compVal = compare((NodeCompareElem) b.elementAt(i), in mergesort()
343 (NodeCompareElem) b.elementAt(j), 0, support); in mergesort()
349 a.setElementAt(b.elementAt(i), k); in mergesort()
357 a.setElementAt(b.elementAt(j), k); in mergesort()
[all …]
DCountersTable.java142 Counter counter = (Counter) counters.elementAt(i); in countNode()
171 Counter counter = (Counter) counters.elementAt(i); in countNode()
175 && (counter.m_countNodes.elementAt(cacheLen in countNode()
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
DChunkedIntArray.java94 int[] chunk = chunks.elementAt(chunkpos); in appendSlot()
126 int[] chunk = chunks.elementAt(chunkpos); in readEntry()
148 int[] chunk = chunks.elementAt(chunkpos); in specialFind()
207 int[] chunk = chunks.elementAt(chunkpos); in writeEntry()
230 int[] chunk = chunks.elementAt(chunkpos); in writeSlot()
263 int[] chunk = chunks.elementAt(chunkpos); in readSlot()
301 final int[] elementAt(int pos) in elementAt() method in ChunkedIntArray.ChunksVector
DDTMDefaultBase.java489 return m_exptype.elementAt(identity); in _exptype()
526 int info = (identity >= m_size) ? NOTPROCESSED : m_firstch.elementAt(identity); in _firstch()
539 info = m_firstch.elementAt(identity); in _firstch()
558 int info = (identity >= m_size) ? NOTPROCESSED : m_nextsib.elementAt(identity); in _nextsib()
571 info = m_nextsib.elementAt(identity); in _nextsib()
591 return m_prevsib.elementAt(identity); in _prevsib()
603 return m_prevsib.elementAt(identity); in _prevsib()
618 return m_parent.elementAt(identity); in _parent()
630 return m_parent.elementAt(identity); in _parent()
909 return m_dtmIdent.elementAt(nodeIdentity >>> DTMManager.IDENT_DTM_NODE_BITS) in makeNodeHandle()
[all …]
DDTMDefaultBaseTraversers.java231 while (DTM.NULL != (current = m_parent.elementAt(current))) in next()
233 if (m_exptype.elementAt(current) == expandedTypeID) in next()
358 int parentID = m_parent.elementAt(nextID); in getNextIndexed()
376 parentID = m_parent.elementAt(parentID); in getNextIndexed()
389 if(!(m_nextsib.elementAt(axisRoot) == NOTPROCESSED)) in getNextIndexed()
445 if (m_exptype.elementAt(current) == expandedTypeID) in first()
482 if (m_exptype.elementAt(current) == expandedTypeID) in next()
606 return !(m_nextsib.elementAt(axisRoot) == NOTPROCESSED); in axisHasBeenProcessed()
658 identity = m_parent.elementAt(identity); in isAfterAxis()
1165 while (NULL != (current = m_parent.elementAt(current))) in first()
[all …]
DDTMStringPool.java101 return (String) m_intToString.elementAt(i); in indexToString()
117 if(m_intToString.elementAt(hashcandidate).equals(s)) in stringToIndex()
121 hashcandidate=m_hashChain.elementAt(hashcandidate); in stringToIndex()
/external/icu4c/i18n/
Drbtz.cpp42 TimeZoneRule *r1 = (TimeZoneRule*)rules1->elementAt(i); in compareRules()
43 TimeZoneRule *r2 = (TimeZoneRule*)rules2->elementAt(i); in compareRules()
195 r = (TimeZoneRule*)fHistoricRules->elementAt(i); in complete()
231 TimeZoneRule *fr = (TimeZoneRule*)fFinalRules->elementAt(i); in complete()
235 r = (TimeZoneRule*)fFinalRules->elementAt(i); in complete()
281 TimeZoneRule *rule0 = (TimeZoneRule*)fFinalRules->elementAt(0); in complete()
282 TimeZoneRule *rule1 = (TimeZoneRule*)fFinalRules->elementAt(1); in complete()
420 UDate tstart = getTransitionTime((Transition*)fHistoricTransitions->elementAt(0), in getOffsetInternal()
426 UDate tend = getTransitionTime((Transition*)fHistoricTransitions->elementAt(idx), in getOffsetInternal()
433 rule = ((Transition*)fHistoricTransitions->elementAt(idx))->to; in getOffsetInternal()
[all …]
Drbt_set.cpp191 …*tempTranslitRule = new TransliterationRule(*(TransliterationRule*)other.ruleVector->elementAt(i)); in TransliterationRuleSet()
308 TransliterationRule* r = (TransliterationRule*) ruleVector->elementAt(j); in freeze()
316 v.addElement(ruleVector->elementAt(j), status); in freeze()
323 TransliterationRule* r = (TransliterationRule*) ruleVector->elementAt(j); in freeze()
349 rules[j] = (TransliterationRule*) v.elementAt(j); in freeze()
437 (TransliterationRule*) ruleVector->elementAt(i); in toRules()
454 (TransliterationRule*) ruleVector->elementAt(i); in getSourceTargetSet()
Duspoof_wsconf.cpp229 bsset = static_cast<BuilderScriptSet *>(scriptSets->elementAt(setIndex)); in buildWSConfusableData()
273 … BuilderScriptSet *outerSet = static_cast<BuilderScriptSet *>(scriptSets->elementAt(outeri)); in buildWSConfusableData()
281 … BuilderScriptSet *innerSet = static_cast<BuilderScriptSet *>(scriptSets->elementAt(inneri)); in buildWSConfusableData()
303 BuilderScriptSet *bSet = static_cast<BuilderScriptSet *>(scriptSets->elementAt(i)); in buildWSConfusableData()
362 BuilderScriptSet *bSet = static_cast<BuilderScriptSet *>(scriptSets->elementAt(i)); in buildWSConfusableData()
405 BuilderScriptSet *bsset = static_cast<BuilderScriptSet *>(scriptSets->elementAt(i)); in buildWSConfusableData()
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DStylesheet.java245 return m_ExtensionElementURIs.elementAt(i); in getExtensionElementPrefix()
323 return m_ExcludeResultPrefixs.elementAt(i); in getExcludeResultPrefix()
358 if (uri.equals(getNamespaceForPrefix(m_ExcludeResultPrefixs.elementAt(i)))) in containsExcludeResultPrefix()
483 return (StylesheetComposed) m_imports.elementAt(i); in getImport()
534 return (Stylesheet) m_includes.elementAt(i); in getInclude()
618 return (DecimalFormatProperties) m_DecimalFormatDeclarations.elementAt(i); in getDecimalFormat()
673 return (WhiteSpaceInfo) m_whitespaceStrippingElements.elementAt(i); in getStripSpace()
728 return (WhiteSpaceInfo) m_whitespacePreservingElements.elementAt(i); in getPreserveSpace()
782 return (OutputProperties) m_output.elementAt(i); in getOutput()
834 return (KeyDeclaration) m_keyDeclarations.elementAt(i); in getKey()
[all …]
DStylesheetRoot.java263 m_globalImportList[j] = (StylesheetComposed) importList.elementAt(i); in recompose()
303 ((ElemTemplateElement) recomposableElements.elementAt(i)).recompose(this); in recompose()
854 ElemVariable var = (ElemVariable)m_variables.elementAt(i); in getVariableOrParamComposed()
1148 ElemTemplateElement midNode = (ElemTemplateElement) v.elementAt( ( lo0 + hi0 ) / 2 ); in QuickSort2()
1155 while( (lo < hi0) && (((ElemTemplateElement) v.elementAt(lo)).compareTo(midNode) < 0) ) in QuickSort2()
1162 … while( (hi > lo0) && (((ElemTemplateElement) v.elementAt(hi)).compareTo(midNode) > 0) ) { in QuickSort2()
1169 ElemTemplateElement node = (ElemTemplateElement) v.elementAt(lo); in QuickSort2()
1170 v.setElementAt(v.elementAt(hi), lo); in QuickSort2()
1253 ElemVariable ev = (ElemVariable)m_variables.elementAt(i); in ComposeState()
/external/antlr/src/org/antlr/runtime/misc/
DFastQueue.java56 T o = elementAt(0); in remove()
72 public T head() { return elementAt(0); } in head()
78 public T elementAt(int i) { in elementAt() method in FastQueue
95 buf.append(elementAt(i)); in toString()
/external/icu4c/common/
Drbbitblb.cpp50 delete (RBBIStateDescriptor *)fDStates->elementAt(i); in ~RBBITableBuilder()
357 i = (RBBINode *)LastPosOfLeftChild->elementAt(ix); in calcFollowPos()
369 i = (RBBINode *)n->fLastPosSet->elementAt(ix); in calcFollowPos()
421 RBBINode *tNode = (RBBINode *)leafNodes.elementAt(endNodeIx); in calcChainedFollowPos()
427 if (tNode->fFollowPos->contains(endMarkerNodes.elementAt(i))) { in calcChainedFollowPos()
459 startNode = (RBBINode *)matchStartNodes->elementAt(startNodeIx); in calcChainedFollowPos()
519 startNode = (RBBINode *)matchStartNodes->elementAt(startNodeIx); in bofFixup()
599 temp = (RBBIStateDescriptor *)fDStates->elementAt(tx); in buildStateTable()
622 p = (RBBINode *)T->fPositions->elementAt(px); in buildStateTable()
643 temp2 = (RBBIStateDescriptor *)fDStates->elementAt(ix); in buildStateTable()
[all …]
Dservnotf.cpp53 const EventListener* el = (const EventListener*)(listeners->elementAt(i)); in addListener()
85 const EventListener* el = (const EventListener*)listeners->elementAt(i); in removeListener()
107 EventListener* el = (EventListener*)listeners->elementAt(i); in notifyChanged()
Drbbisetb.cpp156 usetNode = (RBBINode *)this->fRB->fUSetNodes->elementAt(ni); in build()
266 usetNode = (RBBINode *)this->fRB->fUSetNodes->elementAt(ni); in build()
354 RBBINode *usetNode = (RBBINode *)sets->elementAt(ix); in addValToSets()
444 RBBINode *usetNode = (RBBINode *)rlRange->fIncludesSets->elementAt(i); in printRanges()
484 RBBINode *usetNode = (RBBINode *)rlRange->fIncludesSets->elementAt(i); in printRangeGroups()
530 usetNode = (RBBINode *)fRB->fUSetNodes->elementAt(i); in printSets()
586 this->fIncludesSets->addElement(other.fIncludesSets->elementAt(i), status); in RangeDescriptor()
675 RBBINode *usetNode = (RBBINode *)fIncludesSets->elementAt(i); in setDictionaryFlag()
/external/junit/src/junit/runner/
DSorter.java18 String mid= (String)values.elementAt((left + right) / 2); in sortStrings()
20 while (((String)(values.elementAt(left))).compareTo(mid) < 0) in sortStrings()
22 while (mid.compareTo((String)(values.elementAt(right))) < 0) in sortStrings()
/external/apache-xml/src/main/java/org/apache/xpath/functions/
DFuncExtFunction.java94 Expression arg = (Expression) m_argVec.elementAt(i); in fixupVariables()
139 return (Expression) m_argVec.elementAt(n); in getArg()
197 Expression arg = (Expression) m_argVec.elementAt(i); in execute()
287 Expression exp = (Expression)m_argVec.elementAt(i); in callArgVisitors()
309 Expression arg = (Expression) m_argVec.elementAt(i); in exprSetParent()
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/
DASN1Set.java121 return (DEREncodable)set.elementAt(index); in getObjectAt()
301 byte[] a = getEncoded((DEREncodable)set.elementAt(0)); in sort()
307 byte[] b = getEncoded((DEREncodable)set.elementAt(index + 1)); in sort()
315 Object o = set.elementAt(index); in sort()
317 set.setElementAt(set.elementAt(index + 1), index); in sort()
/external/apache-xml/src/main/java/org/apache/xpath/
DNodeSetDTM.java390 int next = this.elementAt(m_next); in nextNode()
422 return this.elementAt(m_next); in previousNode()
508 return this.elementAt(index); in item()
810 int child = elementAt(i); in addNodeInDocOrder()
1041 public int elementAt(int i) in elementAt() method in NodeSetDTM
1046 return super.elementAt(i); in elementAt()
1153 int n = (current < m_firstFree) ? elementAt(current) : DTM.NULL; in getCurrentNode()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DVectorTest.java257 assertEquals("Added Element to wrong slot", "Added Element", ((String) v.elementAt(100)) in test_addElementLjava_lang_Object()
261 assertNull("Added null to wrong slot", v.elementAt(101)); in test_addElementLjava_lang_Object()
272 assertEquals("Added Element to wrong slot", "Added Element", ((String) v.elementAt(100)) in test_addElementLjava_lang_Object_subtest0()
276 assertNull("Added null to wrong slot", v.elementAt(101)); in test_addElementLjava_lang_Object_subtest0()
382 assertTrue("copyInto failed", a[i] == tVector.elementAt(i)); in test_copyInto$Ljava_lang_Object()
391 .elementAt(18))); in test_elementAtI()
394 .elementAt(20)); in test_elementAtI()
408 .nextElement() == tVector.elementAt(i)); in test_elements()
547 Object obj = tVector.elementAt(i); in test_hashCode()
609 String prevElement = (String) v.elementAt(99); in test_insertElementAtLjava_lang_ObjectI()
[all …]
/external/icu4c/tools/toolutil/
Dxmlparser.cpp693 delete (UObject *)fAttValues.elementAt(i); in ~UXMLElement()
696 delete (UObject *)fChildren.elementAt(i); in ~UXMLElement()
717 node=(const UObject *)fChildren.elementAt(i); in appendText()
735 name.setTo(*(const UnicodeString *)fAttNames.elementAt(i)); in getAttribute()
736 value.setTo(*(const UnicodeString *)fAttValues.elementAt(i)); in getAttribute()
754 if(p==(const UnicodeString *)fAttNames.elementAt(i)) { in getAttribute()
755 return (const UnicodeString *)fAttValues.elementAt(i); in getAttribute()
769 const UObject *node=(const UObject *)fChildren.elementAt(i); in getChild()
790 node=(const UObject *)fChildren.elementAt(i++); in nextChildElement()
811 node=(const UObject *)fChildren.elementAt(i); in getChildElement()

1234567