/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | LinkedTransferQueue.java | 391 volatile Object item; // initially non-null if isData; CASed to match field in LinkedTransferQueue.Node 400 Node(Object item) { in Node() argument 401 ITEM.set(this, item); in Node() 402 isData = (item != null); in Node() 442 return isData == (item == null); in isMatched() 461 return d != haveData && d != (item == null); in cannotPrecede() 465 return (isData == (item == null)) || in isReleasable() 601 final Node q; final Object item; in xfer() local 603 && haveData == ((item = p.item) == null)) { in xfer() 605 if (p.tryMatch(item, e)) { in xfer() [all …]
|
D | ConcurrentLinkedDeque.java | 297 volatile E item; field in ConcurrentLinkedDeque.Node 305 static <E> Node<E> newNode(E item) { in newNode() argument 307 ITEM.set(node, item); in newNode() 418 if (p.item != null) { in unlink() 439 if (p.item != null) { in unlink() 475 (isFirst ? activePred.prev == null : activePred.item != null) && in unlink() 476 (isLast ? activeSucc.next == null : activeSucc.item != null)) { in unlink() 496 if (p.item != null || (q = p.next) == null) { in unlinkFirst() 501 (p.next == null || p.item != null) && in unlinkFirst() 531 if (p.item != null || (q = p.prev) == null) { in unlinkLast() [all …]
|
D | ConcurrentLinkedQueue.java | 185 volatile E item; field in ConcurrentLinkedQueue.Node 192 Node(E item) { in Node() argument 193 ITEM.set(this, item); in Node() 386 final E item; in poll() local 387 if ((item = p.item) != null && p.casItem(item, null)) { in poll() 392 return item; in poll() 407 final E item; in peek() local 408 if ((item = p.item) != null in peek() 411 return item; in peek() 430 boolean hasItem = (p.item != null); in first() [all …]
|
D | Exchanger.java | 311 Object item; // This thread's current item field in Exchanger.Node 354 private final Object arenaExchange(Object item, boolean timed, long ns) { in arenaExchange() argument 365 Object v = q.item; // release in arenaExchange() 366 q.match = item; in arenaExchange() 373 p.item = item; // offer in arenaExchange() 381 p.item = null; // clear for next use in arenaExchange() 411 p.item = null; in arenaExchange() 423 p.item = null; // clear offer in arenaExchange() 453 private final Object slotExchange(Object item, boolean timed, long ns) { in slotExchange() argument 462 Object v = q.item; in slotExchange() [all …]
|
D | LinkedBlockingQueue.java | 124 E item; field in LinkedBlockingQueue.Node 134 Node(E x) { item = x; } in Node() 219 E x = first.item; in dequeue() 220 first.item = null; in dequeue() 504 return (count.get() > 0) ? head.next.item : null; in peek() 518 p.item = null; in unlink() 544 if (o.equals(p.item)) { in remove() 568 if (o.equals(p.item)) in contains() 596 a[k++] = p.item; in toArray() 649 a[k++] = (T)p.item; in toArray() [all …]
|
D | SynchronousQueue.java | 235 Object item; // data; or null for REQUESTs field in SynchronousQueue.TransferStack.SNode 241 SNode(Object item) { in SNode() argument 242 this.item = item; in SNode() 405 Object result = (mode == REQUEST) ? m.item : s.item; in transfer() 424 return (E) ((mode == REQUEST) ? m.item : s.item); in transfer() 448 s.item = null; // forget item in clean() 507 volatile Object item; // CAS'ed to or from null field in SynchronousQueue.TransferQueue.QNode 511 QNode(Object item, boolean isData) { in QNode() argument 512 this.item = item; in QNode() 522 return item == cmp && in casItem() [all …]
|
D | LinkedBlockingDeque.java | 115 E item; field in LinkedBlockingDeque.Node 134 item = x; in Node() 253 E item = f.item; in unlinkFirst() local 254 f.item = null; in unlinkFirst() 263 return item; in unlinkFirst() 275 E item = l.item; in unlinkLast() local 276 l.item = null; in unlinkLast() 285 return item; in unlinkLast() 303 x.item = null; in unlink() 563 return (first == null) ? null : first.item; in peekFirst() [all …]
|
/libcore/luni/src/test/java/libcore/xml/ |
D | DomTest.java | 103 private Element item; field in DomTest 138 sp = (Entity) doctype.getEntities().item(0); in setUp() 141 png = (Notation) doctype.getNotations().item(0); in setUp() 146 item = (Element) menu.getChildNodes().item(1); in setUp() 147 itemXmlns = item.getAttributeNode("xmlns"); in setUp() 148 itemXmlnsA = item.getAttributeNode("xmlns:a"); in setUp() 149 name = (Element) item.getChildNodes().item(1); in setUp() 152 waffles = (Text) name.getChildNodes().item(0); in setUp() 153 description = (Element) item.getChildNodes().item(3); in setUp() 154 descriptionText1 = (Text) description.getChildNodes().item(0); in setUp() [all …]
|
/libcore/ojluni/src/main/java/java/util/ |
D | LinkedList.java | 184 final E element = f.item; in unlinkFirst() 186 f.item = null; in unlinkFirst() 203 final E element = l.item; in unlinkLast() 205 l.item = null; in unlinkLast() 222 final E element = x.item; in unlink() 240 x.item = null; in unlink() 256 return f.item; in getFirst() 269 return l.item; in getLast() 369 if (x.item == null) { in remove() 376 if (o.equals(x.item)) { in remove() [all …]
|
D | Stack.java | 65 public E push(E item) { in push() argument 66 addElement(item); in push() 68 return item; in push()
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | X509CertificateTest.java | 860 for (List<?> item : col) { in checkAlternativeNames() 864 item.remove(0); in checkAlternativeNames() 870 assertTrue(item.get(0) instanceof Integer); in checkAlternativeNames() 871 int type = (Integer) item.get(0); in checkAlternativeNames() 877 assertEquals(Arrays.toString(der), Arrays.toString((byte[]) item.get(1))); in checkAlternativeNames() 880 assertEquals("x509@example.com", (String) item.get(1)); in checkAlternativeNames() 883 assertEquals("x509.example.com", (String) item.get(1)); in checkAlternativeNames() 886 assertEquals("UNSUPPORTED", (String) item.get(1)); in checkAlternativeNames() 893 assertEquals(string, (String) item.get(1)); in checkAlternativeNames() 895 … assertEquals("CN=∆ƒ,OU=Über Frîends,O=Awesome Dudes,C=US", (String) item.get(1)); in checkAlternativeNames() [all …]
|
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
D | hc_namednodemapchildnoderange.java | 72 testEmployee = elementList.item(2); in runTest() 80 child = attributes.item(2); in runTest() 84 child = attributes.item(0); in runTest() 86 child = attributes.item(1); in runTest() 88 child = attributes.item(3); in runTest()
|
D | nodeinsertbeforenewchildexists.java | 105 employeeNode = elementList.item(1); in runTest() 111 refChild = childList.item(5); in runTest() 112 newChild = childList.item(0); in runTest() 115 refChild = childList.item(11); in runTest() 116 newChild = childList.item(1); in runTest() 121 child = (Node) childList.item(indexN100DD); in runTest()
|
D | nodereplacechildnewchildexists.java | 101 employeeNode = elementList.item(1); in runTest() 106 newChild = childList.item(1); in runTest() 107 oldChild = childList.item(11); in runTest() 110 newChild = childList.item(0); in runTest() 111 oldChild = childList.item(5); in runTest() 118 childNode = (Node) childList.item(indexN100DE); in runTest()
|
D | hc_attrchildnodes2.java | 69 testNode = acronymList.item(3); in runTest() 76 textNode = (Text) childNodes.item(0); in runTest() 79 textNode = (Text) childNodes.item(1); in runTest() 82 textNode = (Text) childNodes.item(2); in runTest()
|
D | hc_nodeinsertbeforedocfragment.java | 81 employeeNode = elementList.item(1); in runTest() 83 refChild = childList.item(3); in runTest() 90 child = childList.item(3); in runTest() 93 child = childList.item(4); in runTest()
|
D | nodeinsertbeforedocfragment.java | 81 employeeNode = elementList.item(1); in runTest() 83 refChild = childList.item(3); in runTest() 90 child = childList.item(3); in runTest() 93 child = childList.item(4); in runTest()
|
D | hc_nodeinsertbeforenewchildexists.java | 88 employeeNode = elementList.item(1); in runTest() 90 refChild = childList.item(5); in runTest() 91 newChild = childList.item(0); in runTest() 94 child = (Node) childList.item(indexN1008C); in runTest()
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | AbstractAlgorithmConstraints.java | 84 for (String item : algorithms) { in checkAlgorithm() 85 if (item == null || item.isEmpty()) { in checkAlgorithm() 90 if (item.equalsIgnoreCase(algorithm)) { in checkAlgorithm() 101 if (item.equalsIgnoreCase(element)) { in checkAlgorithm()
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
D | Prefix.java | 93 testEmployee = elementList.item(0); in testGetPrefix2() 106 testEmployee = elementList.item(0); in testGetPrefix3() 118 testEmployee = elementList.item(0); in testGetPrefix4() 129 addrNode = (Element) elementList.item(0); in testGetPrefix5() 149 employeeNode = elementList.item(0); in _testGetPrefix6() 167 employeeNode = elementList.item(0); in testGetPrefix7() 220 addrNode = (Element) elementList.item(3); in _testGetPrefix9() 239 employeeNode = elementList.item(1); in testGetPrefix10() 258 employeeNode = elementList.item(1); in testGetPrefix11()
|
D | NamedNodeMapSetNamedItemNS.java | 95 element = elementList.item(0); in testSetNamedItemNS1() 139 element = (Element) elementList.item(1); in testSetNamedItemNS3() 143 elementAlt = (Element) elementListAlt.item(1); in testSetNamedItemNS3() 173 element = (Element) elementList.item(1); in testSetNamedItemNS4() 237 element = (Element) elementList.item(0); in testSetNamedItemNS6() 241 element = (Element) elementList.item(1); in testSetNamedItemNS6() 263 element = (Element) elementList.item(0); in testSetNamedItemNS7() 267 element = (Element) elementList.item(1); in testSetNamedItemNS7() 289 element = (Element) elementList.item(0); in testSetNamedItemNS8() 293 element = (Element) elementList.item(1); in testSetNamedItemNS8()
|
D | SetAttributeNS.java | 87 testAddr = elementList.item(0); in testSetAttributeNS1() 108 testAddr = elementList.item(0); in testSetAttributeNS2() 172 testAddr = elementList.item(0); in testSetAttributeNS4() 200 testAddr = elementList.item(0); in testSetAttributeNS5() 216 testAddr = elementList.item(0); in testSetAttributeNS6() 237 testAddr = elementList.item(0); in testSetAttributeNS7() 264 testAddr = elementList.item(0); in testSetAttributeNS9() 287 testAddr = elementList.item(0); in testSetAttributeNS10()
|
/libcore/tools/docs/crypto/ |
D | crypto_docs.py | 36 for item in seq: 37 if item['name'] == name: 38 return item
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/ |
D | DocumentBuilderTest.java | 251 d.getChildNodes().item(0).getNodeName()); in test_parseLjava_io_File() 253 d.getChildNodes().item(1).getNodeName()); in test_parseLjava_io_File() 311 d.getChildNodes().item(0).getNodeName()); in test_parseLjava_io_InputStream() 313 d.getChildNodes().item(1).getNodeName()); in test_parseLjava_io_InputStream() 373 d.getChildNodes().item(0).getNodeName()); in testParseInputSource() 375 d.getChildNodes().item(1).getNodeName()); in testParseInputSource() 434 d.getChildNodes().item(0).getNodeName()); in test_parseLjava_io_InputStreamLjava_lang_String() 436 d.getChildNodes().item(1).getNodeName()); in test_parseLjava_io_InputStreamLjava_lang_String() 438 d.getChildNodes().item(2).getNodeName()); in test_parseLjava_io_InputStreamLjava_lang_String() 440 d.getChildNodes().item(3).getNodeName()); in test_parseLjava_io_InputStreamLjava_lang_String() [all …]
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
D | documentimportnode21.java | 106 element = (Element) addressList.item(1); in runTest() 108 entRef2 = (EntityReference) addressChildList.item(0); in runTest() 109 entRef3 = (EntityReference) addressChildList.item(2); in runTest() 121 nodeImp2 = nodes.item(0); in runTest() 124 nodeImp3 = nodes.item(0); in runTest()
|