HomeSort by relevance Sort by last modified time
    Searched refs:Axis (Results 1 - 25 of 30) sorted by null

1 2

  /libcore/luni/src/main/java/org/apache/xpath/axes/
WalkingIteratorSorted.java 23 import org.apache.xml.dtm.Axis;
104 int axis = walker.getAxis(); local
108 boolean isSimpleDownAxis = ((axis == Axis.CHILD)
109 || (axis == Axis.SELF)
110 || (axis == Axis.ROOT));
113 if(isSimpleDownAxis || (axis == -1))
120 if(walker.isDocOrdered() && (axis == Axis.DESCENDANT ||
    [all...]
WalkerFactory.java 24 import org.apache.xml.dtm.Axis;
310 return Axis.FOLLOWING;
312 return Axis.FOLLOWINGSIBLING;
314 return Axis.PRECEDING;
316 return Axis.PRECEDINGSIBLING;
318 return Axis.PARENT;
320 return Axis.NAMESPACE;
322 return Axis.ANCESTOR;
324 return Axis.ANCESTORORSELF;
326 return Axis.ATTRIBUTE
857 int axis = Axis.SELF; local
990 int axis, predicateAxis; local
    [all...]
ChildTestIterator.java 23 import org.apache.xml.dtm.Axis;
77 * @return The next node on the axis, or DTM.NULL.
127 m_traverser = m_cdtm.getAxisTraverser(Axis.CHILD);
150 * Returns the axis being iterated, if it is known.
152 * @return Axis.CHILD, etc., or -1 if the axis is not known or is of multiple
157 return org.apache.xml.dtm.Axis.CHILD;
AttributeIterator.java 63 * Returns the axis being iterated, if it is known.
65 * @return Axis.CHILD, etc., or -1 if the axis is not known or is of multiple
70 return org.apache.xml.dtm.Axis.ATTRIBUTE;
MatchPatternIterator.java 23 import org.apache.xml.dtm.Axis;
37 * filtered iteration over the tree, evaluating each node in a super axis
49 /** The traversal axis from where the nodes will be filtered. */
52 /** The DTM inner traversal class, that corresponds to the super axis. */
123 m_superAxis = Axis.ALL;
127 m_superAxis = Axis.DESCENDANTSFROMROOT;
134 m_superAxis = Axis.ALLFROMNODE;
138 m_superAxis = Axis.DESCENDANTORSELF;
143 m_superAxis = Axis.ALL;
147 System.out.println("axis: "+Axis.getNames(m_superAxis))
    [all...]
DescendantIterator.java 23 import org.apache.xml.dtm.Axis;
104 m_axis = Axis.DESCENDANTSORSELFFROMROOT;
106 m_axis = Axis.DESCENDANTSFROMROOT;
109 m_axis = Axis.DESCENDANTORSELF;
111 m_axis = Axis.DESCENDANT;
135 m_axis = Axis.DESCENDANTSORSELFFROMROOT;
345 * Returns the axis being iterated, if it is known.
347 * @return Axis.CHILD, etc., or -1 if the axis is not known or is of multiple
359 /** The axis that we are traversing. *
    [all...]
ChildIterator.java 110 * Returns the axis being iterated, if it is known.
112 * @return Axis.CHILD, etc., or -1 if the axis is not known or is of multiple
117 return org.apache.xml.dtm.Axis.CHILD;
FilterExprIteratorSimple.java 23 import org.apache.xml.dtm.Axis;
300 * Returns the axis being iterated, if it is known.
302 * @return Axis.CHILD, etc., or -1 if the axis is not known or is of multiple
310 return Axis.FILTEREDLIST;
FilterExprWalker.java 23 import org.apache.xml.dtm.Axis;
50 super(locPathIterator, Axis.FILTEREDLIST);
287 * Returns the axis being iterated, if it is known.
289 * @return Axis.CHILD, etc., or -1 if the axis is not known or is of multiple
UnionPathIterator.java 23 import org.apache.xml.dtm.Axis;
193 if(lpi.getAxis() != Axis.CHILD)
480 * Returns the axis being iterated, if it is known.
482 * @return Axis.CHILD, etc., or -1 if the axis is not known or is of multiple
  /external/skia/include/effects/
SkColorMatrix.h 34 enum Axis {
39 void setRotate(Axis, SkScalar degrees);
40 void setSinCos(Axis, SkScalar sine, SkScalar cosine);
41 void preRotate(Axis, SkScalar degrees);
42 void postRotate(Axis, SkScalar degrees);
  /external/webkit/WebCore/xml/
XPathStep.h 44 enum Axis {
77 Step(Axis, const NodeTest& nodeTest, const Vector<Predicate*>& predicates = Vector<Predicate*>());
84 Axis axis() const { return m_axis; } function in class:WebCore::XPath::Step
95 Axis m_axis;
XPathParser.h 50 Step::Axis axis; member in struct:WebCore::XPath::Token
56 Token(int t, Step::Axis v): type(t), axis(v) {}
XPathParser.cpp 57 typedef HashMap<String, Step::Axis> AxisNamesMap;
80 Step::Axis axis; member in struct:WebCore::XPath::AxisName
98 axisNames.set(axisNameList[i].name, axisNameList[i].axis);
101 static bool isAxisName(const String& name, Step::Axis& type)
355 // Any chance it's an axis name?
359 //It might be an axis name.
360 Step::Axis axis; local
361 if (isAxisName(name, axis))
    [all...]
XPathStep.cpp 44 Step::Step(Axis axis, const NodeTest& nodeTest, const Vector<Predicate*>& predicates)
45 : m_axis(axis)
143 static inline Node::NodeType primaryNodeType(Step::Axis axis)
145 switch (axis) {
156 static inline bool nodeMatchesBasicTest(Node* node, Step::Axis axis, const Step::NodeTest& nodeTest)
173 if (axis == Step::AttributeAxis) {
176 // In XPath land, namespace nodes are not accessible on the attribute axis
    [all...]
  /libcore/luni/src/main/java/org/apache/xml/dtm/
Axis.java 19 * $Id: Axis.java 468653 2006-10-28 07:07:05Z minchau $
30 public final class Axis
34 * The ancestor axis contains the ancestors of the context node;
36 * node and the parent's parent and so on; thus, the ancestor axis will
42 * the ancestor-or-self axis contains the context node and the ancestors of
43 * the context node; thus, the ancestor axis will always include the
49 * the attribute axis contains the attributes of the context node; the axis
54 /** The child axis contains the children of the context node. */
58 * The descendant axis contains the descendants of the context node
    [all...]
  /libcore/luni/src/main/java/org/apache/xpath/patterns/
ContextMatchStepPattern.java 23 import org.apache.xml.dtm.Axis;
41 public ContextMatchStepPattern(int axis, int paxis)
43 super(DTMFilter.SHOW_ALL, axis, paxis);
99 int axis = m_axis; local
101 boolean needToTraverseAttrs = WalkerFactory.isDownwardAxisOfMany(axis);
105 if((Axis.PRECEDING == axis) && iterRootIsAttr)
107 axis = Axis.PRECEDINGANDANCESTOR;
110 traverser = dtm.getAxisTraverser(axis);
    [all...]
StepPattern.java 23 import org.apache.xml.dtm.Axis;
43 /** The axis for this test. */
53 * @param axis The Axis for this test, one of of Axes.ANCESTORORSELF, etc.
56 public StepPattern(int whatToShow, String namespace, String name, int axis,
62 m_axis = axis;
70 * @param axis The Axis for this test, one of of Axes.ANCESTORORSELF, etc.
73 public StepPattern(int whatToShow, int axis, int axisForPredicate)
78 m_axis = axis;
    [all...]
  /libcore/luni/src/main/java/org/apache/xpath/objects/
XObjectFactory.java 23 import org.apache.xml.dtm.Axis;
109 DTMAxisIterator iter = dtm.getAxisIterator(Axis.SELF);
111 DTMIterator iterator = new OneStepIterator(iter, Axis.SELF);
125 DTMIterator iterator = new OneStepIterator(iter, Axis.SELF);
  /libcore/luni/src/main/java/org/apache/xml/dtm/ref/
DTMDefaultBaseTraversers.java 95 * over an XPath axis, though perhaps not in document order.
97 * @param axis One of Axes.ANCESTORORSELF, etc.
99 * @return A DTMAxisTraverser, or null if the given axis isn't supported.
101 public DTMAxisTraverser getAxisTraverser(final int axis)
108 m_traversers = new DTMAxisTraverser[Axis.getNamesLength()];
113 traverser = m_traversers[axis]; // Share/reuse existing traverser
119 switch (axis) // Generate new traverser
121 case Axis.ANCESTOR :
124 case Axis.ANCESTORORSELF :
127 case Axis.ATTRIBUTE
    [all...]
DTMDefaultBaseIterators.java 89 * Get an iterator that can navigate over an XPath Axis, predicated by
94 * @param axis One of Axes.ANCESTORORSELF, etc.
97 * @return A DTMAxisIterator, or null if the given axis isn't supported.
99 public DTMAxisIterator getTypedAxisIterator(int axis, int type)
113 // iterator = new FilterIterator(getAxisIterator(axis),
118 switch (axis)
120 case Axis.SELF :
123 case Axis.CHILD :
126 case Axis.PARENT :
128 case Axis.ANCESTOR
    [all...]
  /libcore/luni/src/main/java/org/apache/xalan/transformer/
KeyIterator.java 30 import org.apache.xml.dtm.Axis;
83 super(Axis.ALL);
  /libcore/luni/src/main/java/org/apache/xpath/compiler/
Compiler.java 28 import org.apache.xml.dtm.Axis;
851 pattern = new FunctionPattern(compileFunction(opPos), Axis.PARENT, Axis.CHILD);
861 Axis.PARENT, Axis.CHILD);
871 Axis.PARENT, Axis.ATTRIBUTE);
885 Axis.ANCESTOR, Axis.CHILD);
895 Axis.PARENT, Axis.CHILD)
    [all...]
  /external/skia/src/utils/
SkColorMatrix.cpp 26 void SkColorMatrix::setRotate(Axis axis, SkScalar degrees)
32 this->setSinCos(axis, S, C);
35 void SkColorMatrix::setSinCos(Axis axis, SkScalar sine, SkScalar cosine)
37 SkASSERT((unsigned)axis < 3);
44 const uint8_t* index = gRotateIndex + axis * 4;
53 void SkColorMatrix::preRotate(Axis axis, SkScalar degrees)
56 tmp.setRotate(axis, degrees)
    [all...]
  /external/guava/src/com/google/common/collect/
Sets.java 817 final ImmutableList<Axis> axes;
822 ImmutableList.Builder<Axis> builder = ImmutableList.builder();
824 Axis axis = new Axis(set, (int) dividend); // check overflow at end
825 builder.add(axis);
826 dividend *= axis.size();
    [all...]

Completed in 516 milliseconds

1 2