Home
last modified time | relevance | path

Searched refs:WasNeutered (Results 1 – 11 of 11) sorted by relevance

/external/v8/src/objects/
Djs-array-buffer-inl.h102 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()
Djs-array-buffer.h123 class WasNeutered : public BitField<bool, 3, 1> {};
147 inline bool WasNeutered() const;
/external/v8/src/builtins/
Dbuiltins-typed-array.cc89 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()
Ddata-view.tq68 macro WasNeutered(view: JSArrayBufferView): bool {
95 if (WasNeutered(data_view)) {
108 if (WasNeutered(data_view)) {
/external/v8/src/runtime/
Druntime-typedarray.cc72 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()
/external/v8/src/
Delements.cc3027 static bool WasNeutered(JSObject* holder) { in WasNeutered() function in v8::internal::__anon05e7137f0111::TypedElementsAccessor
3029 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 …]
Dobjects-printer.cc1297 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()
Dobjects.cc877 if (array->WasNeutered() || in CreateListFromArrayLikeFastPath()
5285 if (Handle<JSArrayBufferView>::cast(receiver)->WasNeutered()) { in SetDataProperty()
5295 if (Handle<JSArrayBufferView>::cast(receiver)->WasNeutered()) { in SetDataProperty()
Dcode-stub-assembler.cc12029 return IsSetWord32<JSArrayBuffer::WasNeutered>(buffer_bit_field); in IsDetachedBuffer()
/external/v8/src/snapshot/
Dserializer.cc435 if (!typed_array->WasNeutered()) { in SerializeJSTypedArray()
/external/v8/src/compiler/
Deffect-control-linearizer.cc2783 __ Int32Constant(JSArrayBuffer::WasNeutered::kMask)), in LowerArrayBufferWasNeutered()