/external/guava/guava-tests/test/com/google/common/base/ |
D | PredicatesTest.java | 49 private static final Predicate<Integer> TRUE = Predicates.alwaysTrue(); 50 private static final Predicate<Integer> FALSE = Predicates.alwaysFalse(); 93 assertEvalsToTrue(Predicates.alwaysTrue()); in testAlwaysTrue_apply() 98 .addEqualityGroup(TRUE, Predicates.alwaysTrue()) in testAlwaysTrue_equality() 100 .addEqualityGroup(Predicates.alwaysFalse()) in testAlwaysTrue_equality() 106 checkSerialization(Predicates.alwaysTrue()); in testAlwaysTrue_serialization() 114 assertEvalsToFalse(Predicates.alwaysFalse()); in testAlwaysFalse_apply() 119 .addEqualityGroup(FALSE, Predicates.alwaysFalse()) in testAlwaysFalse_equality() 121 .addEqualityGroup(Predicates.alwaysTrue()) in testAlwaysFalse_equality() 127 checkSerialization(Predicates.alwaysFalse()); in testAlwaysFalse_serialization() [all …]
|
D | FunctionsTest.java | 317 Predicate<? super Integer> h = Predicates.equalTo(42); in testComposeOfPredicateAndFunctionIsAssociative() 321 Predicate<Float> p1 = Predicates.compose(Predicates.compose(h, g), f); in testComposeOfPredicateAndFunctionIsAssociative() 322 Predicate<Float> p2 = Predicates.compose(h, Functions.compose(g, f)); in testComposeOfPredicateAndFunctionIsAssociative() 336 Functions.forPredicate(Predicates.alwaysTrue()); in testForPredicate() 338 Functions.forPredicate(Predicates.alwaysFalse()); in testForPredicate() 345 alwaysTrue, Functions.forPredicate(Predicates.alwaysTrue())) in testForPredicate() 353 checkCanReserialize(Functions.forPredicate(Predicates.equalTo(5))); in testForPredicateSerializable()
|
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
D | PredicatesTest.java | 44 private static final Predicate<Integer> TRUE = Predicates.alwaysTrue(); 45 private static final Predicate<Integer> FALSE = Predicates.alwaysFalse(); 88 assertEvalsToTrue(Predicates.alwaysTrue()); in testAlwaysTrue_apply() 93 .addEqualityGroup(TRUE, Predicates.alwaysTrue()) in testAlwaysTrue_equality() 95 .addEqualityGroup(Predicates.alwaysFalse()) in testAlwaysTrue_equality() 104 assertEvalsToFalse(Predicates.alwaysFalse()); in testAlwaysFalse_apply() 109 .addEqualityGroup(FALSE, Predicates.alwaysFalse()) in testAlwaysFalse_equality() 111 .addEqualityGroup(Predicates.alwaysTrue()) in testAlwaysFalse_equality() 120 assertEvalsToTrue(Predicates.not(FALSE)); in testNot_apply() 121 assertEvalsToFalse(Predicates.not(TRUE)); in testNot_apply() [all …]
|
D | FunctionsTest.java | 219 Predicate<? super Integer> h = Predicates.equalTo(42); in testComposeOfPredicateAndFunctionIsAssociative() 223 Predicate<Float> p1 = Predicates.compose(Predicates.compose(h, g), f); in testComposeOfPredicateAndFunctionIsAssociative() 224 Predicate<Float> p2 = Predicates.compose(h, Functions.compose(g, f)); in testComposeOfPredicateAndFunctionIsAssociative() 238 Functions.forPredicate(Predicates.alwaysTrue()); in testForPredicate() 240 Functions.forPredicate(Predicates.alwaysFalse()); in testForPredicate() 247 alwaysTrue, Functions.forPredicate(Predicates.alwaysTrue())) in testForPredicate()
|
/external/droiddriver/src/io/appium/droiddriver/finders/ |
D | By.java | 48 return new MatchFinder(Predicates.attributeTrue(attribute)); in is() 55 return new MatchFinder(Predicates.attributeFalse(attribute)); in not() 71 return new MatchFinder(Predicates.attributeEquals(Attribute.RESOURCE_ID, resourceId)); in resourceId() 78 return new MatchFinder(Predicates.attributeEquals(Attribute.PACKAGE, name)); in packageName() 85 return new MatchFinder(Predicates.attributeEquals(Attribute.TEXT, text)); in text() 92 return new MatchFinder(Predicates.attributeMatches(Attribute.TEXT, regex)); in textRegex() 99 return new MatchFinder(Predicates.attributeContains(Attribute.TEXT, substring)); in textContains() 106 return new MatchFinder(Predicates.attributeEquals(Attribute.CONTENT_DESC, contentDescription)); in contentDescription() 113 return new MatchFinder(Predicates.attributeContains(Attribute.CONTENT_DESC, substring)); in contentDescriptionContains() 120 return new MatchFinder(Predicates.attributeEquals(Attribute.CLASS, className)); in className() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/ |
D | RISCVInstrInfoC.td | 277 let Predicates = [HasStdExtC] in { 290 let Predicates = [HasStdExtC, HasStdExtD] in 305 Predicates = [HasStdExtC, HasStdExtF, IsRV32] in 313 let Predicates = [HasStdExtC, IsRV64] in 320 let Predicates = [HasStdExtC, HasStdExtD] in 335 Predicates = [HasStdExtC, HasStdExtF, IsRV32] in 343 let Predicates = [HasStdExtC, IsRV64] in 363 Predicates = [HasStdExtC, IsRV32] in 368 Predicates = [HasStdExtC, IsRV64] in 419 let Predicates = [HasStdExtC, IsRV64] in { [all …]
|
D | RISCVInstrInfoM.td | 19 let Predicates = [HasStdExtM] in { 28 } // Predicates = [HasStdExtM] 30 let Predicates = [HasStdExtM, IsRV64] in { 36 } // Predicates = [HasStdExtM, IsRV64] 42 let Predicates = [HasStdExtM] in { 51 } // Predicates = [HasStdExtM]
|
D | RISCVInstrInfoA.td | 51 let Predicates = [HasStdExtA] in { 63 } // Predicates = [HasStdExtA] 65 let Predicates = [HasStdExtA, IsRV64] in { 77 } // Predicates = [HasStedExtA, IsRV64] 83 let Predicates = [HasStdExtA] in { 97 } // Predicates = [HasStdExtF]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | MultimapsCollectionTest.java | 33 import com.google.common.base.Predicates; 565 Predicates.not(Predicates.in(ImmutableSet.of("foo", "bar")))); in filterSuite() 585 Predicates.not(Predicates.in(ImmutableSet.of("foo", "bar")))); in filterSuite() 603 multimap = Multimaps.filterKeys(multimap, Predicates.not(Predicates.equalTo("foo"))); in filterSuite() 604 return Multimaps.filterKeys(multimap, Predicates.not(Predicates.equalTo("bar"))); in filterSuite() 623 Predicates.not(Predicates.in(ImmutableSet.of(314, 159, 265)))); in filterSuite() 641 Predicates.not(Predicates.in(badEntries.entries()))); in filterSuite() 659 Predicates.not(Predicates.in(ImmutableSet.of("foo", "bar")))); in filterSuite() 661 Predicates.not(Predicates.in(badEntries.entries()))); in filterSuite() 679 Predicates.not(Predicates.in(ImmutableMap.of("one", 159, "two", 265).entrySet()))); in filterSuite() [all …]
|
D | IterablesTest.java | 33 import com.google.common.base.Predicates; 216 Predicate<String> predicate = Predicates.equalTo("pants"); 227 Predicate<String> predicate = Predicates.equalTo("cool"); 238 assertEquals("cool", Iterables.find(list, Predicates.equalTo("cool"))); 239 assertEquals("pants", Iterables.find(list, Predicates.equalTo("pants"))); 241 Iterables.find(list, Predicates.alwaysFalse()); 245 assertEquals("cool", Iterables.find(list, Predicates.alwaysTrue())); 252 Iterables.find(list, Predicates.equalTo("cool"), "woot")); 254 Iterables.find(list, Predicates.equalTo("pants"), "woot")); 256 Predicates.alwaysFalse(), "woot")); [all …]
|
/external/guava/guava/src/com/google/common/collect/ |
D | FilteredMultimapValues.java | 22 import com.google.common.base.Predicates; 78 Predicates.<Entry<K, V>>and(multimap.entryPredicate(), in removeAll() 79 Maps.<V>valuePredicateOnEntries(Predicates.in(c)))); in removeAll() 86 Predicates.<Entry<K, V>>and(multimap.entryPredicate(), in retainAll() 87 Maps.<V>valuePredicateOnEntries(Predicates.not(Predicates.in(c))))); in retainAll()
|
D | Collections2.java | 21 import static com.google.common.base.Predicates.and; 22 import static com.google.common.base.Predicates.in; 23 import static com.google.common.base.Predicates.not; 32 import com.google.common.base.Predicates; 146 Predicates.<E>and(predicate, newPredicate)); in createCombined() 201 return Iterables.removeIf(unfiltered, and(predicate, Predicates.<Object>in(collection))); in removeAll() 206 return Iterables.removeIf(unfiltered, and(predicate, not(Predicates.<Object>in(collection)))); in retainAll() 290 return Iterables.all(c, Predicates.in(self)); in containsAllImpl()
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
D | IterablesTest.java | 31 import com.google.common.base.Predicates; 188 Predicate<String> predicate = Predicates.equalTo("pants"); 199 Predicate<String> predicate = Predicates.equalTo("cool"); 210 assertEquals("cool", Iterables.find(list, Predicates.equalTo("cool"))); 211 assertEquals("pants", Iterables.find(list, Predicates.equalTo("pants"))); 213 Iterables.find(list, Predicates.alwaysFalse()); 217 assertEquals("cool", Iterables.find(list, Predicates.alwaysTrue())); 224 Iterables.find(list, Predicates.equalTo("cool"), "woot")); 226 Iterables.find(list, Predicates.equalTo("pants"), "woot")); 228 Predicates.alwaysFalse(), "woot")); [all …]
|
D | IteratorsTest.java | 29 import com.google.common.base.Predicates; 232 Predicates.equalTo("foo")); in testFilterSimple() 241 Predicates.alwaysFalse()); in testFilterNoMatch() 250 Predicates.alwaysTrue()); in testFilterMatchAll() 273 Predicate<String> predicate = Predicates.equalTo("pants"); in testAny() 284 Predicate<String> predicate = Predicates.equalTo("cool"); in testAll() 296 assertEquals("cool", Iterators.find(iterator, Predicates.equalTo("cool"))); in testFind_firstElement() 304 Predicates.equalTo("pants"))); in testFind_lastElement() 312 Iterators.find(iterator, Predicates.alwaysFalse()); in testFind_notPresent() 322 assertEquals("cool", Iterators.find(iterator, Predicates.alwaysTrue())); in testFind_matchAlways() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Sparc/ |
D | SparcInstr64Bit.td | 18 let Predicates = [Is64Bit] in { 25 } // Predicates = [Is64Bit] 38 let Predicates = [Is64Bit] in { 50 } // Predicates = [Is64Bit] 142 let Predicates = [Is64Bit] in { 183 } // Predicates = [Is64Bit] 190 let Predicates = [Is64Bit] in { 222 } // Predicates = [Is64Bit] 236 let Predicates = [Is64Bit] in { 294 } // Predicates = [Is64Bit] [all …]
|
/external/llvm/lib/Target/Sparc/ |
D | SparcInstr64Bit.td | 18 let Predicates = [Is64Bit] in { 25 } // Predicates = [Is64Bit] 38 let Predicates = [Is64Bit] in { 50 } // Predicates = [Is64Bit] 142 let Predicates = [Is64Bit] in { 183 } // Predicates = [Is64Bit] 190 let Predicates = [Is64Bit] in { 222 } // Predicates = [Is64Bit] 236 let Predicates = [Is64Bit] in { 294 } // Predicates = [Is64Bit] [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86InstrAVX512.td | 416 isPseudo = 1, Predicates = [HasAVX512], SchedRW = [WriteZero] in { 424 isPseudo = 1, Predicates = [HasVLX], SchedRW = [WriteZero] in { 459 let Predicates = p in { 479 let Predicates = [HasVLX] in 495 let Predicates = [HasVLX, HasDQI] in 501 let Predicates = [HasDQI] in { 632 let Predicates = p in { 656 let Predicates = [HasVLX] in 662 let Predicates = [HasVLX, HasDQI] in 668 let Predicates = [HasDQI] in { [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/ |
D | SystemZInstrDFP.td | 45 let Predicates = [FeatureFPExtension] in { 53 let Predicates = [FeatureFPExtension] in { 64 let Predicates = [FeatureFPExtension] in { 74 let Predicates = [FeatureFPExtension] in { 95 let Predicates = [FeatureDFPZonedConversion] in { 103 let Predicates = [FeatureDFPPackedConversion] in { 143 let Predicates = [FeatureFPExtension] in { 153 let Predicates = [FeatureFPExtension] in { 164 let Predicates = [FeatureFPExtension] in { 172 let Predicates = [FeatureFPExtension] in {
|
D | SystemZInstrVector.td | 14 let Predicates = [FeatureVector] in { 58 let Predicates = [FeatureVector] in { 105 let Predicates = [FeatureVector] in { 158 let Predicates = [FeatureVectorEnhancements1] in { 179 let Predicates = [FeatureVectorPackedDecimal] in { 209 let Predicates = [FeatureVector] in { 245 let Predicates = [FeatureVectorPackedDecimal] in { 256 let Predicates = [FeatureVector] in { 282 let Predicates = [FeatureVectorEnhancements1] in 304 let Predicates = [FeatureVector] in { [all …]
|
D | SystemZInstrFP.td | 18 let Predicates = [FeatureVector] in { 24 let Predicates = [FeatureNoVectorEnhancements1] in 26 let Predicates = [FeatureVectorEnhancements1] in 64 let Predicates = [FeatureNoVector] in { 77 let Predicates = [FeatureVector] in { 81 let Predicates = [FeatureVector, FeatureNoVectorEnhancements1] in 95 let Predicates = [FeatureNoVectorEnhancements1] in 98 let Predicates = [FeatureVectorEnhancements1] in 108 let Predicates = [FeatureNoVectorEnhancements1] in 111 let Predicates = [FeatureVectorEnhancements1] in [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86InstrSSE.td | 135 let Predicates = [NoAVX512] in 144 isPseudo = 1, Predicates = [NoAVX512], SchedRW = [WriteZero] in { 155 let Predicates = [HasAVX1Only, OptForMinSize] in { 159 let Predicates = [HasAVX2] in 196 let Predicates = [UseAVX, OptForSize] in 208 let Predicates = [pred, NoSSE41_Or_OptForSize] in 252 let Predicates = [UseAVX] in { 292 let Predicates = [UseAVX, OptForSize] in { 322 let Predicates = [UseSSE1] in { 323 let Predicates = [UseSSE1, NoSSE41_Or_OptForSize] in { [all …]
|
D | X86InstrAVX512.td | 451 isPseudo = 1, Predicates = [HasAVX512], SchedRW = [WriteZero] in { 461 let isPseudo = 1, Predicates = [HasAVX512], SchedRW = [WriteVecALU] in { 475 isPseudo = 1, Predicates = [HasAVX512], SchedRW = [WriteZero] in { 485 isPseudo = 1, SchedRW = [WriteZero], Predicates = [HasAVX512] in { 541 let Predicates = p in { 562 let Predicates = [HasVLX] in 579 let Predicates = [HasVLX, HasDQI] in 587 let Predicates = [HasDQI] in { 645 let Predicates = p in { 841 let Predicates = p in { [all …]
|
/external/llvm/lib/Target/Mips/ |
D | Mips.td | 18 // The overall idea of the PredicateControl class is to chop the Predicates list 23 // Predicates for the encoding scheme in use such as HasStdEnc 25 // Predicates for the GPR size such as IsGP64bit 27 // Predicates for the PTR size such as IsPTR64bit 29 // Predicates for the FGR size and layout such as IsFP64bit 31 // Predicates for the instruction group membership such as ISA's and ASE's 35 // Predicates for anything else 37 list<Predicate> Predicates = !listconcat(EncodingPredicates,
|
/external/caliper/caliper/src/main/java/com/google/caliper/memory/ |
D | ObjectGraphMeasurer.java | 24 import com.google.common.base.Predicates; 155 return measure(rootObject, Predicates.alwaysTrue()); in measure() 176 Predicate<Chain> completePredicate = Predicates.and(ImmutableList.of( in measure() 179 Predicates.compose(objectAcceptor, ObjectExplorer.chainToObject) in measure()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/ |
D | Mips.td | 18 // The overall idea of the PredicateControl class is to chop the Predicates list 23 // Predicates for the encoding scheme in use such as HasStdEnc 25 // Predicates for the GPR size such as IsGP64bit 27 // Predicates for the PTR size such as IsPTR64bit 29 // Predicates for the FGR size and layout such as IsFP64bit 31 // Predicates for the instruction group membership such as ISA's. 37 // Predicates for anything else 39 list<Predicate> Predicates = !listconcat(EncodingPredicates,
|