Home
last modified time | relevance | path

Searched refs:newNode (Results 1 – 25 of 38) 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()
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()
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_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()
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()
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()
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()
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_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()
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()
Dnamednodemapsetnameditemwithnewvalue.java75 Node newNode; in runTest() local
81 newNode = attributes.setNamedItem(newAttribute); in runTest()
82 assertNull("returnedNodeNull", newNode); in runTest()
Dhc_namednodemapsetnameditemwithnewvalue.java75 Node newNode; in runTest() local
81 newNode = attributes.setNamedItem(newAttribute); in runTest()
82 assertNull("prevValueNull", newNode); in runTest()
Dnamednodemapsetnameditemreturnvalue.java78 Node newNode; in runTest() local
85 newNode = attributes.setNamedItem(newAttribute); in runTest()
86 attrValue = newNode.getNodeValue(); in runTest()
/libcore/luni/src/main/java/java/util/concurrent/
DConcurrentLinkedQueue.java161 static <E> Node<E> newNode(E item) { in newNode() method in ConcurrentLinkedQueue
211 head = tail = newNode(null); in ConcurrentLinkedQueue()
226 Node<E> newNode = newNode(Objects.requireNonNull(e)); in ConcurrentLinkedQueue() local
228 h = t = newNode; in ConcurrentLinkedQueue()
230 lazySetNext(t, newNode); in ConcurrentLinkedQueue()
231 t = newNode; in ConcurrentLinkedQueue()
235 h = t = newNode(null); in ConcurrentLinkedQueue()
282 final Node<E> newNode = newNode(Objects.requireNonNull(e)); in offer() local
288 if (casNext(p, null, newNode)) { in offer()
293 casTail(t, newNode); // Failure is OK. in offer()
[all …]
DConcurrentLinkedDeque.java323 final Node<E> newNode = new Node<E>(Objects.requireNonNull(e)); in linkFirst() local
337 newNode.lazySetNext(p); // CAS piggyback in linkFirst()
338 if (p.casPrev(null, newNode)) { in linkFirst()
343 casHead(h, newNode); // Failure is OK. in linkFirst()
355 final Node<E> newNode = new Node<E>(Objects.requireNonNull(e)); in linkLast() local
369 newNode.lazySetPrev(p); // CAS piggyback in linkLast()
370 if (p.casNext(null, newNode)) { in linkLast()
375 casTail(t, newNode); // Failure is OK. in linkLast()
792 Node<E> newNode = new Node<E>(Objects.requireNonNull(e)); in ConcurrentLinkedDeque() local
794 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()

12