/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
D | hc_nodevalue04.java | 60 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()
|
D | hc_nodevalue03.java | 60 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()
|
D | nodevalue04.java | 60 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()
|
D | nodevalue08.java | 61 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()
|
D | nodevalue07.java | 60 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()
|
D | hc_nodevalue08.java | 64 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()
|
D | nodevalue06.java | 59 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()
|
D | hc_nodevalue06.java | 59 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()
|
D | nodevalue01.java | 60 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()
|
D | hc_nodevalue05.java | 60 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()
|
D | nodevalue02.java | 60 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()
|
D | nodevalue09.java | 60 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()
|
D | nodevalue05.java | 60 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()
|
D | hc_nodevalue02.java | 60 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()
|
D | hc_namednodemapsetnameditemreturnvalue.java | 77 Node newNode; in runTest() local 84 newNode = attributes.setNamedItem(newAttribute); in runTest() 85 assertNotNull("previousAttrNotNull", newNode); in runTest() 86 attrValue = newNode.getNodeValue(); in runTest()
|
D | hc_namednodemapsetnameditemwithnewvalue.java | 75 Node newNode; in runTest() local 81 newNode = attributes.setNamedItem(newAttribute); in runTest() 82 assertNull("prevValueNull", newNode); in runTest()
|
D | namednodemapsetnameditemwithnewvalue.java | 75 Node newNode; in runTest() local 81 newNode = attributes.setNamedItem(newAttribute); in runTest() 82 assertNull("returnedNodeNull", newNode); in runTest()
|
D | namednodemapsetnameditemreturnvalue.java | 78 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/ |
D | ConcurrentLinkedQueue.java | 190 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 …]
|
D | ConcurrentLinkedDeque.java | 352 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/ |
D | namednodemapsetnameditemns09.java | 76 Node newNode; in runTest() local 86 newNode = entities.setNamedItemNS(attr); in runTest() 96 newNode = notations.setNamedItemNS(attr); in runTest()
|
D | namednodemapsetnameditemns05.java | 78 Node newNode; in runTest() local 93 newNode = entities.setNamedItemNS(entity); in runTest() 103 newNode = notations.setNamedItemNS(notation); in runTest()
|
D | namednodemapsetnameditemns03.java | 86 Node newNode; in runTest() local 98 newNode = attributesAlt.removeNamedItemNS(nullNS, "street"); in runTest() 103 newNode = attributes.setNamedItemNS(attr); in runTest()
|
D | namednodemapsetnameditemns02.java | 78 Node newNode; in runTest() local 84 newNode = attributes.setNamedItemNS(attribute1); in runTest()
|
/libcore/ojluni/src/main/java/java/util/ |
D | LinkedList.java | 127 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 …]
|