HomeSort by relevance Sort by last modified time
    Searched defs:predicate (Results 1 - 25 of 32) sorted by null

1 2

  /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
ANTLRFailedPredicateException.h 33 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/
ANTLRFailedPredicateException.h 33 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/
ANTLRFailedPredicateException.h 33 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/
ANTLRFailedPredicateException.h 33 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/mesa3d/src/glsl/
ir_expression_flattening.cpp 28 * 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))
opt_dead_functions.cpp 65 bool (*predicate)(ir_instruction *ir); member in class:ir_dead_functions_visitor
  /frameworks/base/core/java/com/android/internal/util/
Predicates.java 23 * {@code Predicate} objects.
31 * Returns a Predicate that evaluates to true iff each of its components
35 public static <T> Predicate<T> and(Predicate<? super T>... components) {
40 * Returns a Predicate that evaluates to true iff each of its components
44 * the behavior of this Predicate. If components is empty, the returned
45 * Predicate will always evaluate to true.
47 public static <T> Predicate<T> and(Iterable<? extends Predicate<? super T>> components) {
52 * Returns a Predicate that evaluates to true iff any one of its component
115 private final Predicate<? super T> predicate; field in class:Predicates.NotPredicate
    [all...]
  /external/astl/tests/
test_algorithm.cpp 123 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/collect/
SortedMaps.java 32 import com.google.common.base.Predicate;
192 * keys satisfy a predicate. The returned map is a live view of {@code
198 * doesn't satisfy the predicate, the map's {@code put()} and {@code putAll()}
214 * equals</i>, as documented at {@link Predicate#apply}. Do not provide a
215 * predicate such as {@code Predicates.instanceOf(ArrayList.class)}, which is
220 SortedMap<K, V> unfiltered, final Predicate<? super K> keyPredicate) {
224 Predicate<Entry<K, V>> entryPredicate = new Predicate<Entry<K, V>>() {
235 * values satisfy a predicate. The returned map is a live view of {@code
241 * that doesn't satisfy the predicate, the map's {@code put()}, {@cod
322 Predicate<Entry<K, V>> predicate local
    [all...]
Collections2.java 25 import com.google.common.base.Predicate;
49 * 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);
104 final Predicate<? super E> predicate; field in class:Collections2.FilteredCollection
    [all...]
  /external/webkit/Source/WebCore/xml/
XPathStep.cpp 44 Step::Step(Axis axis, const NodeTest& nodeTest, const Vector<Predicate*>& predicates)
60 // 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].
62 Vector<Predicate*> remainingPredicates;
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
106 Predicate* predicate = m_nodeTest.mergedPredicates()[i]; local
123 Predicate* predicate = m_predicates[i]; local
224 Predicate* predicate = mergedPredicates[i]; local
    [all...]
  /external/guava/guava/src/com/google/common/base/
Functions.java 228 * 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) {
234 return new PredicateFunction<T>(predicate);
239 private final Predicate<T> predicate; field in class:Functions.PredicateFunction
241 private PredicateFunction(Predicate<T> predicate) {
242 this.predicate = checkNotNull(predicate)
    [all...]
Predicates.java 35 * Static utility methods pertaining to {@code Predicate} instances.
51 * Returns a predicate that always evaluates to {@code true}.
54 public static <T> Predicate<T> alwaysTrue() {
59 * Returns a predicate that always evaluates to {@code false}.
62 public static <T> Predicate<T> alwaysFalse() {
67 * Returns a predicate that evaluates to {@code true} if the object reference
71 public static <T> Predicate<T> isNull() {
76 * Returns a predicate that evaluates to {@code true} if the object reference
80 public static <T> Predicate<T> notNull() {
85 * Returns a predicate that evaluates to {@code true} if the given predicat
301 final Predicate<T> predicate; field in class:Predicates.NotPredicate
    [all...]
  /external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
debug.rb 260 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/
SemanticContext.java 40 * an NFA configuration is valid. It's either a single predicate or
52 * I have scoped the AND, NOT, OR, and Predicate subclasses of
65 public static final SemanticContext EMPTY_SEMANTIC_CONTEXT = new Predicate(Predicate.INVALID_PRED_VALUE);
87 public static class Predicate extends SemanticContext {
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 se
309 CommutativePredicate predicate = (CommutativePredicate)a; local
316 CommutativePredicate predicate = (CommutativePredicate)b; local
328 CommutativePredicate predicate = (CommutativePredicate)context; local
    [all...]
  /external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
Predicates.java 32 * Static utility methods pertaining to {@code Predicate} instances.
48 * Returns a predicate that always evaluates to {@code true}.
51 public static <T> Predicate<T> alwaysTrue() {
56 * Returns a predicate that always evaluates to {@code false}.
59 public static <T> Predicate<T> alwaysFalse() {
64 * Returns a predicate that evaluates to {@code true} if the object reference
68 public static <T> Predicate<T> isNull() {
73 * Returns a predicate that evaluates to {@code true} if the object reference
77 public static <T> Predicate<T> notNull() {
82 * Returns a predicate that evaluates to {@code true} if the given predicat
238 final Predicate<T> predicate; field in class:Predicates.NotPredicate
    [all...]
  /external/kernel-headers/original/asm-arm/
ptrace.h 156 #define predicate(x) ((x) & 0xf0000000) macro
  /external/llvm/lib/VMCore/
ConstantsContext.h 234 // needed in order to store the predicate value for these instructions.
243 unsigned short predicate; member in class:llvm::CompareConstantExpr
246 : ConstantExpr(ty, opc, &Op<0>(), 2), predicate(pred) {
460 // The compare instructions are weird. We have to encode the predicate
462 // the opcode by one hundred. We must decode this to get the predicate.
  /external/webkit/Tools/Scripts/webkitpy/common/net/buildbot/
buildbot.py 104 def predicate(form): function in function:Builder.force_build
110 self._browser.select_form(predicate=predicate)
  /frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/
InteractionController.java 44 import com.android.internal.util.Predicate;
160 Predicate<AccessibilityEvent> predicate = new Predicate<AccessibilityEvent>() { local
168 command, predicate, timeout);
249 new Predicate<AccessibilityEvent>() {
  /external/apache-xml/src/main/java/org/apache/xpath/compiler/
Compiler.java 656 * Compile a location step predicate expression.
660 * @return the contained predicate expression.
664 public Expression predicate(int opPos) throws TransformerException method in class:Compiler
941 * @param opPos The position of the first predicate the m_opMap array.
968 * @param opPos The position of the first predicate the m_opMap array.
992 * @param opPos The position of the first predicate the m_opMap array.
1004 predicates[i] = predicate(opPos);
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
RangeTest.java 26 import com.google.common.base.Predicate;
513 Predicate<Integer> predicate = Ranges.closed(2, 3); local
514 assertFalse(predicate.apply(1));
515 assertTrue(predicate.apply(2));
516 assertTrue(predicate.apply(3));
517 assertFalse(predicate.apply(4));
IteratorsTest.java 32 import com.google.common.base.Predicate;
257 new Predicate<String>() {
273 final Predicate<Integer> isEven = new Predicate<Integer>() {
289 Predicate<String> predicate = Predicates.equalTo("pants"); local
291 assertFalse(Iterators.any(list.iterator(), predicate)); local
293 assertFalse(Iterators.any(list.iterator(), predicate)); local
295 assertTrue(Iterators.any(list.iterator(), predicate)); local
300 Predicate<String> predicate = Predicates.equalTo("cool") local
302 assertTrue(Iterators.all(list.iterator(), predicate)); local
304 assertTrue(Iterators.all(list.iterator(), predicate)); local
306 assertFalse(Iterators.all(list.iterator(), predicate)); local
    [all...]
  /external/guava/guava-tests/test/com/google/common/base/
PredicatesTest.java 46 private static final Predicate<Integer> TRUE = Predicates.alwaysTrue();
47 private static final Predicate<Integer> FALSE = Predicates.alwaysFalse();
48 private static final Predicate<Integer> NEVER_REACHED =
49 new Predicate<Integer>() {
52 fail("This predicate should never have been evaluated");
57 /** Instantiable predicate with reasonable hashCode() and equals() methods. */
58 static class IsOdd implements Predicate<Integer>, Serializable {
76 * Generates a new Predicate per call.
78 * <p>Creating a new Predicate each time helps catch cases where code is
128 * Tests for Predicates.not(predicate)
303 Predicate<Object> predicate = Predicates.and(array); local
312 Predicate<Object> predicate = Predicates.and(list); local
327 Predicate<Object> predicate = Predicates.and(iterable); local
473 Predicate<Object> predicate = Predicates.or(array); local
482 Predicate<Object> predicate = Predicates.or(list); local
497 Predicate<Object> predicate = Predicates.or(iterable); local
643 Predicate<Class<?>> predicate = local
930 assertEvalsLike(isOdd(), predicate); local
    [all...]
  /external/llvm/lib/CodeGen/SelectionDAG/
SelectionDAGBuilder.cpp 2635 ICmpInst::Predicate predicate = ICmpInst::BAD_ICMP_PREDICATE; local
2649 FCmpInst::Predicate predicate = FCmpInst::BAD_FCMP_PREDICATE; local
    [all...]

Completed in 505 milliseconds

1 2