Home
last modified time | relevance | path

Searched refs:constness (Results 1 – 25 of 56) sorted by relevance

123

/third_party/node/deps/v8/src/objects/
Dproperty.cc48 std::ostream& operator<<(std::ostream& os, PropertyConstness constness) { in operator <<() argument
49 switch (constness) { in operator <<()
62 PropertyLocation location, PropertyConstness constness, in Descriptor() argument
66 details_(kind, attributes, location, constness, representation, in Descriptor()
88 PropertyConstness constness, in DataField() argument
93 PropertyLocation::kField, constness, representation, in DataField()
126 if (constness() == PropertyConstness::kConst) os << "const "; in PrintAsSlowTo()
137 if (constness() == PropertyConstness::kConst) os << "const "; in PrintAsFastTo()
Dproperty-details.h283 PropertyConstness constness,
288 ConstnessField::encode(constness) |
295 PropertyConstness constness,
300 ConstnessField::encode(constness) |
338 PropertyDetails CopyWithConstness(PropertyConstness constness) const { in CopyWithConstness() argument
339 return PropertyDetails(value_, constness); in CopyWithConstness()
361 PropertyConstness constness() const { return ConstnessField::decode(value_); } in constness() function
501 PropertyDetails(int value, PropertyConstness constness) { in PropertyDetails() argument
502 value_ = ConstnessField::update(value, constness); in PropertyDetails()
535 PropertyConstness constness);
Dmap-updater.cc178 PropertyConstness constness, in ReconfigureToDataField() argument
199 new_constness_ = GeneralizeConstness(constness, old_details.constness()); in ReconfigureToDataField()
494 old_details.constness(), new_constness_, in TryReconfigureToDataFieldInplace()
676 GeneralizeField(tmp_map, i, old_details.constness(), tmp_representation, in FindTargetMap()
701 DCHECK(IsGeneralizableTo(new_constness_, details.constness())); in FindTargetMap()
815 old_details.constness(), target_details.constness()); in BuildDescriptorArray()
882 PropertyConstness next_constness = old_details.constness(); in BuildDescriptorArray()
945 if (details.constness() != next_details.constness()) break; in FindSplitMap()
1026 old_details.constness(), new_details.constness(), old_field_type, in ConstructNewMap()
1092 PropertyConstness constness) { in ReconfigureExistingProperty() argument
[all …]
Dproperty.h41 PropertyConstness constness,
66 PropertyLocation location, PropertyConstness constness,
Dmap.cc435 PropertyConstness constness, in CopyWithField() argument
451 constness = PropertyConstness::kMutable; in CopyWithField()
461 Descriptor d = Descriptor::DataField(name, index, attributes, constness, in CopyWithField()
552 switch (details.constness()) { in GetFieldCounts()
739 if (!IsGeneralizableTo(old_details.constness(), new_details.constness())) { in TryReplayPropertyTransitions()
1765 PropertyConstness constness, Object value) { in CanHoldValue() argument
1769 return IsGeneralizableTo(constness, details.constness()) && in CanHoldValue()
1779 DCHECK_EQ(PropertyConstness::kConst, details.constness()); in CanHoldValue()
1788 PropertyConstness constness, in UpdateDescriptorForValue() argument
1790 if (CanHoldValue(map->instance_descriptors(isolate), descriptor, constness, in UpdateDescriptorForValue()
[all …]
Dmap-updater.h59 PropertyConstness constness,
81 PropertyConstness constness);
Dlookup.h180 PropertyConstness constness() const { return property_details().constness(); } in constness() function
Dlookup.cc378 if (constness() == PropertyConstness::kConst) { in PrepareForDataProperty()
424 if (constness() != new_constness || representation().IsNone()) { in PrepareForDataProperty()
947 DCHECK_EQ(PropertyConstness::kConst, property_details_.constness()); in IsConstFieldValueEqualTo()
988 DCHECK_EQ(PropertyConstness::kConst, property_details_.constness()); in IsConstDictValueEqualTo()
1092 DCHECK_IMPLIES(!initializing_store && property_details_.constness() == in WriteDataValue()
1099 DCHECK_EQ(PropertyConstness::kConst, property_details_.constness()); in WriteDataValue()
1117 property_details_.constness() == PropertyConstness::kConst, in WriteDataValue()
Dmap.h531 PropertyConstness constness, Handle<Object> value);
694 PropertyConstness constness, Representation representation,
733 PropertyConstness constness, StoreOrigin store_origin);
/third_party/rust/crates/libc/src/
Dmacros.rs181 ($($(#[$attr:meta])* pub $({$constness:ident})* fn $i:ident(
188 pub $($constness)* unsafe extern fn $i($($arg: $argty),*
196 ($($(#[$attr:meta])* pub $({$constness:ident})* fn $i:ident(
203 pub $($constness)* extern fn $i($($arg: $argty),*
211 ($($(#[$attr:meta])* $({$constness:ident})* fn $i:ident(
218 $($constness)* fn $i($($arg: $argty),*
227 ($($(#[$attr:meta])* pub $({$constness:ident})* fn $i:ident(
242 ($($(#[$attr:meta])* pub $({$constness:ident})* fn $i:ident(
257 ($($(#[$attr:meta])* $({$constness:ident})* fn $i:ident(
/third_party/ltp/tools/sparse/sparse-src/Documentation/release-notes/
Dv0.5.2.rst11 * better tracking and handling of expression constness
64 * constexpr: introduce additional expression constness tracking flags
66 * constexpr: examine constness of casts at evaluation only
67 * constexpr: examine constness of binops and alike at evaluation only
68 * constexpr: examine constness of preops at evaluation only
69 * constexpr: examine constness of conditionals at evaluation only
72 * constexpr: check static storage duration objects' intializers' constness
79 * constexpr: examine constness of __builtin_offsetof at evaluation only
/third_party/rust/crates/cxx/syntax/
Dimpls.rs204 constness: _, in eq()
211 constness: _, in eq()
224 constness: _, in hash()
Dtokens.rs119 constness, in to_tokens()
123 constness.to_tokens(tokens); in to_tokens()
Dmod.rs265 pub constness: Option<Token![const]>, field
Dparse.rs579 if foreign_fn.sig.constness.is_some() { in parse_extern_fn()
1205 let constness = ty.const_token; in parse_type_ptr() localVariable
1215 constness, in parse_type_ptr()
/third_party/node/deps/v8/src/compiler/
Dcompilation-dependencies.cc351 if (details.constness() != PropertyConstness::kConst) { in GetHolderIfValid()
765 .constness(); in IsValid()
776 .constness()); in Install()
1071 PropertyConstness constness = map.GetPropertyDetails(descriptor).constness(); in DependOnFieldConstness() local
1072 if (constness == PropertyConstness::kMutable) return constness; in DependOnFieldConstness()
1085 DCHECK_EQ(constness, PropertyConstness::kConst); in DependOnFieldConstness()
Daccess-info.cc491 PropertyConstness constness; in ComputeDataFieldAccessInfo() local
493 constness = PropertyConstness::kConst; in ComputeDataFieldAccessInfo()
495 constness = dependencies()->DependOnFieldConstness(map, descriptor); in ComputeDataFieldAccessInfo()
503 switch (constness) { in ComputeDataFieldAccessInfo()
650 if (details.constness() != PropertyConstness::kConst) { in ComputeDictionaryProtoAccessInfo()
/third_party/googletest/googlemock/include/gmock/
Dgmock-function-mocker.h509 #define GMOCK_INTERNAL_MOCK_METHODN(constness, ct, Method, args_num, ...) \ argument
513 args_num, Method, GMOCK_PP_NARG0(constness), 0, 0, , ct, , \
516 #define GMOCK_MOCKER_(arity, constness, Method) \ argument
517 GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__)
/third_party/node/deps/v8/src/ic/
Dhandler-configuration-inl.h241 PropertyConstness constness, in StoreField() argument
243 Kind kind = constness == PropertyConstness::kMutable ? Kind::kField in StoreField()
Dhandler-configuration.h302 PropertyConstness constness,
Dic.cc1175 if (lookup->constness() == PropertyConstness::kConst && in ComputeHandler()
2134 lookup->constness() == PropertyConstness::kMutable); in ComputeHandler()
2155 PropertyConstness constness = lookup->constness(); in ComputeHandler() local
2156 if (constness == PropertyConstness::kConst && in ComputeHandler()
2161 constness = PropertyConstness::kMutable; in ComputeHandler()
2164 isolate(), descriptor, index, constness, lookup->representation())); in ComputeHandler()
/third_party/node/deps/v8/src/regexp/
Dregexp-utils.cc153 .constness() != PropertyConstness::kConst) { in IsUnmodifiedRegExp()
/third_party/node/deps/v8/src/runtime/
Druntime-object.cc135 details.constness() == PropertyConstness::kConst) { in GeneralizeAllTransitionsToFieldAsMutable()
139 details.constness() == PropertyConstness::kConst); in GeneralizeAllTransitionsToFieldAsMutable()
157 .constness()); in GeneralizeAllTransitionsToFieldAsMutable()
446 return isolate->heap()->ToBoolean(it.constness() == in RUNTIME_FUNCTION()
/third_party/rust/crates/syn/tests/common/
Deq.rs425 spanless_eq_struct!(FnHeader; constness asyncness unsafety ext);
431 spanless_eq_struct!(Impl; defaultness unsafety generics constness polarity of_trait self_ty items);
/third_party/node/deps/v8/src/json/
Djson-parser.cc530 details.constness(), representation, in BuildJsonObject()
539 details.constness(), expected_representation, in BuildJsonObject()

123