/external/mesa3d/src/glsl/ |
ir_expression_flattening.h | 29 * assignments of the leaves to temporaries, according to a predicate. 38 bool (*predicate)(ir_instruction *ir));
|
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))
|
/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;
|
/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/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/webkit/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/ |
Utilities.js | 44 Array.prototype.first = function(predicate) { 46 if (predicate(this[i]))
|
/external/guava/guava/src/com/google/common/collect/ |
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...] |
Iterables.java | 29 import com.google.common.base.Predicate; 170 * predicate. 173 * @param predicate a predicate that determines whether an element should 182 Iterable<T> removeFrom, Predicate<? super T> predicate) { 185 (List<T>) removeFrom, checkNotNull(predicate)); 187 return Iterators.removeIf(removeFrom.iterator(), predicate); 191 List<T> list, Predicate<? super T> predicate) { [all...] |
/external/chromium/sdch/open-vcdiff/src/gtest/ |
gtest-death-test.h | 100 // integer exit status that satisfies predicate, and emitting error output 102 #define ASSERT_EXIT(statement, predicate, regex) \ 103 GTEST_DEATH_TEST(statement, predicate, regex, GTEST_FATAL_FAILURE) 107 #define EXPECT_EXIT(statement, predicate, regex) \ 108 GTEST_DEATH_TEST(statement, predicate, regex, GTEST_NONFATAL_FAILURE) 121 // Two predicate classes that can be used in {ASSERT,EXPECT}_EXIT*:
|
/external/chromium/testing/gtest/include/gtest/ |
gtest-death-test.h | 155 // integer exit status that satisfies predicate, and emitting error output 157 # define ASSERT_EXIT(statement, predicate, regex) \ 158 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_) 162 # define EXPECT_EXIT(statement, predicate, regex) \ 163 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_NONFATAL_FAILURE_) 176 // Two predicate classes that can be used in {ASSERT,EXPECT}_EXIT*:
|
/external/gtest/include/gtest/ |
gtest-death-test.h | 155 // integer exit status that satisfies predicate, and emitting error output 157 # define ASSERT_EXIT(statement, predicate, regex) \ 158 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_) 162 # define EXPECT_EXIT(statement, predicate, regex) \ 163 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_NONFATAL_FAILURE_) 176 // Two predicate classes that can be used in {ASSERT,EXPECT}_EXIT*:
|
/external/llvm/utils/unittest/googletest/include/gtest/ |
gtest-death-test.h | 155 // integer exit status that satisfies predicate, and emitting error output 157 # define ASSERT_EXIT(statement, predicate, regex) \ 158 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_) 162 # define EXPECT_EXIT(statement, predicate, regex) \ 163 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_NONFATAL_FAILURE_) 176 // Two predicate classes that can be used in {ASSERT,EXPECT}_EXIT*:
|
/external/protobuf/gtest/include/gtest/ |
gtest-death-test.h | 155 // integer exit status that satisfies predicate, and emitting error output 157 #define ASSERT_EXIT(statement, predicate, regex) \ 158 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_) 162 #define EXPECT_EXIT(statement, predicate, regex) \ 163 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_NONFATAL_FAILURE_) 176 // Two predicate classes that can be used in {ASSERT,EXPECT}_EXIT*:
|
/external/elfutils/libdwfl/ |
offline.c | 120 int (*predicate) (const char *module, 127 Elf *elf, int (*predicate) (const char *module, 141 return process_archive (dwfl, name, file_name, fd, elf, predicate); 180 int (*predicate) (const char *module, const char *file), 223 if (predicate != NULL) 225 /* Let the predicate decide whether to use this one. */ 226 int want = (*predicate) (name, member_name); 243 *mod = process_file (dwfl, name, member_name, fd, member, predicate); 258 int (*predicate) (const char *module, const char *file)) 269 while (process_archive_member (dwfl, name, file_name, predicate, [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/guava/guava-testlib/src/com/google/common/testing/ |
GcFinalization.java | 64 * <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) { 204 if (predicate.isDone()) { 211 if (predicate.isDone()) { 217 if (predicate.isDone()) { 222 String.format("Predicate did not become true within %d second timeout", timeoutSeconds));
|
/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/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
Iterables.java | 28 import com.google.common.base.Predicate; 167 * predicate. 170 * @param predicate a predicate that determines whether an element should 179 Iterable<T> removeFrom, Predicate<? super T> predicate) { 182 (List<T>) removeFrom, checkNotNull(predicate)); 184 return Iterators.removeIf(removeFrom.iterator(), predicate); 188 List<T> list, Predicate<? super T> predicate) { [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...] |
/external/skia/src/images/ |
bmpdecoderhelper.h | 20 #define CHECK(predicate) SkASSERT(predicate)
|
/external/webkit/Source/WebCore/fileapi/ |
FileThread.cpp | 82 SameInstancePredicate predicate(instance); 83 m_queue.removeIf(predicate);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/ |
PropertyChangeTransform.java | 23 * single GL State variable. An optional predicate provides the ability to perform 24 * the change only if the predicate succeeds. 42 * check if the predicate function accepts the current value, and if so modify its 46 IPredicate predicate) { 49 mPredicate = predicate; 60 // if predicate is not null, then first check if the current value 61 // passes the predicate function. 95 // if the value doesn't match the predicate, then this property
|