/external/guava/guava/src/com/google/common/collect/ |
D | Collections2.java | 79 Collection<E> unfiltered, Predicate<? super E> predicate) { in filter() argument 83 return ((FilteredCollection<E>) unfiltered).createCombined(predicate); in filter() 87 checkNotNull(unfiltered), checkNotNull(predicate)); in filter() 104 final Predicate<? super E> predicate; field in Collections2.FilteredCollection 107 Predicate<? super E> predicate) { in FilteredCollection() argument 109 this.predicate = predicate; in FilteredCollection() 114 Predicates.<E>and(predicate, newPredicate)); in createCombined() 120 checkArgument(predicate.apply(element)); in add() 127 checkArgument(predicate.apply(element)); in addAll() 134 Iterables.removeIf(unfiltered, predicate); in clear() [all …]
|
D | Iterables.java | 182 Iterable<T> removeFrom, Predicate<? super T> predicate) { in removeIf() argument 185 (List<T>) removeFrom, checkNotNull(predicate)); in removeIf() 187 return Iterators.removeIf(removeFrom.iterator(), predicate); in removeIf() 191 List<T> list, Predicate<? super T> predicate) { in removeIfFromRandomAccessList() argument 199 if (!predicate.apply(element)) { in removeIfFromRandomAccessList() 204 slowRemoveIfForRemainingElements(list, predicate, to, from); in removeIfFromRandomAccessList() 218 Predicate<? super T> predicate, int to, int from) { in slowRemoveIfForRemainingElements() argument 230 if (predicate.apply(list.get(n))) { in slowRemoveIfForRemainingElements() 579 final Iterable<T> unfiltered, final Predicate<? super T> predicate) { 581 checkNotNull(predicate); [all …]
|
D | Iterators.java | 213 Iterator<T> removeFrom, Predicate<? super T> predicate) { 214 checkNotNull(predicate); 217 if (predicate.apply(removeFrom.next())) { 642 final Iterator<T> unfiltered, final Predicate<? super T> predicate) { 644 checkNotNull(predicate); 649 if (predicate.apply(element)) { 681 Iterator<T> iterator, Predicate<? super T> predicate) { 682 checkNotNull(predicate); 685 if (predicate.apply(element)) { 698 Iterator<T> iterator, Predicate<? super T> predicate) { [all …]
|
D | SortedMaps.java | 322 Predicate<Entry<K, V>> predicate in filterFiltered() local 323 = Predicates.and(map.predicate, entryPredicate); in filterFiltered() 324 return new FilteredSortedMap<K, V>(map.sortedMap(), predicate); in filterFiltered() 361 return new FilteredSortedMap<K, V>(sortedMap().headMap(toKey), predicate); in headMap() 366 sortedMap().subMap(fromKey, toKey), predicate); in subMap() 371 sortedMap().tailMap(fromKey), predicate); in tailMap()
|
/external/mesa3d/src/glsl/ |
D | ir_expression_flattening.cpp | 44 ir_expression_flattening_visitor(bool (*predicate)(ir_instruction *ir)) in ir_expression_flattening_visitor() 46 this->predicate = predicate; in ir_expression_flattening_visitor() 55 bool (*predicate)(ir_instruction *ir); member in ir_expression_flattening_visitor 60 bool (*predicate)(ir_instruction *ir)) in do_expression_flattening() 62 ir_expression_flattening_visitor v(predicate); in do_expression_flattening() 78 if (!ir || !this->predicate(ir)) in handle_rvalue()
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
D | ANTLRFailedPredicateException.m | 32 @synthesize predicate; 35 + (ANTLRFailedPredicateException *) newException:(NSString *)theRuleName predicate:(NSString *)theP… 37 …return [[ANTLRFailedPredicateException alloc] initWithRuleName:theRuleName predicate:thePredicate … 40 - (ANTLRFailedPredicateException *) initWithRuleName:(NSString *)theRuleName predicate:(NSString *)… 62 [desc appendFormat:@" rule: %@ predicate failed: %@", ruleName, predicate]; 69 return predicate; 74 if (thePredicate != predicate) { 76 if ( predicate ) [predicate release]; 77 predicate = thePredicate;
|
D | ANTLRFailedPredicateException.h | 33 NSString *predicate; variable 37 @property (retain) NSString *predicate; 40 + (ANTLRFailedPredicateException *) newException:(NSString *)theRuleName predicate:(NSString *)theP… 41 - (ANTLRFailedPredicateException *) initWithRuleName:(NSString *)theRuleName predicate:(NSString *)…
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonImmediates.td | 224 // immS16 predicate - True if the immediate fits in a 16-bit sign extended 231 // s32_24ImmPred predicate - True if the immediate fits in a 32-bit sign 238 // s32_16s8ImmPred predicate - True if the immediate fits in a 32-bit sign 245 // immS16 predicate - True if the immediate fits in a 16-bit sign extended 253 // immS13 predicate - True if the immediate fits in a 13-bit sign extended 261 // immS16 predicate - True if the immediate fits in a 16-bit sign extended 268 // immS16 predicate - True if the immediate fits in a 16-bit sign extended 276 // immS16 predicate - True if the immediate fits in a 16-bit sign extended 284 // immS16 predicate - True if the immediate fits in a 16-bit sign extended 292 // immS16 predicate - True if the immediate fits in a 16-bit sign extended [all …]
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | PredicatesTest.java | 303 Predicate<Object> predicate = Predicates.and(array); in testAnd_arrayDefensivelyCopied() local 304 assertFalse(predicate.apply(1)); in testAnd_arrayDefensivelyCopied() 306 assertFalse(predicate.apply(1)); in testAnd_arrayDefensivelyCopied() 312 Predicate<Object> predicate = Predicates.and(list); in testAnd_listDefensivelyCopied() local 313 assertTrue(predicate.apply(1)); in testAnd_listDefensivelyCopied() 315 assertTrue(predicate.apply(1)); in testAnd_listDefensivelyCopied() 327 Predicate<Object> predicate = Predicates.and(iterable); in testAnd_iterableDefensivelyCopied() local 328 assertTrue(predicate.apply(1)); in testAnd_iterableDefensivelyCopied() 330 assertTrue(predicate.apply(1)); in testAnd_iterableDefensivelyCopied() 473 Predicate<Object> predicate = Predicates.or(array); in testOr_arrayDefensivelyCopied() local [all …]
|
/external/elfutils/libdwfl/ |
D | offline.c | 120 int (*predicate) (const char *module, 127 Elf *elf, int (*predicate) (const char *module, in process_file() 141 return process_archive (dwfl, name, file_name, fd, elf, predicate); in process_file() 180 int (*predicate) (const char *module, const char *file), in process_archive_member() 223 if (predicate != NULL) in process_archive_member() 226 int want = (*predicate) (name, member_name); in process_archive_member() 243 *mod = process_file (dwfl, name, member_name, fd, member, predicate); in process_archive_member() 258 int (*predicate) (const char *module, const char *file)) in process_archive() 269 while (process_archive_member (dwfl, name, file_name, predicate, in process_archive() 288 int (*predicate) (const char *module, in __libdwfl_report_offline() [all …]
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | Iterables.java | 179 Iterable<T> removeFrom, Predicate<? super T> predicate) { in removeIf() argument 182 (List<T>) removeFrom, checkNotNull(predicate)); in removeIf() 184 return Iterators.removeIf(removeFrom.iterator(), predicate); in removeIf() 188 List<T> list, Predicate<? super T> predicate) { in removeIfFromRandomAccessList() argument 196 if (!predicate.apply(element)) { in removeIfFromRandomAccessList() 201 slowRemoveIfForRemainingElements(list, predicate, to, from); in removeIfFromRandomAccessList() 215 Predicate<? super T> predicate, int to, int from) { in slowRemoveIfForRemainingElements() argument 227 if (predicate.apply(list.get(n))) { in slowRemoveIfForRemainingElements() 561 final Iterable<T> unfiltered, final Predicate<? super T> predicate) { 563 checkNotNull(predicate); [all …]
|
D | Iterators.java | 211 Iterator<T> removeFrom, Predicate<? super T> predicate) { 212 checkNotNull(predicate); 215 if (predicate.apply(removeFrom.next())) { 624 final Iterator<T> unfiltered, final Predicate<? super T> predicate) { 626 checkNotNull(predicate); 631 if (predicate.apply(element)) { 645 Iterator<T> iterator, Predicate<? super T> predicate) { 646 checkNotNull(predicate); 649 if (predicate.apply(element)) { 662 Iterator<T> iterator, Predicate<? super T> predicate) { [all …]
|
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/ |
D | Predicates.java | 85 public static <T> Predicate<T> not(Predicate<T> predicate) { in not() argument 86 return new NotPredicate<T>(predicate); in not() 201 Predicate<B> predicate, Function<A, ? extends B> function) { in compose() argument 202 return new CompositionPredicate<A, B>(predicate, function); in compose() 238 final Predicate<T> predicate; field in Predicates.NotPredicate 240 NotPredicate(Predicate<T> predicate) { in NotPredicate() argument 241 this.predicate = checkNotNull(predicate); in NotPredicate() 245 return !predicate.apply(t); in apply() 248 return ~predicate.hashCode(); in hashCode() 253 return predicate.equals(that.predicate); in equals() [all …]
|
/external/guava/guava/src/com/google/common/base/ |
D | Functions.java | 233 public static <T> Function<T, Boolean> forPredicate(Predicate<T> predicate) { in forPredicate() argument 234 return new PredicateFunction<T>(predicate); in forPredicate() 239 private final Predicate<T> predicate; field in Functions.PredicateFunction 241 private PredicateFunction(Predicate<T> predicate) { in PredicateFunction() argument 242 this.predicate = checkNotNull(predicate); in PredicateFunction() 247 return predicate.apply(t); in apply() 253 return predicate.equals(that.predicate); in equals() 259 return predicate.hashCode(); in hashCode() 263 return "forPredicate(" + predicate + ")"; in toString()
|
D | Predicates.java | 88 public static <T> Predicate<T> not(Predicate<T> predicate) { in not() argument 89 return new NotPredicate<T>(predicate); in not() 237 Predicate<B> predicate, Function<A, ? extends B> function) { in compose() argument 238 return new CompositionPredicate<A, B>(predicate, function); in compose() 301 final Predicate<T> predicate; field in Predicates.NotPredicate 303 NotPredicate(Predicate<T> predicate) { in NotPredicate() argument 304 this.predicate = checkNotNull(predicate); in NotPredicate() 308 return !predicate.apply(t); in apply() 311 return ~predicate.hashCode(); in hashCode() 316 return predicate.equals(that.predicate); in equals() [all …]
|
/external/webkit/Source/WebCore/xml/ |
D | XPathStep.cpp | 64 Predicate* predicate = m_predicates[i]; in optimize() local 65 …if ((!predicate->isContextPositionSensitive() || m_nodeTest.mergedPredicates().isEmpty()) && !pred… in optimize() 66 m_nodeTest.mergedPredicates().append(predicate); in optimize() 68 remainingPredicates.append(predicate); in optimize() 100 Predicate* predicate = m_predicates[i]; in predicatesAreContextListInsensitive() local 101 if (predicate->isContextPositionSensitive() || predicate->isContextSizeSensitive()) in predicatesAreContextListInsensitive() 106 Predicate* predicate = m_nodeTest.mergedPredicates()[i]; in predicatesAreContextListInsensitive() local 107 if (predicate->isContextPositionSensitive() || predicate->isContextSizeSensitive()) in predicatesAreContextListInsensitive() 123 Predicate* predicate = m_predicates[i]; in evaluate() local 135 if (predicate->evaluate()) in evaluate() [all …]
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
D | ANTLRFailedPredicateException.h | 33 NSString *predicate; variable 37 @property (retain, getter=getPredicate, setter=setPredicate:) NSString *predicate; 40 + (ANTLRFailedPredicateException *) exceptionWithRuleName:(NSString *)theRuleName predicate:(NSStri… 41 - (ANTLRFailedPredicateException *) initWithRuleName:(NSString *)theRuleName predicate:(NSString *)…
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/ |
D | ANTLRFailedPredicateException.h | 33 NSString *predicate; variable 37 @property (retain, getter=getPredicate, setter=setPredicate:) NSString *predicate; 40 + (ANTLRFailedPredicateException *) exceptionWithRuleName:(NSString *)theRuleName predicate:(NSStri… 41 - (ANTLRFailedPredicateException *) initWithRuleName:(NSString *)theRuleName predicate:(NSString *)…
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/ |
D | ANTLRFailedPredicateException.h | 33 NSString *predicate; variable 37 @property (retain, getter=getPredicate, setter=setPredicate:) NSString *predicate; 40 + (ANTLRFailedPredicateException *) exceptionWithRuleName:(NSString *)theRuleName predicate:(NSStri… 41 - (ANTLRFailedPredicateException *) initWithRuleName:(NSString *)theRuleName predicate:(NSString *)…
|
/external/chromium/sdch/open-vcdiff/src/gtest/ |
D | gtest-death-test.h | 102 #define ASSERT_EXIT(statement, predicate, regex) \ argument 103 GTEST_DEATH_TEST(statement, predicate, regex, GTEST_FATAL_FAILURE) 107 #define EXPECT_EXIT(statement, predicate, regex) \ argument 108 GTEST_DEATH_TEST(statement, predicate, regex, GTEST_NONFATAL_FAILURE)
|
/external/protobuf/gtest/include/gtest/ |
D | gtest-death-test.h | 157 #define ASSERT_EXIT(statement, predicate, regex) \ argument 158 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_) 162 #define EXPECT_EXIT(statement, predicate, regex) \ argument 163 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_NONFATAL_FAILURE_)
|
/external/llvm/utils/unittest/googletest/include/gtest/ |
D | gtest-death-test.h | 157 # define ASSERT_EXIT(statement, predicate, regex) \ argument 158 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_) 162 # define EXPECT_EXIT(statement, predicate, regex) \ argument 163 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_NONFATAL_FAILURE_)
|
/external/gtest/include/gtest/ |
D | gtest-death-test.h | 157 # define ASSERT_EXIT(statement, predicate, regex) \ argument 158 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_) 162 # define EXPECT_EXIT(statement, predicate, regex) \ argument 163 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_NONFATAL_FAILURE_)
|
/external/chromium/testing/gtest/include/gtest/ |
D | gtest-death-test.h | 157 # define ASSERT_EXIT(statement, predicate, regex) \ argument 158 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_) 162 # define EXPECT_EXIT(statement, predicate, regex) \ argument 163 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_NONFATAL_FAILURE_)
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
D | GcFinalization.java | 203 public static void awaitDone(FinalizationPredicate predicate) { in awaitDone() argument 204 if (predicate.isDone()) { in awaitDone() 211 if (predicate.isDone()) { in awaitDone() 217 if (predicate.isDone()) { in awaitDone()
|