Home
last modified time | relevance | path

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

1234

/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 …]
/external/googletest/googlemock/test/
Dgmock-cardinalities_test.cc46 using testing::Cardinality;
63 Cardinality c; in TEST()
69 Cardinality c = Exactly(1); in TEST()
82 const Cardinality c = AtMost(5); in TEST()
92 Cardinality::DescribeActualCallCountTo(0, &ss0); in TEST()
96 Cardinality::DescribeActualCallCountTo(1, &ss1); in TEST()
100 Cardinality::DescribeActualCallCountTo(2, &ss2); in TEST()
104 Cardinality::DescribeActualCallCountTo(3, &ss3); in TEST()
110 const Cardinality c = AnyNumber(); in TEST()
127 const Cardinality c = AnyNumber(); in TEST()
[all …]
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/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()
/external/googletest/googlemock/include/gmock/
Dgmock-cardinalities.h87 class GTEST_API_ Cardinality {
91 Cardinality() {} in Cardinality() function
94 explicit Cardinality(const CardinalityInterface* impl) : impl_(impl) {} in Cardinality() function
130 GTEST_API_ Cardinality AtLeast(int n);
133 GTEST_API_ Cardinality AtMost(int n);
136 GTEST_API_ Cardinality AnyNumber();
139 GTEST_API_ Cardinality Between(int min, int max);
142 GTEST_API_ Cardinality Exactly(int n);
145 inline Cardinality MakeCardinality(const CardinalityInterface* c) { in MakeCardinality()
146 return Cardinality(c); in MakeCardinality()
/external/grpc-grpc/src/python/grpcio/grpc/framework/interfaces/face/
Dutilities.py52 return _MethodImplementation(cardinality.Cardinality.UNARY_UNARY,
68 return _MethodImplementation(cardinality.Cardinality.UNARY_STREAM,
84 return _MethodImplementation(cardinality.Cardinality.STREAM_UNARY,
100 return _MethodImplementation(cardinality.Cardinality.STREAM_STREAM,
116 return _MethodImplementation(cardinality.Cardinality.UNARY_UNARY,
132 return _MethodImplementation(cardinality.Cardinality.UNARY_STREAM,
149 return _MethodImplementation(cardinality.Cardinality.STREAM_UNARY,
166 return _MethodImplementation(cardinality.Cardinality.STREAM_STREAM,
/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()
/external/googletest/googlemock/src/
Dgmock-cardinalities.cc129 void Cardinality::DescribeActualCallCountTo(int actual_call_count, in DescribeActualCallCountTo()
139 GTEST_API_ Cardinality AtLeast(int n) { return Between(n, INT_MAX); } in AtLeast()
142 GTEST_API_ Cardinality AtMost(int n) { return Between(0, n); } in AtMost()
145 GTEST_API_ Cardinality AnyNumber() { return AtLeast(0); } in AnyNumber()
148 GTEST_API_ Cardinality Between(int min, int max) { in Between()
149 return Cardinality(new BetweenCardinalityImpl(min, max)); in Between()
153 GTEST_API_ Cardinality Exactly(int n) { return Between(n, n); } in Exactly()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/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()
/external/grpc-grpc/src/python/grpcio/grpc/beta/
D_server_adaptations.py260 if implementation.cardinality is cardinality.Cardinality.UNARY_UNARY:
266 elif implementation.cardinality is cardinality.Cardinality.UNARY_STREAM:
272 elif implementation.cardinality is cardinality.Cardinality.STREAM_UNARY:
278 elif implementation.cardinality is cardinality.Cardinality.STREAM_STREAM:
285 if implementation.cardinality is cardinality.Cardinality.UNARY_UNARY:
291 elif implementation.cardinality is cardinality.Cardinality.UNARY_STREAM:
297 elif implementation.cardinality is cardinality.Cardinality.STREAM_UNARY:
303 elif implementation.cardinality is cardinality.Cardinality.STREAM_STREAM:
/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/grpc-grpc/src/python/grpcio_tests/tests/unit/beta/
D_beta_features_test.py155 _UNARY_UNARY: cardinality.Cardinality.UNARY_UNARY,
156 _UNARY_STREAM: cardinality.Cardinality.UNARY_STREAM,
157 _STREAM_UNARY: cardinality.Cardinality.STREAM_UNARY,
158 _STREAM_STREAM: cardinality.Cardinality.STREAM_STREAM,
286 _UNARY_UNARY: cardinality.Cardinality.UNARY_UNARY,
287 _UNARY_STREAM: cardinality.Cardinality.UNARY_STREAM,
288 _STREAM_UNARY: cardinality.Cardinality.STREAM_UNARY,
289 _STREAM_STREAM: cardinality.Cardinality.STREAM_STREAM,
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dchoose_fastest_dataset_op.cc94 int64 cardinality = inputs[0]->Cardinality(); in MakeDataset()
97 cardinality = inputs[i]->Cardinality(); in MakeDataset()
101 inputs[i]->Cardinality() == cardinality || in MakeDataset()
102 inputs[i]->Cardinality() == kUnknownCardinality, in MakeDataset()
106 i, " has cardinality: ", inputs[i]->Cardinality(), in MakeDataset()
158 int64 Cardinality() const override { return cardinality_; } in Cardinality() function in tensorflow::data::__anon579bbc700111::ChooseFastestDatasetOp::Dataset
Dthreadpool_dataset_op.cc173 int64 Cardinality() const override { return input_->Cardinality(); } in Cardinality() function in tensorflow::data::__anon808a52080111::ThreadPoolDatasetOp::Dataset
280 int64 Cardinality() const override { return input_->Cardinality(); } in Cardinality() function in tensorflow::data::__anon808a52080111::MaxIntraOpParallelismDatasetOp::Dataset
380 int64 Cardinality() const override { return input_->Cardinality(); } in Cardinality() function in tensorflow::data::__anon808a52080111::PrivateThreadPoolDatasetOp::Dataset
Dstats_dataset_ops.cc78 int64 Cardinality() const override { return input_->Cardinality(); } in Cardinality() function in tensorflow::data::__anon95544c980111::LatencyStatsDatasetOp::Dataset
188 int64 Cardinality() const override { return input_->Cardinality(); } in Cardinality() function in tensorflow::data::__anon95544c980111::BytesProducedStatsDatasetOp::Dataset
Dnon_serializable_dataset_op.cc78 int64 Cardinality() const override { return input_->Cardinality(); } in Cardinality() function in tensorflow::data::__anon4d42c3f70111::NonSerializableDatasetOp::Dataset
Dsleep_dataset_op.cc70 int64 Cardinality() const override { return input_->Cardinality(); } in Cardinality() function in tensorflow::data::__anone8f2f06f0111::SleepDatasetOp::Dataset
Dignore_errors_dataset_op.cc63 int64 Cardinality() const override { return input_->Cardinality(); } in Cardinality() function in tensorflow::data::__anonc0c267360111::IgnoreErrorsDatasetOp::Dataset
Dassert_next_dataset_op.cc79 int64 Cardinality() const override { return input_->Cardinality(); } in Cardinality() function in tensorflow::data::__anon9dfb5fa60111::AssertNextDatasetOp::Dataset
/external/tensorflow/tensorflow/core/kernels/data/
Dtake_dataset_op.h55 int64 Cardinality() const override { in Cardinality() function
56 int64 n = input_->Cardinality(); in Cardinality()
Dgraph_rewrite_dataset.h62 int64 Cardinality() const override { return input_->Cardinality(); } in Cardinality() function
Dconcatenate_dataset_op.cc82 int64 Cardinality() const override { in Cardinality() function in tensorflow::data::__anondcc1f7fe0111::ConcatenateDatasetOp::Dataset
83 int64 n1 = input_->Cardinality(); in Cardinality()
84 int64 n2 = to_concatenate_->Cardinality(); in Cardinality()
Dshard_dataset_op.cc87 int64 Cardinality() const override { in Cardinality() function in tensorflow::data::__anon3d7918cb0111::ShardDatasetOp::Dataset
88 int64 n = input_->Cardinality(); in Cardinality()
Dzip_dataset_op.cc79 int64 Cardinality() const override { in Cardinality() function in tensorflow::data::__anon8a8355ec0111::ZipDatasetOp::Dataset
82 int64 n = input->Cardinality(); in Cardinality()
/external/grpc-grpc/src/python/grpcio/grpc/framework/common/
Dcardinality.py20 class Cardinality(enum.Enum): class

1234