Home
last modified time | relevance | path

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

12

/external/googletest/googlemock/include/gmock/
Dgmock-generated-function-mockers.h133 #define GMOCK_MOCKER_(arity, constness, Method) \ argument
134 GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__)
137 #define GMOCK_METHOD0_(tn, constness, ct, Method, ...) \ argument
142 ) constness { \
143 GMOCK_MOCKER_(0, constness, Method).SetOwnerAndName(this, #Method); \
144 return GMOCK_MOCKER_(0, constness, Method).Invoke(); \
147 gmock_##Method() constness { \
148 GMOCK_MOCKER_(0, constness, Method).RegisterOwner(this); \
149 return GMOCK_MOCKER_(0, constness, Method).With(); \
153 constness ::testing::internal::Function<__VA_ARGS__>* ) const { \
[all …]
Dgmock-generated-function-mockers.h.pump136 #define GMOCK_MOCKER_(arity, constness, Method) \
137 GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__)
151 #define GMOCK_METHOD$i[[]]_(tn, constness, ct, Method, ...) \
154 $arg_as) constness { \
155 GMOCK_MOCKER_($i, constness, Method).SetOwnerAndName(this, #Method); \
156 return GMOCK_MOCKER_($i, constness, Method).Invoke($as); \
159 gmock_##Method($matcher_arg_as) constness { \
160 GMOCK_MOCKER_($i, constness, Method).RegisterOwner(this); \
161 return GMOCK_MOCKER_($i, constness, Method).With($matcher_as); \
165 constness ::testing::internal::Function<__VA_ARGS__>* ) const { \
[all …]
/external/google-breakpad/src/testing/include/gmock/
Dgmock-generated-function-mockers.h343 #define GMOCK_MOCKER_(arity, constness, Method) \ argument
344 GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__)
347 #define GMOCK_METHOD0_(tn, constness, ct, Method, F) \ argument
348 GMOCK_RESULT_(tn, F) ct Method() constness { \
352 GMOCK_MOCKER_(0, constness, Method).SetOwnerAndName(this, #Method); \
353 return GMOCK_MOCKER_(0, constness, Method).Invoke(); \
356 gmock_##Method() constness { \
357 GMOCK_MOCKER_(0, constness, Method).RegisterOwner(this); \
358 return GMOCK_MOCKER_(0, constness, Method).With(); \
360 mutable ::testing::FunctionMocker<F> GMOCK_MOCKER_(0, constness, Method)
[all …]
Dgmock-generated-function-mockers.h.pump121 #define GMOCK_MOCKER_(arity, constness, Method) \
122 GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__)
133 #define GMOCK_METHOD$i[[]]_(tn, constness, ct, Method, F) \
134 GMOCK_RESULT_(tn, F) ct Method($arg_as) constness { \
138 GMOCK_MOCKER_($i, constness, Method).SetOwnerAndName(this, #Method); \
139 return GMOCK_MOCKER_($i, constness, Method).Invoke($as); \
142 gmock_##Method($matcher_as) constness { \
143 GMOCK_MOCKER_($i, constness, Method).RegisterOwner(this); \
144 return GMOCK_MOCKER_($i, constness, Method).With($as); \
146 mutable ::testing::FunctionMocker<F> GMOCK_MOCKER_($i, constness, Method)
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googlemock/include/gmock/
Dgmock-generated-function-mockers.h352 #define GMOCK_MOCKER_(arity, constness, Method) \ argument
353 GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__)
356 #define GMOCK_METHOD0_(tn, constness, ct, Method, ...) \ argument
358 ) constness { \
363 GMOCK_MOCKER_(0, constness, Method).SetOwnerAndName(this, #Method); \
364 return GMOCK_MOCKER_(0, constness, Method).Invoke(); \
367 gmock_##Method() constness { \
368 GMOCK_MOCKER_(0, constness, Method).RegisterOwner(this); \
369 return GMOCK_MOCKER_(0, constness, Method).With(); \
371 mutable ::testing::FunctionMocker<__VA_ARGS__> GMOCK_MOCKER_(0, constness, \
[all …]
/external/v8/src/
Dproperty.cc30 PropertyLocation location, PropertyConstness constness, in Descriptor() argument
34 details_(kind, attributes, location, constness, representation, in Descriptor()
56 PropertyConstness constness, in DataField() argument
60 PropertyDetails details(kData, attributes, kField, constness, representation, in DataField()
98 if (constness() == PropertyConstness::kConst) os << "const "; in PrintAsSlowTo()
107 if (constness() == PropertyConstness::kConst) os << "const "; in PrintAsFastTo()
Dmap-updater.cc102 PropertyConstness constness, in ReconfigureToDataField() argument
119 new_constness_ = GeneralizeConstness(constness, old_details.constness()); in ReconfigureToDataField()
276 if (new_constness_ != old_details.constness() && in FindRootMap()
294 if (FLAG_modify_map_inplace && new_constness_ != old_details.constness()) { in FindRootMap()
300 DCHECK(IsGeneralizableTo(old_details.constness(), new_constness_)); in FindRootMap()
339 PropertyConstness tmp_constness = tmp_details.constness(); in FindTargetMap()
341 !IsGeneralizableTo(old_details.constness(), tmp_constness)) { in FindTargetMap()
355 PropertyConstness constness = in FindTargetMap() local
356 FLAG_modify_map_inplace ? old_details.constness() : tmp_constness; in FindTargetMap()
357 GeneralizeField(tmp_map, i, constness, tmp_representation, in FindTargetMap()
[all …]
Dproperty-details.h246 PropertyLocation location, PropertyConstness constness,
250 ConstnessField::encode(constness) |
281 PropertyDetails CopyWithConstness(PropertyConstness constness) const { in CopyWithConstness() argument
282 return PropertyDetails(value_, constness); in CopyWithConstness()
304 PropertyConstness constness() const { return ConstnessField::decode(value_); } in constness() function
398 PropertyDetails(int value, PropertyConstness constness) { in PropertyDetails() argument
399 value_ = ConstnessField::update(value, constness); in PropertyDetails()
Dproperty.h41 PropertyConstness constness,
66 PropertyConstness constness, Representation representation,
Dmap-updater.h54 PropertyConstness constness,
Dlookup.h188 PropertyConstness constness() const { return property_details().constness(); } in constness() function
Dlookup.cc429 if (constness() == PropertyConstness::kConst) { in PrepareForDataProperty()
446 if (constness() != new_constness || representation().IsNone()) { in PrepareForDataProperty()
862 DCHECK_EQ(PropertyConstness::kConst, property_details_.constness()); in IsConstFieldValueEqualTo()
978 DCHECK_IMPLIES(!initializing_store && property_details_.constness() == in WriteDataValue()
985 DCHECK_EQ(PropertyConstness::kConst, property_details_.constness()); in WriteDataValue()
/external/v8/src/ic/
Dhandler-configuration-inl.h162 PropertyConstness constness, in StoreField() argument
165 constness == PropertyConstness::kMutable); in StoreField()
166 Kind kind = constness == PropertyConstness::kMutable ? kField : kConstField; in StoreField()
Dhandler-configuration.h252 PropertyConstness constness,
Dic.cc1636 PropertyConstness constness = lookup->constness(); in ComputeHandler() local
1637 if (constness == PropertyConstness::kConst && in ComputeHandler()
1642 constness = PropertyConstness::kMutable; in ComputeHandler()
1645 isolate(), descriptor, index, constness, lookup->representation())); in ComputeHandler()
/external/vixl/src/aarch64/
Ddecoder-aarch64.h132 explicit DecoderVisitor(VisitorConstness constness = kConstVisitor)
133 : constness_(constness) {} in constness_() argument
/external/v8/src/objects/
Dmap.h485 static inline bool IsInplaceGeneralizableField(PropertyConstness constness,
498 PropertyConstness* constness, Representation* representation,
514 PropertyConstness constness,
664 PropertyConstness constness, Representation representation,
701 PropertyConstness constness,
Dmap-inl.h85 bool Map::IsInplaceGeneralizableField(PropertyConstness constness, in IsInplaceGeneralizableField() argument
89 (constness == PropertyConstness::kConst)) { in IsInplaceGeneralizableField()
111 Isolate* isolate, InstanceType instance_type, PropertyConstness* constness, in GeneralizeIfCanHaveTransitionableFastElementsKind() argument
123 *constness = PropertyConstness::kMutable; in GeneralizeIfCanHaveTransitionableFastElementsKind()
/external/v8/src/compiler/
Daccess-info.cc89 PropertyConstness constness, MapHandles const& receiver_maps, in DataField() argument
94 constness == PropertyConstness::kConst ? kDataConstantField : kDataField; in DataField()
408 details.constness(), MapHandles{receiver_map}, field_index, in ComputePropertyAccessInfo()
Daccess-info.h77 PropertyConstness constness, MapHandles const& receiver_maps,
/external/clang/test/SemaCXX/
Dcstyle-cast.cpp193 void constness() in constness() function
Dreinterpret-cast.cpp56 void constness() in constness() function
Dfunctional-cast.cpp261 void constness() in constness() function
/external/clang/test/SemaObjCXX/
Darc-type-conversion.mm60 // It's acceptable to cast away constness.
72 // Not allowed to cast away constness
/external/eigen/doc/
DFunctionsTakingEigenTypes.dox154 …k. One needs to pass a const reference to the matrix and internally the constness needs to be cast…
213 …ritable (non-const) parameters must take const references and cast away constness within the funct…

12