Home
last modified time | relevance | path

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

12345

/external/guava/src/com/google/common/base/
DPredicates.java53 public static <T> Predicate<T> alwaysTrue() { in alwaysTrue()
54 return (Predicate<T>) AlwaysTruePredicate.INSTANCE; in alwaysTrue()
62 public static <T> Predicate<T> alwaysFalse() { in alwaysFalse()
63 return (Predicate<T>) AlwaysFalsePredicate.INSTANCE; in alwaysFalse()
71 public static <T> Predicate<T> isNull() { in isNull()
72 return (Predicate<T>) IsNullPredicate.INSTANCE; in isNull()
80 public static <T> Predicate<T> notNull() { in notNull()
81 return (Predicate<T>) NotNullPredicate.INSTANCE; in notNull()
88 public static <T> Predicate<T> not(Predicate<T> predicate) { in not()
101 public static <T> Predicate<T> and( in and()
[all …]
/external/webkit/Source/JavaScriptCore/wtf/
DNonCopyingSort.h34 template<typename RandomAccessIterator, typename Predicate>
35 inline void siftDown(RandomAccessIterator array, ptrdiff_t start, ptrdiff_t end, Predicate compareL… in siftDown()
52 template<typename RandomAccessIterator, typename Predicate>
53 inline void heapify(RandomAccessIterator array, ptrdiff_t count, Predicate compareLess) in heapify()
63 template<typename RandomAccessIterator, typename Predicate>
64 void heapSort(RandomAccessIterator start, RandomAccessIterator end, Predicate compareLess) in heapSort()
77 template<typename RandomAccessIterator, typename Predicate>
78 inline void nonCopyingSort(RandomAccessIterator start, RandomAccessIterator end, Predicate compareL… in nonCopyingSort()
DMessageQueue.h63 template<typename Predicate>
64 …PassOwnPtr<DataType> waitForMessageFilteredWithTimeout(MessageQueueWaitResult&, Predicate&, double…
66 template<typename Predicate>
67 void removeIf(Predicate&);
129 template<typename Predicate>
130 …ype>::waitForMessageFilteredWithTimeout(MessageQueueWaitResult& result, Predicate& predicate, doub… in waitForMessageFilteredWithTimeout()
171 template<typename Predicate>
172 inline void MessageQueue<DataType>::removeIf(Predicate& predicate) in removeIf()
/external/webkit/Source/WebCore/xml/
DXPathStep.h40 class Predicate; variable
67 Vector<Predicate*>& mergedPredicates() { return m_mergedPredicates; } in mergedPredicates()
68 const Vector<Predicate*>& mergedPredicates() const { return m_mergedPredicates; } in mergedPredicates()
76 Vector<Predicate*> m_mergedPredicates;
79 … Step(Axis, const NodeTest& nodeTest, const Vector<Predicate*>& predicates = Vector<Predicate*>());
99 Vector<Predicate*> m_predicates;
DXPathPath.h39 class Predicate; variable
44 Filter(Expression*, const Vector<Predicate*>& = Vector<Predicate*>());
53 Vector<Predicate*> m_predicates;
DXPathPredicate.h108 class Predicate {
109 WTF_MAKE_NONCOPYABLE(Predicate); WTF_MAKE_FAST_ALLOCATED;
111 Predicate(Expression*);
112 ~Predicate();
DXPathParser.h45 class Predicate; variable
82 void registerPredicateVector(Vector<Predicate*>*);
83 void deletePredicateVector(Vector<Predicate*>*);
122 HashSet<Vector<Predicate*>*> m_predicateVectors;
DXPathGrammar.y67 Vector<Predicate*>* predList;
98 %type <expr> Predicate
294 Predicate
296 $$ = new Vector<Predicate*>;
297 $$->append(new Predicate($1));
302 PredicateList Predicate
304 $$->append(new Predicate($2));
309 Predicate:
DXPathPredicate.cpp256 Predicate::Predicate(Expression* expr) in Predicate() function in WebCore::XPath::Predicate
261 Predicate::~Predicate() in ~Predicate()
266 bool Predicate::evaluate() const in evaluate()
DXPathStep.cpp44 Step::Step(Axis axis, const NodeTest& nodeTest, const Vector<Predicate*>& predicates) in Step()
62 Vector<Predicate*> remainingPredicates; in optimize()
64 Predicate* predicate = m_predicates[i]; in optimize()
100 Predicate* predicate = m_predicates[i]; in predicatesAreContextListInsensitive()
106 Predicate* predicate = m_nodeTest.mergedPredicates()[i]; in predicatesAreContextListInsensitive()
123 Predicate* predicate = m_predicates[i]; in evaluate()
222 const Vector<Predicate*>& mergedPredicates = nodeTest.mergedPredicates(); in nodeMatches()
224 Predicate* predicate = mergedPredicates[i]; in nodeMatches()
/external/guava/src/com/google/common/collect/
DCollections2.java22 import com.google.common.base.Predicate;
103 Collection<E> unfiltered, Predicate<? super E> predicate) { in filter()
128 final Predicate<? super E> predicate;
131 Predicate<? super E> predicate) { in FilteredCollection()
136 FilteredCollection<E> createCombined(Predicate<? super E> newPredicate) { in createCombined()
205 Predicate<E> combinedPredicate = new Predicate<E>() { in removeAll()
215 Predicate<E> combinedPredicate = new Predicate<E>() { in retainAll()
DIterables.java24 import com.google.common.base.Predicate;
149 Iterable<T> removeFrom, Predicate<? super T> predicate) {
158 List<T> list, Predicate<? super T> predicate) {
501 final Iterable<T> unfiltered, final Predicate<? super T> predicate) {
539 Iterable<T> iterable, Predicate<? super T> predicate) {
548 Iterable<T> iterable, Predicate<? super T> predicate) {
560 Predicate<? super T> predicate) {
576 Iterable<T> iterable, Predicate<? super T> predicate) {
DMaps.java23 import com.google.common.base.Predicate;
872 Map<K, V> unfiltered, final Predicate<? super K> keyPredicate) {
874 Predicate<Entry<K, V>> entryPredicate = new Predicate<Entry<K, V>>() {
910 Map<K, V> unfiltered, final Predicate<? super V> valuePredicate) {
912 Predicate<Entry<K, V>> entryPredicate = new Predicate<Entry<K, V>>() {
947 Map<K, V> unfiltered, Predicate<? super Entry<K, V>> entryPredicate) {
960 Predicate<? super Entry<K, V>> entryPredicate) {
961 Predicate<Entry<K, V>> predicate
970 final Predicate<? super Entry<K, V>> predicate;
973 Predicate<? super Entry<K, V>> predicate) {
[all …]
DIterators.java24 import com.google.common.base.Predicate;
186 Iterator<T> removeFrom, Predicate<? super T> predicate) {
598 final Iterator<T> unfiltered, final Predicate<? super T> predicate) {
637 Iterator<T> iterator, Predicate<? super T> predicate) {
654 Iterator<T> iterator, Predicate<? super T> predicate) {
676 public static <T> T find(Iterator<T> iterator, Predicate<? super T> predicate)
698 Iterator<T> iterator, Predicate<? super T> predicate) {
/external/llvm/lib/Target/PowerPC/
DPPCPredicates.h22 enum Predicate { enum
35 Predicate InvertPredicate(Predicate Opcode);
DPPCPredicates.cpp19 PPC::Predicate PPC::InvertPredicate(PPC::Predicate Opcode) { in InvertPredicate()
/external/llvm/include/llvm/Support/
DPatternMatch.h140 template<typename Predicate>
141 struct cst_pred_ty : public Predicate {
155 template<typename Predicate>
156 struct api_pred_ty : public Predicate {
449 PredicateTy &Predicate; member
454 : Predicate(Pred), L(LHS), R(RHS) {} in CmpClass_match()
460 Predicate = I->getPredicate(); in match()
468 inline CmpClass_match<LHS, RHS, ICmpInst, ICmpInst::Predicate>
469 m_ICmp(ICmpInst::Predicate &Pred, const LHS &L, const RHS &R) { in m_ICmp()
471 ICmpInst, ICmpInst::Predicate>(Pred, L, R); in m_ICmp()
[all …]
/external/llvm/include/llvm/
DInstrTypes.h646 enum Predicate {
709 Predicate getPredicate() const {
710 return Predicate(getSubclassDataFromInstruction());
714 void setPredicate(Predicate P) { setInstructionSubclassData(P); }
716 static bool isFPPredicate(Predicate P) {
720 static bool isIntPredicate(Predicate P) {
732 Predicate getInversePredicate() const {
740 static Predicate getInversePredicate(Predicate pred);
748 Predicate getSwappedPredicate() const {
755 static Predicate getSwappedPredicate(Predicate pred);
/external/llvm/include/llvm/Analysis/
DScalarEvolution.h400 ICmpInst::Predicate p);
436 bool isImpliedCond(ICmpInst::Predicate Pred,
444 bool isImpliedCondOperands(ICmpInst::Predicate Pred,
451 bool isImpliedCondOperandsHelper(ICmpInst::Predicate Pred,
466 bool isKnownPredicateWithRanges(ICmpInst::Predicate Pred,
647 bool isLoopEntryGuardedByCond(const Loop *L, ICmpInst::Predicate Pred,
653 bool isLoopBackedgeGuardedByCond(const Loop *L, ICmpInst::Predicate Pred,
729 bool isKnownPredicate(ICmpInst::Predicate Pred,
737 bool SimplifyICmpOperands(ICmpInst::Predicate &Pred,
DInstructionSimplify.h108 Value *SimplifyICmpInst(unsigned Predicate, Value *LHS, Value *RHS,
114 Value *SimplifyFCmpInst(unsigned Predicate, Value *LHS, Value *RHS,
134 Value *SimplifyCmpInst(unsigned Predicate, Value *LHS, Value *RHS,
/external/llvm/include/llvm/CodeGen/
DAnalysis.h71 ISD::CondCode getFCmpCondCode(FCmpInst::Predicate Pred);
76 ISD::CondCode getICmpCondCode(ICmpInst::Predicate Pred);
/external/llvm/lib/Target/CellSPU/
DSPUOperands.td249 // v16i8SExt8Imm: Predicate test for 8-bit sign extended immediate constant
264 // v16i8U8Imm: Predicate test for unsigned 8-bit immediate constant
278 // v8i16SExt8Imm: Predicate test for 8-bit sign extended immediate constant
290 // v8i16SExt10Imm: Predicate test for 16-bit sign extended immediate constant
302 // v8i16Uns10Imm: Predicate test for 16-bit unsigned immediate constant
314 // v8i16SExt16Imm: Predicate test for 16-bit sign extended immediate constant
326 // v4i32SExt10Imm: Predicate test for 10-bit sign extended immediate constant
338 // v4i32Uns10Imm: Predicate test for 10-bit unsigned immediate constant
350 // v4i32SExt16Imm: Predicate test for 16-bit sign extended immediate constant
362 // v4i32Uns18Imm: Predicate test for 18-bit unsigned immediate constant load,
[all …]
/external/llvm/lib/Target/PTX/
DPTXInstrFormats.td10 // PTX Predicate operand, default to (0, 0) = (zero-reg, always).
20 let AsmString = asmstr; // Predicate printing is defined elsewhere.
/external/llvm/lib/CodeGen/
DIfConversion.cpp120 SmallVector<MachineOperand, 4> Predicate; member
624 bool AlreadyPredicated = BBI.Predicate.size() > 0; in ScanInstructions()
717 if (BBI.Predicate.size() && !TII->SubsumesPredicate(BBI.Predicate, Pred)) in FeasibilityAnalysis()
790 bool TNeedSub = TrueBBI.Predicate.size() > 0; in AnalyzeBlock()
791 bool FNeedSub = FalseBBI.Predicate.size() > 0; in AnalyzeBlock()
1399 std::copy(Cond.begin(), Cond.end(), std::back_inserter(BBI.Predicate)); in PredicateBlock()
1460 std::copy(FromBBI.Predicate.begin(), FromBBI.Predicate.end(), in CopyAndPredicateBlock()
1461 std::back_inserter(ToBBI.Predicate)); in CopyAndPredicateBlock()
1462 std::copy(Cond.begin(), Cond.end(), std::back_inserter(ToBBI.Predicate)); in CopyAndPredicateBlock()
1498 std::copy(FromBBI.Predicate.begin(), FromBBI.Predicate.end(), in MergeBlocks()
[all …]
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp384 static Value *ThreadCmpOverSelect(CmpInst::Predicate Pred, Value *LHS, in ThreadCmpOverSelect()
484 static Value *ThreadCmpOverPHI(CmpInst::Predicate Pred, Value *LHS, Value *RHS, in ThreadCmpOverPHI()
1382 static Value *ExtractEquivalentCondition(Value *V, CmpInst::Predicate Pred, in ExtractEquivalentCondition()
1401 static Value *SimplifyICmpInst(unsigned Predicate, Value *LHS, Value *RHS, in SimplifyICmpInst() argument
1404 CmpInst::Predicate Pred = (CmpInst::Predicate)Predicate; in SimplifyICmpInst()
1893 CmpInst::Predicate P = CmpInst::BAD_ICMP_PREDICATE; in SimplifyICmpInst()
1894 CmpInst::Predicate EqP; // Chosen so that "A == max/min(A,B)" iff "A EqP B". in SimplifyICmpInst()
1943 CmpInst::Predicate InvEqP = CmpInst::getInversePredicate(EqP); in SimplifyICmpInst()
2013 CmpInst::Predicate InvEqP = CmpInst::getInversePredicate(EqP); in SimplifyICmpInst()
2094 Value *llvm::SimplifyICmpInst(unsigned Predicate, Value *LHS, Value *RHS, in SimplifyICmpInst() argument
[all …]

12345