Home
last modified time | relevance | path

Searched refs:is_shared (Results 1 – 25 of 63) sorted by relevance

123

/third_party/node/deps/v8/src/builtins/
Dbuiltins-arraybuffer.cc18 if (name->is_shared() != expected) { \
162 const char* kMethodName, bool is_shared) { in SliceHelper() argument
173 CHECK_SHARED(is_shared, array_buffer, kMethodName); in SliceHelper()
176 if (!is_shared && array_buffer->was_detached()) { in SliceHelper()
221 Handle<JSFunction> constructor_fun = is_shared in SliceHelper()
258 CHECK_SHARED(is_shared, new_array_buffer, kMethodName); in SliceHelper()
264 if (!is_shared && new_array_buffer->was_detached()) { in SliceHelper()
272 if (!is_shared && new_->SameValue(*args.receiver())) { in SliceHelper()
279 if (is_shared && in SliceHelper()
290 NewTypeError(is_shared ? MessageTemplate::kSharedArrayBufferTooShort in SliceHelper()
[all …]
Dbuiltins-sharedarraybuffer.cc167 if (V8_UNLIKELY(!sta->GetBuffer()->is_shared())) { in BUILTIN()
191 if (V8_UNLIKELY(!sta->GetBuffer()->is_shared())) { in DoWait()
Dbuiltins-dataview.cc111 !array_buffer->is_shared()); in BUILTIN()
/third_party/node/deps/v8/src/objects/
Djs-array-buffer.cc73 DCHECK_EQ(is_shared(), backing_store->is_shared()); in Attach()
88 if (is_shared() && is_resizable()) { in Attach()
130 DCHECK(!is_shared()); in Detach()
146 CHECK(buffer.is_shared()); in GsabByteLength()
375 CHECK(buffer.is_shared()); in LengthTrackingGsabBackedTypedArrayLength()
Delements.cc3091 auto is_shared = typed_array->buffer().is_shared() ? kShared : kUnshared; in SetImpl() local
3092 SetImpl(entry_ptr, FromObject(value), is_shared); in SetImpl()
3096 IsSharedBuffer is_shared) { in SetImpl() argument
3101 if (!is_shared) { in SetImpl()
3150 auto is_shared = typed_array->buffer().is_shared() ? kShared : kUnshared; in GetInternalImpl() local
3151 ElementType elem = GetImpl(element_ptr, is_shared); in GetInternalImpl()
3160 static ElementType GetImpl(ElementType* data_ptr, IsSharedBuffer is_shared) { in GetImpl() argument
3164 if (!is_shared) { in GetImpl()
3309 if (typed_array->buffer().is_shared()) { in FillImpl()
3359 auto is_shared = typed_array.buffer().is_shared() ? kShared : kUnshared; in IncludesValueImpl() local
[all …]
Dvalue-serializer.cc417 DCHECK(!array_buffer->is_shared()); in TransferArrayBuffer()
906 if (array_buffer->is_shared()) { in WriteJSArrayBuffer()
1071 if (!object->array_buffer().is_shared()) { in WriteWasmMemory()
1507 const bool is_shared = false; in ReadObjectInternal() local
1508 return ReadJSArrayBuffer(is_shared); in ReadObjectInternal()
1514 const bool is_shared = true; in ReadObjectInternal() local
1515 return ReadJSArrayBuffer(is_shared); in ReadObjectInternal()
1941 bool is_shared) { in ReadJSArrayBuffer() argument
1943 if (is_shared) { in ReadJSArrayBuffer()
1955 DCHECK_EQ(is_shared, array_buffer->is_shared()); in ReadJSArrayBuffer()
[all …]
Djs-array-buffer.tq10 is_shared: bool: 1 bit;
36 return buffer.bit_field.is_shared;
Dbacking-store.cc552 is_shared() ? SharedFlag::kShared : SharedFlag::kNotShared); in CopyWasmMemory()
671 DCHECK(!is_shared()); in ResizeInPlace()
712 DCHECK(is_shared()); in GrowInPlace()
903 if (!backing_store->is_shared()) continue; // skip non-shared memory in Purge()
Djs-array-buffer-inl.h54 if V8_UNLIKELY (is_shared() && is_resizable()) { in GetByteLength()
159 BIT_FIELD_ACCESSORS(JSArrayBuffer, bit_field, is_shared, in BIT_FIELD_ACCESSORS()
Dbacking-store.h95 bool is_shared() const { return is_shared_; } in is_shared() function
/third_party/node/deps/v8/src/runtime/
Druntime-futex.cc29 CHECK(sta->GetBuffer()->is_shared()); in RUNTIME_FUNCTION()
50 CHECK(sta->GetBuffer()->is_shared()); in RUNTIME_FUNCTION()
Druntime-typedarray.cc111 const bool copy_data = buffer->is_shared(); in RUNTIME_FUNCTION()
/third_party/node/deps/v8/src/wasm/
Dwasm-js.cc198 bool* is_shared) { in GET_FIRST_ARGUMENT_AS()
209 *is_shared = buffer->IsSharedArrayBuffer(); in GET_FIRST_ARGUMENT_AS()
220 *is_shared = buffer->IsSharedArrayBuffer(); in GET_FIRST_ARGUMENT_AS()
528 bool is_shared = false; in WebAssemblyCompile() local
529 auto bytes = GetFirstArgumentAsBytes(args, &thrower, &is_shared); in WebAssemblyCompile()
537 std::move(resolver), bytes, is_shared, in WebAssemblyCompile()
552 bool is_shared = false; in WasmStreamingCallbackForTesting() local
554 GetFirstArgumentAsBytes(args, &thrower, &is_shared); in WasmStreamingCallbackForTesting()
639 bool is_shared = false; in WebAssemblyValidate() local
640 auto bytes = GetFirstArgumentAsBytes(args, &thrower, &is_shared); in WebAssemblyValidate()
[all …]
/third_party/elfutils/src/
Delfclassify.c487 is_shared (void) in is_shared() function
540 return !is_shared (); in is_executable()
756 [classify_shared] = is_shared (), in process_current_path()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_texture.c371 if (rtex->resource.b.is_shared) in r600_reallocate_texture_inplace()
497 assert(!res->b.is_shared); in r600_texture_get_handle()
519 if (!res->b.is_shared || update_metadata) { in r600_texture_get_handle()
529 assert(!res->b.is_shared); in r600_texture_get_handle()
559 if (res->b.is_shared) { in r600_texture_get_handle()
567 res->b.is_shared = true; in r600_texture_get_handle()
1142 rtex->resource.b.is_shared = true; in r600_texture_from_handle()
1253 !rtex->resource.b.is_shared && in r600_can_invalidate_texture()
1782 if (tex->resource.b.is_shared && in evergreen_do_fast_color_clear()
1932 rtex->resource.b.is_shared = true; in r600_texture_from_memobj()
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_bo.h76 bool is_shared; member
/third_party/node/deps/v8/src/snapshot/
Dcontext-deserializer.cc65 bs && bs->is_shared() ? SharedFlag::kShared : SharedFlag::kNotShared; in SetupOffHeapArrayBufferBackingStores()
Dobject-deserializer.cc61 bs && bs->is_shared() ? SharedFlag::kShared : SharedFlag::kNotShared; in CommitPostProcessedObjects()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_texture.c371 (!tex->buffer.b.is_shared || in si_can_disable_dcc()
437 if (tex->buffer.b.is_shared || tex->num_planes > 1) in si_reallocate_texture_inplace()
711 assert(!res->b.is_shared); in si_texture_get_handle()
752 if ((!res->b.is_shared || update_metadata) && whandle->offset == 0) in si_texture_get_handle()
771 assert(!res->b.is_shared); in si_texture_get_handle()
803 if (res->b.is_shared) { in si_texture_get_handle()
811 res->b.is_shared = true; in si_texture_get_handle()
1587 tex->buffer.b.is_shared = true; in si_texture_from_winsys_buffer()
1797 return !tex->buffer.b.is_shared && !(tex->surface.flags & RADEON_SURF_IMPORTED) && in si_can_invalidate_texture()
Dsi_buffer.c253 if (buf->b.is_shared) in si_invalidate_buffer()
367 usage & PIPE_MAP_WRITE && !buf->b.is_shared && in si_buffer_transfer_map()
699 res->b.is_shared = true; in si_buffer_from_winsys_buffer()
/third_party/node/test/fixtures/wpt/wasm/jsapi/
Dwasm-module-builder.js927 var is_shared = (typeof imp.shared) != "undefined";
928 if (is_shared) {
982 const is_shared = wasm.memory.shared !== undefined;
984 if (is_shared) {
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_bo.h84 bool is_shared; member
/third_party/mesa3d/docs/relnotes/
D19.1.5.rst83 - radeonsi: fix an assertion failure: assert(!res->b.is_shared)
/third_party/node/deps/v8/src/compiler/backend/
Dmid-tier-register-allocator.cc874 bool is_shared() const { return is_shared_; } in is_shared() function in v8::internal::compiler::RegisterState::Register
876 return is_shared() && !is_allocated(); in was_spilled_while_shared()
961 DCHECK(!is_shared()); in Use()
1007 DCHECK(is_shared()); in CommitAtMerge()
1055 DCHECK_IMPLIES(num_commits_required_ > 0, is_shared()); in Commit()
1076 bool is_shared = is_shared_; in Spill() local
1078 is_shared_ = is_shared; in Spill()
1123 DCHECK(is_shared()); in SpillForDeferred()
1226 return HasRegisterData(reg) && reg_data(reg).is_shared(); in IsShared()
1240 if (reg_data(reg).is_shared()) { in ResetDataFor()
/third_party/node/deps/v8/src/handles/
Dhandles.cc54 if (isolate->is_shared()) return true; in IsDereferenceAllowed()

123