Home
last modified time | relevance | path

Searched refs:mutability (Results 1 – 25 of 60) sorted by relevance

123

/third_party/rust/crates/cxx/syntax/
Dimpls.rs162 mutability: _, in eq()
171 mutability: _, in eq()
186 mutability: _, in hash()
203 mutability: _, in eq()
210 mutability: _, in eq()
223 mutability: _, in hash()
241 mutability: _, in eq()
249 mutability: _, in eq()
263 mutability: _, in hash()
413 mutability: _, in eq()
[all …]
Dtokens.rs96 mutability, in to_tokens()
104 mutability.to_tokens(tokens); in to_tokens()
118 mutability, in to_tokens()
122 mutability.to_tokens(tokens); in to_tokens()
136 mutability, in to_tokens()
140 mutability.to_tokens(tokens); in to_tokens()
Dmod.rs214 pub mutability: Option<Token![mut]>, field
257 pub mutability: Option<Token![mut]>, field
264 pub mutability: Option<Token![mut]>, field
274 pub mutability: Option<Token![mut]>, field
Dparse.rs604 mutable: arg.mutability.is_some(), in parse_extern_fn()
610 mutability: arg.mutability, in parse_extern_fn()
658 mutability: reference.mutability, in parse_extern_fn()
1162 let mutable = ty.mutability.is_some(); in parse_type_reference()
1163 let mutability = ty.mutability; in parse_type_reference() localVariable
1174 mutability, in parse_type_reference()
1184 if ty.mutability.is_some() { in parse_type_reference()
1198 mutability, in parse_type_reference()
1204 let mutable = ty.mutability.is_some(); in parse_type_ptr()
1206 let mutability = ty.mutability; in parse_type_ptr() localVariable
[all …]
Dcheck.rs429 let mutability = match receiver.mutable { in check_api_fn() localVariable
435 mutability = mutability, in check_api_fn()
681 let mutability = receiver.mutability; in span_for_receiver_error() localVariable
684 quote!(#ampersand #lifetime #mutability #var) in span_for_receiver_error()
687 quote!(#ampersand #lifetime #mutability #ty) in span_for_receiver_error()
/third_party/node/deps/v8/src/wasm/
Dstruct-types.h40 bool mutability(uint32_t index) const { in mutability() function
96 void AddField(ValueType type, bool mutability) { in AddField() argument
98 mutabilities_[cursor_] = mutability; in AddField()
129 constexpr explicit ArrayType(ValueType rep, bool mutability) in ArrayType() argument
130 : rep_(rep), mutability_(mutability) {} in ArrayType()
133 bool mutability() const { return mutability_; } in mutability() function
Dwasm-subtyping.cc40 bool sub_mut = sub_struct->mutability(i); in ValidStructSubtypeDefinition()
41 bool super_mut = super_struct->mutability(i); in ValidStructSubtypeDefinition()
61 bool sub_mut = sub_array->mutability(); in ValidArraySubtypeDefinition()
62 bool super_mut = super_array->mutability(); in ValidArraySubtypeDefinition()
Dwasm-module-builder.cc398 ValueType type, bool mutability, in AddGlobalImport() argument
400 global_imports_.push_back({module, name, type.value_type_code(), mutability}); in AddGlobalImport()
414 uint32_t WasmModuleBuilder::AddExportedGlobal(ValueType type, bool mutability, in AddExportedGlobal() argument
417 uint32_t index = AddGlobal(type, mutability, init); in AddExportedGlobal()
433 uint32_t WasmModuleBuilder::AddGlobal(ValueType type, bool mutability, in AddGlobal() argument
435 globals_.push_back({type, mutability, init}); in AddGlobal()
641 buffer->write_u8(struct_type->mutability(i) ? 1 : 0); in WriteTo()
649 buffer->write_u8(array_type->mutability() ? 1 : 0); in WriteTo()
666 buffer->write_u8(import.mutability ? 1 : 0); in WriteTo()
740 buffer->write_u8(global.mutability ? 1 : 0); in WriteTo()
Dwasm-module-builder.h317 uint32_t AddGlobal(ValueType type, bool mutability = true,
320 bool mutability,
355 uint32_t AddExportedGlobal(ValueType type, bool mutability, WasmInitExpr init,
433 bool mutability; member
444 bool mutability; member
Dcanonical-types.cc128 original_type->mutability(i)); in CanonicalizeTypeDef()
137 zone_.New<ArrayType>(element_type, type.array_type->mutability()), in CanonicalizeTypeDef()
Dc-api.cc166 Mutability mutability = global.mutability ? VAR : CONST; in GetImportExportType() local
167 return GlobalType::make(std::move(content), mutability); in GetImportExportType()
671 Mutability mutability; member
673 GlobalTypeImpl(own<ValType>& content, Mutability mutability) in GlobalTypeImpl()
676 mutability(mutability) {} in GlobalTypeImpl()
688 auto GlobalType::make(own<ValType>&& content, Mutability mutability) in make() argument
691 new (std::nothrow) GlobalTypeImpl(content, mutability))) in make()
696 return make(content()->copy(), mutability()); in copy()
703 auto GlobalType::mutability() const -> Mutability { in mutability() function in wasm::GlobalType
704 return impl(this)->mutability; in mutability()
[all …]
Dmodule-instantiate.cc110 PropertyAttributes attributes = type->mutability(i) ? SEALED : FROZEN; in CreateStructDescriptorArray()
1389 if (static_cast<bool>(global_object->is_mutable()) != global.mutability) { in ProcessImportedWasmGlobalObject()
1401 global.mutability in ProcessImportedWasmGlobalObject()
1412 if (global.mutability) { in ProcessImportedWasmGlobalObject()
1519 if (global.mutability) { in ProcessImportedGlobal()
1718 if (global.mutability && global.imported) continue; in InitGlobals()
1852 if (global.mutability && global.imported) { in ProcessExports()
1893 global.mutability) in ProcessExports()
/third_party/rust/crates/cxx/macro/src/
Dtokens.rs33 mutability, in to_tokens()
41 mutability.to_tokens(tokens); in to_tokens()
61 mutability, in to_tokens()
69 mutability.to_tokens(tokens); in to_tokens()
Dexpand.rs504 let mutability = receiver.mutability; in expand_cxx_function_shim() localVariable
505 quote!(#ampersand #lifetime #mutability #var) in expand_cxx_function_shim()
687 let mutability = ty.mutability; in expand_cxx_function_shim() localVariable
688 let deref_mut = quote_spanned!(span=> &#mutability *#call.cast()); in expand_cxx_function_shim()
1773 let mutability = ty.mutability; in expand_extern_type() localVariable
1777 … quote_spanned!(span=> #ampersand #lifetime #mutability ::cxx::private::RustString) in expand_extern_type()
1784 …quote_spanned!(span=> #ampersand #lifetime #mutability ::cxx::private::RustVec #langle #inner #ran… in expand_extern_type()
1790 true => quote!(#star #mutability ::cxx::core::ffi::c_void), in expand_extern_type()
1799 let mutability = ty.mutability; in expand_extern_type() localVariable
1801 quote!(#star #mutability #constness ::cxx::core::ffi::c_void) in expand_extern_type()
/third_party/rust/crates/syn/tests/
Dtest_receiver.rs77 mutability: None, in test_value_shorthand()
92 mutability: Some(_), in test_mut_value_shorthand()
107 mutability: None, in test_ref_shorthand()
122 mutability: Some(_), in test_ref_mut_shorthand()
/third_party/rust/crates/syn/src/
Dpat.rs123 pub mutability: Option<Token![mut]>,
205 pub mutability: Option<Token![mut]>,
446 mutability: input.parse()?, in pat_ident()
514 let mutability: Option<Token![mut]> = input.parse()?; in field_pat() localVariable
517 if boxed.is_none() && by_ref.is_none() && mutability.is_none() && input.peek(Token![:]) in field_pat()
536 mutability, in field_pat()
623 mutability: input.parse()?, in pat_reference()
782 self.mutability.to_tokens(tokens); in to_tokens()
858 self.mutability.to_tokens(tokens); in to_tokens()
Dty.rs215 pub mutability: Option<Token![mut]>,
229 pub mutability: Option<Token![mut]>,
686 let (const_token, mutability) = if lookahead.peek(Token![const]) { in parse()
697 mutability, in parse()
709 mutability: input.parse()?, in parse()
1152 match &self.mutability { in to_tokens()
1167 self.mutability.to_tokens(tokens); in to_tokens()
Ditem.rs249 pub mutability: Option<Token![mut]>,
625 pub mutability: Option<Token![mut]>,
953 pub mutability: Option<Token![mut]>,
1017 let mutability = input.parse()?; in parse() localVariable
1035 mutability, in parse()
1408 mutability: input.parse()?, in parse()
1596 mutability: input.parse()?, in parse()
1775 let mutability = input.parse()?; in parse() localVariable
1789 mutability, in parse()
1850 mutability: input.parse()?, in parse()
[all …]
/third_party/rust/crates/syn/src/gen/
Dclone.rs616 mutability: self.mutability.clone(), in clone()
885 mutability: self.mutability.clone(), in clone()
1198 mutability: self.mutability.clone(), in clone()
1504 mutability: self.mutability.clone(), in clone()
1571 mutability: self.mutability.clone(), in clone()
1751 mutability: self.mutability.clone(), in clone()
2037 mutability: self.mutability.clone(), in clone()
2049 mutability: self.mutability.clone(), in clone()
Deq.rs595 self.attrs == other.attrs && self.mutability == other.mutability in eq()
853 && self.mutability == other.mutability && self.ident == other.ident in eq()
1146 && self.mutability == other.mutability && self.ident == other.ident in eq()
1434 && self.mutability == other.mutability && self.ident == other.ident in eq()
1497 self.attrs == other.attrs && self.mutability == other.mutability in eq()
1677 && self.mutability == other.mutability in eq()
1971 self.const_token == other.const_token && self.mutability == other.mutability in eq()
1982 self.lifetime == other.lifetime && self.mutability == other.mutability in eq()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArraySampling.hpp656 const resolutionDefinition& resolution, bool mutability);
659 const resolutionDefinition& resolution, bool mutability);
669 …void testTexture(const formatDefinition& format, bool mutability, const resolutionDefinition& reso…
DesextcTextureCubeMapArraySampling.cpp3359 const resolutionDefinition& resolution, bool mutability) in prepareCompresedTexture() argument
3373 if (false == mutability) in prepareCompresedTexture()
3447 const resolutionDefinition& resolution, bool mutability) in prepareTexture() argument
3461 if (false == mutability) in prepareTexture()
3610 …for (mutablitiesVectorType::iterator mutability = m_mutabilities.begin(), end_muatbility = m_mutab… local
3611 end_muatbility != mutability; ++mutability)
3623 prepareTexture(texture, *format, *resolution, *mutability);
3627 prepareCompresedTexture(texture, *format, *resolution, *mutability);
3636 << ", Mutability: " << *mutability << ", W: " << resolution->m_width
3647 testTexture(*format, *mutability, *resolution, texture, program_collection);
[all …]
/third_party/vk-gl-cts/external/vulkan-docs/src/appendices/
DVK_KHR_swapchain_mutable_format.txt38 swapchain image format mutability.
/third_party/node/deps/v8/src/interpreter/
Dbytecode-array-builder.cc748 ContextSlotMutability mutability) { in LoadContextSlot() argument
750 if (mutability == kImmutableSlot) { in LoadContextSlot()
753 DCHECK_EQ(kMutableSlot, mutability); in LoadContextSlot()
756 } else if (mutability == kImmutableSlot) { in LoadContextSlot()
759 DCHECK_EQ(mutability, kMutableSlot); in LoadContextSlot()
/third_party/node/deps/v8/third_party/wasm-api/example/
Dreflect.cc55 out << "global " << type.global()->mutability() << " " << *type.global()->content(); in operator <<()

123