/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))
|
/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/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/src/com/google/common/collect/ |
Collections2.java | 22 import com.google.common.base.Predicate; 81 * Returns the elements of {@code unfiltered} that satisfy a predicate. The 89 * predicate is provided. When methods such as {@code removeAll()} and 99 * it may be faster to copy {@code Iterables.filter(unfiltered, predicate)} 103 Collection<E> unfiltered, Predicate<? super E> predicate) { 107 return ((FilteredCollection<E>) unfiltered).createCombined(predicate); 111 checkNotNull(unfiltered), checkNotNull(predicate)); 128 final Predicate<? super E> predicate; field in class:Collections2.FilteredCollection [all...] |
Iterables.java | 24 import com.google.common.base.Predicate; 137 * predicate. 140 * @param predicate a predicate that determines whether an element should 149 Iterable<T> removeFrom, Predicate<? super T> predicate) { 152 (List<T>) removeFrom, checkNotNull(predicate)); 154 return Iterators.removeIf(removeFrom.iterator(), predicate); 158 List<T> list, Predicate<? super T> predicate) { [all...] |
Iterators.java | 24 import com.google.common.base.Predicate; 175 * Removes every element that satisfies the provided predicate from the 180 * @param predicate a predicate that determines whether an element should 186 Iterator<T> removeFrom, Predicate<? super T> predicate) { 187 checkNotNull(predicate); 190 if (predicate.apply(removeFrom.next())) { 595 * Returns the elements of {@code unfiltered} that satisfy a predicate. 598 final Iterator<T> unfiltered, final 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/guava/src/com/google/common/base/ |
Predicates.java | 33 * Contains static factory methods for creating {@code Predicate} instances. 49 * Returns a predicate that always evaluates to {@code true}. 53 public static <T> Predicate<T> alwaysTrue() { 54 return (Predicate<T>) AlwaysTruePredicate.INSTANCE; 58 * Returns a predicate that always evaluates to {@code false}. 62 public static <T> Predicate<T> alwaysFalse() { 63 return (Predicate<T>) AlwaysFalsePredicate.INSTANCE; 67 * Returns a predicate that evaluates to {@code true} if the object reference 71 public static <T> Predicate<T> isNull() { 72 return (Predicate<T>) IsNullPredicate.INSTANCE 251 private final Predicate<T> predicate; field in class:Predicates.NotPredicate [all...] |
Functions.java | 217 * predicate for all inputs. 219 public static <T> Function<T, Boolean> forPredicate(Predicate<T> predicate) { 220 return new PredicateFunction<T>(predicate); 226 private final Predicate<T> predicate; field in class:Functions.PredicateFunction 228 private PredicateFunction(Predicate<T> predicate) { 229 this.predicate = checkNotNull(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/skia/src/images/ |
bmpdecoderhelper.h | 27 #define CHECK(predicate) SkASSERT(predicate)
|
/external/webkit/Source/WebCore/fileapi/ |
FileThread.cpp | 82 SameInstancePredicate predicate(instance); 83 m_queue.removeIf(predicate);
|
/external/webkit/Source/JavaScriptCore/wtf/ |
MessageQueue.h | 63 template<typename Predicate> 64 PassOwnPtr<DataType> waitForMessageFilteredWithTimeout(MessageQueueWaitResult&, Predicate&, double absoluteTime); 66 template<typename Predicate> 67 void removeIf(Predicate&); 129 template<typename Predicate> 130 inline PassOwnPtr<DataType> MessageQueue<DataType>::waitForMessageFilteredWithTimeout(MessageQueueWaitResult& result, Predicate& predicate, double absoluteTime) 136 while (!m_killed && !timedOut && (found = m_queue.findIf(predicate)) == m_queue.end()) 171 template<typename Predicate> 172 inline void MessageQueue<DataType>::removeIf(Predicate& predicate [all...] |
/external/chromium/sdch/open-vcdiff/src/gtest/internal/ |
gtest-death-test-internal.h | 109 // predicate, and its stderr output matches a user-supplied regular 111 // The user-supplied predicate may be a macro expression rather 148 #define GTEST_DEATH_TEST(statement, predicate, regex, fail) \ 162 if (!gtest_dt->Passed(predicate(gtest_dt->Wait()))) { \
|
/external/webkit/Source/WebCore/workers/ |
WorkerRunLoop.cpp | 146 MessageQueueWaitResult WorkerRunLoop::runInMode(WorkerContext* context, const ModePredicate& predicate) 152 double absoluteTime = (predicate.isDefaultMode() && m_sharedTimer->isActive()) ? m_sharedTimer->fireTime() : MessageQueue<Task>::infiniteTime(); 154 OwnPtr<WorkerRunLoop::Task> task = m_messageQueue.waitForMessageFilteredWithTimeout(result, predicate, absoluteTime);
|
/external/antlr/src/org/antlr/runtime/debug/ |
DebugEventRepeater.java | 68 public void semanticPredicate(boolean result, String predicate) { listener.semanticPredicate(result, predicate); }
|
BlankDebugEventListener.java | 57 public void semanticPredicate(boolean result, String predicate) {}
|
/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/gtest/include/gtest/internal/ |
gtest-death-test-internal.h | 114 // predicate, and its stderr output matches a user-supplied regular 116 // The user-supplied predicate may be a macro expression rather 158 #define GTEST_DEATH_TEST_(statement, predicate, regex, fail) \ 172 if (!gtest_dt->Passed(predicate(gtest_dt->Wait()))) { \
|
/external/webkit/Source/WebCore/storage/ |
DatabaseThread.cpp | 181 SameDatabasePredicate predicate(database); 182 m_queue.removeIf(predicate);
|