Home
last modified time | relevance | path

Searched refs:cardinality (Results 1 – 25 of 43) sorted by relevance

12

/external/clang/utils/ABITest/
DTypeGen.py207 assert 0 <= N < self.cardinality
221 self.cardinality = len(self.types)
257 self.cardinality = 0
259 self.cardinality += num_combinations(len(self.values), num)
290 self.cardinality = self.typeGen.cardinality
303 self.cardinality = len(self.sizes)*self.typeGen.cardinality
306 S,T = getNthPairBounded(N, len(self.sizes), self.typeGen.cardinality)
317 self.cardinality = len(self.sizes)*self.typeGen.cardinality
320 S,T = getNthPairBounded(N, len(self.sizes), self.typeGen.cardinality)
334 self.cardinality = self.W * self.typeGen.cardinality
[all …]
DABITestGen.py596 if ftg.cardinality is aleph0:
599 opts.maxIndex = ftg.cardinality
600 opts.maxIndex = min(opts.maxIndex, ftg.cardinality)
629 info += '// Cardinality of function generator: %s\n'%(ftg.cardinality,)
630 info += '// Cardinality of type generator: %s\n'%(atg.cardinality,)
/external/emma/core/java12/com/vladium/util/args/
DOptsParser.java230 final int [] cardinality = optdef.getValueCardinality (); in parse() local
232 if (cardinality [1] < 1) in parse()
248 final int [] cardinality = optdef.getValueCardinality (); in parse() local
252 if (valueCount < cardinality [0]) in parse()
254 …age ("option \'" + opt.getName () + "\' does not accept fewer than " + cardinality [0] + " value(s… in parse()
263 if (valueCount < cardinality [1]) in parse()
316 final int [] cardinality = optdef.getValueCardinality (); in parse() local
318 if (valueCount < cardinality [0]) in parse()
320 …age ("option \'" + opt.getName () + "\' does not accept fewer than " + cardinality [0] + " value(s… in parse()
442 final int [] cardinality = optdef.getValueCardinality (); in isOpt() local
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DTestUScript.java102 if(UScript.getScriptExtensions(-1, scripts)!=UScript.UNKNOWN || scripts.cardinality()!=1 || in TestGetScriptExtensions()
106 … if(UScript.getScriptExtensions(0x110000, scripts)!=UScript.UNKNOWN || scripts.cardinality()!=1 || in TestGetScriptExtensions()
112 … if(UScript.getScriptExtensions(0x063f, scripts)!=UScript.ARABIC || scripts.cardinality()!=1 || in TestGetScriptExtensions()
116 if(UScript.getScriptExtensions(0x0640, scripts)>-3 || scripts.cardinality()<3 || in TestGetScriptExtensions()
121 if(UScript.getScriptExtensions(0xfdf2, scripts)!=-2 || scripts.cardinality()!=2 || in TestGetScriptExtensions()
125 if(UScript.getScriptExtensions(0xff65, scripts)!=-6 || scripts.cardinality()!=6 || in TestGetScriptExtensions()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DTestUScript.java99 if(UScript.getScriptExtensions(-1, scripts)!=UScript.UNKNOWN || scripts.cardinality()!=1 || in TestGetScriptExtensions()
103 … if(UScript.getScriptExtensions(0x110000, scripts)!=UScript.UNKNOWN || scripts.cardinality()!=1 || in TestGetScriptExtensions()
109 … if(UScript.getScriptExtensions(0x063f, scripts)!=UScript.ARABIC || scripts.cardinality()!=1 || in TestGetScriptExtensions()
113 if(UScript.getScriptExtensions(0x0640, scripts)>-3 || scripts.cardinality()<3 || in TestGetScriptExtensions()
118 if(UScript.getScriptExtensions(0xfdf2, scripts)!=-2 || scripts.cardinality()!=2 || in TestGetScriptExtensions()
122 if(UScript.getScriptExtensions(0xff65, scripts)!=-6 || scripts.cardinality()!=6 || in TestGetScriptExtensions()
/external/protobuf/src/google/protobuf/
Dtype.proto107 // For fields with unknown cardinality.
119 // The field cardinality.
120 Cardinality cardinality = 2; field
Dtype.pb.cc1351 if (this->cardinality() != 0) { in SerializeWithCachedSizes()
1353 2, this->cardinality(), output); in SerializeWithCachedSizes()
1430 if (this->cardinality() != 0) { in SerializeWithCachedSizesToArray()
1432 2, this->cardinality(), target); in SerializeWithCachedSizesToArray()
1516 if (this->cardinality() != 0) { in ByteSize()
1518 ::google::protobuf::internal::WireFormatLite::EnumSize(this->cardinality()); in ByteSize()
1604 if (from.cardinality() != 0) { in MergeFrom()
1605 set_cardinality(from.cardinality()); in MergeFrom()
1701 ::google::protobuf::Field_Cardinality Field::cardinality() const { in cardinality() function in google::protobuf::Field
/external/v8/testing/gmock/src/
Dgmock-spec-builders.cc156 cardinality().DescribeTo(os); in DescribeCallCountTo()
193 const int upper_bound = cardinality().ConservativeUpperBound(); in CheckActionCountIfNotDone()
194 const int lower_bound = cardinality().ConservativeLowerBound(); in CheckActionCountIfNotDone()
212 cardinality().DescribeTo(&ss); in CheckActionCountIfNotDone()
/external/google-breakpad/src/testing/src/
Dgmock-spec-builders.cc156 cardinality().DescribeTo(os); in DescribeCallCountTo()
193 const int upper_bound = cardinality().ConservativeUpperBound(); in CheckActionCountIfNotDone()
194 const int lower_bound = cardinality().ConservativeLowerBound(); in CheckActionCountIfNotDone()
212 cardinality().DescribeTo(&ss); in CheckActionCountIfNotDone()
/external/protobuf/src/google/protobuf/util/
Dtype_resolver_util_test.cc84 bool HasField(const Type& type, Field::Cardinality cardinality, in HasField() argument
90 return field->cardinality() == cardinality && in HasField()
/external/googletest/googlemock/src/
Dgmock-spec-builders.cc155 cardinality().DescribeTo(os); in DescribeCallCountTo()
192 const int upper_bound = cardinality().ConservativeUpperBound(); in CheckActionCountIfNotDone()
193 const int lower_bound = cardinality().ConservativeLowerBound(); in CheckActionCountIfNotDone()
211 cardinality().DescribeTo(&ss); in CheckActionCountIfNotDone()
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/flow/
DInstruction.java130 return coveredBranches.cardinality(); in getCoveredBranches()
/external/protobuf/objectivec/google/protobuf/
DType.pbobjc.m195 @dynamic cardinality;
208 GPBField_Cardinality cardinality;
234 .name = "cardinality",
238 .offset = (uint32_t)offsetof(GPBField__storage_, cardinality),
DType.pbobjc.h230 @property(nonatomic, readwrite) GPBField_Cardinality cardinality;
/external/guava/guava/src/com/google/common/base/
DSmallCharMatcher.java93 int size = chars.cardinality(); in from()
/external/google-breakpad/src/testing/include/gmock/
Dgmock-spec-builders.h694 const Cardinality& cardinality() const { return cardinality_; } in cardinality() function
744 void SpecifyCardinality(const Cardinality& cardinality);
781 return cardinality().IsSatisfiedByCallCount(call_count_); in IsSatisfied()
788 return cardinality().IsSaturatedByCallCount(call_count_); in IsSaturated()
795 return cardinality().IsOverSaturatedByCallCount(call_count_); in IsOverSaturated()
/external/googletest/googlemock/include/gmock/
Dgmock-spec-builders.h702 const Cardinality& cardinality() const { return cardinality_; } in cardinality() function
754 void SpecifyCardinality(const Cardinality& cardinality);
791 return cardinality().IsSatisfiedByCallCount(call_count_); in IsSatisfied()
798 return cardinality().IsSaturatedByCallCount(call_count_); in IsSaturated()
805 return cardinality().IsOverSaturatedByCallCount(call_count_); in IsOverSaturated()
/external/v8/testing/gmock/include/gmock/
Dgmock-spec-builders.h702 const Cardinality& cardinality() const { return cardinality_; } in cardinality() function
752 void SpecifyCardinality(const Cardinality& cardinality);
789 return cardinality().IsSatisfiedByCallCount(call_count_); in IsSatisfied()
796 return cardinality().IsSaturatedByCallCount(call_count_); in IsSaturated()
803 return cardinality().IsOverSaturatedByCallCount(call_count_); in IsOverSaturated()
/external/guava/guava-tests/benchmark/com/google/common/base/
DWhitespaceMatcherBenchmark.java94 final char[] result = new char[bitSet.cardinality()]; in allMatchingChars()
DCharMatcherBenchmark.java77 int matchedCharCount = tmp.cardinality(); in setUp()
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/
DRewriteCardinalityException.as30 * This signifies a case where the cardinality of two or more elements
/external/protobuf/src/google/protobuf/util/internal/
Dproto_writer.cc279 if (field.cardinality() == in GetRequiredFields()
371 field->cardinality() == in RegisterField()
540 return field.cardinality() == in IsRepeated()
Dutility.cc314 return (field.cardinality() == in IsMap()
Dprotostream_objectsource.cc207 if (field->cardinality() == in WriteMessage()
1075 return field.cardinality() == in IsPackable()
/external/googletest/googlemock/docs/
DForDummies.md208 .Times(cardinality)
263cardinality** as it tells _how many times_ the call should occur. It allows us to repeat an expect…
269 …se can be omitted. **If you omit `Times()`, Google Mock will infer the cardinality for you.** The …
271 …ce()` **nor** `WillRepeatedly()` is in the `EXPECT_CALL()`, the inferred cardinality is `Times(1)`.
272 …* If there are `n WillOnce()`'s but **no** `WillRepeatedly()`, where `n` >= 1, the cardinality is …
273 …* If there are `n WillOnce()`'s and **one** `WillRepeatedly()`, where `n` >= 0, the cardinality is…
306 Of course, if you explicitly write a `Times()`, Google Mock will not try to infer the cardinality i…

12