Searched refs:item (Results 1 - 25 of 584) sorted by relevance

1234567891011>>

/libcore/luni/src/main/java/org/w3c/dom/
H A DDOMImplementationList.java26 * Returns the <code>index</code>th item in the collection. If
35 public DOMImplementation item(int index); method in interface:DOMImplementationList
H A DNodeList.java25 * Returns the <code>index</code>th item in the collection. If
33 public Node item(int index); method in interface:NodeList
H A DDOMStringList.java26 * Returns the <code>index</code>th item in the collection. If
34 public String item(int index); method in interface:DOMStringList
/libcore/luni/src/main/java/java/util/concurrent/
H A DConcurrentLinkedQueue.java97 * Nodes that are reachable from head. CASing the item
127 * CASing a Node's item reference to null atomically removes the
136 * for a volatile write to item by using Unsafe.putObject instead
141 * non-null item. If the queue is empty, all items must of course
143 * Node with null item. Both head and tail are only updated using
149 volatile E item; field in class:ConcurrentLinkedQueue.Node
153 * Constructs a new node. Uses relaxed write because item can
156 Node(E item) { argument
157 UNSAFE.putObject(this, itemOffset, item);
183 (k.getDeclaredField("item"));
[all...]
H A DLinkedTransferQueue.java106 * "item" field from a non-null data value to null upon match, and
126 * from a pointer to the initial node; CASing the item of the
170 * operations up to the point of matching or appending an item
422 volatile Object item; // initially non-null if isData; CASed to match field in class:LinkedTransferQueue.Node
437 * Constructs a new node. Uses relaxed write because item can
440 Node(Object item, boolean isData) { argument
441 UNSAFE.putObject(this, itemOffset, item); // relaxed write
454 * Sets item to self and waiter to null, to avoid garbage
457 * contexts: item is forgotten only after volatile/atomic
472 Object x = item;
561 cast(Object item) argument
[all...]
H A DConcurrentLinkedDeque.java86 * A node contains the expected E ("item") and links to predecessor
89 * class Node<E> { volatile Node<E> prev, next; volatile E item; }
91 * A node p is considered "live" if it contains a non-null item
92 * (p.item != null). When an item is CASed to null, the item is
117 * p.item != null ||
132 * 1. "logical deletion" by CASing item to null atomically removes
233 * - head.item may or may not be null
247 * - tail.item ma
266 volatile E item; field in class:ConcurrentLinkedDeque.Node
276 Node(E item) argument
[all...]
H A DExchanger.java80 * and a participant (caller) with an item:
84 * place item in a Node;
87 * return matching item in node;
91 * get the item in node;
92 * set matching item in node;
216 * uses. Note that field Node.item is not declared as volatile
287 Object item; // This thread's current item field in class:Exchanger.Node
328 * @param item the (non-null) item t
334 arenaExchange(Object item, boolean timed, long ns) argument
427 slotExchange(Object item, boolean timed, long ns) argument
[all...]
/libcore/luni/src/main/java/javax/xml/xpath/
H A DXPathExpression.java38 * of a context item, an empty document node will be used for the context.
87 * <p>See <a href="#XPathExpression-evaluation">Evaluation of XPath Expressions</a> for context item evaluation,
94 * <code>item</code>, an empty document will be used for the
98 * @param item The starting context (node or node list, for example).
108 public Object evaluate(Object item, QName returnType) argument
114 * <p>This method calls {@link #evaluate(Object item, QName returnType)} with a <code>returnType</code> of
117 * <p>See <a href="#XPathExpression-evaluation">Evaluation of XPath Expressions</a> for context item evaluation,
121 * <code>item</code>, an empty document will be used for the
124 * @param item The starting context (node or node list, for example).
131 public String evaluate(Object item) argument
[all...]
/libcore/dom/src/test/java/org/w3c/domts/level1/core/
H A Dhc_namednodemapchildnoderange.java72 testEmployee = elementList.item(2);
80 child = attributes.item(2);
84 child = attributes.item(0);
86 child = attributes.item(1);
88 child = attributes.item(3);
H A Dnamednodemapchildnoderange.java73 testEmployee = elementList.item(2);
77 child = attributes.item(0);
78 child = attributes.item(1);
H A Dhc_attrchildnodes2.java69 testNode = acronymList.item(3);
76 textNode = (Text) childNodes.item(0);
79 textNode = (Text) childNodes.item(1);
82 textNode = (Text) childNodes.item(2);
H A Dhc_nodeinsertbeforedocfragment.java81 employeeNode = elementList.item(1);
83 refChild = childList.item(3);
90 child = childList.item(3);
93 child = childList.item(4);
H A Dnodeinsertbeforedocfragment.java81 employeeNode = elementList.item(1);
83 refChild = childList.item(3);
90 child = childList.item(3);
93 child = childList.item(4);
H A Dnodeinsertbeforenewchildexists.java105 employeeNode = elementList.item(1);
111 refChild = childList.item(5);
112 newChild = childList.item(0);
115 refChild = childList.item(11);
116 newChild = childList.item(1);
121 child = (Node) childList.item(indexN100DD);
H A Dnodereplacechildnewchildexists.java101 employeeNode = elementList.item(1);
106 newChild = childList.item(1);
107 oldChild = childList.item(11);
110 newChild = childList.item(0);
111 oldChild = childList.item(5);
118 childNode = (Node) childList.item(indexN100DE);
H A Dhc_nodeattributenodeattribute.java70 testAddr = (Element) elementList.item(0);
72 attrNode = addrAttr.item(0);
H A Dhc_nodeclonefalsenocopytext.java72 employeeNode = elementList.item(1);
74 childNode = childList.item(3);
H A Dhc_nodelistindexnotzero.java73 employeeNode = elementList.item(2);
75 child = employeeList.item(3);
H A Dhc_nodelistreturnfirstitem.java33 * "item(index)" method with an index=0. This should
69 employeeNode = elementList.item(2);
71 child = employeeList.item(0);
H A Dnamednodemapreturnfirstitem.java31 * The "item(index)" method returns the indexth item in
32 * the map(test for first item).
74 testAddress = elementList.item(1);
76 child = attributes.item(0);
H A Dnamednodemapreturnlastitem.java31 * The "item(index)" method returns the indexth item in
32 * the map(test for last item).
74 testEmployee = elementList.item(1);
76 child = attributes.item(1);
H A Dnodeattributenodeattribute.java71 testAddr = (Element) elementList.item(0);
73 attrNode = addrAttr.item(0);
H A Dnodechildnodesempty.java73 employeeNode = elementList.item(1);
75 secondCNode = childList.item(1);
H A Dnodeclonefalsenocopytext.java73 employeeNode = elementList.item(1);
75 childNode = childList.item(3);
H A Dnodegetfirstchildnull.java72 employeeNode = elementList.item(0);
74 secondChildNode = employeeList.item(1);

Completed in 454 milliseconds

1234567891011>>