/external/cldr/tools/java/org/unicode/cldr/util/ |
NodeListIterator.java | 6 import org.w3c.dom.NodeList; 10 * This is a small helper class that wraps a NodeList and makes it support the Iterator interface. 19 * The NodeList to work on 21 private NodeList nodeList; 28 public NodeListIterator(NodeList aNodeList) { 29 nodeList = aNodeList; 34 return (currentPos < nodeList.getLength()); 39 return nodeList.item(currentPos++);
|
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/ |
LayoutUtils.java | 27 private static void recursivelyGather(ViewGroup currentNode, List<View> nodeList) { 28 nodeList.add(currentNode); 33 recursivelyGather((ViewGroup) view, nodeList); 35 nodeList.add(view); 52 public static void requestLayoutForAllNodes(List<View> nodeList) { 53 int count = nodeList.size(); 55 nodeList.get(i).requestLayout();
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/changes/ |
ListRemovalChange.java | 4 import com.github.javaparser.ast.NodeList; 22 NodeList<Node> nodeList = new NodeList<>(); 24 if (!(currentRawValue instanceof NodeList)){ 25 throw new IllegalStateException("Expected NodeList, found " + currentRawValue.getClass().getCanonicalName()); 27 NodeList<?> currentNodeList = (NodeList<?>)currentRawValue; 28 nodeList.addAll(currentNodeList); 29 nodeList.remove(index) [all...] |
ListAdditionChange.java | 4 import com.github.javaparser.ast.NodeList; 24 NodeList<Node> nodeList = new NodeList<>(); 26 if (!(currentRawValue instanceof NodeList)){ 27 throw new IllegalStateException("Expected NodeList, found " + currentRawValue.getClass().getCanonicalName()); 29 NodeList<?> currentNodeList = (NodeList<?>)(currentRawValue); 30 nodeList.addAll(currentNodeList); 31 nodeList.add(index, nodeAdded) [all...] |
ListReplacementChange.java | 4 import com.github.javaparser.ast.NodeList; 27 NodeList nodeList = new NodeList(); 33 if (!(currentRawValue instanceof NodeList)){ 34 throw new IllegalStateException("Expected NodeList, found " + currentRawValue.getClass().getCanonicalName()); 36 NodeList currentNodeList = (NodeList)currentRawValue; 37 nodeList.addAll(currentNodeList); 38 nodeList.set(index, newValue) [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/parser/ |
Parser.java | 19 protected ArrayList nodeList; 42 this.nodeList = listNode; 46 this.stack.add(new State(numstate, this.nodeList)); 52 s.nodes = this.nodeList; 875 @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); 883 nodeList.add(pcommandNode1); 884 return nodeList; 892 @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); 897 nodeList.add(pcommandNode1); 898 return nodeList; [all...] |
/external/deqp-deps/glslang/hlsl/ |
hlslGrammar.h | 74 bool acceptFullySpecifiedType(TType&, TIntermNode*& nodeList, const TAttributes&, bool forbidDeclarators = false); 78 bool acceptType(TType&, TIntermNode*& nodeList); 94 bool acceptStruct(TType&, TIntermNode*& nodeList); 95 bool acceptStructDeclarationList(TTypeList*&, TIntermNode*& nodeList, TVector<TFunctionDeclarator>&); 96 bool acceptMemberFunctionDefinition(TIntermNode*& nodeList, const TType&, TString& memberName, 100 bool acceptFunctionDefinition(TFunctionDeclarator&, TIntermNode*& nodeList, TVector<HlslToken>* deferredTokens); 101 bool acceptFunctionBody(TFunctionDeclarator& declarator, TIntermNode*& nodeList);
|
hlslGrammar.cpp | 153 bool HlslGrammar::acceptDeclarationList(TIntermNode*& nodeList) 164 if (! acceptDeclaration(nodeList)) 323 // into the passed-in nodeList. 325 // If 'nodeList' is passed in as non-null, it must be an aggregate to extend for 327 // node in generated here, that is want is returned in nodeList. 329 bool HlslGrammar::acceptDeclaration(TIntermNode*& nodeList) 343 if (!acceptDeclarationList(nodeList)) { 377 if (! acceptFullySpecifiedType(declaredType, nodeList, declarator.attributes, forbidDeclarators)) 420 return acceptFunctionDefinition(declarator, nodeList, nullptr); 511 // Add the initializers' aggregate to the nodeList we were handed [all...] |
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/concretesyntaxmodel/ |
CsmList.java | 25 import com.github.javaparser.ast.NodeList; 79 NodeList nodeList = property.getValueAsMultipleReference(node); 80 if (nodeList == null) { 83 if (!nodeList.isEmpty() && preceeding != null) { 86 for (int i = 0; i < nodeList.size(); i++) { 90 ConcreteSyntaxModel.genericPrettyPrint(nodeList.get(i), printer); 91 if (separatorPost != null && i != (nodeList.size() - 1)) { 95 if (!nodeList.isEmpty() && following != null) {
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/ |
LexicalDifferenceCalculator.java | 6 import com.github.javaparser.ast.NodeList; 89 Difference calculateListRemovalDifference(ObservableProperty observableProperty, NodeList nodeList, int index) { 90 Node container = nodeList.getParentNodeForChildren(); 93 CalculatedSyntaxModel after = calculatedSyntaxModelAfterListRemoval(element, observableProperty, nodeList, index); 97 Difference calculateListAdditionDifference(ObservableProperty observableProperty, NodeList nodeList, int index, Node nodeAdded) { 98 Node container = nodeList.getParentNodeForChildren(); 101 CalculatedSyntaxModel after = calculatedSyntaxModelAfterListAddition(element, observableProperty, nodeList, index, nodeAdded); 105 Difference calculateListReplacementDifference(ObservableProperty observableProperty, NodeList nodeList, int index, Node newValue) [all...] |
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/ |
NodeWithTypeArguments.java | 25 import com.github.javaparser.ast.NodeList; 31 import static com.github.javaparser.ast.NodeList.nodeList; 46 Optional<NodeList<Type>> getTypeArguments(); 53 N setTypeArguments(NodeList<Type> typeArguments); 68 return setTypeArguments(new NodeList<>()); 76 return setTypeArguments((NodeList<Type>) null); 81 return setTypeArguments(nodeList(typeArguments));
|
NodeWithStatements.java | 26 import com.github.javaparser.ast.NodeList;
38 NodeList<Statement> getStatements();
50 N setStatements(final NodeList<Statement> statements);
104 default N copyStatements(NodeList<Statement> nodeList) {
105 for (Statement n : nodeList) {
|
/frameworks/av/media/libstagefright/omx/1.0/ |
OmxStore.cpp | 48 const hidl_vec<IOmx::ComponentInfo> &nodeList) { 50 for (const IOmx::ComponentInfo& info : nodeList) { 84 hidl_vec<NodeInfo>& nodeList = role.nodes; 85 nodeList.resize(rolePair.second.nodeList.size()); 87 for (const auto& nodePair : rolePair.second.nodeList) { 108 nodeList[j] = std::move(node); 111 nodeList.resize(j);
|
/external/apache-xml/src/main/java/org/apache/xpath/objects/ |
XNodeSetForDOM.java | 28 import org.w3c.dom.NodeList; 33 * Node object, NodeList object, or NodeIterator. 61 public XNodeSetForDOM(NodeList nodeList, XPathContext xctxt) 64 m_origObj = nodeList; 69 // m_obj=new org.apache.xpath.NodeSetDTM(nodeList, xctxt); 70 org.apache.xpath.NodeSetDTM nsdtm=new org.apache.xpath.NodeSetDTM(nodeList, xctxt); 101 * Cast result object to a nodelist. Always issues an error. 114 * Cast result object to a nodelist. Always issues an error. 120 public NodeList nodelist() throws javax.xml.transform.TransformerExceptio method in class:XNodeSetForDOM [all...] |
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/ |
NodeList.java | 43 * This way, a NodeList does not create an extra level inside the AST. 47 public class NodeList<N extends Node> implements List<N>, Iterable<N>, HasParentNode<NodeList<N>>, Visitable, Observable { 55 public NodeList() { 59 public NodeList(Collection<N> n) { 63 public NodeList(N... n) { 99 public static <X extends Node> NodeList<X> nodeList(X... nodes) { 100 final NodeList<X> nodeList = new NodeList<>() [all...] |
/frameworks/av/media/libmedia/omx/1.0/ |
WOmx.cpp | 45 hidl_vec<IOmx::ComponentInfo> const& nodeList) { 48 for (size_t i = 0; i < nodeList.size(); ++i) { 51 convertTo(&*newInfo, nodeList[i]);
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/ |
NodeListTest.java | 39 import static com.github.javaparser.ast.NodeList.nodeList; 59 public void listChange(NodeList observedNode, ListChangeType type, int index, Node nodeAddedOrRemoved) { 64 public void listReplacement(NodeList observedNode, int index, Node oldNode, Node newNode) { 254 final NodeList<Name> list = nodeList(new Name("a"), new Name("b"), new Name("c")); 267 final NodeList<Name> list = nodeList(new Name("abc"), new Name("bcd"), new Name("cde")); 274 final NodeList<Name> list = nodeList(new Name("abc"), new Name("bcd"), new Name("cde")) [all...] |
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
CurrentApiHelper.java | 26 import org.w3c.dom.NodeList; 86 NodeList nodes = classElement.getElementsByTagName(TAG_METHOD); 136 NodeList nodeList = parent.getElementsByTagName(childTag); 137 if (nodeList != null && nodeList.getLength() > 0) { 138 for (int i = 0; i < nodeList.getLength(); ++i) { 139 Element el = (Element) nodeList.item(i); 149 NodeList nodes = methodElement.getElementsByTagName(TAG_PARAMETER);
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/expr/ |
VariableDeclarationExpr.java | 26 import com.github.javaparser.ast.NodeList; 43 import static com.github.javaparser.ast.NodeList.nodeList; 65 private NodeList<AnnotationExpr> annotations; 68 private NodeList<VariableDeclarator> variables; 71 this(null, EnumSet.noneOf(Modifier.class), new NodeList<>(), new NodeList<>()); 75 this(null, EnumSet.noneOf(Modifier.class), new NodeList<>(), nodeList(new VariableDeclarator(type, variableName))); 79 this(null, EnumSet.noneOf(Modifier.class), new NodeList<>(), nodeList(var)) [all...] |
/frameworks/av/media/libstagefright/xmlparser/include/media/stagefright/xmlparser/ |
MediaCodecsXmlParser.h | 89 std::multimap<size_t, NodeInfo> nodeList;
|
/external/icu/icu4c/source/tools/ctestfw/ |
ctest.c | 80 const TestNode** nodeList, 324 * @param nodeList an array of MAXTESTS depth that's used for keeping track of where we are. nodeList[depth] points to the 'parent' at depth depth. 329 const TestNode** nodeList, 348 nodeList[depth++] = root; 354 strcat(pathToFunction, nodeList[i]->name); 357 strcat(pathToFunction, nodeList[i]->name); /* including 'root' */ 440 log_testinfo("---%s%c\n",pathToFunction, nodeList[i]->test?' ':TEST_SEPARATOR ); 454 iterateTestsWithLevel ( root->child, depth, nodeList, mode ); 486 iterateTestsWithLevel ( root->sibling, depth, nodeList, mode ) [all...] |
/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
nv50_ir_graph.cpp | 412 std::list<Node *> nodeList; 422 nodeList.push_front(t); 429 for (std::list<Node *>::iterator n = nodeList.begin(); 430 n != nodeList.end(); ++n) { 435 n = nodeList.erase(n);
|
/external/apache-xml/src/main/java/org/apache/xpath/ |
NodeSetDTM.java | 32 import org.w3c.dom.NodeList; 38 * NodeList, or NodeIterator. However, in order for it to 39 * act as a NodeVector or NodeList, it's required that 53 * <p>Thought: Should NodeSetDTM really implement NodeList and NodeIterator, 61 implements /* NodeList, NodeIterator, */ DTMIterator, 67 * Create an empty nodelist. 90 // * given nodelist into it. 92 // * @param nodelist List of Nodes to be made members of the new set. 94 // public NodeSetDTM(NodeList nodelist) [all...] |
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
DTMNodeProxy.java | 41 import org.w3c.dom.NodeList; 363 public final NodeList getChildNodes() 743 public final NodeList getElementsByTagName(String tagname) 752 NodeList nodeList = retNode.getChildNodes(); 753 for (int i = 0; i < nodeList.getLength(); i++) 755 traverseChildren(listVector, nodeList.item(i), tagname, 769 return (NodeList) nodeSet; 800 NodeList nodeList = tempNode.getChildNodes() [all...] |
/external/deqp/external/openglcts/modules/common/ |
glcShaderLibrary.cpp | 1098 vector<tcu::TestNode*> nodeList; 1105 parseShaderCase(nodeList); 1107 parseShaderGroup(nodeList); 1116 return nodeList;
|