Home
last modified time | relevance | path

Searched refs:predicate (Results 1 – 25 of 776) sorted by relevance

12345678910>>...32

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_conditional_render.c45 brw->predicate.state = BRW_PREDICATE_STATE_RENDER; in set_predicate_enable()
47 brw->predicate.state = BRW_PREDICATE_STATE_DONT_RENDER; in set_predicate_enable()
56 brw->predicate.state = BRW_PREDICATE_STATE_STALL_FOR_QUERY; in set_predicate_for_overflow_query()
60 brw->predicate.state = BRW_PREDICATE_STATE_USE_BIT; in set_predicate_for_overflow_query()
77 if (!brw->predicate.supported) { in set_predicate_for_occlusion_query()
78 brw->predicate.state = BRW_PREDICATE_STATE_STALL_FOR_QUERY; in set_predicate_for_occlusion_query()
82 brw->predicate.state = BRW_PREDICATE_STATE_USE_BIT; in set_predicate_for_occlusion_query()
114 if (brw->predicate.state == BRW_PREDICATE_STATE_USE_BIT) { in set_predicate_for_result()
174 brw->predicate.state = BRW_PREDICATE_STATE_RENDER; in brw_end_conditional_render()
187 if (brw->predicate.state == BRW_PREDICATE_STATE_STALL_FOR_QUERY) { in brw_check_conditional_render()
[all …]
/external/tensorflow/tensorflow/python/module/
Dmodule.py131 return tuple(self._flatten(predicate=_IS_VARIABLE))
146 return tuple(self._flatten(predicate=_IS_TRAINABLE_VARIABLE))
167 return tuple(self._flatten(predicate=_IS_MODULE))
171 predicate=None, argument
221 if predicate is None:
222 predicate = lambda _: True function
227 predicate=predicate,
288 predicate, argument
314 if predicate(leaf):
328 predicate=predicate,
/external/droiddriver/src/io/appium/droiddriver/finders/
DMatchFinder.java30 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/
DElementPath.py151 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/tensorflow/tensorflow/python/data/experimental/kernel_tests/optimization/
Dmap_and_filter_fusion_test.py53 for y, predicate in enumerate(filters):
54 tests.append(("Mixed{}{}".format(x, y), fun, predicate))
68 def _testMapAndFilter(self, dataset, function, predicate): argument
73 b = predicate(*r) # Pass tuple as multiple arguments.
75 b = predicate(r)
81 def testMapFilterFusion(self, function, predicate): argument
84 ["Map", "FilterByLastComponent"])).map(function).filter(predicate)
89 self._testMapAndFilter(dataset, function, predicate)
97 def predicate(y): function
103 "Filter"])).map(function).filter(predicate)
[all …]
/external/mesa3d/src/compiler/glsl/
Dir_expression_flattening.cpp40 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/python/cpython3/Lib/xml/etree/
DElementPath.py152 predicate = []
166 predicate.append(token[1])
171 key = predicate[1]
179 key = predicate[1]
180 value = predicate[-1]
186 if signature == "-" and not re.match(r"\-?\d+$", predicate[0]):
188 tag = predicate[0]
194 if signature == ".='" or (signature == "-='" and not re.match(r"\-?\d+$", predicate[0])):
196 tag = predicate[0]
197 value = predicate[-1]
[all …]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DIterables.java173 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 …]
/external/clang/tools/scan-build-py/libscanbuild/
D__init__.py21 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/runtime/ObjC/Framework/
DFailedPredicateException.m32 @synthesize predicate;
35 + (FailedPredicateException *) newException:(NSString *)theRuleName predicate:(NSString *)thePredic…
37 …return [[FailedPredicateException alloc] initWithRuleName:theRuleName predicate:thePredicate strea…
40 - (FailedPredicateException *) initWithRuleName:(NSString *)theRuleName predicate:(NSString *)thePr…
62 [desc appendFormat:@" rule: %@ predicate failed: %@", ruleName, predicate];
69 return predicate;
74 if (thePredicate != predicate) {
76 if ( predicate ) [predicate release];
77 predicate = thePredicate;
/external/guava/guava/src/com/google/common/collect/
DIterables.java175 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 …]
DSets.java746 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 …]
DCollections2.java90 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 …]
DFilteredEntryMultimap.java48 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 …]
DPlatform.java87 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()
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DPredicatesTest.java257 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/
DPredicatesTest.java306 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/perfetto/src/trace_processor/
Dargs_table.cc105 auto predicate = sqlite_utils::CreateNumericPredicate<int64_t>(op, value); in Filter() local
107 [this, predicate, op_is_null](uint32_t row) PERFETTO_ALWAYS_INLINE { in Filter()
109 return arg.type == type_ ? predicate(arg.int_value) : op_is_null; in Filter()
115 auto predicate = sqlite_utils::CreateNumericPredicate<double>(op, value); in Filter() local
117 [this, predicate, op_is_null](uint32_t row) PERFETTO_ALWAYS_INLINE { in Filter()
119 return arg.type == type_ ? predicate(arg.real_value) : op_is_null; in Filter()
124 auto predicate = sqlite_utils::CreateStringPredicate(op, value); in Filter() local
126 &predicate](uint32_t row) PERFETTO_ALWAYS_INLINE { in Filter()
129 ? predicate(storage_->GetString(arg.string_value).c_str()) in Filter()
130 : predicate(nullptr); in Filter()
/external/elfutils/libdwfl/
Doffline.c104 int (*predicate) (const char *module,
111 Elf *elf, int (*predicate) (const char *module, in process_file()
125 return process_archive (dwfl, name, file_name, fd, elf, predicate); in process_file()
168 int (*predicate) (const char *module, const char *file), in process_archive_member()
212 if (predicate != NULL) in process_archive_member()
215 int want = (*predicate) (name, member_name); in process_archive_member()
232 *mod = process_file (dwfl, name, member_name, fd, member, predicate); in process_archive_member()
247 int (*predicate) (const char *module, const char *file)) in process_archive()
258 while (process_archive_member (dwfl, name, file_name, predicate, in process_archive()
277 int (*predicate) (const char *module, in __libdwfl_report_offline()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/SystemZ/
DSystemZOperands.td75 // 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/
DPredicates.java89 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/
DFunctions.java244 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/tensorflow/tensorflow/python/data/experimental/ops/
Dtake_while_ops.py30 def __init__(self, input_dataset, predicate): argument
35 predicate,
47 predicate=self._predicate.function,
56 def take_while(predicate): argument
70 return _TakeWhileDataset(dataset, predicate)
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86SchedPredicates.td10 // This file defines scheduling predicate definitions that are common to
15 // A predicate used to identify dependency-breaking instructions that clear the
16 // content of the destination register. Note that this predicate only checks if
17 // input registers are the same. This predicate doesn't make any assumptions on
22 // A predicate used to check if an instruction is a LEA, and if it uses all
45 // This predicate evaluates to true only if the input machine instruction is a
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AArch64/GlobalISel/
Dlegalizer-info-validation.mir12 # Watch out for every "SKIPPED: user-defined predicate detected" in the
61 # DEBUG: .. type index coverage check SKIPPED: user-defined predicate detected
64 # DEBUG: .. type index coverage check SKIPPED: user-defined predicate detected
67 # DEBUG: .. type index coverage check SKIPPED: user-defined predicate detected
70 # DEBUG: .. type index coverage check SKIPPED: user-defined predicate detected
82 # DEBUG: .. type index coverage check SKIPPED: user-defined predicate detected
85 # DEBUG: .. type index coverage check SKIPPED: user-defined predicate detected
88 # DEBUG: .. type index coverage check SKIPPED: user-defined predicate detected
91 # DEBUG: .. type index coverage check SKIPPED: user-defined predicate detected
94 # DEBUG: .. type index coverage check SKIPPED: user-defined predicate detected
[all …]

12345678910>>...32