Searched defs:item (Results 1 - 18 of 18) sorted by relevance

/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
H A DNamedNodeMap.java86 * Returns the <code>index</code>th item in the map. If <code>index</code>
93 public Node item(int index); method in interface:NamedNodeMap
/libcore/luni/src/main/java/java/util/prefs/
H A DNodeSet.java22 public Node item(int index) { method in class:NodeSet
/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...]
H A DXPath.java39 * of a context item, an empty document node will be used for the context.
186 * <p>See <a href="#XPath-evaluation">Evaluation of XPath Expressions</a> for context item evaluation,
198 * <code>item</code>, an empty document will be used for the
204 * @param item The starting context (node or node list, for example).
213 public Object evaluate(String expression, Object item, QName returnType) argument
219 * <p>This method calls {@link #evaluate(String expression, Object item, QName returnType)} with a <code>returnType</code> of
222 * <p>See <a href="#XPath-evaluation">Evaluation of XPath Expressions</a> for context item evaluation,
226 * <code>item</code>, an empty document will be used for the
231 * @param item The starting context (node or node list, for example).
239 public String evaluate(String expression, Object item) argument
[all...]
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
H A DNodeListImpl.java54 public Node item(int index) { method in class:NodeListImpl
H A DElementImpl.java346 public Node item(int index) { method in class:ElementImpl.ElementAttrNamedNodeMapImpl
/libcore/luni/src/main/java/java/util/concurrent/
H A DConcurrentLinkedQueue.java98 * Nodes that are reachable from head. CASing the item
128 * CASing a Node's item reference to null atomically removes the
137 * for a volatile write to item by using Unsafe.putObject instead
142 * non-null item. If the queue is empty, all items must of course
144 * Node with null item. Both head and tail are only updated using
150 volatile E item; field in class:ConcurrentLinkedQueue.Node
154 * Constructs a new node. Uses relaxed write because item can
157 Node(E item) { argument
158 UNSAFE.putObject(this, itemOffset, item);
184 (k.getDeclaredField("item"));
[all...]
H A DExchanger.java231 * Sentinel item representing cancellation of a wait due to
254 public final Object item; field in class:Exchanger.Node
260 * Creates node with given item and empty hole.
261 * @param item the item
263 public Node(Object item) { argument
264 this.item = item;
304 * @param item the (non-null) item t
309 doExchange(Object item, boolean timed, long nanos) argument
[all...]
H A DLinkedBlockingQueue.java92 E item; field in class:LinkedBlockingQueue.Node
102 Node(E x) { item = x; }
113 * Invariant: head.item == null
180 // assert head.item == null;
185 E x = first.item;
186 first.item = null;
485 return first.item;
498 p.item = null;
524 if (o.equals(p.item)) {
548 if (o.equals(p.item))
[all...]
H A DLinkedBlockingDeque.java80 * The item, or null if this node has been removed.
82 E item; field in class:LinkedBlockingDeque.Node
101 item = x;
108 * (first.prev == null && first.item != null)
115 * (last.next == null && last.item != null)
229 E item = f.item;
230 f.item = null;
239 return item;
251 E item
[all...]
H A DConcurrentLinkedDeque.java87 * A node contains the expected E ("item") and links to predecessor
90 * class Node<E> { volatile Node<E> prev, next; volatile E item; }
92 * A node p is considered "live" if it contains a non-null item
93 * (p.item != null). When an item is CASed to null, the item is
118 * p.item != null ||
133 * 1. "logical deletion" by CASing item to null atomically removes
234 * - head.item may or may not be null
248 * - tail.item ma
267 volatile E item; field in class:ConcurrentLinkedDeque.Node
277 Node(E item) argument
[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 DSynchronousQueue.java72 * empty. A call to "fulfill" (i.e., a call requesting an item
140 * @param e if non-null, the item to be handed to a consumer;
141 * if null, requests that transfer return an item
145 * @return if non-null, the item provided or received; if null,
204 Object item; // data; or null for REQUESTs field in class:SynchronousQueue.TransferStack.SNode
206 // Note: item and mode fields don't need to be volatile
210 SNode(Object item) { argument
211 this.item = item;
293 * Puts or takes an item
508 volatile Object item; // CAS'ed to or from null field in class:SynchronousQueue.TransferQueue.QNode
512 QNode(Object item, boolean isData) argument
[all...]
/libcore/luni/src/test/java/libcore/xml/
H A DDomTest.java83 + " <item xmlns=\"http://food\" xmlns:a=\"http://addons\">\n"
95 + " </item>\n"
103 private Element item; field in class:DomTest
138 sp = (Entity) doctype.getEntities().item(0);
141 png = (Notation) doctype.getNotations().item(0);
146 item = (Element) menu.getChildNodes().item(1);
147 itemXmlns = item.getAttributeNode("xmlns");
148 itemXmlnsA = item.getAttributeNode("xmlns:a");
149 name = (Element) item
[all...]
/libcore/luni/src/main/native/
H A Dorg_apache_harmony_xnet_provider_jsse_NativeCrypto.cpp3963 ScopedLocalRef<jobjectArray> item(env, env->NewObjectArray(2, JniConstants::objectClass,
3968 env->SetObjectArrayElement(item.get(), 0, type.get());
3969 env->SetObjectArrayElement(item.get(), 1, val.get());
3971 env->SetObjectArrayElement(joa.get(), j, item.get());
3986 ScopedLocalRef<jobject> item(env, env->GetObjectArrayElement(joa.get(), i));
3987 env->SetObjectArrayElement(joa_copy.get(), i, item.get());
4276 X509_REVOKED* item = reinterpret_cast<X509_REVOKED*>(sk_X509_REVOKED_value(stack, i)); local
4277 revoked[i] = reinterpret_cast<uintptr_t>(X509_REVOKED_dup(item));
4771 T* item = reinterpret_cast<T*>(sk_value(reinterpret_cast<_STACK*>(stack), i)); local
4772 items[i] = reinterpret_cast<uintptr_t>(dup_func(item));
4857 X509* item = reinterpret_cast<X509*>(certs[i]); local
[all...]

Completed in 127 milliseconds