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

1 2 3 4 5 6 7 8 91011>>

  /system/core/libcutils/
atomic.c 19 #include <cutils/atomic-inline.h>
  /frameworks/base/include/utils/
Atomic.h 20 #include <cutils/atomic.h>
  /libcore/luni/src/main/java/java/util/concurrent/atomic/
package-info.java 11 * array elements to those that also provide an atomic conditional update
22 * unconditionally set values, as well as a weaker conditional atomic
26 * employ efficient machine-level atomic instructions that are available
33 * {@link java.util.concurrent.atomic.AtomicBoolean},
34 * {@link java.util.concurrent.atomic.AtomicInteger},
35 * {@link java.util.concurrent.atomic.AtomicLong}, and
36 * {@link java.util.concurrent.atomic.AtomicReference}
40 * {@code AtomicInteger} provide atomic increment methods. One
91 * {@link java.util.concurrent.atomic.AtomicReferenceFieldUpdater},
92 * {@link java.util.concurrent.atomic.AtomicIntegerFieldUpdater}, an
    [all...]
UnsafeAccess.java 17 package java.util.concurrent.atomic;
  /external/bluetooth/glib/glib/
gatomic.h 4 * g_atomic_*: atomic operations.
41 gint g_atomic_int_exchange_and_add (volatile gint G_GNUC_MAY_ALIAS *atomic,
43 void g_atomic_int_add (volatile gint G_GNUC_MAY_ALIAS *atomic,
45 gboolean g_atomic_int_compare_and_exchange (volatile gint G_GNUC_MAY_ALIAS *atomic,
48 gboolean g_atomic_pointer_compare_and_exchange (volatile gpointer G_GNUC_MAY_ALIAS *atomic,
52 gint g_atomic_int_get (volatile gint G_GNUC_MAY_ALIAS *atomic);
53 void g_atomic_int_set (volatile gint G_GNUC_MAY_ALIAS *atomic,
55 gpointer g_atomic_pointer_get (volatile gpointer G_GNUC_MAY_ALIAS *atomic);
56 void g_atomic_pointer_set (volatile gpointer G_GNUC_MAY_ALIAS *atomic,
60 # define g_atomic_int_get(atomic) ((gint)*(atomic)
    [all...]
gatomic.c 4 * g_atomic_*: atomic operations.
36 /* Adapted from CVS version 1.10 of glibc's sysdeps/i386/i486/bits/atomic.h
39 g_atomic_int_exchange_and_add (volatile gint G_GNUC_MAY_ALIAS *atomic,
45 : "=r" (result), "=m" (*atomic)
46 : "0" (val), "m" (*atomic));
51 g_atomic_int_add (volatile gint G_GNUC_MAY_ALIAS *atomic,
55 : "=m" (*atomic)
56 : "ir" (val), "m" (*atomic));
60 g_atomic_int_compare_and_exchange (volatile gint G_GNUC_MAY_ALIAS *atomic,
67 : "=a" (result), "=m" (*atomic)
    [all...]
  /external/bluetooth/glib/tests/
atomic-test.c 6 /* Obviously we can't test that the operations are atomic, but we can
14 gint atomic = -5; local
19 g_atomic_int_inc (&atomic);
20 g_assert (atomic == 10);
22 g_assert (!g_atomic_int_dec_and_test (&atomic));
23 g_assert (g_atomic_int_dec_and_test (&atomic));
24 g_assert (atomic == 0);
26 g_assert (g_atomic_int_exchange_and_add (&atomic, 5) == 0);
27 g_assert (atomic == 5);
29 g_assert (g_atomic_int_exchange_and_add (&atomic, -10) == 5)
    [all...]
  /bionic/libc/kernel/common/linux/sunrpc/
timer.h 15 #include <asm/atomic.h>
  /development/ndk/platforms/android-3/include/linux/sunrpc/
timer.h 15 #include <asm/atomic.h>
  /prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/sunrpc/
timer.h 15 #include <asm/atomic.h>
  /prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/linux/sunrpc/
timer.h 15 #include <asm/atomic.h>
  /prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/linux/sunrpc/
timer.h 15 #include <asm/atomic.h>
  /prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/linux/sunrpc/
timer.h 15 #include <asm/atomic.h>
  /prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/linux/sunrpc/
timer.h 15 #include <asm/atomic.h>
  /prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/linux/sunrpc/
timer.h 15 #include <asm/atomic.h>
  /prebuilt/ndk/android-ndk-r5/platforms/android-3/arch-arm/usr/include/linux/sunrpc/
timer.h 15 #include <asm/atomic.h>
  /prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-arm/usr/include/linux/sunrpc/
timer.h 15 #include <asm/atomic.h>
  /prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-x86/usr/include/linux/sunrpc/
timer.h 15 #include <asm/atomic.h>
  /system/core/include/cutils/
atomic-inline.h 25 * Inline declarations and macros for some special-purpose atomic
43 # error "Must define ANDROID_SMP before including atomic-inline.h"
47 #include <cutils/atomic-arm.h>
49 #include <cutils/atomic-x86.h>
51 /* implementation is in atomic-android-sh.c */
53 #error atomic operations are unsupported
  /dalvik/vm/
Atomic.h 18 * Atomic operations
23 #include <cutils/atomic.h> /* use common Android atomic ops */
24 #include <cutils/atomic-inline.h> /* and some uncommon ones */
  /bionic/libc/kernel/arch-x86/asm/
hw_irq_32.h 16 #include <asm/atomic.h>
  /bionic/libc/kernel/common/linux/
key.h 19 #include <asm/atomic.h>
  /development/ndk/platforms/android-3/include/linux/
key.h 19 #include <asm/atomic.h>
  /development/ndk/platforms/android-9/arch-x86/include/asm/
hw_irq_32.h 16 #include <asm/atomic.h>
  /prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/
key.h 19 #include <asm/atomic.h>

Completed in 1039 milliseconds

1 2 3 4 5 6 7 8 91011>>