HomeSort by relevance Sort by last modified time
    Searched refs:reference (Results 1 - 25 of 779) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/core/java/com/android/internal/util/
Preconditions.java 26 * Ensures that an object reference passed as a parameter to the calling
29 * @param reference an object reference
30 * @return the non-null reference that was validated
31 * @throws NullPointerException if {@code reference} is null
33 public static <T> T checkNotNull(T reference) {
34 if (reference == null) {
37 return reference;
41 * Ensures that an object reference passed as a parameter to the calling
44 * @param reference an object referenc
    [all...]
  /development/samples/TicTacToeMain/
default.properties 26 android.library.reference.1=../TicTacToeLib/
  /libcore/luni/src/main/java/java/lang/ref/
FinalizerReference.java 22 public final class FinalizerReference<T> extends Reference<T> {
48 FinalizerReference<?> reference = new FinalizerReference<Object>(referent, queue); local
50 reference.prev = null;
51 reference.next = head;
53 head.prev = reference;
55 head = reference;
59 public static void remove(FinalizerReference reference) {
61 FinalizerReference next = reference.next;
62 FinalizerReference prev = reference.prev;
63 reference.next = null
81 FinalizerReference<Object> reference = new FinalizerReference<Object>(null, queue); local
    [all...]
ReferenceQueue.java 21 * The {@code ReferenceQueue} is the container on which reference objects are
30 private Reference<? extends T> head;
39 * Returns the next available reference from the queue, removing it in the
40 * process. Does not wait for a reference to become available.
42 * @return the next available reference, or {@code null} if no reference is
46 public synchronized Reference<? extends T> poll() {
51 Reference<? extends T> ret;
67 * Returns the next available reference from the queue, removing it in the
68 * process. Waits indefinitely for a reference to become available
    [all...]
  /external/llvm/test/MC/AsmParser/
dot-symbol.s 1 # Historically 'as' treats '.' as a reference to the current location in
  /libcore/luni/src/main/java/java/util/concurrent/atomic/
AtomicMarkableReference.java 12 * An {@code AtomicMarkableReference} maintains an object reference
17 * [reference, boolean] pairs.
21 * @param <V> The type of object referred to by this reference
26 final T reference; field in class:AtomicMarkableReference.Pair
28 private Pair(T reference, boolean mark) {
29 this.reference = reference;
32 static <T> Pair<T> of(T reference, boolean mark) {
33 return new Pair<T>(reference, mark);
43 * @param initialRef the initial reference
    [all...]
AtomicStampedReference.java 10 * An {@code AtomicStampedReference} maintains an object reference
15 * [reference, integer] pairs.
19 * @param <V> The type of object referred to by this reference
24 final T reference; field in class:AtomicStampedReference.Pair
26 private Pair(T reference, int stamp) {
27 this.reference = reference;
30 static <T> Pair<T> of(T reference, int stamp) {
31 return new Pair<T>(reference, stamp);
41 * @param initialRef the initial reference
    [all...]
  /external/llvm/test/MC/MachO/
symbol-flags.s 3 .reference sym_ref_A
4 .reference sym_ref_def_A
7 .reference sym_ref_def_C
8 .reference sym_ref_def_D
11 .reference sym_ref_def_E
55 .reference sym_ref_A
  /external/liblzf/src/org/liblzf/
CLZF.java 167 int reference; local
179 reference = htab[hslot];
182 if ((off = iidx - reference - 1) < MAX_OFF
184 && reference > 0
185 && in_data[reference+0] == in_data[iidx+0]
186 && in_data[reference+1] == in_data[iidx+1]
187 && in_data[reference+2] == in_data[iidx+2]
190 /* match found at *reference++ */
200 while (len < maxlen && in_data[reference+len] == in_data[iidx+len]);
300 else /* back reference */
304 int reference = (int)(oidx - ((ctrl & 0x1f) << 8) - 1); local
    [all...]
  /prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/bits/
stl_iterator_base_types.h 114 /// This type represents a reference-to-value_type.
115 typedef _Reference reference; typedef in struct:iterator
131 typedef typename _Iterator::reference reference; typedef in struct:iterator_traits
141 typedef _Tp& reference; typedef in struct:iterator_traits
151 typedef const _Tp& reference; typedef in struct:iterator_traits
  /prebuilt/ndk/android-ndk-r5/sources/cxx-stl/gnu-libstdc++/include/bits/
stl_iterator_base_types.h 114 /// This type represents a reference-to-value_type.
115 typedef _Reference reference; typedef in struct:iterator
131 typedef typename _Iterator::reference reference; typedef in struct:iterator_traits
141 typedef _Tp& reference; typedef in struct:iterator_traits
151 typedef const _Tp& reference; typedef in struct:iterator_traits
  /prebuilt/ndk/android-ndk-r6/sources/cxx-stl/gnu-libstdc++/include/bits/
stl_iterator_base_types.h 114 /// This type represents a reference-to-value_type.
115 typedef _Reference reference; typedef in struct:iterator
131 typedef typename _Iterator::reference reference; typedef in struct:iterator_traits
141 typedef _Tp& reference; typedef in struct:iterator_traits
151 typedef const _Tp& reference; typedef in struct:iterator_traits
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/serialization/
PrivilegedActionExceptionTest.java 47 public void assertDeserialized(Serializable reference, Serializable otest) {
50 THROWABLE_COMPARATOR.assertDeserialized(reference, otest);
53 PrivilegedActionException ref = (PrivilegedActionException)reference;
  /external/apache-http/src/org/apache/http/impl/conn/tsccm/
BasicPoolEntry.java 49 * A weak reference to <code>this</code> used to detect GC of entries.
53 private final BasicPoolEntryRef reference; field in class:BasicPoolEntry
60 * @param queue the reference queue for tracking GC of this entry,
70 this.reference = new BasicPoolEntryRef(this, queue);
82 return this.reference;
  /external/llvm/include/llvm/ADT/
InMemoryStruct.h 27 typedef value_type &reference; typedef in class:llvm::InMemoryStruct
43 InMemoryStruct(reference Value) : Target(&Contents), Contents(Value) {}
60 reference operator*() {
  /external/chromium/chrome/browser/prefs/
pref_value_map_unittest.cc 50 PrefValueMap reference; local
51 EXPECT_TRUE(reference.SetValue("b", Value::CreateStringValue("test")));
52 EXPECT_TRUE(reference.SetValue("c", Value::CreateStringValue("test")));
53 EXPECT_TRUE(reference.SetValue("e", Value::CreateStringValue("test")));
59 reference.GetDifferingKeys(&check, &differing_paths);
69 reference.GetDifferingKeys(&check, &differing_paths);
  /libcore/luni/src/main/java/java/lang/
ThreadLocal.java 19 import java.lang.ref.Reference;
58 if (this.reference == table[index]) {
124 /** Weak reference to this thread local instance. */
125 private final Reference<ThreadLocal<T>> reference field in class:ThreadLocal
215 Reference<InheritableThreadLocal<?>> reference local
216 = (Reference<InheritableThreadLocal<?>>) k;
218 InheritableThreadLocal key = reference.get();
279 Reference<ThreadLocal<?>> referenc local
345 Reference<ThreadLocal<?>> reference local
453 Object reference = table[index]; local
508 Object reference = table[index]; local
    [all...]
Daemons.java 21 import java.lang.ref.Reference;
27 * Calls Object.finalize() on objects in the finalizer reference queue. The VM
117 * pending list to the managed reference queue.
124 Reference<?> list;
140 private void enqueue(Reference<?> list) {
142 Reference<?> reference; local
145 reference = list;
146 reference.pendingNext = null;
149 reference = list.pendingNext
    [all...]
  /external/bluetooth/glib/docs/
Makefile.am 4 SUBDIRS = reference
  /external/astl/tests/
test_iterator.cpp 43 typedef int& reference; typedef in struct:android::Input
51 typedef int& reference; typedef in struct:android::Forward
59 typedef int& reference; typedef in struct:android::Bidirectional
67 typedef int& reference; typedef in struct:android::Random
  /prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/ext/pb_ds/detail/basic_tree_policy/
null_node_metadata.hpp 59 typedef const_reference reference; typedef in struct:__gnu_pbds::detail::dumconst_node_iterator
  /prebuilt/ndk/android-ndk-r5/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/basic_tree_policy/
null_node_metadata.hpp 59 typedef const_reference reference; typedef in struct:__gnu_pbds::detail::dumconst_node_iterator
  /prebuilt/ndk/android-ndk-r6/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/basic_tree_policy/
null_node_metadata.hpp 59 typedef const_reference reference; typedef in struct:__gnu_pbds::detail::dumconst_node_iterator
  /external/apache-http/src/org/apache/http/client/utils/
URIUtils.java 164 * Resolves a URI reference against a base URI. Work-around for bug in
168 * @param reference the URI reference
171 public static URI resolve(final URI baseURI, final String reference) {
172 return URIUtils.resolve(baseURI, URI.create(reference));
176 * Resolves a URI reference against a base URI. Work-around for bug in
180 * @param reference the URI reference
183 public static URI resolve(final URI baseURI, URI reference){
187 if (reference == null)
    [all...]
  /external/webkit/Source/WebCore/platform/cf/
BinaryPropertyList.cpp 467 // As each object is written, the object reference is put in the aggregate buffer. Then,
532 ObjectReference reference = m_plan.booleanTrueObjectReference(); local
533 if (m_currentObjectReference != reference)
534 ASSERT(reference < m_currentObjectReference);
539 addAggregateObjectReference(reference);
544 ObjectReference reference = m_plan.integerObjectReference(integer);
545 if (m_currentObjectReference != reference)
546 ASSERT(reference < m_currentObjectReference);
549 return reference;
559 ObjectReference reference = m_plan.stringObjectReference(string)
775 ObjectReference reference = m_currentObjectReference++; local
    [all...]

Completed in 1260 milliseconds

1 2 3 4 5 6 7 8 91011>>