Searched refs:WasNeutered (Results 1 – 11 of 11) sorted by relevance
102 bool JSArrayBuffer::was_neutered() { return WasNeutered::decode(bit_field()); } in was_neutered()105 set_bit_field(WasNeutered::update(bit_field(), value)); in set_was_neutered()121 if (WasNeutered()) return Smi::kZero; in byte_offset()131 if (WasNeutered()) return Smi::kZero; in byte_length()146 bool JSArrayBufferView::WasNeutered() const { in ACCESSORS()151 if (WasNeutered()) return Smi::kZero; in length()156 if (WasNeutered()) return 0; in length_value()188 if (V8_UNLIKELY(array->WasNeutered())) { in Validate()
123 class WasNeutered : public BitField<bool, 3, 1> {};147 inline bool WasNeutered() const;
89 if (V8_UNLIKELY(array->WasNeutered())) return *array; in BUILTIN()152 if (V8_UNLIKELY(array->WasNeutered())) return *array; in BUILTIN()188 if (V8_UNLIKELY(array->WasNeutered())) in BUILTIN()220 if (V8_UNLIKELY(array->WasNeutered())) return Smi::FromInt(-1); in BUILTIN()255 if (V8_UNLIKELY(array->WasNeutered())) return Smi::FromInt(-1); in BUILTIN()
68 macro WasNeutered(view: JSArrayBufferView): bool {95 if (WasNeutered(data_view)) {108 if (WasNeutered(data_view)) {
72 return isolate->heap()->ToBoolean(JSTypedArray::cast(args[0])->WasNeutered()); in RUNTIME_FUNCTION()119 if (V8_UNLIKELY(array->WasNeutered())) return *array; in RUNTIME_FUNCTION()158 DCHECK(!target->WasNeutered()); // Checked in TypedArrayPrototypeSet. in RUNTIME_FUNCTION()
3027 static bool WasNeutered(JSObject* holder) { in WasNeutered() function in v8::internal::__anon05e7137f0111::TypedElementsAccessor3029 return view->WasNeutered(); in WasNeutered()3034 if (WasNeutered(holder)) return 0; in GetCapacityImpl()3079 DCHECK(!array->WasNeutered()); in FillImpl()3104 if (WasNeutered(*receiver)) { in IncludesValueImpl()3164 if (WasNeutered(*receiver)) return Just<int64_t>(-1); in IndexOfValueImpl()3213 DCHECK(!WasNeutered(*receiver)); in LastIndexOfValueImpl()3257 DCHECK(!WasNeutered(receiver)); in ReverseImpl()3271 DCHECK(!WasNeutered(*object)); in CreateListFromArrayLikeImpl()3288 DCHECK(!source->WasNeutered()); in CopyTypedArrayElementsSliceImpl()[all …]
1297 if (WasNeutered()) os << "\n - neutered"; in JSTypedArrayPrint()1298 JSObjectPrintBody(os, this, !WasNeutered()); in JSTypedArrayPrint()1314 if (WasNeutered()) os << "\n - neutered"; in JSDataViewPrint()1315 JSObjectPrintBody(os, this, !WasNeutered()); in JSDataViewPrint()
877 if (array->WasNeutered() || in CreateListFromArrayLikeFastPath()5285 if (Handle<JSArrayBufferView>::cast(receiver)->WasNeutered()) { in SetDataProperty()5295 if (Handle<JSArrayBufferView>::cast(receiver)->WasNeutered()) { in SetDataProperty()
12029 return IsSetWord32<JSArrayBuffer::WasNeutered>(buffer_bit_field); in IsDetachedBuffer()
435 if (!typed_array->WasNeutered()) { in SerializeJSTypedArray()
2783 __ Int32Constant(JSArrayBuffer::WasNeutered::kMask)), in LowerArrayBufferWasNeutered()