Lines Matching defs:index
285 static inline Object Do(Isolate* isolate, void* buffer, size_t index) {
286 T result = LoadSeqCst(static_cast<T*>(buffer) + index);
293 static inline void Do(Isolate* isolate, void* buffer, size_t index,
296 StoreSeqCst(static_cast<T*>(buffer) + index, value);
302 static inline Object Do(Isolate* isolate, void* buffer, size_t index,
305 T result = ExchangeSeqCst(static_cast<T*>(buffer) + index, value);
311 inline Object DoCompareExchange(Isolate* isolate, void* buffer, size_t index,
316 CompareExchangeSeqCst(static_cast<T*>(buffer) + index, oldval, newval);
322 static inline Object Do(Isolate* isolate, void* buffer, size_t index,
325 T result = AddSeqCst(static_cast<T*>(buffer) + index, value);
332 static inline Object Do(Isolate* isolate, void* buffer, size_t index,
335 T result = SubSeqCst(static_cast<T*>(buffer) + index, value);
342 static inline Object Do(Isolate* isolate, void* buffer, size_t index,
345 T result = AndSeqCst(static_cast<T*>(buffer) + index, value);
352 static inline Object Do(Isolate* isolate, void* buffer, size_t index,
355 T result = OrSeqCst(static_cast<T*>(buffer) + index, value);
362 static inline Object Do(Isolate* isolate, void* buffer, size_t index,
365 T result = XorSeqCst(static_cast<T*>(buffer) + index, value);
401 size_t index = NumberToSize(args[1]);
414 CHECK_LT(index, sta->length());
416 return Op<int64_t>::Do(isolate, source, index, bigint);
419 return Op<uint64_t>::Do(isolate, source, index, bigint);
428 CHECK_LT(index, sta->length());
433 return Op<ctype>::Do(isolate, source, index, value);
449 size_t index = NumberToSize(args[1]);
457 CHECK_LT(index, sta->length());
459 return Load<int64_t>::Do(isolate, source, index);
462 return Load<uint64_t>::Do(isolate, source, index);
469 size_t index = NumberToSize(args[1]);
483 CHECK_LT(index, sta->length());
485 Store<int64_t>::Do(isolate, source, index, bigint);
489 Store<uint64_t>::Do(isolate, source, index, bigint);
501 size_t index = NumberToSize(args[1]);
504 CHECK_LT(index, sta->length());
520 CHECK_LT(index, sta->length());
522 return DoCompareExchange<int64_t>(isolate, source, index, old_bigint,
526 return DoCompareExchange<uint64_t>(isolate, source, index, old_bigint,
543 return DoCompareExchange<ctype>(isolate, source, index, old_value, \
557 // Atomics.add( typedArray, index, value )
563 // Atomics.sub( typedArray, index, value )
569 // Atomics.and( typedArray, index, value )
575 // Atomics.or( typedArray, index, value )
581 // Atomics.xor( typedArray, index, value )