/external/droiddriver/src/io/appium/droiddriver/finders/ |
D | MatchFinder.java | 30 protected final Predicate<? super UiElement> predicate; field in MatchFinder 32 public MatchFinder(Predicate<? super UiElement> predicate) { in MatchFinder() argument 33 if (predicate == null) { in MatchFinder() 34 this.predicate = Predicates.any(); in MatchFinder() 36 this.predicate = predicate; in MatchFinder() 42 return predicate.toString(); in toString() 70 return predicate.apply(element); in matches()
|
/external/python/cpython2/Lib/xml/etree/ |
D | ElementPath.py | 151 predicate = [] 159 predicate.append(token[1]) 164 key = predicate[1] 172 key = predicate[1] 173 value = predicate[-1] 179 if signature == "-" and not re.match("\d+$", predicate[0]): 181 tag = predicate[0] 187 if signature == "-='" and not re.match("\d+$", predicate[0]): 189 tag = predicate[0] 190 value = predicate[-1] [all …]
|
/external/python/cpython3/Lib/xml/etree/ |
D | ElementPath.py | 152 predicate = [] 163 predicate.append(token[1]) 168 key = predicate[1] 176 key = predicate[1] 177 value = predicate[-1] 183 if signature == "-" and not re.match(r"\-?\d+$", predicate[0]): 185 tag = predicate[0] 191 if signature == "-='" and not re.match(r"\-?\d+$", predicate[0]): 193 tag = predicate[0] 194 value = predicate[-1] [all …]
|
/external/mesa3d/src/compiler/glsl/ |
D | ir_expression_flattening.cpp | 40 ir_expression_flattening_visitor(bool (*predicate)(ir_instruction *ir)) in ir_expression_flattening_visitor() 42 this->predicate = predicate; in ir_expression_flattening_visitor() 51 bool (*predicate)(ir_instruction *ir); member in ir_expression_flattening_visitor 56 bool (*predicate)(ir_instruction *ir)) in do_expression_flattening() 58 ir_expression_flattening_visitor v(predicate); in do_expression_flattening() 72 if (!ir || !this->predicate(ir)) in handle_rvalue()
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | Iterables.java | 173 Iterable<T> removeFrom, Predicate<? super T> predicate) { in removeIf() argument 176 (List<T>) removeFrom, checkNotNull(predicate)); in removeIf() 178 return Iterators.removeIf(removeFrom.iterator(), predicate); in removeIf() 182 List<T> list, Predicate<? super T> predicate) { in removeIfFromRandomAccessList() argument 190 if (!predicate.apply(element)) { in removeIfFromRandomAccessList() 195 slowRemoveIfForRemainingElements(list, predicate, to, from); in removeIfFromRandomAccessList() 209 Predicate<? super T> predicate, int to, int from) { in slowRemoveIfForRemainingElements() argument 221 if (predicate.apply(list.get(n))) { in slowRemoveIfForRemainingElements() 235 static <T> T removeFirstMatching(Iterable<T> removeFrom, Predicate<? super T> predicate) { in removeFirstMatching() argument 236 checkNotNull(predicate); in removeFirstMatching() [all …]
|
D | Iterators.java | 229 Iterator<T> removeFrom, Predicate<? super T> predicate) { 230 checkNotNull(predicate); 233 if (predicate.apply(removeFrom.next())) { 627 final Iterator<T> unfiltered, final Predicate<? super T> predicate) { 629 checkNotNull(predicate); 634 if (predicate.apply(element)) { 648 Iterator<T> iterator, Predicate<? super T> predicate) { 649 return indexOf(iterator, predicate) != -1; 658 Iterator<T> iterator, Predicate<? super T> predicate) { 659 checkNotNull(predicate); [all …]
|
D | Sets.java | 710 Set<E> unfiltered, Predicate<? super E> predicate) { 712 return filter((SortedSet<E>) unfiltered, predicate); 719 = Predicates.<E>and(filtered.predicate, predicate); 725 checkNotNull(unfiltered), checkNotNull(predicate)); 730 FilteredSet(Set<E> unfiltered, Predicate<? super E> predicate) { 731 super(unfiltered, predicate); 773 SortedSet<E> unfiltered, Predicate<? super E> predicate) { 774 return Platform.setsFilterSortedSet(unfiltered, predicate); 778 SortedSet<E> unfiltered, Predicate<? super E> predicate) { 784 = Predicates.<E>and(filtered.predicate, predicate); [all …]
|
/external/clang/tools/scan-build-py/libscanbuild/ |
D | __init__.py | 21 def predicate(entry): function 22 entry_hash = predicate.unique(entry) 23 if entry_hash not in predicate.state: 24 predicate.state.add(entry_hash) 28 predicate.unique = method 29 predicate.state = set() 30 return predicate
|
/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/guava/guava/src/com/google/common/collect/ |
D | Iterables.java | 175 Iterable<T> removeFrom, Predicate<? super T> predicate) { in removeIf() argument 178 (List<T>) removeFrom, checkNotNull(predicate)); in removeIf() 180 return Iterators.removeIf(removeFrom.iterator(), predicate); in removeIf() 184 List<T> list, Predicate<? super T> predicate) { in removeIfFromRandomAccessList() argument 192 if (!predicate.apply(element)) { in removeIfFromRandomAccessList() 197 slowRemoveIfForRemainingElements(list, predicate, to, from); in removeIfFromRandomAccessList() 211 Predicate<? super T> predicate, int to, int from) { in slowRemoveIfForRemainingElements() argument 223 if (predicate.apply(list.get(n))) { in slowRemoveIfForRemainingElements() 237 static <T> T removeFirstMatching(Iterable<T> removeFrom, Predicate<? super T> predicate) { in removeFirstMatching() argument 238 checkNotNull(predicate); in removeFirstMatching() [all …]
|
D | Sets.java | 746 Set<E> unfiltered, Predicate<? super E> predicate) { 748 return filter((SortedSet<E>) unfiltered, predicate); 755 = Predicates.<E>and(filtered.predicate, predicate); 761 checkNotNull(unfiltered), checkNotNull(predicate)); 766 FilteredSet(Set<E> unfiltered, Predicate<? super E> predicate) { 767 super(unfiltered, predicate); 809 SortedSet<E> unfiltered, Predicate<? super E> predicate) { 810 return Platform.setsFilterSortedSet(unfiltered, predicate); 814 SortedSet<E> unfiltered, Predicate<? super E> predicate) { 820 = Predicates.<E>and(filtered.predicate, predicate); [all …]
|
D | Collections2.java | 90 Collection<E> unfiltered, Predicate<? super E> predicate) { in filter() argument 94 return ((FilteredCollection<E>) unfiltered).createCombined(predicate); in filter() 98 checkNotNull(unfiltered), checkNotNull(predicate)); in filter() 136 final Predicate<? super E> predicate; field in Collections2.FilteredCollection 139 Predicate<? super E> predicate) { in FilteredCollection() argument 141 this.predicate = predicate; in FilteredCollection() 146 Predicates.<E>and(predicate, newPredicate)); in createCombined() 152 checkArgument(predicate.apply(element)); in add() 159 checkArgument(predicate.apply(element)); in addAll() 166 Iterables.removeIf(unfiltered, predicate); in clear() [all …]
|
D | FilteredEntryMultimap.java | 48 final Predicate<? super Entry<K, V>> predicate; field in FilteredEntryMultimap 50 FilteredEntryMultimap(Multimap<K, V> unfiltered, Predicate<? super Entry<K, V>> predicate) { in FilteredEntryMultimap() argument 52 this.predicate = checkNotNull(predicate); in FilteredEntryMultimap() 62 return predicate; in entryPredicate() 71 return predicate.apply(Maps.immutableEntry(key, value)); in satisfies() 89 Collection<E> collection, Predicate<? super E> predicate) { in filterCollection() argument 91 return Sets.filter((Set<E>) collection, predicate); in filterCollection() 93 return Collections2.filter(collection, predicate); in filterCollection() 126 return filterCollection(unfiltered.entries(), predicate); in createEntries() 149 boolean removeEntriesIf(Predicate<? super Entry<K, Collection<V>>> predicate) { in removeEntriesIf() argument [all …]
|
D | Platform.java | 87 Predicate<? super E> predicate) { in setsFilterSortedSet() argument 89 ? Sets.filter((NavigableSet<E>) set, predicate) in setsFilterSortedSet() 90 : Sets.filterSortedIgnoreNavigable(set, predicate); in setsFilterSortedSet() 94 Predicate<? super Map.Entry<K, V>> predicate) { in mapsFilterSortedMap() argument 96 ? Maps.filterEntries((NavigableMap<K, V>) map, predicate) in mapsFilterSortedMap() 97 : Maps.filterSortedIgnoreNavigable(map, predicate); in mapsFilterSortedMap()
|
D | Iterators.java | 231 Iterator<T> removeFrom, Predicate<? super T> predicate) { 232 checkNotNull(predicate); 235 if (predicate.apply(removeFrom.next())) { 645 final Iterator<T> unfiltered, final Predicate<? super T> predicate) { 647 checkNotNull(predicate); 652 if (predicate.apply(element)) { 683 Iterator<T> iterator, Predicate<? super T> predicate) { 684 return indexOf(iterator, predicate) != -1; 693 Iterator<T> iterator, Predicate<? super T> predicate) { 694 checkNotNull(predicate); [all …]
|
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
D | PredicatesTest.java | 257 Predicate<Object> predicate = Predicates.and(array); in testAnd_arrayDefensivelyCopied() local 258 assertFalse(predicate.apply(1)); in testAnd_arrayDefensivelyCopied() 260 assertFalse(predicate.apply(1)); in testAnd_arrayDefensivelyCopied() 265 Predicate<Object> predicate = Predicates.and(list); in testAnd_listDefensivelyCopied() local 266 assertTrue(predicate.apply(1)); in testAnd_listDefensivelyCopied() 268 assertTrue(predicate.apply(1)); in testAnd_listDefensivelyCopied() 279 Predicate<Object> predicate = Predicates.and(iterable); in testAnd_iterableDefensivelyCopied() local 280 assertTrue(predicate.apply(1)); in testAnd_iterableDefensivelyCopied() 282 assertTrue(predicate.apply(1)); in testAnd_iterableDefensivelyCopied() 394 Predicate<Object> predicate = Predicates.or(array); in testOr_arrayDefensivelyCopied() local [all …]
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | PredicatesTest.java | 306 Predicate<Object> predicate = Predicates.and(array); in testAnd_arrayDefensivelyCopied() local 307 assertFalse(predicate.apply(1)); in testAnd_arrayDefensivelyCopied() 309 assertFalse(predicate.apply(1)); in testAnd_arrayDefensivelyCopied() 314 Predicate<Object> predicate = Predicates.and(list); in testAnd_listDefensivelyCopied() local 315 assertTrue(predicate.apply(1)); in testAnd_listDefensivelyCopied() 317 assertTrue(predicate.apply(1)); in testAnd_listDefensivelyCopied() 328 Predicate<Object> predicate = Predicates.and(iterable); in testAnd_iterableDefensivelyCopied() local 329 assertTrue(predicate.apply(1)); in testAnd_iterableDefensivelyCopied() 331 assertTrue(predicate.apply(1)); in testAnd_iterableDefensivelyCopied() 474 Predicate<Object> predicate = Predicates.or(array); in testOr_arrayDefensivelyCopied() local [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_conditional_render.c | 45 brw->predicate.state = BRW_PREDICATE_STATE_RENDER; in set_predicate_enable() 47 brw->predicate.state = BRW_PREDICATE_STATE_DONT_RENDER; in set_predicate_enable() 90 brw->predicate.state = BRW_PREDICATE_STATE_USE_BIT; in set_predicate_for_result() 102 if (!brw->predicate.supported) in brw_begin_conditional_render() 141 brw->predicate.state = BRW_PREDICATE_STATE_RENDER; in brw_end_conditional_render() 154 if (brw->predicate.supported) { in brw_check_conditional_render() 159 return brw->predicate.state != BRW_PREDICATE_STATE_DONT_RENDER; in brw_check_conditional_render()
|
/external/elfutils/libdwfl/ |
D | offline.c | 100 int (*predicate) (const char *module, 107 Elf *elf, int (*predicate) (const char *module, in process_file() 121 return process_archive (dwfl, name, file_name, fd, elf, predicate); in process_file() 161 int (*predicate) (const char *module, const char *file), in process_archive_member() 205 if (predicate != NULL) in process_archive_member() 208 int want = (*predicate) (name, member_name); in process_archive_member() 225 *mod = process_file (dwfl, name, member_name, fd, member, predicate); in process_archive_member() 240 int (*predicate) (const char *module, const char *file)) in process_archive() 251 while (process_archive_member (dwfl, name, file_name, predicate, in process_archive() 270 int (*predicate) (const char *module, in __libdwfl_report_offline() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/SystemZ/ |
D | SystemZOperands.td | 75 // i32ll16 predicate - true if the 32-bit immediate has only rightmost 16 81 // i32lh16 predicate - true if the 32-bit immediate has only bits 16-31 set. 86 // i32ll16c predicate - true if the 32-bit immediate has all bits 16-31 set. 91 // i32lh16c predicate - true if the 32-bit immediate has all rightmost 16 97 // i64ll16 predicate - true if the 64-bit immediate has only rightmost 16 103 // i64lh16 predicate - true if the 64-bit immediate has only bits 16-31 set. 108 // i64hl16 predicate - true if the 64-bit immediate has only bits 32-47 set. 113 // i64hh16 predicate - true if the 64-bit immediate has only bits 48-63 set. 118 // i64ll16c predicate - true if the 64-bit immediate has only rightmost 16 124 // i64lh16c predicate - true if the 64-bit immediate has only bits 16-31 set. [all …]
|
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/ |
D | Predicates.java | 89 public static <T> Predicate<T> not(Predicate<T> predicate) { in not() argument 90 return new NotPredicate<T>(predicate); in not() 205 Predicate<B> predicate, Function<A, ? extends B> function) { in compose() argument 206 return new CompositionPredicate<A, B>(predicate, function); in compose() 258 final Predicate<T> predicate; field in Predicates.NotPredicate 260 NotPredicate(Predicate<T> predicate) { in NotPredicate() argument 261 this.predicate = checkNotNull(predicate); in NotPredicate() 265 return !predicate.apply(t); in apply() 268 return ~predicate.hashCode(); in hashCode() 273 return predicate.equals(that.predicate); in equals() [all …]
|
/external/guava/guava/src/com/google/common/base/ |
D | Functions.java | 244 public static <T> Function<T, Boolean> forPredicate(Predicate<T> predicate) { in forPredicate() argument 245 return new PredicateFunction<T>(predicate); in forPredicate() 250 private final Predicate<T> predicate; field in Functions.PredicateFunction 252 private PredicateFunction(Predicate<T> predicate) { in PredicateFunction() argument 253 this.predicate = checkNotNull(predicate); in PredicateFunction() 258 return predicate.apply(t); in apply() 264 return predicate.equals(that.predicate); in equals() 270 return predicate.hashCode(); in hashCode() 274 return "forPredicate(" + predicate + ")"; in toString()
|
/external/droiddriver/src/io/appium/droiddriver/scroll/ |
D | SentinelStrategy.java | 44 protected final Predicate<? super UiElement> predicate; field in SentinelStrategy.Getter 51 protected Getter(Predicate<? super UiElement> predicate) { in Getter() argument 52 this.predicate = predicate; in Getter() 62 UiElement sentinel = getSentinel(container.getChildren(predicate)); in find() 149 super(Predicates.allOf(original.predicate, extraPredicate)); in MorePredicateGetter() 160 return predicate.toString() + " " + original; in toString()
|
/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 *)…
|