/external/google-breakpad/src/testing/include/gmock/ |
gmock-cardinalities.h | 48 // To implement a cardinality Foo, define: 51 // 2. a factory function that creates a Cardinality object from a 56 // management as Cardinality objects can now be copied like plain values. 58 // The implementation of a cardinality. 68 // Returns true iff call_count calls will satisfy this cardinality. 71 // Returns true iff call_count calls will saturate this cardinality. 78 // A Cardinality is a copyable and IMMUTABLE (except by assignment) 80 // be called. The implementation of Cardinality is just a linked_ptr 82 // Don't inherit from Cardinality! 83 class GTEST_API_ Cardinality { [all...] |
gmock-spec-builders.h | 50 // .Times(cardinality) 693 // Returns the cardinality specified in the expectation spec. 694 const Cardinality& cardinality() const { return cardinality_; } 742 // Explicitly specifies the cardinality of this expectation. Used 744 void SpecifyCardinality(const Cardinality& cardinality); 746 // Returns true iff the user specified the cardinality explicitly 750 // Sets the cardinality of this expectation spec. 751 void set_cardinality(const Cardinality& a_cardinality) [all...] |
/external/googletest/googlemock/include/gmock/ |
gmock-cardinalities.h | 48 // To implement a cardinality Foo, define: 51 // 2. a factory function that creates a Cardinality object from a 56 // management as Cardinality objects can now be copied like plain values. 58 // The implementation of a cardinality. 68 // Returns true iff call_count calls will satisfy this cardinality. 71 // Returns true iff call_count calls will saturate this cardinality. 78 // A Cardinality is a copyable and IMMUTABLE (except by assignment) 80 // be called. The implementation of Cardinality is just a linked_ptr 82 // Don't inherit from Cardinality! 83 class GTEST_API_ Cardinality { [all...] |
gmock-spec-builders.h | 50 // .Times(cardinality) 701 // Returns the cardinality specified in the expectation spec. 702 const Cardinality& cardinality() const { return cardinality_; } 752 // Explicitly specifies the cardinality of this expectation. Used 754 void SpecifyCardinality(const Cardinality& cardinality); 756 // Returns true iff the user specified the cardinality explicitly 760 // Sets the cardinality of this expectation spec. 761 void set_cardinality(const Cardinality& a_cardinality) [all...] |
/external/v8/testing/gmock/include/gmock/ |
gmock-cardinalities.h | 48 // To implement a cardinality Foo, define: 51 // 2. a factory function that creates a Cardinality object from a 56 // management as Cardinality objects can now be copied like plain values. 58 // The implementation of a cardinality. 68 // Returns true iff call_count calls will satisfy this cardinality. 71 // Returns true iff call_count calls will saturate this cardinality. 78 // A Cardinality is a copyable and IMMUTABLE (except by assignment) 80 // be called. The implementation of Cardinality is just a linked_ptr 82 // Don't inherit from Cardinality! 83 class GTEST_API_ Cardinality { [all...] |
gmock-spec-builders.h | 50 // .Times(cardinality) 701 // Returns the cardinality specified in the expectation spec. 702 const Cardinality& cardinality() const { return cardinality_; } 750 // Explicitly specifies the cardinality of this expectation. Used 752 void SpecifyCardinality(const Cardinality& cardinality); 754 // Returns true iff the user specified the cardinality explicitly 758 // Sets the cardinality of this expectation spec. 759 void set_cardinality(const Cardinality& a_cardinality) [all...] |
/external/google-breakpad/src/testing/src/ |
gmock-cardinalities.cc | 49 // Implements the Between(m, n) cardinality. 107 // Describes the Between(m, n) cardinality in human-friendly text. 130 void Cardinality::DescribeActualCallCountTo(int actual_call_count, 139 // Creates a cardinality that allows at least n calls. 140 GTEST_API_ Cardinality AtLeast(int n) { return Between(n, INT_MAX); } 142 // Creates a cardinality that allows at most n calls. 143 GTEST_API_ Cardinality AtMost(int n) { return Between(0, n); } 145 // Creates a cardinality that allows any number of calls. 146 GTEST_API_ Cardinality AnyNumber() { return AtLeast(0); } 148 // Creates a cardinality that allows between min and max calls [all...] |
gmock-spec-builders.cc | 87 // Explicitly specifies the cardinality of this expectation. Used by 89 void ExpectationBase::SpecifyCardinality(const Cardinality& a_cardinality) { 156 cardinality().DescribeTo(os); 158 Cardinality::DescribeActualCallCountTo(call_count(), os); 170 // WillRepeatedly() clauses) against the cardinality if this hasn't 186 // The cardinality was inferred - no need to check the action 191 // The cardinality was explicitly specified. 193 const int upper_bound = cardinality().ConservativeUpperBound(); 194 const int lower_bound = cardinality().ConservativeLowerBound(); 212 cardinality().DescribeTo(&ss) [all...] |
/external/googletest/googlemock/src/ |
gmock-cardinalities.cc | 49 // Implements the Between(m, n) cardinality. 107 // Describes the Between(m, n) cardinality in human-friendly text. 130 void Cardinality::DescribeActualCallCountTo(int actual_call_count, 139 // Creates a cardinality that allows at least n calls. 140 GTEST_API_ Cardinality AtLeast(int n) { return Between(n, INT_MAX); } 142 // Creates a cardinality that allows at most n calls. 143 GTEST_API_ Cardinality AtMost(int n) { return Between(0, n); } 145 // Creates a cardinality that allows any number of calls. 146 GTEST_API_ Cardinality AnyNumber() { return AtLeast(0); } 148 // Creates a cardinality that allows between min and max calls [all...] |
gmock-spec-builders.cc | 86 // Explicitly specifies the cardinality of this expectation. Used by 88 void ExpectationBase::SpecifyCardinality(const Cardinality& a_cardinality) { 155 cardinality().DescribeTo(os); 157 Cardinality::DescribeActualCallCountTo(call_count(), os); 169 // WillRepeatedly() clauses) against the cardinality if this hasn't 185 // The cardinality was inferred - no need to check the action 190 // The cardinality was explicitly specified. 192 const int upper_bound = cardinality().ConservativeUpperBound(); 193 const int lower_bound = cardinality().ConservativeLowerBound(); 211 cardinality().DescribeTo(&ss) [all...] |
/external/v8/testing/gmock/src/ |
gmock-cardinalities.cc | 49 // Implements the Between(m, n) cardinality. 107 // Describes the Between(m, n) cardinality in human-friendly text. 130 void Cardinality::DescribeActualCallCountTo(int actual_call_count, 139 // Creates a cardinality that allows at least n calls. 140 GTEST_API_ Cardinality AtLeast(int n) { return Between(n, INT_MAX); } 142 // Creates a cardinality that allows at most n calls. 143 GTEST_API_ Cardinality AtMost(int n) { return Between(0, n); } 145 // Creates a cardinality that allows any number of calls. 146 GTEST_API_ Cardinality AnyNumber() { return AtLeast(0); } 148 // Creates a cardinality that allows between min and max calls [all...] |
gmock-spec-builders.cc | 87 // Explicitly specifies the cardinality of this expectation. Used by 89 void ExpectationBase::SpecifyCardinality(const Cardinality& a_cardinality) { 156 cardinality().DescribeTo(os); 158 Cardinality::DescribeActualCallCountTo(call_count(), os); 170 // WillRepeatedly() clauses) against the cardinality if this hasn't 186 // The cardinality was inferred - no need to check the action 191 // The cardinality was explicitly specified. 193 const int upper_bound = cardinality().ConservativeUpperBound(); 194 const int lower_bound = cardinality().ConservativeLowerBound(); 212 cardinality().DescribeTo(&ss) [all...] |
/external/google-breakpad/src/testing/test/ |
gmock-cardinalities_test.cc | 47 using testing::Cardinality; 62 // Tests that Cardinality objects can be default constructed. 64 Cardinality c; 67 // Tests that Cardinality objects are copyable. 70 Cardinality c = Exactly(1); 83 const Cardinality c = AtMost(5); 89 // Tests that Cardinality::DescribeActualCallCountTo() creates the 93 Cardinality::DescribeActualCallCountTo(0, &ss0); 97 Cardinality::DescribeActualCallCountTo(1, &ss1); 101 Cardinality::DescribeActualCallCountTo(2, &ss2) [all...] |
/external/googletest/googlemock/test/ |
gmock-cardinalities_test.cc | 47 using testing::Cardinality; 62 // Tests that Cardinality objects can be default constructed. 64 Cardinality c; 67 // Tests that Cardinality objects are copyable. 70 Cardinality c = Exactly(1); 83 const Cardinality c = AtMost(5); 89 // Tests that Cardinality::DescribeActualCallCountTo() creates the 93 Cardinality::DescribeActualCallCountTo(0, &ss0); 97 Cardinality::DescribeActualCallCountTo(1, &ss1); 101 Cardinality::DescribeActualCallCountTo(2, &ss2) [all...] |
/external/v8/testing/gmock/test/ |
gmock-cardinalities_test.cc | 47 using testing::Cardinality; 62 // Tests that Cardinality objects can be default constructed. 64 Cardinality c; 67 // Tests that Cardinality objects are copyable. 70 Cardinality c = Exactly(1); 83 const Cardinality c = AtMost(5); 89 // Tests that Cardinality::DescribeActualCallCountTo() creates the 93 Cardinality::DescribeActualCallCountTo(0, &ss0); 97 Cardinality::DescribeActualCallCountTo(1, &ss1); 101 Cardinality::DescribeActualCallCountTo(2, &ss2) [all...] |
/external/skia/experimental/skottie/ |
SkottieProperties.cpp | 41 size_t ValueTraits<ScalarValue>::Cardinality(const ScalarValue&) { 52 size_t ValueTraits<VectorValue>::Cardinality(const VectorValue& vec) { 79 size_t ValueTraits<ShapeValue>::Cardinality(const ShapeValue& path) {
|
SkottieProperties.h | 39 static size_t Cardinality(const T&);
|
SkottieAnimator.cpp | 246 ValueTraits<T>::Cardinality(val) != ValueTraits<T>::Cardinality(fVs.back()))) {
|
/external/skqp/experimental/skottie/ |
SkottieProperties.cpp | 41 size_t ValueTraits<ScalarValue>::Cardinality(const ScalarValue&) { 52 size_t ValueTraits<VectorValue>::Cardinality(const VectorValue& vec) { 79 size_t ValueTraits<ShapeValue>::Cardinality(const ShapeValue& path) {
|
SkottieProperties.h | 39 static size_t Cardinality(const T&);
|
SkottieAnimator.cpp | 246 ValueTraits<T>::Cardinality(val) != ValueTraits<T>::Cardinality(fVs.back()))) {
|
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
Type.cs | 65 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.WellKnownTypes.Field), global::Google.Protobuf.WellKnownTypes.Field.Parser, new[]{ "Kind", "Cardinality", "Number", "Name", "TypeUrl", "OneofIndex", "Packed", "Options", "JsonName", "DefaultValue" }, null, new[]{ typeof(global::Google.Protobuf.WellKnownTypes.Field.Types.Kind), typeof(global::Google.Protobuf.WellKnownTypes.Field.Types.Cardinality) }, null), 385 /// <summary>Field number for the "cardinality" field.</summary> 387 private global::Google.Protobuf.WellKnownTypes.Field.Types.Cardinality cardinality_ = 0; 389 /// The field cardinality. 391 public global::Google.Protobuf.WellKnownTypes.Field.Types.Cardinality Cardinality { 515 if (Cardinality != other.Cardinality) return false; 530 if (Cardinality != 0) hash ^= Cardinality.GetHashCode() [all...] |
/external/protobuf/src/google/protobuf/ |
type.pb.h | 390 typedef Field_Cardinality Cardinality; 391 static const Cardinality CARDINALITY_UNKNOWN = 393 static const Cardinality CARDINALITY_OPTIONAL = 395 static const Cardinality CARDINALITY_REQUIRED = 397 static const Cardinality CARDINALITY_REPEATED = 402 static const Cardinality Cardinality_MIN = 404 static const Cardinality Cardinality_MAX = 412 static inline const ::std::string& Cardinality_Name(Cardinality value) { 416 Cardinality* value) { 428 // optional .google.protobuf.Field.Cardinality cardinality = 2 1094 inline ::google::protobuf::Field_Cardinality Field::cardinality() const { function in class:google::protobuf::Field [all...] |
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/ |
type.pb.h | 390 typedef Field_Cardinality Cardinality; 391 static const Cardinality CARDINALITY_UNKNOWN = 393 static const Cardinality CARDINALITY_OPTIONAL = 395 static const Cardinality CARDINALITY_REQUIRED = 397 static const Cardinality CARDINALITY_REPEATED = 402 static const Cardinality Cardinality_MIN = 404 static const Cardinality Cardinality_MAX = 412 static inline const ::std::string& Cardinality_Name(Cardinality value) { 416 Cardinality* value) { 428 // optional .google.protobuf.Field.Cardinality cardinality = 2 1094 inline ::google::protobuf::Field_Cardinality Field::cardinality() const { function in class:google::protobuf::Field [all...] |
/external/protobuf/src/google/protobuf/util/ |
type_resolver_util_test.cc | 84 bool HasField(const Type& type, Field::Cardinality cardinality, 90 return field->cardinality() == cardinality &&
|