Home
last modified time | relevance | path

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

12345678910>>...15

/external/chromium_org/v8/test/webkit/
Ddfg-multi-basic-block-structure-clobber-expected.txt29 PASS foo(predicate, {f:object}) is 2
30 PASS foo(predicate, {f:object}) is 2
31 PASS foo(predicate, {f:object}) is 2
32 PASS foo(predicate, {f:object}) is 2
33 PASS foo(predicate, {f:object}) is 2
34 PASS foo(predicate, {f:object}) is 2
35 PASS foo(predicate, {f:object}) is 2
36 PASS foo(predicate, {f:object}) is 2
37 PASS foo(predicate, {f:object}) is 2
38 PASS foo(predicate, {f:object}) is 2
[all …]
/external/chromium_org/v8/src/
Dharmony-array.js14 function ArrayFind(predicate /* thisArg */) { // length == 1 argument
20 if (!IS_SPEC_FUNCTION(predicate)) {
21 throw MakeTypeError('called_non_callable', [predicate]);
30 thisArg = %GetDefaultReceiver(predicate) || thisArg;
31 } else if (!IS_SPEC_OBJECT(thisArg) && %IsSloppyModeFunction(predicate)) {
38 if (%_CallFunction(thisArg, element, i, array, predicate)) {
49 function ArrayFindIndex(predicate /* thisArg */) { // length == 1 argument
55 if (!IS_SPEC_FUNCTION(predicate)) {
56 throw MakeTypeError('called_non_callable', [predicate]);
65 thisArg = %GetDefaultReceiver(predicate) || thisArg;
[all …]
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/
Dcommand_store.js689 'checkbox': {predicate: 'checkboxPredicate', property
693 'radio': {predicate: 'radioPredicate', property
697 'slider': {predicate: 'sliderPredicate', property
701 'graphic': {predicate: 'graphicPredicate', property
705 'article': {predicate: 'articlePredicate', property
709 'button': {predicate: 'buttonPredicate', property
713 'combobox': {predicate: 'comboBoxPredicate', property
717 'editText': {predicate: 'editTextPredicate', property
721 'heading': {predicate: 'headingPredicate', property
725 'heading1': {predicate: 'heading1Predicate', property
[all …]
/external/droiddriver/src/com/google/android/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/guava/guava/src/com/google/common/collect/
DCollections2.java79 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 …]
DIterables.java182 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 …]
/external/mesa3d/src/glsl/
Dir_expression_flattening.cpp42 ir_expression_flattening_visitor(bool (*predicate)(ir_instruction *ir)) in ir_expression_flattening_visitor()
44 this->predicate = predicate; in ir_expression_flattening_visitor()
53 bool (*predicate)(ir_instruction *ir); member in ir_expression_flattening_visitor
58 bool (*predicate)(ir_instruction *ir)) in do_expression_flattening()
60 ir_expression_flattening_visitor v(predicate); in do_expression_flattening()
76 if (!ir || !this->predicate(ir)) in handle_rvalue()
/external/chromium_org/third_party/mesa/src/src/glsl/
Dir_expression_flattening.cpp42 ir_expression_flattening_visitor(bool (*predicate)(ir_instruction *ir)) in ir_expression_flattening_visitor()
44 this->predicate = predicate; in ir_expression_flattening_visitor()
53 bool (*predicate)(ir_instruction *ir); member in ir_expression_flattening_visitor
58 bool (*predicate)(ir_instruction *ir)) in do_expression_flattening()
60 ir_expression_flattening_visitor v(predicate); in do_expression_flattening()
76 if (!ir || !this->predicate(ir)) in handle_rvalue()
/external/chromium_org/tools/relocation_packer/src/
Ddebug.h41 Logger(Severity severity, int level, bool predicate);
95 #define LOG_IF(severity, predicate) \ argument
96 (relocation_packer::Logger(severity, INT_MIN, (predicate)).GetStream())
102 #define VLOG_IF(level, predicate) \ argument
103 (relocation_packer::Logger(INFO, (level), (predicate)).GetStream())
106 #define CHECK(predicate) (LOG_IF(FATAL, !(predicate)) \ argument
108 << __FUNCTION__ << ": CHECK '" #predicate "' failed")
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRFailedPredicateException.m32 @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;
DANTLRFailedPredicateException.h33 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-tests/test/com/google/common/base/
DPredicatesTest.java303 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/0.153/libdwfl/
Doffline.c120 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/
DIterables.java179 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 …]
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
DPredicates.java85 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/chromium_org/content/renderer/media/
Dtagged_list.h54 scoped_refptr<ItemType> Remove(UnaryPredicate predicate) { in Remove() argument
55 tagged_items_.remove_if(predicate); in Remove()
58 items_.begin(), items_.end(), predicate); in Remove()
69 bool Contains(UnaryPredicate predicate) const { in Contains() argument
70 return std::find_if(items_.begin(), items_.end(), predicate) != in Contains()
/external/llvm/lib/Target/Hexagon/
DHexagonOperands.td68 // s32ImmPred predicate - True if the immediate fits in a 32-bit sign extended
75 // s32_24ImmPred predicate - True if the immediate fits in a 32-bit sign
82 // s32_16s8ImmPred predicate - True if the immediate fits in a 32-bit sign
89 // s26_6ImmPred predicate - True if the immediate fits in a 32-bit
97 // s16ImmPred predicate - True if the immediate fits in a 16-bit sign extended
105 // s13ImmPred predicate - True if the immediate fits in a 13-bit sign extended
113 // s12ImmPred predicate - True if the immediate fits in a 12-bit
120 // s11_0ImmPred predicate - True if the immediate fits in a 11-bit
128 // s11_1ImmPred predicate - True if the immediate fits in a 12-bit
136 // s11_2ImmPred predicate - True if the immediate fits in a 13-bit
[all …]
/external/guava/guava/src/com/google/common/base/
DFunctions.java233 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()
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/chromevox/injected/ui/
Dnode_search_widget.js26 cvox.NodeSearchWidget = function(typeMsg, predicate) { argument
28 this.predicate_ = predicate;
64 cvox.NodeSearchWidget.create = function(typeMsg, predicate) { argument
65 return new cvox.NodeSearchWidget(typeMsg, predicate);
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
DANTLRFailedPredicateException.h33 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/
DANTLRFailedPredicateException.h33 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/
DANTLRFailedPredicateException.h33 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/sfntly/cpp/src/sample/subtly/
Dsubsetter.cc35 Subsetter::Subsetter(Font* font, CharacterPredicate* predicate) in Subsetter() argument
37 predicate_(predicate) { in Subsetter()
40 Subsetter::Subsetter(const char* font_path, CharacterPredicate* predicate) in Subsetter() argument
41 : predicate_(predicate) { in Subsetter()
/external/chromium_org/third_party/sfntly/cpp/src/sample/subtly/
Dsubsetter.cc35 Subsetter::Subsetter(Font* font, CharacterPredicate* predicate) in Subsetter() argument
37 predicate_(predicate) { in Subsetter()
40 Subsetter::Subsetter(const char* font_path, CharacterPredicate* predicate) in Subsetter() argument
41 : predicate_(predicate) { in Subsetter()
/external/chromium_org/third_party/WebKit/Source/core/xml/
DXPathStep.cpp77 OwnPtrWillBeRawPtr<Predicate> predicate(m_predicates[i].release()); in optimize() local
78 …if ((!predicate->isContextPositionSensitive() || nodeTest().mergedPredicates().isEmpty()) && !pred… in optimize()
79 nodeTest().mergedPredicates().append(predicate.release()); in optimize()
81 remainingPredicates.append(predicate.release()); in optimize()
115 Predicate* predicate = m_predicates[i].get(); in predicatesAreContextListInsensitive() local
116 if (predicate->isContextPositionSensitive() || predicate->isContextSizeSensitive()) in predicatesAreContextListInsensitive()
121 Predicate* predicate = nodeTest().mergedPredicates()[i].get(); in predicatesAreContextListInsensitive() local
122 if (predicate->isContextPositionSensitive() || predicate->isContextSizeSensitive()) in predicatesAreContextListInsensitive()
137 Predicate* predicate = m_predicates[i].get(); in evaluate() local
149 if (predicate->evaluate(evaluationContext)) in evaluate()
[all …]

12345678910>>...15