HomeSort by relevance Sort by last modified time
    Searched refs:cardinality (Results 1 - 25 of 120) sorted by null

1 2 3 4 5

  /external/clang/utils/ABITest/
TypeGen.py 207 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.cardinalit
425 cardinality = property(getCardinality, None) variable in class:AnyTypeGenerator
    [all...]
ABITestGen.py 596 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,)
  /libcore/luni/src/test/java/libcore/java/util/
BitSetTest.java 57 int cardinality = 0; local
59 cardinality += Long.bitCount(longs[i]);
61 if (cardinality != 0) {
66 assertEquals(cardinality, bs.cardinality());
101 int cardinality = 0; local
103 cardinality += Integer.bitCount(((int) bytes[i]) & 0xff);
105 if (cardinality != 0) {
110 assertEquals(cardinality, bs.cardinality());
    [all...]
  /external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/
RewriteCardinalityException.js 6 * This signifies a case where the cardinality of two or more elements
  /external/emma/core/java12/com/vladium/util/args/
OptsParser.java 230 final int [] cardinality = optdef.getValueCardinality (); local
232 if (cardinality [1] < 1)
248 final int [] cardinality = optdef.getValueCardinality (); local
252 if (valueCount < cardinality [0])
254 opts.addError (formatMessage ("option \'" + opt.getName () + "\' does not accept fewer than " + cardinality [0] + " value(s)"));
263 if (valueCount < cardinality [1])
272 // if (valueCount < cardinality [0])
274 // opts.addError (formatMessage ("option \'" + opt.getName () + "\' does not accept fewer than " + cardinality [0] + " value(s)"));
314 if (opt != null) // validate the last option's min cardinality
316 final int [] cardinality = optdef.getValueCardinality () local
442 final int [] cardinality = optdef.getValueCardinality (); local
1140 optdef.setValueCardinality (cardinality ()); method
1176 int [] cardinality () method in class:OptsParser.MetadataParser
    [all...]
  /dalvik/dx/src/com/android/dx/ssa/
SsaConverter.java 171 int countPredecessors = block.getPredecessors().cardinality();
172 int countSuccessors = block.getSuccessors().cardinality();
201 && block.getPredecessors().cardinality() > 1
272 && succ.getPredecessors().cardinality() > 1;
DomFront.java 173 if (pred.cardinality() > 1) {
ConstCollector.java 203 if (insn.getBlock().getSuccessors().cardinality() > 1) {
392 && use.getBlock().getSuccessors().cardinality() > 1) {
  /packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/
SortingCursorWrapperTest.java 117 assertEquals(ITEM_COUNT, seen.cardinality());
141 assertEquals(ITEM_COUNT, seen.cardinality());
167 assertEquals(ITEM_COUNT, seen.cardinality());
190 assertEquals(ITEM_COUNT, seen.cardinality());
242 assertEquals(ITEM_COUNT, seen.cardinality());
293 assertEquals(ITEM_COUNT, seen.cardinality());
  /packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
ModelTest.java 149 assertEquals(ITEM_COUNT, b0.cardinality());
150 assertEquals(ITEM_COUNT, b1.cardinality());
  /packages/apps/Launcher3/protos/
launcher_log.proto 42 optional int32 cardinality = 7;
  /external/guava/guava/src/com/google/common/base/
SmallCharMatcher.java 93 int size = chars.cardinality();
  /external/guava/guava-tests/benchmark/com/google/common/base/
WhitespaceMatcherBenchmark.java 94 final char[] result = new char[bitSet.cardinality()];
  /frameworks/data-binding/compiler/src/test/java/android/databinding/tool/expr/
ExprTest.java 127 assertEquals(1, clone.cardinality());
139 assertEquals(1, d.getInvalidFlags().cardinality());
  /prebuilts/go/darwin-x86/src/cmd/vet/
assign.go 35 // If LHS and RHS have different cardinality, they can't be the same.
  /prebuilts/go/linux-x86/src/cmd/vet/
assign.go 35 // If LHS and RHS have different cardinality, they can't be the same.
  /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 &&
  /external/google-breakpad/src/testing/src/
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-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/v8/testing/gmock/src/
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...]
  /frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
AsyncListUtilLayoutTest.java 282 if (mExpectedPositions.cardinality() == 0) {
302 if (mExpectedPositions.cardinality() == 0) {
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
BitSetTest.java 103 assertEquals("Test2: cardinality() returned incorrect value", 0, bs
104 .cardinality());
959 assertEquals(0, bsnew.cardinality());
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
TestUScript.java 443 if(UScript.getScriptExtensions(-1, scripts)!=UScript.UNKNOWN || scripts.cardinality()!=1 ||
447 if(UScript.getScriptExtensions(0x110000, scripts)!=UScript.UNKNOWN || scripts.cardinality()!=1 ||
453 if(UScript.getScriptExtensions(0x063f, scripts)!=UScript.ARABIC || scripts.cardinality()!=1 ||
457 if(UScript.getScriptExtensions(0x0640, scripts)>-3 || scripts.cardinality()<3 ||
462 if(UScript.getScriptExtensions(0xfdf2, scripts)!=-2 || scripts.cardinality()!=2 ||
466 if(UScript.getScriptExtensions(0xff65, scripts)!=-6 || scripts.cardinality()!=6 ||
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
TestUScript.java 442 if(UScript.getScriptExtensions(-1, scripts)!=UScript.UNKNOWN || scripts.cardinality()!=1 ||
446 if(UScript.getScriptExtensions(0x110000, scripts)!=UScript.UNKNOWN || scripts.cardinality()!=1 ||
452 if(UScript.getScriptExtensions(0x063f, scripts)!=UScript.ARABIC || scripts.cardinality()!=1 ||
456 if(UScript.getScriptExtensions(0x0640, scripts)>-3 || scripts.cardinality()<3 ||
461 if(UScript.getScriptExtensions(0xfdf2, scripts)!=-2 || scripts.cardinality()!=2 ||
465 if(UScript.getScriptExtensions(0xff65, scripts)!=-6 || scripts.cardinality()!=6 ||
  /external/google-breakpad/src/testing/include/gmock/
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...]

Completed in 2416 milliseconds

1 2 3 4 5