Home
last modified time | relevance | path

Searched refs:nodeList (Results 1 – 25 of 38) sorted by relevance

12

/external/jsilver/src/com/google/clearsilver/jsilver/syntax/parser/
DParser.java19 protected ArrayList nodeList; field in Parser
42 this.nodeList = listNode; in push()
46 this.stack.add(new State(numstate, this.nodeList)); in push()
52 s.nodes = this.nodeList; in push()
875 @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); in new0() local
883 nodeList.add(pcommandNode1); in new0()
884 return nodeList; in new0()
892 @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); in new1() local
897 nodeList.add(pcommandNode1); in new1()
898 return nodeList; in new1()
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/
DLexicalDifferenceCalculator.java89 …lculateListRemovalDifference(ObservableProperty observableProperty, NodeList nodeList, int index) { in calculateListRemovalDifference() argument
90 Node container = nodeList.getParentNodeForChildren(); in calculateListRemovalDifference()
93 …xModel after = calculatedSyntaxModelAfterListRemoval(element, observableProperty, nodeList, index); in calculateListRemovalDifference()
97 …eListAdditionDifference(ObservableProperty observableProperty, NodeList nodeList, int index, Node … in calculateListAdditionDifference() argument
98 Node container = nodeList.getParentNodeForChildren(); in calculateListAdditionDifference()
101 …r = calculatedSyntaxModelAfterListAddition(element, observableProperty, nodeList, index, nodeAdded… in calculateListAdditionDifference()
105 …stReplacementDifference(ObservableProperty observableProperty, NodeList nodeList, int index, Node … in calculateListReplacementDifference() argument
106 Node container = nodeList.getParentNodeForChildren(); in calculateListReplacementDifference()
109 … calculatedSyntaxModelAfterListReplacement(element, observableProperty, nodeList, index, newValue); in calculateListReplacementDifference()
163 NodeList nodeList; in calculatedSyntaxModelForNode() local
[all …]
/external/guava/android/guava-tests/test/com/google/common/graph/
DNetworkMutationTest.java63 ArrayList<Integer> nodeList = new ArrayList<>(network.nodes()); in testNetworkMutation() local
68 getRandomElement(nodeList, gen), getRandomElement(nodeList, gen), new Object())) in testNetworkMutation()
88 Collections.shuffle(nodeList, gen); in testNetworkMutation()
91 assertThat(network.removeNode(nodeList.get(i))).isTrue(); in testNetworkMutation()
99 assertThat(network.removeNode(nodeList.get(i))).isTrue(); in testNetworkMutation()
106 Collections.shuffle(nodeList, gen); in testNetworkMutation()
107 for (Integer node : nodeList) { in testNetworkMutation()
114 getRandomElement(nodeList, gen), getRandomElement(nodeList, gen), edge)) in testNetworkMutation()
DGraphMutationTest.java62 ArrayList<Integer> nodeList = new ArrayList<>(graph.nodes()); in testGraphMutation() local
64 graph.putEdge(getRandomElement(nodeList, gen), getRandomElement(nodeList, gen)); in testGraphMutation()
83 Collections.shuffle(nodeList, gen); in testGraphMutation()
86 assertThat(graph.removeNode(nodeList.get(i))).isTrue(); in testGraphMutation()
94 assertThat(graph.removeNode(nodeList.get(i))).isTrue(); in testGraphMutation()
101 Collections.shuffle(nodeList, gen); in testGraphMutation()
102 for (Integer node : nodeList) { in testGraphMutation()
/external/guava/guava-tests/test/com/google/common/graph/
DNetworkMutationTest.java63 ArrayList<Integer> nodeList = new ArrayList<>(network.nodes()); in testNetworkMutation() local
68 getRandomElement(nodeList, gen), getRandomElement(nodeList, gen), new Object())) in testNetworkMutation()
88 Collections.shuffle(nodeList, gen); in testNetworkMutation()
91 assertThat(network.removeNode(nodeList.get(i))).isTrue(); in testNetworkMutation()
99 assertThat(network.removeNode(nodeList.get(i))).isTrue(); in testNetworkMutation()
106 Collections.shuffle(nodeList, gen); in testNetworkMutation()
107 for (Integer node : nodeList) { in testNetworkMutation()
114 getRandomElement(nodeList, gen), getRandomElement(nodeList, gen), edge)) in testNetworkMutation()
DGraphMutationTest.java62 ArrayList<Integer> nodeList = new ArrayList<>(graph.nodes()); in testGraphMutation() local
64 graph.putEdge(getRandomElement(nodeList, gen), getRandomElement(nodeList, gen)); in testGraphMutation()
83 Collections.shuffle(nodeList, gen); in testGraphMutation()
86 assertThat(graph.removeNode(nodeList.get(i))).isTrue(); in testGraphMutation()
94 assertThat(graph.removeNode(nodeList.get(i))).isTrue(); in testGraphMutation()
101 Collections.shuffle(nodeList, gen); in testGraphMutation()
102 for (Integer node : nodeList) { in testGraphMutation()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/changes/
DListRemovalChange.java22 NodeList<Node> nodeList = new NodeList<>(); in getValue() local
29 nodeList.setParentNode(node); in getValue()
30 nodeList.addAll(currentNodeList); in getValue()
31 nodeList.remove(index); in getValue()
32 return nodeList; in getValue()
DListAdditionChange.java24 NodeList<Node> nodeList = new NodeList<>(); in getValue() local
30 nodeList.addAll(currentNodeList); in getValue()
31 nodeList.add(index, nodeAdded); in getValue()
32 return nodeList; in getValue()
DListReplacementChange.java26 NodeList nodeList = new NodeList(); in getValue() local
36 nodeList.addAll(currentNodeList); in getValue()
37 nodeList.set(index, newValue); in getValue()
38 return nodeList; in getValue()
/external/deqp-deps/glslang/glslang/HLSL/
DhlslGrammar.h74 …bool acceptFullySpecifiedType(TType&, TIntermNode*& nodeList, const TAttributes&, bool forbidDecla…
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>* de…
101 bool acceptFunctionBody(TFunctionDeclarator& declarator, TIntermNode*& nodeList);
DhlslGrammar.cpp153 bool HlslGrammar::acceptDeclarationList(TIntermNode*& nodeList) in acceptDeclarationList() argument
164 if (! acceptDeclaration(nodeList)) in acceptDeclarationList()
329 bool HlslGrammar::acceptDeclaration(TIntermNode*& nodeList) in acceptDeclaration() argument
343 if (!acceptDeclarationList(nodeList)) { in acceptDeclaration()
377 … if (! acceptFullySpecifiedType(declaredType, nodeList, declarator.attributes, forbidDeclarators)) in acceptDeclaration()
430 return acceptFunctionDefinition(declarator, nodeList, nullptr); in acceptDeclaration()
523 if (nodeList) in acceptDeclaration()
524 nodeList = intermediate.growAggregate(nodeList, initializers); in acceptDeclaration()
526 nodeList = initializers; in acceptDeclaration()
598 TIntermNode* nodeList = nullptr; in acceptFullySpecifiedType() local
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/glslang/HLSL/
DhlslGrammar.h74 …bool acceptFullySpecifiedType(TType&, TIntermNode*& nodeList, const TAttributes&, bool forbidDecla…
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>* de…
101 bool acceptFunctionBody(TFunctionDeclarator& declarator, TIntermNode*& nodeList);
DhlslGrammar.cpp153 bool HlslGrammar::acceptDeclarationList(TIntermNode*& nodeList) in acceptDeclarationList() argument
164 if (! acceptDeclaration(nodeList)) { in acceptDeclarationList()
331 bool HlslGrammar::acceptDeclaration(TIntermNode*& nodeList) in acceptDeclaration() argument
345 if (!acceptDeclarationList(nodeList)) { in acceptDeclaration()
379 … if (! acceptFullySpecifiedType(declaredType, nodeList, declarator.attributes, forbidDeclarators)) in acceptDeclaration()
432 return acceptFunctionDefinition(declarator, nodeList, nullptr); in acceptDeclaration()
525 if (nodeList) in acceptDeclaration()
526 nodeList = intermediate.growAggregate(nodeList, initializers); in acceptDeclaration()
528 nodeList = initializers; in acceptDeclaration()
600 TIntermNode* nodeList = nullptr; in acceptFullySpecifiedType() local
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/concretesyntaxmodel/
DCsmList.java79 NodeList nodeList = property.getValueAsMultipleReference(node); in prettyPrint() local
80 if (nodeList == null) { in prettyPrint()
83 if (!nodeList.isEmpty() && preceeding != null) { in prettyPrint()
86 for (int i = 0; i < nodeList.size(); i++) { in prettyPrint()
90 ConcreteSyntaxModel.genericPrettyPrint(nodeList.get(i), printer); in prettyPrint()
91 if (separatorPost != null && i != (nodeList.size() - 1)) { in prettyPrint()
95 if (!nodeList.isEmpty() && following != null) { in prettyPrint()
/external/cldr/tools/java/org/unicode/cldr/util/
DNodeListIterator.java21 private NodeList nodeList; field in NodeListIterator
29 nodeList = aNodeList; in NodeListIterator()
34 return (currentPos < nodeList.getLength()); in hasNext()
39 return nodeList.item(currentPos++); in next()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/
DNodeList.java100 public static <X extends Node> NodeList<X> nodeList(X... nodes) { in nodeList() method in NodeList
101 final NodeList<X> nodeList = new NodeList<>(); in nodeList() local
102 Collections.addAll(nodeList, nodes); in nodeList()
103 return nodeList; in nodeList()
106 public static <X extends Node> NodeList<X> nodeList(Collection<X> nodes) { in nodeList() method in NodeList
107 final NodeList<X> nodeList = new NodeList<>(); in nodeList() local
108 nodeList.addAll(nodes); in nodeList()
109 return nodeList; in nodeList()
112 public static <X extends Node> NodeList<X> nodeList(NodeList<X> nodes) { in nodeList() method in NodeList
113 final NodeList<X> nodeList = new NodeList<>(); in nodeList() local
[all …]
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/
DNodeListTest.java38 import static com.github.javaparser.ast.NodeList.nodeList;
251 final NodeList<Name> list = nodeList(new Name("a"), new Name("b"), new Name("c"));
264 final NodeList<Name> list = nodeList(new Name("abc"), new Name("bcd"), new Name("cde"));
271 final NodeList<Name> list = nodeList(new Name("abc"), new Name("bcd"), new Name("cde"));
280 final NodeList<Name> list = nodeList(new Name("abc"), new Name("bcd"), new Name("cde"));
290 final NodeList<Name> list = nodeList(new Name("abc"), n, new Name("cde"));
300 final NodeList<Name> list = nodeList(new Name("abc"), n, new Name("cde"));
310 final NodeList<Name> list = nodeList(abc, new Name("bcd"), new Name("cde"));
320 final NodeList<Name> list = nodeList(new Name("abc"), new Name("bcd"), cde);
/external/apache-xml/src/main/java/org/apache/xpath/objects/
DXNodeSetForDOM.java61 public XNodeSetForDOM(NodeList nodeList, XPathContext xctxt) in XNodeSetForDOM() argument
64 m_origObj = nodeList; in XNodeSetForDOM()
70 org.apache.xpath.NodeSetDTM nsdtm=new org.apache.xpath.NodeSetDTM(nodeList, xctxt); in XNodeSetForDOM()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/expr/
DVariableDeclarationExpr.java41 import static com.github.javaparser.ast.NodeList.nodeList;
73 …this(null, new NodeList<>(), new NodeList<>(), nodeList(new VariableDeclarator(type, variableName)… in VariableDeclarationExpr()
77 this(null, new NodeList<>(), new NodeList<>(), nodeList(var)); in VariableDeclarationExpr()
81 …ect(Collectors.toCollection(() -> new NodeList<>())), new NodeList<>(), nodeList(new VariableDecla… in VariableDeclarationExpr()
85 …ifiers).collect(Collectors.toCollection(() -> new NodeList<>())), new NodeList<>(), nodeList(var)); in VariableDeclarationExpr()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/
DNodeWithTypeArguments.java31 import static com.github.javaparser.ast.NodeList.nodeList;
83 return setTypeArguments(nodeList(typeArguments)); in setTypeArguments()
DNodeWithStatements.java107 default N copyStatements(NodeList<Statement> nodeList) { in copyStatements() argument
108 for (Statement n : nodeList) { in copyStatements()
/external/icu/icu4c/source/tools/ctestfw/
Dctest.c105 const TestNode** nodeList,
354 const TestNode** nodeList, in iterateTestsWithLevel() argument
373 nodeList[depth++] = root; in iterateTestsWithLevel()
379 strcat(pathToFunction, nodeList[i]->name); in iterateTestsWithLevel()
382 strcat(pathToFunction, nodeList[i]->name); /* including 'root' */ in iterateTestsWithLevel()
465 log_testinfo("---%s%c\n",pathToFunction, nodeList[i]->test?' ':TEST_SEPARATOR ); in iterateTestsWithLevel()
479 iterateTestsWithLevel ( root->child, depth, nodeList, mode ); in iterateTestsWithLevel()
511 iterateTestsWithLevel ( root->sibling, depth, nodeList, mode ); in iterateTestsWithLevel()
521 const TestNode *nodeList[MAXTESTS]; in showTests() local
526 iterateTestsWithLevel ( root, 0, nodeList, SHOWTESTS ); in showTests()
[all …]
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
DDTMNodeProxy.java752 NodeList nodeList = retNode.getChildNodes(); in getElementsByTagName() local
753 for (int i = 0; i < nodeList.getLength(); i++) in getElementsByTagName()
755 traverseChildren(listVector, nodeList.item(i), tagname, in getElementsByTagName()
800 NodeList nodeList = tempNode.getChildNodes(); in traverseChildren() local
801 for (int i = 0; i < nodeList.getLength(); i++) in traverseChildren()
803 traverseChildren(listVector, nodeList.item(i), tagname, in traverseChildren()
877 NodeList nodeList = retNode.getChildNodes(); in getElementsByTagNameNS() local
878 for(int i = 0; i < nodeList.getLength(); i++) in getElementsByTagNameNS()
880 …traverseChildren(listVector, nodeList.item(i), namespaceURI, localName, isNamespaceURIWildCard, is… in getElementsByTagNameNS()
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_graph.cpp406 std::list<Node *> nodeList; in findLightestPathWeight() local
416 nodeList.push_front(t); in findLightestPathWeight()
423 for (std::list<Node *>::iterator n = nodeList.begin(); in findLightestPathWeight()
424 n != nodeList.end(); ++n) { in findLightestPathWeight()
429 n = nodeList.erase(n); in findLightestPathWeight()
/external/escapevelocity/src/main/java/com/google/escapevelocity/
DReparser.java149 ImmutableList.Builder<Node> nodeList = ImmutableList.builder(); in parseTo() local
168 nodeList.add(parsed); in parseTo()
170 return Node.cons(forWhat.resourceName, forWhat.lineNumber, nodeList.build()); in parseTo()

12