Searched refs:predicate (Results 1 - 25 of 144) sorted by relevance

123456

/external/mesa3d/src/glsl/
H A Dir_expression_flattening.h29 * assignments of the leaves to temporaries, according to a predicate.
38 bool (*predicate)(ir_instruction *ir));
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))
/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/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/webkit/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/
H A DUtilities.js44 Array.prototype.first = function(predicate) {
46 if (predicate(this[i]))
/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...]
H A DIterables.java170 * 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) {
199 if (!predicate.apply(element)) {
204 slowRemoveIfForRemainingElements(list, predicate, to, from);
218 Predicate<? super T> predicate, in
181 removeIf( Iterable<T> removeFrom, Predicate<? super T> predicate) argument
190 removeIfFromRandomAccessList( List<T> list, Predicate<? super T> predicate) argument
217 slowRemoveIfForRemainingElements(List<T> list, Predicate<? super T> predicate, int to, int from) argument
578 filter( final Iterable<T> unfiltered, final Predicate<? super T> predicate) argument
618 any( Iterable<T> iterable, Predicate<? super T> predicate) argument
627 all( Iterable<T> iterable, Predicate<? super T> predicate) argument
641 find(Iterable<T> iterable, Predicate<? super T> predicate) argument
654 find(Iterable<T> iterable, Predicate<? super T> predicate, @Nullable T defaultValue) argument
669 tryFind(Iterable<T> iterable, Predicate<? super T> predicate) argument
685 indexOf( Iterable<T> iterable, Predicate<? super T> predicate) argument
[all...]
/external/chromium/sdch/open-vcdiff/src/gtest/
H A Dgtest-death-test.h100 // 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/
H A Dgtest-death-test.h155 // 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/
H A Dgtest-death-test.h155 // 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/
H A Dgtest-death-test.h155 // 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/
H A Dgtest-death-test.h155 // 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/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
H A DParserDebugger.cs42 protected virtual bool EvalPredicate( bool result, string predicate )
44 dbg.SemanticPredicate( result, predicate );
/external/elfutils/libdwfl/
H A Doffline.c120 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/
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...]
/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/guava/guava-tests/test/com/google/common/base/
H A DPredicatesTest.java52 fail("This predicate should never have been evaluated");
57 /** Instantiable predicate with reasonable hashCode() and equals() methods. */
128 * Tests for Predicates.not(predicate).
303 Predicate<Object> predicate = Predicates.and(array);
304 assertFalse(predicate.apply(1));
306 assertFalse(predicate.apply(1));
312 Predicate<Object> predicate = Predicates.and(list);
313 assertTrue(predicate.apply(1));
315 assertTrue(predicate.apply(1));
327 Predicate<Object> predicate
917 assertEvalsToTrue(Predicate<? super Integer> predicate) argument
923 assertEvalsToFalse(Predicate<? super Integer> predicate) argument
929 assertEvalsLikeOdd(Predicate<? super Integer> predicate) argument
971 checkSerialization(Predicate<? super Integer> predicate) argument
[all...]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DIterables.java167 * 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) {
196 if (!predicate.apply(element)) {
201 slowRemoveIfForRemainingElements(list, predicate, to, from);
215 Predicate<? super T> predicate, in
178 removeIf( Iterable<T> removeFrom, Predicate<? super T> predicate) argument
187 removeIfFromRandomAccessList( List<T> list, Predicate<? super T> predicate) argument
214 slowRemoveIfForRemainingElements(List<T> list, Predicate<? super T> predicate, int to, int from) argument
560 filter( final Iterable<T> unfiltered, final Predicate<? super T> predicate) argument
576 any( Iterable<T> iterable, Predicate<? super T> predicate) argument
585 all( Iterable<T> iterable, Predicate<? super T> predicate) argument
599 find(Iterable<T> iterable, Predicate<? super T> predicate) argument
612 find(Iterable<T> iterable, Predicate<? super T> predicate, @Nullable T defaultValue) argument
627 tryFind(Iterable<T> iterable, Predicate<? super T> predicate) argument
643 indexOf( Iterable<T> iterable, Predicate<? super T> predicate) argument
[all...]
/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/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...]
/external/skia/src/images/
H A Dbmpdecoderhelper.h20 #define CHECK(predicate) SkASSERT(predicate)
/external/webkit/Source/WebCore/fileapi/
H A DFileThread.cpp82 SameInstancePredicate predicate(instance);
83 m_queue.removeIf(predicate);
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
H A DDbg.stg42 -(BOOL) evalPredicate:(NSString *)predicate matched:(BOOL)result;<\n>
90 - (BOOL) evalPredicate:(BOOL)result Pred:(NSString *)predicate
92 [dbg semanticPredicate:result Pred:predicate];
106 -(BOOL) evalPredicate:(NSString *)predicate matched:(BOOL)result
108 [debugListener semanticPredicate:predicate matched:result];
225 /** Force predicate validation to trigger an event */

Completed in 635 milliseconds

123456