Searched defs:predicate (Results 1 - 25 of 65) sorted by relevance

123

/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
H A DANTLRFailedPredicateException.h33 NSString *predicate; variable
37 @property (retain, getter=getPredicate, setter=setPredicate:) NSString *predicate; variable
40 + (ANTLRFailedPredicateException *) exceptionWithRuleName:(NSString *)theRuleName predicate:(NSString *)thePredicate stream:(id<ANTLRIntStream>)theStream;
41 - (ANTLRFailedPredicateException *) initWithRuleName:(NSString *)theRuleName predicate:(NSString *)thePredicate stream:(id<ANTLRIntStream>)theStream;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
H A DANTLRFailedPredicateException.h33 NSString *predicate; variable
37 @property (retain, getter=getPredicate, setter=setPredicate:) NSString *predicate; variable
40 + (ANTLRFailedPredicateException *) exceptionWithRuleName:(NSString *)theRuleName predicate:(NSString *)thePredicate stream:(id<ANTLRIntStream>)theStream;
41 - (ANTLRFailedPredicateException *) initWithRuleName:(NSString *)theRuleName predicate:(NSString *)thePredicate stream:(id<ANTLRIntStream>)theStream;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
H A DANTLRFailedPredicateException.h33 NSString *predicate; variable
37 @property (retain, getter=getPredicate, setter=setPredicate:) NSString *predicate; variable
40 + (ANTLRFailedPredicateException *) exceptionWithRuleName:(NSString *)theRuleName predicate:(NSString *)thePredicate stream:(id<ANTLRIntStream>)theStream;
41 - (ANTLRFailedPredicateException *) initWithRuleName:(NSString *)theRuleName predicate:(NSString *)thePredicate stream:(id<ANTLRIntStream>)theStream;
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
H A DANTLRFailedPredicateException.h33 NSString *predicate; variable
37 @property (retain) NSString *predicate; variable
40 + (ANTLRFailedPredicateException *) newException:(NSString *)theRuleName predicate:(NSString *)thePredicate stream:(id<ANTLRIntStream>)theStream;
41 - (ANTLRFailedPredicateException *) initWithRuleName:(NSString *)theRuleName predicate:(NSString *)thePredicate stream:(id<ANTLRIntStream>)theStream;
/external/guava/guava-testlib/src/com/google/common/testing/
H A DGcFinalization.java64 * <p>Here's an example that uses a user-defined finalization predicate:
183 * A predicate that is expected to return true subsequent to <em>finalization</em>, that is, one
198 * Waits until the given predicate returns true, invoking the garbage collector as necessary to
203 public static void awaitDone(FinalizationPredicate predicate) { argument
204 if (predicate.isDone()) {
211 if (predicate.isDone()) {
217 if (predicate.isDone()) {
/external/mesa3d/src/glsl/
H A Dir_expression_flattening.cpp28 * assignments of the leaves to temporaries, according to a predicate.
44 ir_expression_flattening_visitor(bool (*predicate)(ir_instruction *ir))
46 this->predicate = predicate;
55 bool (*predicate)(ir_instruction *ir); member in class:ir_expression_flattening_visitor
60 bool (*predicate)(ir_instruction *ir))
62 ir_expression_flattening_visitor v(predicate);
78 if (!ir || !this->predicate(ir))
H A Dopt_dead_functions.cpp65 bool (*predicate)(ir_instruction *ir); member in class:ir_dead_functions_visitor
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
H A DCheck.cs80 public static void SourceAndPredicate (object source, object predicate) argument
84 if (predicate == null)
85 throw new ArgumentNullException ("predicate");
/external/astl/tests/
H A Dtest_algorithm.cpp123 bool predicate(const Left2&, const Right2&) {return true;} function in namespace:android
133 EXPECT_TRUE(std::equal(&left2, &left2, &right2, predicate));
/external/guava/guava/src/com/google/common/base/
H A DFunctions.java228 * Creates a function that returns the same boolean output as the given predicate for all inputs.
231 * Function#apply}) if and only if {@code predicate} is itself consistent with equals.
233 public static <T> Function<T, Boolean> forPredicate(Predicate<T> predicate) { argument
234 return new PredicateFunction<T>(predicate);
239 private final Predicate<T> predicate; field in class:Functions.PredicateFunction
241 private PredicateFunction(Predicate<T> predicate) { argument
242 this.predicate = checkNotNull(predicate);
247 return predicate.apply(t);
253 return predicate
[all...]
H A DPredicates.java51 * Returns a predicate that always evaluates to {@code true}.
59 * Returns a predicate that always evaluates to {@code false}.
67 * Returns a predicate that evaluates to {@code true} if the object reference
76 * Returns a predicate that evaluates to {@code true} if the object reference
85 * Returns a predicate that evaluates to {@code true} if the given predicate
88 public static <T> Predicate<T> not(Predicate<T> predicate) { argument
89 return new NotPredicate<T>(predicate);
93 * Returns a predicate that evaluates to {@code true} if each of its
96 * predicate i
236 compose( Predicate<B> predicate, Function<A, ? extends B> function) argument
301 final Predicate<T> predicate; field in class:Predicates.NotPredicate
303 NotPredicate(Predicate<T> predicate) argument
[all...]
/external/webkit/Source/JavaScriptCore/wtf/
H A DMessageQueue.h130 inline PassOwnPtr<DataType> MessageQueue<DataType>::waitForMessageFilteredWithTimeout(MessageQueueWaitResult& result, Predicate& predicate, double absoluteTime) argument
136 while (!m_killed && !timedOut && (found = m_queue.findIf(predicate)) == m_queue.end())
172 inline void MessageQueue<DataType>::removeIf(Predicate& predicate) argument
177 DequeConstIterator<DataType*> found = m_queue.findIf(predicate);
/external/webkit/Source/WebCore/xml/
H A DXPathStep.cpp60 // E.g., there is no need to build a set of all "foo" nodes to evaluate "foo[@bar]", we can check the predicate while enumerating.
61 // This optimization can be applied to predicates that are not context node list sensitive, or to first predicate that is only context position sensitive, e.g. foo[position() mod 2 = 0].
64 Predicate* predicate = m_predicates[i]; local
65 if ((!predicate->isContextPositionSensitive() || m_nodeTest.mergedPredicates().isEmpty()) && !predicate->isContextSizeSensitive() && remainingPredicates.isEmpty()) {
66 m_nodeTest.mergedPredicates().append(predicate);
68 remainingPredicates.append(predicate);
100 Predicate* predicate = m_predicates[i]; local
101 if (predicate->isContextPositionSensitive() || predicate
106 Predicate* predicate = m_nodeTest.mergedPredicates()[i]; local
123 Predicate* predicate = m_predicates[i]; local
224 Predicate* predicate = mergedPredicates[i]; local
[all...]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/
H A DBlankDebugEventListener.cs93 public virtual void SemanticPredicate(bool result, string predicate) { argument
H A DDebugEventHub.cs205 public virtual void SemanticPredicate(bool result, string predicate) { argument
208 listener.SemanticPredicate(result, predicate);
H A DDebugEventRepeater.cs113 public virtual void SemanticPredicate(bool result, string predicate) { argument
114 _listener.SemanticPredicate(result, predicate);
H A DIDebugEventListener.cs138 * before starting a sem/syn predicate to get the
246 /** <summary>A semantic predicate was evaluate with this result and action text</summary> */
247 void SemanticPredicate(bool result, string predicate); argument
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/
H A DBlankDebugEventListener.java57 public void semanticPredicate(boolean result, String predicate) {} argument
H A DDebugEventHub.java203 public void semanticPredicate(boolean result, String predicate) { argument
206 listener.semanticPredicate(result, predicate);
H A DDebugEventListener.java120 * before starting a sem/syn predicate to get the
215 /** A semantic predicate was evaluate with this result and action text */
216 public void semanticPredicate(boolean result, String predicate); argument
H A DDebugEventRepeater.java68 public void semanticPredicate(boolean result, String predicate) { listener.semanticPredicate(result, predicate); } argument
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
H A Ddebug.rb260 def predicate?( description )
576 # A semantic predicate was evaluate with this result and action text
578 def semantic_predicate( result, predicate )
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
H A DSemanticContext.java40 * an NFA configuration is valid. It's either a single predicate or
88 /** The AST node in tree created from the grammar holding the predicate */
91 /** Is this a {...}?=> gating predicate or a normal disambiguating {..}?
92 * If any predicate in expression is gated, then expression is considered
95 * The simple Predicate object's predicate AST's type is used to set
120 public Predicate(GrammarAST predicate) { argument
121 this.predicateAST = predicate;
123 predicate.getType()==ANTLRParser.GATED_SEMPRED ||
124 predicate.getType()==ANTLRParser.SYN_SEMPRED ;
126 predicate
[all...]
/external/guava/guava/src/com/google/common/collect/
H A DCollections2.java49 * Returns the elements of {@code unfiltered} that satisfy a predicate. The
55 * doesn't satisfy the predicate, the collection's {@code add()} and {@code
67 * it may be faster to copy {@code Iterables.filter(unfiltered, predicate)}
70 * <p><b>Warning:</b> {@code predicate} must be <i>consistent with equals</i>,
71 * as documented at {@link Predicate#apply}. Do not provide a predicate such
79 Collection<E> unfiltered, Predicate<? super E> predicate) {
83 return ((FilteredCollection<E>) unfiltered).createCombined(predicate);
87 checkNotNull(unfiltered), checkNotNull(predicate));
104 final Predicate<? super E> predicate; field in class:Collections2.FilteredCollection
107 Predicate<? super E> predicate) {
78 filter( Collection<E> unfiltered, Predicate<? super E> predicate) argument
106 FilteredCollection(Collection<E> unfiltered, Predicate<? super E> predicate) argument
[all...]
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
H A DPredicates.java48 * Returns a predicate that always evaluates to {@code true}.
56 * Returns a predicate that always evaluates to {@code false}.
64 * Returns a predicate that evaluates to {@code true} if the object reference
73 * Returns a predicate that evaluates to {@code true} if the object reference
82 * Returns a predicate that evaluates to {@code true} if the given predicate
85 public static <T> Predicate<T> not(Predicate<T> predicate) { argument
86 return new NotPredicate<T>(predicate);
90 * Returns a predicate that evaluates to {@code true} if each of its
93 * predicate i
200 compose( Predicate<B> predicate, Function<A, ? extends B> function) argument
238 final Predicate<T> predicate; field in class:Predicates.NotPredicate
240 NotPredicate(Predicate<T> predicate) argument
[all...]

Completed in 390 milliseconds

123