Home
last modified time | relevance | path

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

12

/external/llvm-project/llvm/utils/unittest/googlemock/include/gmock/
Dgmock-generated-function-mockers.h354 #define GMOCK_MOCKER_(arity, constness, Method) \ argument
355 GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__)
358 #define GMOCK_METHOD0_(tn, constness, ct, Method, ...) \ argument
360 ) constness { \
365 GMOCK_MOCKER_(0, constness, Method).SetOwnerAndName(this, #Method); \
366 return GMOCK_MOCKER_(0, constness, Method).Invoke(); \
369 gmock_##Method() constness { \
370 GMOCK_MOCKER_(0, constness, Method).RegisterOwner(this); \
371 return GMOCK_MOCKER_(0, constness, Method).With(); \
373 mutable ::testing::FunctionMocker<__VA_ARGS__> GMOCK_MOCKER_(0, constness, \
[all …]
/external/rust/crates/libc/src/
Dmacros.rs187 ($($(#[$attr:meta])* pub $({$constness:ident})* fn $i:ident(
194 pub $($constness)* unsafe extern fn $i($($arg: $argty),*
203 ($($(#[$attr:meta])* pub $({$constness:ident})* fn $i:ident(
210 pub $($constness)* extern fn $i($($arg: $argty),*
219 ($($(#[$attr:meta])* $({$constness:ident})* fn $i:ident(
226 $($constness)* fn $i($($arg: $argty),*
236 ($($(#[$attr:meta])* pub $({$constness:ident})* fn $i:ident(
252 ($($(#[$attr:meta])* pub $({$constness:ident})* fn $i:ident(
268 ($($(#[$attr:meta])* $({$constness:ident})* fn $i:ident(
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/
Dreadability-make-member-function-const.rst10 `logical constness <https://isocpp.org/wiki/faq/const-correctness#logical-vs-physical-state>`_
11 (not physical constness).
23 ways where logical constness and physical constness coincide:
29 that allows to modify the pointee which might not preserve logical constness.
Dreadability-non-const-parameter.rst18 This check is not strict about constness, it only warns when the constness will
Dperformance-no-automatic-move.rst6 Finds local variables that cannot be automatically moved due to constness.
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dbugprone-argument-comment-gmock.cpp49 #define GMOCK_METHOD2_(tn, constness, ct, Method, ...) \ argument
53 GMOCK_ARG_(tn, 2, __VA_ARGS__) gmock_a2) constness; \
56 GMOCK_MATCHER_(tn, 2, __VA_ARGS__) gmock_a2) constness
/external/rust/crates/syn-mid/src/
Dfunc.rs33 pub constness: Option<Token![const]>,
99 let constness: Option<Token![const]> = input.parse()?; in parse() localVariable
116 constness, in parse()
223 self.constness.to_tokens(tokens); in to_tokens()
/external/vixl/src/aarch64/
Ddecoder-aarch64.h290 explicit DecoderVisitor(VisitorConstness constness = kConstVisitor)
291 : constness_(constness) {} in constness_() argument
317 VisitorConstness constness = kConstVisitor)
318 : DecoderVisitor(constness) {} in DecoderVisitor() argument
/external/rust/cxx/syntax/
Dimpls.rs202 constness: _, in eq()
209 constness: _, in eq()
222 constness: _, in hash()
Dtokens.rs111 constness, in to_tokens()
115 constness.to_tokens(tokens); in to_tokens()
Dmod.rs239 pub constness: Option<Token![const]>, field
Dparse.rs536 if foreign_fn.sig.constness.is_some() { in parse_extern_fn()
1093 let constness = ty.const_token; in parse_type_ptr() localVariable
1103 constness, in parse_type_ptr()
/external/googletest/googlemock/include/gmock/
Dgmock-function-mocker.h469 #define GMOCK_INTERNAL_MOCK_METHODN(constness, ct, Method, args_num, ...) \ argument
473 args_num, Method, GMOCK_PP_NARG0(constness), 0, 0, , ct, , \
476 #define GMOCK_MOCKER_(arity, constness, Method) \ argument
477 GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__)
/external/fmtlib/test/gmock/
Dgmock.h10662 #define GMOCK_MOCKER_(arity, constness, Method) \
10663 GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__)
10666 #define GMOCK_METHOD0_(tn, constness, ct, Method, ...) \
10668 ) constness { \
10673 GMOCK_MOCKER_(0, constness, Method).SetOwnerAndName(this, #Method); \
10674 return GMOCK_MOCKER_(0, constness, Method).Invoke(); \
10677 gmock_##Method() constness { \
10678 GMOCK_MOCKER_(0, constness, Method).RegisterOwner(this); \
10679 return GMOCK_MOCKER_(0, constness, Method).With(); \
10681 mutable ::testing::FunctionMocker<__VA_ARGS__> GMOCK_MOCKER_(0, constness, \
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/gmock-1.8.0/gmock/
Dgmock.h11333 #define GMOCK_MOCKER_(arity, constness, Method) \
11334 GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__)
11337 #define GMOCK_METHOD0_(tn, constness, ct, Method, ...) \
11339 ) constness { \
11344 GMOCK_MOCKER_(0, constness, Method).SetOwnerAndName(this, #Method); \
11345 return GMOCK_MOCKER_(0, constness, Method).Invoke(); \
11348 gmock_##Method() constness { \
11349 GMOCK_MOCKER_(0, constness, Method).RegisterOwner(this); \
11350 return GMOCK_MOCKER_(0, constness, Method).With(); \
11352 mutable ::testing::FunctionMocker<__VA_ARGS__> GMOCK_MOCKER_(0, constness, \
[all …]
/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/llvm-project/clang/test/SemaCXX/
Dcstyle-cast.cpp198 void constness() in constness() function
Dreinterpret-cast.cpp56 void constness() in constness() function
Dfunctional-cast.cpp261 void constness() in constness() function
/external/llvm-project/clang/test/Analysis/
Dnonnull-global-constants.mm73 // Note that constness could be either inside
/external/clang/test/SemaObjCXX/
Darc-type-conversion.mm60 // It's acceptable to cast away constness.
72 // Not allowed to cast away constness
/external/llvm-project/clang/test/SemaObjCXX/
Darc-type-conversion.mm60 // It's acceptable to cast away constness.
72 // Not allowed to cast away constness
/external/rust/crates/syn/tests/common/
Deq.rs298 spanless_eq_struct!(FnHeader; constness asyncness unsafety ext);
305 spanless_eq_struct!(ImplKind; unsafety polarity defaultness constness generics of_trait self_ty ite…

12