/external/v8/test/mjsunit/harmony/ |
D | 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); }); 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 …]
|
D | atomics.js | 50 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/ |
D | AtomicsTest.java | 35 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()
|
D | AbstractScheduledServiceTest.java | 152 final AtomicReference<ScheduledExecutorService> executor = Atomics.newReference(); in testDefaultExecutorIsShutdownWhenServiceIsStopped() 175 final AtomicReference<ScheduledExecutorService> executor = Atomics.newReference(); in testDefaultExecutorIsShutdownWhenServiceFails()
|
/external/v8/src/js/ |
D | harmony-atomics.js | 184 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/ |
D | Atomics.java | 31 public final class Atomics { class 32 private Atomics() {} in Atomics() method in Atomics
|
/external/jetty/src/java/org/eclipse/jetty/util/statistic/ |
D | CounterStatistic.java | 23 import org.eclipse.jetty.util.Atomics; 63 Atomics.updateMax(_max,value); in add()
|
D | SampleStatistic.java | 23 import org.eclipse.jetty.util.Atomics; 71 Atomics.updateMax(_max, sample); in set()
|
/external/v8/test/mjsunit/ |
D | d8-worker-sharedarraybuffer.js | 63 while ((ta0 = Atomics.load(ta, 0)) == 0) {} 96 if (Atomics.compareExchange(ta, id, 1, -1) == 1) {
|
/external/jetty/src/java/org/eclipse/jetty/util/ |
D | Atomics.java | 24 public class Atomics class 26 private Atomics() in Atomics() method in Atomics
|
/external/clang/lib/CodeGen/ |
D | CGAtomic.cpp | 782 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/ |
D | regress-crbug-501809.js | 9 Atomics.compareExchange(ta, 4294967295, 0, 0);
|
/external/v8/test/mjsunit/asm/ |
D | atomics-load.js | 15 var load = stdlib.Atomics.load;
|
D | atomics-store.js | 15 var store = stdlib.Atomics.store;
|
D | atomics-or.js | 15 var or = stdlib.Atomics.or;
|
D | atomics-and.js | 15 var and = stdlib.Atomics.and;
|
D | atomics-add.js | 15 var add = stdlib.Atomics.add;
|
D | atomics-exchange.js | 15 var exchange = stdlib.Atomics.exchange;
|
D | atomics-sub.js | 15 var sub = stdlib.Atomics.sub;
|
D | atomics-xor.js | 15 var xor = stdlib.Atomics.xor;
|
D | atomics-compareexchange.js | 15 var compareExchange = stdlib.Atomics.compareExchange;
|
/external/llvm/test/CodeGen/PowerPC/ |
D | atomics-indexed.ll | 3 ; This is already checked for in Atomics-64.ll
|
D | atomics.ll | 3 ; This is already checked for in Atomics-64.ll
|
/external/llvm/docs/ |
D | index.rst | 173 Atomics 187 :doc:`Atomics`
|
D | Atomics.rst | 358 Atomics and IR optimization 408 Atomics and Codegen
|