/external/apache-xml/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
|
/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/apache-xml/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...] |
/external/webkit/Source/WebCore/xml/ |
XPathStep.h | 45 enum Axis { 79 Step(Axis, const NodeTest& nodeTest, const Vector<Predicate*>& predicates = Vector<Predicate*>()); 86 Axis axis() const { return m_axis; } function in class:WebCore::XPath::Step 97 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) 353 // Any chance it's an axis name? 357 //It might be an axis name. 358 Step::Axis axis; local 359 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...] |
/external/apache-xml/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...] |
/external/apache-xml/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);
|
/external/apache-xml/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...] |
/external/apache-xml/src/main/java/org/apache/xalan/transformer/ |
KeyIterator.java | 30 import org.apache.xml.dtm.Axis; 83 super(Axis.ALL);
|
/external/apache-xml/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 | 24 void SkColorMatrix::setRotate(Axis axis, SkScalar degrees) { 29 this->setSinCos(axis, S, C); 32 void SkColorMatrix::setSinCos(Axis axis, SkScalar sine, SkScalar cosine) { 33 SkASSERT((unsigned)axis < 3); 40 const uint8_t* index = gRotateIndex + axis * 4; 49 void SkColorMatrix::preRotate(Axis axis, SkScalar degrees) { 51 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...] |
/frameworks/base/core/java/android/widget/ |
GridLayout.java | 104 * If alignment was defined along a given axis then the component 233 final Axis horizontalAxis = new Axis(true); 234 final Axis verticalAxis = new Axis(false); 588 Axis axis = horizontal ? horizontalAxis : verticalAxis; local 590 boolean isAtEdge = leading ? (span.min == 0) : (span.max == axis.getCount()); 607 Axis axis = horizontal ? horizontalAxis : verticalAxis local 655 final Axis axis = horizontal ? horizontalAxis : verticalAxis; local 874 Axis axis = horizontal ? horizontalAxis : verticalAxis; local [all...] |