Home
last modified time | relevance | path

Searched refs:newNode (Results 1 – 25 of 37) 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()
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()
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()
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()
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_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()
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()
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()
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()
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()
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_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_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/
DConcurrentLinkedQueue.java190 static <E> Node<E> newNode(E item) { in newNode() method in ConcurrentLinkedQueue
240 head = tail = newNode(null); in ConcurrentLinkedQueue()
255 Node<E> newNode = newNode(Objects.requireNonNull(e)); in ConcurrentLinkedQueue() local
257 h = t = newNode; in ConcurrentLinkedQueue()
259 lazySetNext(t, newNode); in ConcurrentLinkedQueue()
260 t = newNode; in ConcurrentLinkedQueue()
264 h = t = newNode(null); in ConcurrentLinkedQueue()
311 final Node<E> newNode = newNode(Objects.requireNonNull(e)); in offer() local
317 if (casNext(p, null, newNode)) { in offer()
322 casTail(t, newNode); // Failure is OK. in offer()
[all …]
DConcurrentLinkedDeque.java352 final Node<E> newNode = new Node<E>(Objects.requireNonNull(e)); in linkFirst() local
366 newNode.lazySetNext(p); // CAS piggyback in linkFirst()
367 if (p.casPrev(null, newNode)) { in linkFirst()
372 casHead(h, newNode); // Failure is OK. in linkFirst()
384 final Node<E> newNode = new Node<E>(Objects.requireNonNull(e)); in linkLast() local
398 newNode.lazySetPrev(p); // CAS piggyback in linkLast()
399 if (p.casNext(null, newNode)) { in linkLast()
404 casTail(t, newNode); // Failure is OK. in linkLast()
821 Node<E> newNode = new Node<E>(Objects.requireNonNull(e)); in ConcurrentLinkedDeque() local
823 h = t = newNode; in ConcurrentLinkedDeque()
[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()
Dnamednodemapsetnameditemns02.java78 Node newNode; in runTest() local
84 newNode = attributes.setNamedItemNS(attribute1); in runTest()
/libcore/ojluni/src/main/java/java/util/
DLinkedList.java127 final Node<E> newNode = new Node<>(null, e, f); in linkFirst() local
128 first = newNode; in linkFirst()
130 last = newNode; in linkFirst()
132 f.prev = newNode; in linkFirst()
142 final Node<E> newNode = new Node<>(l, e, null); in linkLast() local
143 last = newNode; in linkLast()
145 first = newNode; in linkLast()
147 l.next = newNode; in linkLast()
158 final Node<E> newNode = new Node<>(pred, e, succ); in linkBefore() local
159 succ.prev = newNode; in linkBefore()
[all …]

12