HomeSort by relevance Sort by last modified time
    Searched refs:reference (Results 1 - 25 of 1188) 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...]
  /cts/tests/tests/webkitsecurity/assets/
statement-list-register-crash.js 2 'Tests that code generation of statement lists properly reference counts registers.'
  /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/guava/guava/src/com/google/common/base/
Optional.java 32 * An immutable object that may contain a non-null reference to another object. Each
33 * instance of this type either contains a non-null reference, or contains nothing (in
34 * which case we say that the reference is "absent"); it is never said to "contain {@code
37 * <p>A non-null {@code Optional<T>} reference can be used as a replacement for a nullable
38 * {@code T} reference. It allows you to represent "a {@code T} that must be present" and
73 * Returns an {@code Optional} instance with no contained reference.
81 * Returns an {@code Optional} instance containing the given non-null reference.
83 public static <T> Optional<T> of(T reference) {
84 return new Present<T>(checkNotNull(reference));
89 * reference; otherwise returns {@link Optional#absent}
    [all...]
Equivalence.java 53 * <li>It is <i>reflexive</i>: for any reference {@code x}, including null, {@code
90 * <li>It is <i>consistent</i>: for any reference {@code x}, multiple invocations of
145 * Returns a wrapper of {@code reference} that implements
151 public final <S extends T> Wrapper<S> wrap(@Nullable S reference) {
152 return new Wrapper<S>(this, reference);
178 @Nullable private final T reference; field in class:Equivalence.Wrapper
180 private Wrapper(Equivalence<? super T> equivalence, @Nullable T reference) {
182 this.reference = reference;
185 /** Returns the (possibly null) reference wrapped by this instance. *
    [all...]
  /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...]
  /prebuilts/gcc/linux-x86/host/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
  /prebuilts/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
  /prebuilts/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
  /prebuilts/ndk/android-ndk-r7/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
118 * pending list to the managed reference queue.
125 Reference<?> list;
141 private void enqueue(Reference<?> list) {
143 Reference<?> reference; local
146 reference = list;
147 reference.pendingNext = null;
150 reference = list.pendingNext
    [all...]
  /external/bluetooth/glib/docs/
Makefile.am 4 SUBDIRS = reference
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
GwtPlatform.java 41 public static <T> T[] newArray(T[] reference, int length) {
42 return Array.createFrom(reference, length);
Platform.java 45 static <T> T[] newArray(T[] reference, int length) {
46 return GwtPlatform.newArray(reference, length);

Completed in 678 milliseconds

1 2 3 4 5 6 7 8 91011>>