Home
last modified time | relevance | path

Searched refs:Cardinality (Results 1 – 25 of 29) sorted by relevance

12

/external/google-breakpad/src/testing/include/gmock/
Dgmock-cardinalities.h83 class GTEST_API_ Cardinality {
87 Cardinality() {} in Cardinality() function
90 explicit Cardinality(const CardinalityInterface* impl) : impl_(impl) {} in Cardinality() function
126 GTEST_API_ Cardinality AtLeast(int n);
129 GTEST_API_ Cardinality AtMost(int n);
132 GTEST_API_ Cardinality AnyNumber();
135 GTEST_API_ Cardinality Between(int min, int max);
138 GTEST_API_ Cardinality Exactly(int n);
141 inline Cardinality MakeCardinality(const CardinalityInterface* c) { in MakeCardinality()
142 return Cardinality(c); in MakeCardinality()
Dgmock-spec-builders.h694 const Cardinality& cardinality() const { return cardinality_; } in cardinality()
744 void SpecifyCardinality(const Cardinality& cardinality);
751 void set_cardinality(const Cardinality& a_cardinality) { in set_cardinality()
834 void UntypedTimes(const Cardinality& a_cardinality);
843 Cardinality cardinality_; // The cardinality of the expectation.
917 TypedExpectation& Times(const Cardinality& a_cardinality) { in Times()
/external/googletest/googlemock/include/gmock/
Dgmock-cardinalities.h83 class GTEST_API_ Cardinality {
87 Cardinality() {} in Cardinality() function
90 explicit Cardinality(const CardinalityInterface* impl) : impl_(impl) {} in Cardinality() function
126 GTEST_API_ Cardinality AtLeast(int n);
129 GTEST_API_ Cardinality AtMost(int n);
132 GTEST_API_ Cardinality AnyNumber();
135 GTEST_API_ Cardinality Between(int min, int max);
138 GTEST_API_ Cardinality Exactly(int n);
141 inline Cardinality MakeCardinality(const CardinalityInterface* c) { in MakeCardinality()
142 return Cardinality(c); in MakeCardinality()
Dgmock-spec-builders.h703 const Cardinality& cardinality() const { return cardinality_; } in cardinality()
755 void SpecifyCardinality(const Cardinality& cardinality);
762 void set_cardinality(const Cardinality& a_cardinality) { in set_cardinality()
845 void UntypedTimes(const Cardinality& a_cardinality);
854 Cardinality cardinality_; // The cardinality of the expectation.
928 TypedExpectation& Times(const Cardinality& a_cardinality) { in Times()
/external/v8/testing/gmock/include/gmock/
Dgmock-cardinalities.h83 class GTEST_API_ Cardinality {
87 Cardinality() {} in Cardinality() function
90 explicit Cardinality(const CardinalityInterface* impl) : impl_(impl) {} in Cardinality() function
126 GTEST_API_ Cardinality AtLeast(int n);
129 GTEST_API_ Cardinality AtMost(int n);
132 GTEST_API_ Cardinality AnyNumber();
135 GTEST_API_ Cardinality Between(int min, int max);
138 GTEST_API_ Cardinality Exactly(int n);
141 inline Cardinality MakeCardinality(const CardinalityInterface* c) { in MakeCardinality()
142 return Cardinality(c); in MakeCardinality()
Dgmock-spec-builders.h702 const Cardinality& cardinality() const { return cardinality_; } in cardinality()
752 void SpecifyCardinality(const Cardinality& cardinality);
759 void set_cardinality(const Cardinality& a_cardinality) { in set_cardinality()
842 void UntypedTimes(const Cardinality& a_cardinality);
851 Cardinality cardinality_; // The cardinality of the expectation.
925 TypedExpectation& Times(const Cardinality& a_cardinality) { in Times()
/external/googletest/googlemock/test/
Dgmock-cardinalities_test.cc47 using testing::Cardinality;
64 Cardinality c; in TEST()
70 Cardinality c = Exactly(1); in TEST()
83 const Cardinality c = AtMost(5); in TEST()
93 Cardinality::DescribeActualCallCountTo(0, &ss0); in TEST()
97 Cardinality::DescribeActualCallCountTo(1, &ss1); in TEST()
101 Cardinality::DescribeActualCallCountTo(2, &ss2); in TEST()
105 Cardinality::DescribeActualCallCountTo(3, &ss3); in TEST()
111 const Cardinality c = AnyNumber(); in TEST()
128 const Cardinality c = AnyNumber(); in TEST()
[all …]
Dgmock-spec-builders_test.cc70 using testing::Cardinality;
1913 Cardinality EvenNumber() { in EvenNumber()
1914 return Cardinality(new EvenNumberCardinality); in EvenNumber()
/external/v8/testing/gmock/test/
Dgmock-cardinalities_test.cc47 using testing::Cardinality;
64 Cardinality c; in TEST()
70 Cardinality c = Exactly(1); in TEST()
83 const Cardinality c = AtMost(5); in TEST()
93 Cardinality::DescribeActualCallCountTo(0, &ss0); in TEST()
97 Cardinality::DescribeActualCallCountTo(1, &ss1); in TEST()
101 Cardinality::DescribeActualCallCountTo(2, &ss2); in TEST()
105 Cardinality::DescribeActualCallCountTo(3, &ss3); in TEST()
111 const Cardinality c = AnyNumber(); in TEST()
128 const Cardinality c = AnyNumber(); in TEST()
[all …]
Dgmock-spec-builders_test.cc70 using testing::Cardinality;
1914 Cardinality EvenNumber() { in EvenNumber()
1915 return Cardinality(new EvenNumberCardinality); in EvenNumber()
/external/google-breakpad/src/testing/test/
Dgmock-cardinalities_test.cc47 using testing::Cardinality;
64 Cardinality c; in TEST()
70 Cardinality c = Exactly(1); in TEST()
83 const Cardinality c = AtMost(5); in TEST()
93 Cardinality::DescribeActualCallCountTo(0, &ss0); in TEST()
97 Cardinality::DescribeActualCallCountTo(1, &ss1); in TEST()
101 Cardinality::DescribeActualCallCountTo(2, &ss2); in TEST()
105 Cardinality::DescribeActualCallCountTo(3, &ss3); in TEST()
111 const Cardinality c = AnyNumber(); in TEST()
128 const Cardinality c = AnyNumber(); in TEST()
[all …]
Dgmock-spec-builders_test.cc70 using testing::Cardinality;
1823 Cardinality EvenNumber() { in EvenNumber()
1824 return Cardinality(new EvenNumberCardinality); in EvenNumber()
/external/googletest/googlemock/src/
Dgmock-cardinalities.cc130 void Cardinality::DescribeActualCallCountTo(int actual_call_count, in DescribeActualCallCountTo()
140 GTEST_API_ Cardinality AtLeast(int n) { return Between(n, INT_MAX); } in AtLeast()
143 GTEST_API_ Cardinality AtMost(int n) { return Between(0, n); } in AtMost()
146 GTEST_API_ Cardinality AnyNumber() { return AtLeast(0); } in AnyNumber()
149 GTEST_API_ Cardinality Between(int min, int max) { in Between()
150 return Cardinality(new BetweenCardinalityImpl(min, max)); in Between()
154 GTEST_API_ Cardinality Exactly(int n) { return Between(n, n); } in Exactly()
Dgmock-spec-builders.cc88 void ExpectationBase::SpecifyCardinality(const Cardinality& a_cardinality) { in SpecifyCardinality()
157 Cardinality::DescribeActualCallCountTo(call_count(), os); in DescribeCallCountTo()
224 void ExpectationBase::UntypedTimes(const Cardinality& a_cardinality) { in UntypedTimes()
/external/v8/testing/gmock/src/
Dgmock-cardinalities.cc130 void Cardinality::DescribeActualCallCountTo(int actual_call_count, in DescribeActualCallCountTo()
140 GTEST_API_ Cardinality AtLeast(int n) { return Between(n, INT_MAX); } in AtLeast()
143 GTEST_API_ Cardinality AtMost(int n) { return Between(0, n); } in AtMost()
146 GTEST_API_ Cardinality AnyNumber() { return AtLeast(0); } in AnyNumber()
149 GTEST_API_ Cardinality Between(int min, int max) { in Between()
150 return Cardinality(new BetweenCardinalityImpl(min, max)); in Between()
154 GTEST_API_ Cardinality Exactly(int n) { return Between(n, n); } in Exactly()
Dgmock-spec-builders.cc89 void ExpectationBase::SpecifyCardinality(const Cardinality& a_cardinality) { in SpecifyCardinality()
158 Cardinality::DescribeActualCallCountTo(call_count(), os); in DescribeCallCountTo()
225 void ExpectationBase::UntypedTimes(const Cardinality& a_cardinality) { in UntypedTimes()
/external/google-breakpad/src/testing/src/
Dgmock-cardinalities.cc130 void Cardinality::DescribeActualCallCountTo(int actual_call_count, in DescribeActualCallCountTo()
140 GTEST_API_ Cardinality AtLeast(int n) { return Between(n, INT_MAX); } in AtLeast()
143 GTEST_API_ Cardinality AtMost(int n) { return Between(0, n); } in AtMost()
146 GTEST_API_ Cardinality AnyNumber() { return AtLeast(0); } in AnyNumber()
149 GTEST_API_ Cardinality Between(int min, int max) { in Between()
150 return Cardinality(new BetweenCardinalityImpl(min, max)); in Between()
154 GTEST_API_ Cardinality Exactly(int n) { return Between(n, n); } in Exactly()
Dgmock-spec-builders.cc89 void ExpectationBase::SpecifyCardinality(const Cardinality& a_cardinality) { in SpecifyCardinality()
158 Cardinality::DescribeActualCallCountTo(call_count(), os); in DescribeCallCountTo()
225 void ExpectationBase::UntypedTimes(const Cardinality& a_cardinality) { in UntypedTimes()
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DType.cs65 …Field.Types.Kind), typeof(global::Google.Protobuf.WellKnownTypes.Field.Types.Cardinality) }, null), in TypeReflection()
387 private global::Google.Protobuf.WellKnownTypes.Field.Types.Cardinality cardinality_ = 0;
391 public global::Google.Protobuf.WellKnownTypes.Field.Types.Cardinality Cardinality { property in Google.Protobuf.WellKnownTypes.Field
515 if (Cardinality != other.Cardinality) return false; in Equals()
530 if (Cardinality != 0) hash ^= Cardinality.GetHashCode(); in GetHashCode()
551 if (Cardinality != 0) { in WriteTo()
553 output.WriteEnum((int) Cardinality); in WriteTo()
591 if (Cardinality != 0) { in CalculateSize()
592 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Cardinality); in CalculateSize()
626 if (other.Cardinality != 0) { in MergeFrom()
[all …]
/external/protobuf/src/google/protobuf/
Dtype.pb.h390 typedef Field_Cardinality Cardinality; typedef
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) { in Cardinality_Name()
416 Cardinality* value) { in Cardinality_Parse()
Dtype.proto106 enum Cardinality { enum
120 Cardinality cardinality = 2;
Dextension_set.cc250 enum Cardinality { enum
/external/protobuf/src/google/protobuf/util/
Dtype_resolver_util_test.cc84 bool HasField(const Type& type, Field::Cardinality cardinality, in HasField()
/external/fmtlib/test/
Dgmock-gtest-all.cc9761 void Cardinality::DescribeActualCallCountTo(int actual_call_count, in DescribeActualCallCountTo()
9771 GTEST_API_ Cardinality AtLeast(int n) { return Between(n, INT_MAX); } in AtLeast()
9774 GTEST_API_ Cardinality AtMost(int n) { return Between(0, n); } in AtMost()
9777 GTEST_API_ Cardinality AnyNumber() { return AtLeast(0); } in AnyNumber()
9780 GTEST_API_ Cardinality Between(int min, int max) { in Between()
9781 return Cardinality(new BetweenCardinalityImpl(min, max)); in Between()
9785 GTEST_API_ Cardinality Exactly(int n) { return Between(n, n); } in Exactly()
10539 void ExpectationBase::SpecifyCardinality(const Cardinality& a_cardinality) { in SpecifyCardinality()
10608 Cardinality::DescribeActualCallCountTo(call_count(), os); in DescribeCallCountTo()
10675 void ExpectationBase::UntypedTimes(const Cardinality& a_cardinality) { in UntypedTimes()
/external/fmtlib/test/gmock/
Dgmock.h2068 class GTEST_API_ Cardinality {
2072 Cardinality() {}
2075 explicit Cardinality(const CardinalityInterface* impl) : impl_(impl) {}
2111 GTEST_API_ Cardinality AtLeast(int n);
2114 GTEST_API_ Cardinality AtMost(int n);
2117 GTEST_API_ Cardinality AnyNumber();
2120 GTEST_API_ Cardinality Between(int min, int max);
2123 GTEST_API_ Cardinality Exactly(int n);
2126 inline Cardinality MakeCardinality(const CardinalityInterface* c) {
2127 return Cardinality(c);
[all …]

12