/external/chromium/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 Cardinality { [all...] |
gmock-spec-builders.h | 50 // .Times(cardinality) 688 // Returns the cardinality specified in the expectation spec. 689 const Cardinality& cardinality() const { return cardinality_; } 737 // Explicitly specifies the cardinality of this expectation. Used 739 void SpecifyCardinality(const Cardinality& cardinality); 741 // Returns true iff the user specified the cardinality explicitly 745 // Sets the cardinality of this expectation spec. 746 void set_cardinality(const Cardinality& a_cardinality) [all...] |
/external/chromium/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/chromium/testing/gmock/src/ |
gmock-cardinalities.cc | 49 // Implements the Between(m, n) cardinality. 106 // Describes the Between(m, n) cardinality in human-friendly text. 129 void Cardinality::DescribeActualCallCountTo(int actual_call_count, 138 // Creates a cardinality that allows at least n calls. 139 Cardinality AtLeast(int n) { return Between(n, INT_MAX); } 141 // Creates a cardinality that allows at most n calls. 142 Cardinality AtMost(int n) { return Between(0, n); } 144 // Creates a cardinality that allows any number of calls. 145 Cardinality AnyNumber() { return AtLeast(0); } 147 // 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/clang/utils/ABITest/ |
TypeGen.py | 203 assert 0 <= N < self.cardinality 217 self.cardinality = len(self.types) 253 self.cardinality = 0 255 self.cardinality += num_combinations(len(self.values), num) 286 self.cardinality = self.typeGen.cardinality 299 self.cardinality = len(self.sizes)*self.typeGen.cardinality 302 S,T = getNthPairBounded(N, len(self.sizes), self.typeGen.cardinality) 313 self.cardinality = len(self.sizes)*self.typeGen.cardinalit 421 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,)
|
/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
|
/libcore/luni/src/test/java/libcore/java/util/ |
BitSetTest.java | 40 int cardinality = 0; local 42 cardinality += Long.bitCount(longs[i]); 44 if (cardinality != 0) { 49 assertEquals(cardinality, bs.cardinality()); 84 int cardinality = 0; local 86 cardinality += Integer.bitCount(((int) bytes[i]) & 0xff); 88 if (cardinality != 0) { 93 assertEquals(cardinality, bs.cardinality()); [all...] |
/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...] |
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/ |
RewriteCardinalityException.as | 30 * This signifies a case where the cardinality of two or more elements
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
RewriteCardinalityException.java | 31 * This signifies a case where the cardinality of two or more elements
|
/dalvik/dx/src/com/android/dx/ssa/ |
SsaConverter.java | 172 int countPredecessors = block.getPredecessors().cardinality(); 173 int countSuccessors = block.getSuccessors().cardinality(); 202 && block.getPredecessors().cardinality() > 1 273 && succ.getPredecessors().cardinality() > 1;
|
ConstCollector.java | 203 if (insn.getBlock().getSuccessors().cardinality() > 1) { 392 && use.getBlock().getSuccessors().cardinality() > 1) {
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
RewriteCardinalityException.cs | 41 * This signifies a case where the cardinality of two or more elements
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
RewriteCardinalityException.cs | 42 * This signifies a case where the cardinality of two or more elements
|
/external/dexmaker/src/dx/java/com/android/dx/ssa/ |
SsaConverter.java | 172 int countPredecessors = block.getPredecessors().cardinality(); 173 int countSuccessors = block.getSuccessors().cardinality(); 202 && block.getPredecessors().cardinality() > 1 273 && succ.getPredecessors().cardinality() > 1;
|
ConstCollector.java | 203 if (insn.getBlock().getSuccessors().cardinality() > 1) { 392 && use.getBlock().getSuccessors().cardinality() > 1) {
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
BitSetTest.java | 137 assertEquals("Test2: cardinality() returned incorrect value", 0, bs 138 .cardinality()); [all...] |
/external/chromium/base/ |
gmock_unittest.cc | 66 // Basic test of some simple gmock matchers, actions, and cardinality
|
/sdk/eclipse/plugins/com.android.ide.eclipse.monitor/ |
plugin.xml | 8 cardinality="singleton-global"
|
/libcore/luni/src/test/java/tests/api/java/util/ |
BitSetTest.java | 98 assertEquals(0, bs.cardinality()); 912 assertEquals(0, bsnew.cardinality()); [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
WifiConfiguration.java | 480 if (allowedKeyManagement.cardinality() == 0) { 508 int cardinality = src.readInt(); local 511 for (int i = 0; i < cardinality; i++) { 521 dest.writeInt(set.cardinality()); 530 if (allowedKeyManagement.cardinality() > 1) {
|
/ndk/sources/host-tools/make-3.81/ |
hash.c | 70 unsigned long cardinality, unsigned long size) 73 while (cardinality--)
|
/dalvik/dx/src/com/android/dx/command/dump/ |
SsaDumper.java | 158 if (block.getSuccessors().cardinality() == 0) {
|