Home
last modified time | relevance | path

Searched refs:Atomics (Results 1 – 25 of 39) sorted by relevance

12

/external/v8/test/mjsunit/harmony/
Dfutex.js22 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); });
54 assertEquals(undefined, Atomics.futexWait(i32a, invalidIndex, 0));
55 assertEquals(undefined, Atomics.futexWake(i32a, invalidIndex, 0));
57 assertEquals(undefined, Atomics.futexWakeOrRequeue(i32a, invalidIndex, 0, 0,
59 assertEquals(undefined, Atomics.futexWakeOrRequeue(i32a, validIndex, 0, 0,
[all …]
Datomics.js50 assertThrows(function() { Atomics.compareExchange(o, 0, 0, 0); },
52 assertThrows(function() { Atomics.load(o, 0); }, TypeError);
53 assertThrows(function() { Atomics.store(o, 0, 0); }, TypeError);
54 assertThrows(function() { Atomics.add(o, 0, 0); }, TypeError);
55 assertThrows(function() { Atomics.sub(o, 0, 0); }, TypeError);
56 assertThrows(function() { Atomics.and(o, 0, 0); }, TypeError);
57 assertThrows(function() { Atomics.or(o, 0, 0); }, TypeError);
58 assertThrows(function() { Atomics.xor(o, 0, 0); }, TypeError);
59 assertThrows(function() { Atomics.exchange(o, 0, 0); }, TypeError);
87 testAtomicOp(Atomics.compareExchange, si32a, i, 0, name);
[all …]
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DAtomicsTest.java35 assertEquals(null, Atomics.newReference().get()); in testNewReference()
39 assertEquals(null, Atomics.newReference(null).get()); in testNewReference_withInitialValue()
40 assertEquals(OBJECT, Atomics.newReference(OBJECT).get()); in testNewReference_withInitialValue()
45 AtomicReferenceArray<String> refArray = Atomics.newReferenceArray(length); in testNewReferenceArray_withLength()
58 Atomics.newReferenceArray(-1); in testNewReferenceArray_withNegativeLength()
66 AtomicReferenceArray<String> refArray = Atomics.newReferenceArray(array); in testNewReferenceArray_withStringArray()
79 Atomics.newReferenceArray(null); in testNewReferenceArray_withNullArray()
87 tester.testAllPublicConstructors(Atomics.class); // there aren't any in testNullPointers()
88 tester.testAllPublicStaticMethods(Atomics.class); in testNullPointers()
DAbstractScheduledServiceTest.java152 final AtomicReference<ScheduledExecutorService> executor = Atomics.newReference(); in testDefaultExecutorIsShutdownWhenServiceIsStopped()
175 final AtomicReference<ScheduledExecutorService> executor = Atomics.newReference(); in testDefaultExecutorIsShutdownWhenServiceFails()
/external/v8/src/js/
Dharmony-atomics.js184 var Atomics = new AtomicsConstructor();
186 %InternalSetPrototype(Atomics, GlobalObject.prototype);
187 %AddNamedProperty(global, "Atomics", Atomics, DONT_ENUM);
190 %AddNamedProperty(Atomics, toStringTagSymbol, "Atomics", READ_ONLY | DONT_ENUM);
193 utils.InstallConstants(Atomics, [
199 utils.InstallFunctions(Atomics, DONT_ENUM, [
/external/guava/guava/src/com/google/common/util/concurrent/
DAtomics.java31 public final class Atomics { class
32 private Atomics() {} in Atomics() method in Atomics
/external/jetty/src/java/org/eclipse/jetty/util/statistic/
DCounterStatistic.java23 import org.eclipse.jetty.util.Atomics;
63 Atomics.updateMax(_max,value); in add()
DSampleStatistic.java23 import org.eclipse.jetty.util.Atomics;
71 Atomics.updateMax(_max, sample); in set()
/external/v8/test/mjsunit/
Dd8-worker-sharedarraybuffer.js63 while ((ta0 = Atomics.load(ta, 0)) == 0) {}
96 if (Atomics.compareExchange(ta, id, 1, -1) == 1) {
/external/jetty/src/java/org/eclipse/jetty/util/
DAtomics.java24 public class Atomics class
26 private Atomics() in Atomics() method in Atomics
/external/clang/lib/CodeGen/
DCGAtomic.cpp782 AtomicInfo Atomics(*this, AtomicVal); in EmitAtomicExpr() local
784 Ptr = Atomics.emitCastToAtomicIntPointer(Ptr); in EmitAtomicExpr()
785 if (Val1.isValid()) Val1 = Atomics.convertToAtomicIntPointer(Val1); in EmitAtomicExpr()
786 if (Val2.isValid()) Val2 = Atomics.convertToAtomicIntPointer(Val2); in EmitAtomicExpr()
788 Dest = Atomics.emitCastToAtomicIntPointer(Dest); in EmitAtomicExpr()
792 Dest = Atomics.emitCastToAtomicIntPointer(Atomics.CreateTempAlloca()); in EmitAtomicExpr()
1148 assert(Atomics.getValueSizeInBits() <= Atomics.getAtomicSizeInBits()); in EmitAtomicExpr()
1353 AtomicInfo Atomics(*this, src); in EmitAtomicLoad() local
1354 return Atomics.EmitAtomicLoad(resultSlot, loc, /*AsValue=*/true, AO, in EmitAtomicLoad()
1401 AtomicInfo Atomics(CGF, TempLV); in materializeRValue() local
[all …]
/external/v8/test/mjsunit/regress/
Dregress-crbug-501809.js9 Atomics.compareExchange(ta, 4294967295, 0, 0);
/external/v8/test/mjsunit/asm/
Datomics-load.js15 var load = stdlib.Atomics.load;
Datomics-store.js15 var store = stdlib.Atomics.store;
Datomics-or.js15 var or = stdlib.Atomics.or;
Datomics-and.js15 var and = stdlib.Atomics.and;
Datomics-add.js15 var add = stdlib.Atomics.add;
Datomics-exchange.js15 var exchange = stdlib.Atomics.exchange;
Datomics-sub.js15 var sub = stdlib.Atomics.sub;
Datomics-xor.js15 var xor = stdlib.Atomics.xor;
Datomics-compareexchange.js15 var compareExchange = stdlib.Atomics.compareExchange;
/external/llvm/test/CodeGen/PowerPC/
Datomics-indexed.ll3 ; This is already checked for in Atomics-64.ll
Datomics.ll3 ; This is already checked for in Atomics-64.ll
/external/llvm/docs/
Dindex.rst173 Atomics
187 :doc:`Atomics`
DAtomics.rst358 Atomics and IR optimization
408 Atomics and Codegen

12