Home
last modified time | relevance | path

Searched refs:Predicate (Results 1 – 25 of 319) sorted by relevance

12345678910>>...13

/external/droiddriver/src/io/appium/droiddriver/finders/
DPredicates.java29 private static final Predicate<Object> ANY = new Predicate<Object>() {
45 public static <T> Predicate<T> any() { in any()
46 return (Predicate<T>) ANY; in any()
52 public static <T> Predicate<T> not(final Predicate<T> predicate) { in not()
53 return new Predicate<T>() { in not()
72 public static <T> Predicate<T> allOf(final Predicate<? super T> first,
73 final Predicate<? super T> second) {
75 return (Predicate<T>) second;
78 return (Predicate<T>) first;
81 return new Predicate<T>() {
[all …]
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
DPredicates.java55 public static <T> Predicate<T> alwaysTrue() { in alwaysTrue()
63 public static <T> Predicate<T> alwaysFalse() { in alwaysFalse()
72 public static <T> Predicate<T> isNull() { in isNull()
81 public static <T> Predicate<T> notNull() { in notNull()
89 public static <T> Predicate<T> not(Predicate<T> predicate) { in not()
102 public static <T> Predicate<T> and( in and()
103 Iterable<? extends Predicate<? super T>> components) { in and()
116 public static <T> Predicate<T> and(Predicate<? super T>... components) { in and()
126 public static <T> Predicate<T> and(Predicate<? super T> first, in and()
127 Predicate<? super T> second) { in and()
[all …]
/external/guava/guava/src/com/google/common/base/
DPredicates.java58 public static <T> Predicate<T> alwaysTrue() { in alwaysTrue()
66 public static <T> Predicate<T> alwaysFalse() { in alwaysFalse()
75 public static <T> Predicate<T> isNull() { in isNull()
84 public static <T> Predicate<T> notNull() { in notNull()
92 public static <T> Predicate<T> not(Predicate<T> predicate) { in not()
105 public static <T> Predicate<T> and( in and()
106 Iterable<? extends Predicate<? super T>> components) { in and()
119 public static <T> Predicate<T> and(Predicate<? super T>... components) { in and()
129 public static <T> Predicate<T> and(Predicate<? super T> first, in and()
130 Predicate<? super T> second) { in and()
[all …]
/external/guava/guava-tests/test/com/google/common/base/
DPredicatesTest.java49 private static final Predicate<Integer> TRUE = Predicates.alwaysTrue();
50 private static final Predicate<Integer> FALSE = Predicates.alwaysFalse();
51 private static final Predicate<Integer> NEVER_REACHED =
52 new Predicate<Integer>() {
61 static class IsOdd implements Predicate<Integer>, Serializable {
278 Collection<Predicate<Integer>> empty = Arrays.asList(); in testAnd_applyIterable()
305 Predicate[] array = {Predicates.alwaysFalse()}; in testAnd_arrayDefensivelyCopied()
306 Predicate<Object> predicate = Predicates.and(array); in testAnd_arrayDefensivelyCopied()
313 List<Predicate<Object>> list = newArrayList(); in testAnd_listDefensivelyCopied()
314 Predicate<Object> predicate = Predicates.and(list); in testAnd_listDefensivelyCopied()
[all …]
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DPredicatesTest.java44 private static final Predicate<Integer> TRUE = Predicates.alwaysTrue();
45 private static final Predicate<Integer> FALSE = Predicates.alwaysFalse();
46 private static final Predicate<Integer> NEVER_REACHED =
47 new Predicate<Integer>() {
56 static class IsOdd implements Predicate<Integer>, Serializable {
235 Collection<Predicate<Integer>> empty = Arrays.asList(); in testAnd_applyIterable()
256 Predicate[] array = {Predicates.alwaysFalse()}; in testAnd_arrayDefensivelyCopied()
257 Predicate<Object> predicate = Predicates.and(array); in testAnd_arrayDefensivelyCopied()
264 List<Predicate<Object>> list = newArrayList(); in testAnd_listDefensivelyCopied()
265 Predicate<Object> predicate = Predicates.and(list); in testAnd_listDefensivelyCopied()
[all …]
/external/libcxx/test/std/containers/sequences/forwardlist/forwardlist.ops/
Dremove_if.pass.cpp31 typedef unary_counting_predicate<bool(*)(T), T> Predicate; in main() typedef
37 Predicate cp(g); in main()
44 typedef unary_counting_predicate<bool(*)(T), T> Predicate; in main() typedef
49 Predicate cp(g); in main()
56 typedef unary_counting_predicate<bool(*)(T), T> Predicate; in main() typedef
62 Predicate cp(g); in main()
69 typedef unary_counting_predicate<bool(*)(T), T> Predicate; in main() typedef
73 Predicate cp(g); in main()
80 typedef unary_counting_predicate<bool(*)(T), T> Predicate; in main() typedef
86 Predicate cp(g); in main()
[all …]
/external/mesa3d/src/gallium/drivers/radeon/
DAMDILInstrInfo.td13 // AMDIL Instruction Predicate Definitions
14 // Predicate that is set to true if the hardware supports double precision
16 def HasHWDDiv : Predicate<"Subtarget.device()"
20 // Predicate that is set to true if the hardware supports double, but not double
22 def HasSWDDiv : Predicate<"Subtarget.device()"
26 // Predicate that is set to true if the hardware support 24bit signed
28 def HasHWSign24Bit : Predicate<"Subtarget.device()"
31 // Predicate that is set to true if 64bit operations are supported or not
32 def HasHW64Bit : Predicate<"Subtarget.device()"
34 def HasSW64Bit : Predicate<"Subtarget.device()"
[all …]
/external/libcxx/test/support/
Dcounting_predicates.hpp14 template <typename Predicate, typename Arg>
17 unary_counting_predicate(Predicate p) : p_(p), count_(0) {} in unary_counting_predicate()
25 Predicate p_;
30 template <typename Predicate, typename Arg1, typename Arg2=Arg1>
34 binary_counting_predicate ( Predicate p ) : p_(p), count_(0) {} in binary_counting_predicate()
42 Predicate p_;
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCPredicates.h27 enum Predicate { enum
68 Predicate InvertPredicate(Predicate Opcode);
72 Predicate getSwappedPredicate(Predicate Opcode);
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DFieldUtil.java34 import com.google.common.base.Predicate;
42 public static Predicate<Field> FIELD_IS_STATIC = new Predicate<Field>() {
48 public static Predicate<Field> FIELD_IS_INSTANCE = new Predicate<Field>() {
DMethodUtil.java34 import com.google.common.base.Predicate;
48 public static Predicate<Method> METHOD_IS_DIRECT = new Predicate<Method>() {
54 public static Predicate<Method> METHOD_IS_VIRTUAL = new Predicate<Method>() {
/external/guava/guava-tests/test/com/google/common/collect/
DFilteredMultimapTest.java20 import com.google.common.base.Predicate;
36 private static final Predicate<Map.Entry<String, Integer>> ENTRY_PREDICATE
37 = new Predicate<Map.Entry<String, Integer>>() {
50 private static final Predicate<String> KEY_PREDICATE
51 = new Predicate<String>() {
66 private static final Predicate<Integer> VALUE_PREDICATE
67 = new Predicate<Integer>() {
/external/v8/src/
Dunicode-cache.h33 unibrow::Predicate<IdentifierStart, 128> kIsIdentifierStart;
34 unibrow::Predicate<IdentifierPart, 128> kIsIdentifierPart;
35 unibrow::Predicate<unibrow::LineTerminator, 128> kIsLineTerminator;
36 unibrow::Predicate<WhiteSpace, 128> kIsWhiteSpace;
37 unibrow::Predicate<WhiteSpaceOrLineTerminator, 128>
/external/libcxx/include/
Dcondition_variable35 template <class Predicate>
36 void wait(unique_lock<mutex>& lock, Predicate pred);
43 template <class Clock, class Duration, class Predicate>
47 Predicate pred);
54 template <class Rep, class Period, class Predicate>
58 Predicate pred);
80 template <class Lock, class Predicate>
81 void wait(Lock& lock, Predicate pred);
88 template <class Lock, class Clock, class Duration, class Predicate>
92 Predicate pred);
[all …]
/external/libcxx/test/std/containers/sequences/list/list.ops/
Dremove_if.pass.cpp31 typedef unary_counting_predicate<bool(*)(int), int> Predicate; typedef
39 Predicate cp(g); in main()
48 Predicate cp(even); in main()
58 Predicate cp(g); in main()
/external/opencv3/modules/cudev/include/opencv2/cudev/functional/
Dfunctional.hpp770 template <class Predicate> struct UnaryNegate : unary_function<typename Predicate::argument_type, t…
772 Predicate pred;
774 __device__ __forceinline__ typename Predicate::result_type operator ()( in operator ()()
775 typename TypeTraits<typename Predicate::argument_type>::parameter_type x) const in operator ()()
781 template <class Predicate>
782 __host__ __device__ UnaryNegate<Predicate> not1(const Predicate& pred) in not1()
784 UnaryNegate<Predicate> n; in not1()
789Predicate> struct BinaryNegate : binary_function<typename Predicate::first_argument_type, typenam…
791 Predicate pred;
793 __device__ __forceinline__ typename Predicate::result_type operator ()( in operator ()()
[all …]
/external/llvm/lib/Transforms/Utils/
DCmpInstAnalysis.cpp45 ICmpInst::Predicate Pred = InvertPred ? ICI->getInversePredicate() in getICmpCode()
73 CmpInst::Predicate &NewICmpPred) { in getICmpValue()
92 bool llvm::PredicatesFoldable(ICmpInst::Predicate p1, ICmpInst::Predicate p2) { in PredicatesFoldable()
/external/droiddriver/src/io/appium/droiddriver/
DUiElement.java26 import io.appium.droiddriver.finders.Predicate;
208 List<? extends UiElement> getChildren(Predicate<? super UiElement> predicate); in getChildren()
213 Predicate<UiElement> VISIBLE = new Predicate<UiElement>() {
/external/llvm/include/llvm/Transforms/Utils/
DCmpInstAnalysis.h57 CmpInst::Predicate &NewICmpPred);
61 bool PredicatesFoldable(CmpInst::Predicate p1, CmpInst::Predicate p2);
/external/llvm/include/llvm/Analysis/
DScalarEvolution.h631 ICmpInst::Predicate p);
642 ICmpInst::Predicate Pred);
678 bool isImpliedCond(ICmpInst::Predicate Pred,
686 bool isImpliedCond(ICmpInst::Predicate Pred, const SCEV *LHS,
687 const SCEV *RHS, ICmpInst::Predicate FoundPred,
693 bool isImpliedCondOperands(ICmpInst::Predicate Pred,
700 bool isImpliedCondOperandsHelper(ICmpInst::Predicate Pred,
708 bool isImpliedCondOperandsViaRanges(ICmpInst::Predicate Pred,
719 bool isImpliedCondOperandsViaNoOverflow(ICmpInst::Predicate Pred,
733 bool isKnownPredicateWithRanges(ICmpInst::Predicate Pred,
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagon.td37 // Hexagon Instruction Predicate Definitions.
39 def HasV5T : Predicate<"HST->hasV5TOps()">;
40 def NoV5T : Predicate<"!HST->hasV5TOps()">;
41 def HasV55T : Predicate<"HST->hasV55TOps()">,
43 def HasV60T : Predicate<"HST->hasV60TOps()">,
45 def UseMEMOP : Predicate<"HST->useMemOps()">;
46 def IEEERndNearV5T : Predicate<"HST->modeIEEERndNear()">;
47 def UseHVXDbl : Predicate<"HST->useHVXDblOps()">,
49 def UseHVXSgl : Predicate<"HST->useHVXSglOps()">;
51 def UseHVX : Predicate<"HST->useHVXSglOps() ||HST->useHVXDblOps()">,
/external/caliper/caliper/src/main/java/com/google/caliper/memory/
DObjectGraphMeasurer.java23 import com.google.common.base.Predicate;
173 public static Footprint measure(Object rootObject, Predicate<Object> objectAcceptor) { in measure()
176 Predicate<Chain> completePredicate = Predicates.and(ImmutableList.of( in measure()
192 private final Predicate<Chain> predicate;
194 ObjectGraphVisitor(Predicate<Chain> predicate) { in ObjectGraphVisitor()
/external/llvm/include/llvm/IR/
DInstrTypes.h882 enum Predicate {
923 CmpInst(Type *ty, Instruction::OtherOps op, Predicate pred,
927 CmpInst(Type *ty, Instruction::OtherOps op, Predicate pred,
944 Predicate predicate, Value *S1,
952 static CmpInst *Create(OtherOps Op, Predicate predicate, Value *S1,
961 Predicate getPredicate() const {
962 return Predicate(getSubclassDataFromInstruction());
966 void setPredicate(Predicate P) { setInstructionSubclassData(P); }
968 static bool isFPPredicate(Predicate P) {
972 static bool isIntPredicate(Predicate P) {
[all …]
/external/llvm/lib/Target/Mips/
DMips.td24 list<Predicate> EncodingPredicates = [];
26 list<Predicate> GPRPredicates = [];
28 list<Predicate> FGRPredicates = [];
30 list<Predicate> InsnPredicates = [];
31 // Predicate for marking the instruction as usable in hard-float mode only.
32 list<Predicate> HardFloatPredicate = [];
34 list<Predicate> AdditionalPredicates = [];
35 list<Predicate> Predicates = !listconcat(EncodingPredicates,
44 class AdditionalRequires<list<Predicate> preds> {
45 list<Predicate> AdditionalPredicates = preds;
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
DLL1DFA.java128 SemanticContext.Predicate synpred = in LL1DFA()
152 protected SemanticContext.Predicate getSynPredForAlt(NFAState decisionStartState, in getSynPredForAlt()
164 SemanticContext.Predicate p = (SemanticContext.Predicate)ctx; in getSynPredForAlt()
173 return (SemanticContext.Predicate)altStartState.transition[0].label.getSemanticContext(); in getSynPredForAlt()

12345678910>>...13