Home
last modified time | relevance | path

Searched refs:newNode (Results 1 – 25 of 47) sorted by relevance

12

/libcore/dom/src/test/java/org/w3c/domts/level1/core/
Dhc_nodevalue04.java60 Node newNode; in runTest() local
63 newNode = doc.getDoctype(); in runTest()
65 ((newNode != null) | ("text/html".equals(getContentType()))) in runTest()
68 if ((newNode != null)) { in runTest()
69 assertNotNull("docTypeNotNull", newNode); in runTest()
70 newValue = newNode.getNodeValue(); in runTest()
72 newNode.setNodeValue("This should have no effect"); in runTest()
73 newValue = newNode.getNodeValue(); in runTest()
Dhc_nodevalue03.java60 Node newNode; in runTest() local
69 newNode = doc.createEntityReference("ent1"); in runTest()
76 newNode = doc.createEntityReference("ent1"); in runTest()
77 assertNotNull("createdEntRefNotNull", newNode); in runTest()
78 newValue = newNode.getNodeValue(); in runTest()
80 newNode.setNodeValue("This should have no effect"); in runTest()
81 newValue = newNode.getNodeValue(); in runTest()
Dnodevalue04.java60 Node newNode; in runTest() local
63 newNode = doc.getDoctype(); in runTest()
64 assertNotNull("docTypeNotNull", newNode); in runTest()
65 newValue = newNode.getNodeValue(); in runTest()
67 newNode.setNodeValue("This should have no effect"); in runTest()
68 newValue = newNode.getNodeValue(); in runTest()
Dnodevalue03.java60 Node newNode; in runTest() local
63 newNode = doc.createEntityReference("ent1"); in runTest()
64 assertNotNull("createdEntRefNotNull", newNode); in runTest()
65 newValue = newNode.getNodeValue(); in runTest()
67 newNode.setNodeValue("This should have no effect"); in runTest()
68 newValue = newNode.getNodeValue(); in runTest()
Dnodevalue07.java60 Node newNode; in runTest() local
69 newNode = nodeMap.getNamedItem("ent1"); in runTest()
70 assertNotNull("entityNotNull", newNode); in runTest()
71 newValue = newNode.getNodeValue(); in runTest()
73 newNode.setNodeValue("This should have no effect"); in runTest()
74 newValue = newNode.getNodeValue(); in runTest()
Dnodevalue08.java61 Node newNode; in runTest() local
69 newNode = nodeMap.getNamedItem("notation1"); in runTest()
70 assertNotNull("notationNotNull", newNode); in runTest()
71 newValue = newNode.getNodeValue(); in runTest()
73 newNode.setNodeValue("This should have no effect"); in runTest()
74 newValue = newNode.getNodeValue(); in runTest()
Dhc_nodevalue08.java64 Node newNode; in runTest() local
76 newNode = nodeMap.getNamedItem("notation1"); in runTest()
77 assertNotNull("notationNotNull", newNode); in runTest()
78 newValue = newNode.getNodeValue(); in runTest()
80 newNode.setNodeValue("This should have no effect"); in runTest()
81 newValue = newNode.getNodeValue(); in runTest()
Dhc_nodevalue07.java63 Node newNode; in runTest() local
76 newNode = nodeMap.getNamedItem("alpha"); in runTest()
77 assertNotNull("entityNotNull", newNode); in runTest()
78 newValue = newNode.getNodeValue(); in runTest()
80 newNode.setNodeValue("This should have no effect"); in runTest()
81 newValue = newNode.getNodeValue(); in runTest()
Dhc_nodevalue06.java59 Document newNode; in runTest() local
61 newNode = (Document) load("hc_staff", true); in runTest()
62 newValue = newNode.getNodeValue(); in runTest()
64 newNode.setNodeValue("This should have no effect"); in runTest()
65 newValue = newNode.getNodeValue(); in runTest()
Dnodevalue06.java59 Document newNode; in runTest() local
61 newNode = (Document) load("staff", true); in runTest()
62 newValue = newNode.getNodeValue(); in runTest()
64 newNode.setNodeValue("This should have no effect"); in runTest()
65 newValue = newNode.getNodeValue(); in runTest()
Dhc_nodevalue02.java60 Node newNode; in runTest() local
63 newNode = doc.createComment("This is a new Comment node"); in runTest()
64 newValue = newNode.getNodeValue(); in runTest()
66 newNode.setNodeValue("This should have an effect"); in runTest()
67 newValue = newNode.getNodeValue(); in runTest()
Dhc_nodevalue05.java60 Node newNode; in runTest() local
63 newNode = doc.createDocumentFragment(); in runTest()
64 newValue = newNode.getNodeValue(); in runTest()
66 newNode.setNodeValue("This should have no effect"); in runTest()
67 newValue = newNode.getNodeValue(); in runTest()
Dnodevalue05.java60 Node newNode; in runTest() local
63 newNode = doc.createDocumentFragment(); in runTest()
64 newValue = newNode.getNodeValue(); in runTest()
66 newNode.setNodeValue("This should have no effect"); in runTest()
67 newValue = newNode.getNodeValue(); in runTest()
Dhc_nodevalue01.java60 Element newNode; in runTest() local
63 newNode = doc.createElement("acronym"); in runTest()
64 newValue = newNode.getNodeValue(); in runTest()
66 newNode.setNodeValue("This should have no effect"); in runTest()
67 newValue = newNode.getNodeValue(); in runTest()
Dnodevalue01.java60 Element newNode; in runTest() local
63 newNode = doc.createElement("address"); in runTest()
64 newValue = newNode.getNodeValue(); in runTest()
66 newNode.setNodeValue("This should have no effect"); in runTest()
67 newValue = newNode.getNodeValue(); in runTest()
Dnodevalue09.java60 Node newNode; in runTest() local
63 newNode = doc.createProcessingInstruction("TARGET", "DATA"); in runTest()
64 newValue = newNode.getNodeValue(); in runTest()
66 newNode.setNodeValue("This should have an effect"); in runTest()
67 newValue = newNode.getNodeValue(); in runTest()
Dnodevalue02.java60 Node newNode; in runTest() local
63 newNode = doc.createComment("This is a new Comment node"); in runTest()
64 newValue = newNode.getNodeValue(); in runTest()
66 newNode.setNodeValue("This should have an effect"); in runTest()
67 newValue = newNode.getNodeValue(); in runTest()
Dhc_namednodemapsetnameditemreturnvalue.java77 Node newNode; in runTest() local
84 newNode = attributes.setNamedItem(newAttribute); in runTest()
85 assertNotNull("previousAttrNotNull", newNode); in runTest()
86 attrValue = newNode.getNodeValue(); in runTest()
Dhc_namednodemapsetnameditemwithnewvalue.java75 Node newNode; in runTest() local
81 newNode = attributes.setNamedItem(newAttribute); in runTest()
82 assertNull("prevValueNull", newNode); in runTest()
Dnamednodemapsetnameditemwithnewvalue.java75 Node newNode; in runTest() local
81 newNode = attributes.setNamedItem(newAttribute); in runTest()
82 assertNull("returnedNodeNull", newNode); in runTest()
Dnamednodemapsetnameditemreturnvalue.java78 Node newNode; in runTest() local
85 newNode = attributes.setNamedItem(newAttribute); in runTest()
86 attrValue = newNode.getNodeValue(); in runTest()
/libcore/ojluni/src/main/java/java/util/concurrent/
DConcurrentLinkedDeque.java305 static <E> Node<E> newNode(E item) { in newNode() method in ConcurrentLinkedDeque
315 final Node<E> newNode = newNode(Objects.requireNonNull(e)); in linkFirst() local
329 NEXT.set(newNode, p); // CAS piggyback in linkFirst()
330 if (PREV.compareAndSet(p, null, newNode)) { in linkFirst()
335 HEAD.weakCompareAndSet(this, h, newNode); in linkFirst()
347 final Node<E> newNode = newNode(Objects.requireNonNull(e)); in linkLast() local
361 PREV.set(newNode, p); // CAS piggyback in linkLast()
362 if (NEXT.compareAndSet(p, null, newNode)) { in linkLast()
367 TAIL.weakCompareAndSet(this, t, newNode); in linkLast()
788 Node<E> newNode = newNode(Objects.requireNonNull(e)); in ConcurrentLinkedDeque() local
[all …]
/libcore/dom/src/test/java/org/w3c/domts/level2/core/
Dnamednodemapsetnameditemns09.java76 Node newNode; in runTest() local
86 newNode = entities.setNamedItemNS(attr); in runTest()
96 newNode = notations.setNamedItemNS(attr); in runTest()
Dnamednodemapsetnameditemns05.java78 Node newNode; in runTest() local
93 newNode = entities.setNamedItemNS(entity); in runTest()
103 newNode = notations.setNamedItemNS(notation); in runTest()
Dnamednodemapsetnameditemns03.java86 Node newNode; in runTest() local
98 newNode = attributesAlt.removeNamedItemNS(nullNS, "street"); in runTest()
103 newNode = attributes.setNamedItemNS(attr); in runTest()

12