/external/apache-xml/src/main/java/org/apache/xpath/compiler/ |
D | Compiler.java | 114 public Expression compile(int opPos) throws TransformerException in compile() argument 117 int op = getOp(opPos); in compile() 124 expr = compile(opPos + 2); break; in compile() 126 expr = or(opPos); break; in compile() 128 expr = and(opPos); break; in compile() 130 expr = notequals(opPos); break; in compile() 132 expr = equals(opPos); break; in compile() 134 expr = lte(opPos); break; in compile() 136 expr = lt(opPos); break; in compile() 138 expr = gte(opPos); break; in compile() [all …]
|
D | OpMap.java | 174 public int getOp(int opPos) in getOp() argument 176 return m_opMap.elementAt(opPos); in getOp() 185 public void setOp(int opPos, int value) in setOp() argument 187 m_opMap.setElementAt(value,opPos); in setOp() 198 public int getNextOpPos(int opPos) in getNextOpPos() argument 200 return opPos + m_opMap.elementAt(opPos + 1); in getNextOpPos() 210 public int getNextStepPos(int opPos) in getNextStepPos() argument 213 int stepType = getOp(opPos); in getNextStepPos() 218 return getNextOpPos(opPos); in getNextStepPos() 223 int newOpPos = getNextOpPos(opPos); in getNextStepPos() [all …]
|
D | XPathParser.java | 805 int opPos = m_ops.getOp(OpMap.MAPINDEX_LENGTH); in OrExpr() local 812 insertOp(opPos, 2, OpCodes.OP_OR); in OrExpr() 815 m_ops.setOp(opPos + OpMap.MAPINDEX_LENGTH, in OrExpr() 816 m_ops.getOp(OpMap.MAPINDEX_LENGTH) - opPos); in OrExpr() 832 int opPos = m_ops.getOp(OpMap.MAPINDEX_LENGTH); in AndExpr() local 839 insertOp(opPos, 2, OpCodes.OP_AND); in AndExpr() 842 m_ops.setOp(opPos + OpMap.MAPINDEX_LENGTH, in AndExpr() 843 m_ops.getOp(OpMap.MAPINDEX_LENGTH) - opPos); in AndExpr() 865 int opPos = m_ops.getOp(OpMap.MAPINDEX_LENGTH); in EqualityExpr() local 868 addPos = opPos; in EqualityExpr() [all …]
|
/external/apache-xml/src/main/java/org/apache/xpath/axes/ |
D | WalkerFactory.java | 159 Compiler compiler, int opPos, in newDTMIterator() argument 164 int firstStepPos = OpMap.getFirstChildPos(opPos); in newDTMIterator() 178 iter = new SelfIteratorNoPredicate(compiler, opPos, analysis); in newDTMIterator() 191 iter = new ChildIterator(compiler, opPos, analysis); in newDTMIterator() 199 iter = new ChildTestIterator(compiler, opPos, analysis); in newDTMIterator() 210 iter = new AttributeIterator(compiler, opPos, analysis); in newDTMIterator() 222 iter = new OneStepIteratorForward(compiler, opPos, analysis); in newDTMIterator() 231 iter = new OneStepIterator(compiler, opPos, analysis); in newDTMIterator() 256 iter = new DescendantIterator(compiler, opPos, analysis); in newDTMIterator() 267 iter = new WalkingIterator(compiler, opPos, analysis, true); in newDTMIterator() [all …]
|
D | UnionPathIterator.java | 156 public UnionPathIterator(Compiler compiler, int opPos) in UnionPathIterator() argument 162 opPos = OpMap.getFirstChildPos(opPos); in UnionPathIterator() 164 loadLocationPaths(compiler, opPos, 0); in UnionPathIterator() 179 public static LocPathIterator createUnionIterator(Compiler compiler, int opPos) in createUnionIterator() argument 186 UnionPathIterator upi = new UnionPathIterator(compiler, opPos); in createUnionIterator() 311 Compiler compiler, int opPos) throws javax.xml.transform.TransformerException in createDTMIterator() argument 313 LocPathIterator lpi = (LocPathIterator)WalkerFactory.newDTMIterator(compiler, opPos, in createDTMIterator() 329 protected void loadLocationPaths(Compiler compiler, int opPos, int count) in loadLocationPaths() argument 334 int steptype = compiler.getOp(opPos); in loadLocationPaths() 338 loadLocationPaths(compiler, compiler.getNextOpPos(opPos), count + 1); in loadLocationPaths() [all …]
|
D | BasicTestIterator.java | 73 protected BasicTestIterator(Compiler compiler, int opPos, int analysis) in BasicTestIterator() argument 76 super(compiler, opPos, analysis, false); in BasicTestIterator() 78 int firstStepPos = OpMap.getFirstChildPos(opPos); in BasicTestIterator() 112 Compiler compiler, int opPos, int analysis, boolean shouldLoadWalkers) in BasicTestIterator() argument 115 super(compiler, opPos, analysis, shouldLoadWalkers); in BasicTestIterator()
|
D | OneStepIteratorForward.java | 52 OneStepIteratorForward(Compiler compiler, int opPos, int analysis) in OneStepIteratorForward() argument 55 super(compiler, opPos, analysis); in OneStepIteratorForward() 56 int firstStepPos = OpMap.getFirstChildPos(opPos); in OneStepIteratorForward()
|
D | FilterExprWalker.java | 62 public void init(Compiler compiler, int opPos, int stepType) in init() argument 66 super.init(compiler, opPos, stepType); in init() 76 m_expr = compiler.compile(opPos); in init() 86 m_expr = compiler.compile(opPos + 2); in init()
|
D | AttributeIterator.java | 45 AttributeIterator(Compiler compiler, int opPos, int analysis) in AttributeIterator() argument 48 super(compiler, opPos, analysis); in AttributeIterator()
|
D | SelfIteratorNoPredicate.java | 47 SelfIteratorNoPredicate(Compiler compiler, int opPos, int analysis) in SelfIteratorNoPredicate() argument 50 super(compiler, opPos, analysis, false); in SelfIteratorNoPredicate()
|
D | OneStepIterator.java | 56 OneStepIterator(Compiler compiler, int opPos, int analysis) in OneStepIterator() argument 59 super(compiler, opPos, analysis); in OneStepIterator() 60 int firstStepPos = OpMap.getFirstChildPos(opPos); in OneStepIterator()
|
D | ChildIterator.java | 49 ChildIterator(Compiler compiler, int opPos, int analysis) in ChildIterator() argument 52 super(compiler, opPos, analysis, false); in ChildIterator()
|
D | WalkingIterator.java | 55 Compiler compiler, int opPos, int analysis, boolean shouldLoadWalkers) in WalkingIterator() argument 58 super(compiler, opPos, analysis, shouldLoadWalkers); in WalkingIterator() 60 int firstStepPos = OpMap.getFirstChildPos(opPos); in WalkingIterator()
|
D | ChildTestIterator.java | 54 ChildTestIterator(Compiler compiler, int opPos, int analysis) in ChildTestIterator() argument 57 super(compiler, opPos, analysis); in ChildTestIterator()
|
D | WalkingIteratorSorted.java | 69 Compiler compiler, int opPos, int analysis, boolean shouldLoadWalkers) in WalkingIteratorSorted() argument 72 super(compiler, opPos, analysis, shouldLoadWalkers); in WalkingIteratorSorted()
|
D | MatchPatternIterator.java | 74 MatchPatternIterator(Compiler compiler, int opPos, int analysis) in MatchPatternIterator() argument 78 super(compiler, opPos, analysis, false); in MatchPatternIterator() 80 int firstStepPos = OpMap.getFirstChildPos(opPos); in MatchPatternIterator()
|
D | DescendantIterator.java | 53 DescendantIterator(Compiler compiler, int opPos, int analysis) in DescendantIterator() argument 57 super(compiler, opPos, analysis, false); in DescendantIterator() 59 int firstStepPos = OpMap.getFirstChildPos(opPos); in DescendantIterator()
|
D | LocPathIterator.java | 88 protected LocPathIterator(Compiler compiler, int opPos, int analysis) in LocPathIterator() argument 91 this(compiler, opPos, analysis, true); in LocPathIterator() 110 Compiler compiler, int opPos, int analysis, boolean shouldLoadWalkers) in LocPathIterator() argument
|
D | AxesWalker.java | 71 public void init(Compiler compiler, int opPos, int stepType) in init() argument 75 initPredicateInfo(compiler, opPos); in init()
|
D | PredicatedNodeTest.java | 159 protected void initPredicateInfo(Compiler compiler, int opPos) in initPredicateInfo() argument 163 int pos = compiler.getFirstPredicateOpPos(opPos); in initPredicateInfo()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/ |
D | UnicodePropertySymbolTable.java | 61 int opPos = posNotEqual < posColon ? posNotEqual : posColon; in applyPropertyAlias() local 62 propertyValue = propertyValue.length() == 0 ? propertyName.substring(opPos+1) in applyPropertyAlias() 63 : propertyName.substring(opPos+1) + "=" + propertyValue; in applyPropertyAlias() 64 propertyName = propertyName.substring(0,opPos); in applyPropertyAlias()
|
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/util/ |
D | UnicodePropertySymbolTable.java | 60 int opPos = posNotEqual < posColon ? posNotEqual : posColon; in applyPropertyAlias() local 61 propertyValue = propertyValue.length() == 0 ? propertyName.substring(opPos+1) in applyPropertyAlias() 62 : propertyName.substring(opPos+1) + "=" + propertyValue; in applyPropertyAlias() 63 propertyName = propertyName.substring(0,opPos); in applyPropertyAlias()
|