HomeSort by relevance Sort by last modified time
    Searched full:atomics (Results 1 - 25 of 306) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/v8/test/mjsunit/harmony/
futex.js 22 assertThrows(function() { Atomics.futexWait(ta, 0, 0); });
23 assertThrows(function() { Atomics.futexWake(ta, 0, 1); });
24 assertThrows(function() { Atomics.futexWakeOrRequeue(ta, 0, 1, 0, 0); });
42 assertThrows(function() { Atomics.futexWait(ta, 0, 0); });
43 assertThrows(function() { Atomics.futexWake(ta, 0, 1); });
44 assertThrows(function() { Atomics.futexWakeOrRequeue(ta, 0, 1, 0, 0); });
55 Atomics.futexWait(i32a, invalidIndex, 0);
58 Atomics.futexWake(i32a, invalidIndex, 0);
62 Atomics.futexWakeOrRequeue(i32a, invalidIndex, 0, 0, validIndex);
65 Atomics.futexWakeOrRequeue(i32a, validIndex, 0, 0, invalidIndex)
    [all...]
atomics.js 47 assertThrows(function() { Atomics.compareExchange(o, 0, 0, 0); },
49 assertThrows(function() { Atomics.load(o, 0); }, TypeError);
50 assertThrows(function() { Atomics.store(o, 0, 0); }, TypeError);
51 assertThrows(function() { Atomics.add(o, 0, 0); }, TypeError);
52 assertThrows(function() { Atomics.sub(o, 0, 0); }, TypeError);
53 assertThrows(function() { Atomics.and(o, 0, 0); }, TypeError);
54 assertThrows(function() { Atomics.or(o, 0, 0); }, TypeError);
55 assertThrows(function() { Atomics.xor(o, 0, 0); }, TypeError);
56 assertThrows(function() { Atomics.exchange(o, 0, 0); }, TypeError);
68 assertThrows(function() { Atomics.compareExchange(si32a, i, 0); }
    [all...]
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
AtomicsTest.java 26 * Unit test for {@link Atomics}.
35 assertEquals(null, Atomics.newReference().get());
39 assertEquals(null, Atomics.newReference(null).get());
40 assertEquals(OBJECT, Atomics.newReference(OBJECT).get());
45 AtomicReferenceArray<String> refArray = Atomics.newReferenceArray(length);
58 Atomics.newReferenceArray(-1);
66 AtomicReferenceArray<String> refArray = Atomics.newReferenceArray(array);
79 Atomics.newReferenceArray(null);
87 tester.testAllPublicConstructors(Atomics.class); // there aren't any
88 tester.testAllPublicStaticMethods(Atomics.class)
    [all...]
  /external/compiler-rt/test/tsan/
atomic_norace.cc 6 T atomics[kTestCount * 2]; variable
35 Test(i, &atomics[i], false);
41 Test(i, &atomics[kTestCount + i], false);
53 Test(i, &atomics[i], true);
56 Test(i, &atomics[kTestCount + i], true);
atomic_race.cc 6 T atomics[kTestCount * 2]; variable
35 Test(i, &atomics[i], false);
41 Test(i, &atomics[kTestCount + i], false);
53 Test(i, &atomics[i], true);
56 Test(i, &atomics[kTestCount + i], true);
  /external/v8/test/mjsunit/regress/
regress-crbug-501809.js 10 Atomics.compareExchange(ta, 4294967295, 0, 0);
  /external/llvm/cmake/modules/
CheckAtomic.cmake 6 # the platform doesn't support lock-free atomics.
24 # First check if atomics work without the library.
26 # If not, check if the library exists, and atomics work with it.
  /external/v8/src/js/
harmony-atomics.js 42 // https://tc39.github.io/ecmascript_sharedmem/shmem.html#Atomics.ValidateAtomicAccess
151 var Atomics = global.Atomics;
153 // The Atomics global is defined by the bootstrapper.
155 %AddNamedProperty(Atomics, toStringTagSymbol, "Atomics", READ_ONLY | DONT_ENUM);
158 utils.InstallConstants(Atomics, [
164 utils.InstallFunctions(Atomics, DONT_ENUM, [
165 // TODO(binji): remove the rest of the (non futex) Atomics functions as they
  /external/clang/test/CodeGenObjC/
property-aggregate.m 4 // not get native atomics, even though x86-64 can do unaligned atomics
  /external/clang/test/CodeGen/
x86_64-atomic-128.c 3 // All atomics up to 16 bytes should be emitted inline on x86_64. The
atomic_ops.c 10 // Check that multiply / divides on atomics produce a cmpxchg loop
  /external/libcxxabi/src/
cxa_handlers.cpp 31 // Using of C++11 atomics this should be rewritten
56 // Using of C++11 atomics this should be rewritten
113 // Using of C++11 atomics this should be rewritten
122 // Using of C++11 atomics this should be rewritten
  /external/v8/test/mjsunit/
d8-worker-sharedarraybuffer.js 46 Atomics.store(ta, 0, 100);
63 while ((ta0 = Atomics.load(ta, 0)) == 0) {}
78 Atomics.store(ta, id, 1);
96 if (Atomics.compareExchange(ta, id, 1, -1) == 1) {
  /ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/
cxa_handlers.cpp 31 // Using of C++11 atomics this should be rewritten
56 // Using of C++11 atomics this should be rewritten
113 // Using of C++11 atomics this should be rewritten
122 // Using of C++11 atomics this should be rewritten
  /external/llvm/test/CodeGen/AMDGPU/
private-memory-atomics.ll 4 ; This works because promote allocas pass replaces these with LDS atomics.
6 ; Private atomics have no real use, but at least shouldn't crash on it.
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/bits/
atomic_lockfree_defines.h 36 * @addtogroup atomics
61 // @} group atomics
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/bits/
atomic_lockfree_defines.h 36 * @addtogroup atomics
61 // @} group atomics
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/bits/
atomic_lockfree_defines.h 36 * @addtogroup atomics
61 // @} group atomics
  /prebuilts/ndk/current/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/
atomic_lockfree_defines.h 36 * @addtogroup atomics
61 // @} group atomics
  /bionic/libc/arch-arm/bionic/
atomics_arm.c 34 * These functions were initially exposed by the NDK through <sys/atomics.h>,
51 * Note that we also provide an updated <sys/atomics.h> header that defines
58 /* DO NOT INCLUDE <sys/atomics.h> HERE ! */
  /external/guava/guava/src/com/google/common/util/concurrent/
Atomics.java 31 public final class Atomics {
32 private Atomics() {}
  /external/clang/lib/CodeGen/
CGAtomic.cpp 468 // Emit all the different atomics
778 // The inlined atomics only function on iN types, where N is a power of 2. We
782 AtomicInfo Atomics(*this, AtomicVal);
784 Ptr = Atomics.emitCastToAtomicIntPointer(Ptr);
785 if (Val1.isValid()) Val1 = Atomics.convertToAtomicIntPointer(Val1);
786 if (Val2.isValid()) Val2 = Atomics.convertToAtomicIntPointer(Val2);
788 Dest = Atomics.emitCastToAtomicIntPointer(Dest);
792 Dest = Atomics.emitCastToAtomicIntPointer(Atomics.CreateTempAlloca());
    [all...]
  /frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
UT_atomic.java 27 super(rstc, "Atomics", ctx);
  /frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
UT_atomic.java 27 super(rstc, "Atomics", ctx);
  /frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
UT_atomic.java 27 super(rstc, "Atomics", ctx);

Completed in 1220 milliseconds

1 2 3 4 5 6 7 8 91011>>