/external/v8/test/mjsunit/ |
D | apply.js | 38 assertSame(this, f0.apply(), "1-0"); 40 assertSame(this, f0.apply(this), "2a"); 41 assertSame(this, f0.apply(this, new Array(1)), "2b"); 42 assertSame(this, f0.apply(this, new Array(2)), "2c"); 43 assertSame(this, f0.apply(this, new Array(4242)), "2d"); 45 assertSame(this, f0.apply(null), "3a"); 46 assertSame(this, f0.apply(null, new Array(1)), "3b"); 47 assertSame(this, f0.apply(null, new Array(2)), "3c"); 48 assertSame(this, f0.apply(this, new Array(4242)), "3d"); 50 assertSame(this, f0.apply(void 0), "4a"); [all …]
|
D | arguments-apply.js | 38 return ReturnArguments.apply(this, arguments); 51 return object.f.apply(this, arguments); 64 return ReturnArguments.apply(this, arguments); 73 return ReturnReceiver.apply(receiver, arguments); 84 return ReturnReceiver.apply(Object, arguments); 92 f.apply = function() { return 87; } function 93 return f.apply(this, arguments); 102 var object = { apply: Function.prototype.apply }; property 103 return object.apply(this, arguments); 113 var result = ReturnArguments.apply(this, arguments); [all …]
|
D | arguments-apply-deopt.js | 33 var res = h.apply({ fffffff : r(this) }, arguments); 49 y.apply({ self_ : 3 }); 50 y.apply({ self_ : 3 }); 51 y.apply({ self_ : 3 }); 55 assertEquals(y.apply({ self_ : 3, uuu : 4 }), 3); 67 return f.apply(deopt(), arguments);
|
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/analysis/ |
D | DepthFirstAdapter.java | 34 node.getPCommand().apply(this); in caseStart() 35 node.getEOF().apply(this); in caseStart() 57 e.apply(this); in caseAMultipleCommand() 79 node.getPosition().apply(this); in caseACommentCommand() 83 node.getComment().apply(this); in caseACommentCommand() 104 node.getData().apply(this); in caseADataCommand() 125 node.getPosition().apply(this); in caseAVarCommand() 129 node.getExpression().apply(this); in caseAVarCommand() 150 node.getPosition().apply(this); in caseALvarCommand() 154 node.getExpression().apply(this); in caseALvarCommand() [all …]
|
D | ReversedDepthFirstAdapter.java | 34 node.getEOF().apply(this); in caseStart() 35 node.getPCommand().apply(this); in caseStart() 58 e.apply(this); in caseAMultipleCommand() 80 node.getComment().apply(this); in caseACommentCommand() 84 node.getPosition().apply(this); in caseACommentCommand() 105 node.getData().apply(this); in caseADataCommand() 126 node.getExpression().apply(this); in caseAVarCommand() 130 node.getPosition().apply(this); in caseAVarCommand() 151 node.getExpression().apply(this); in caseALvarCommand() 155 node.getPosition().apply(this); in caseALvarCommand() [all …]
|
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
D | FunctionsTest.java | 40 assertNull(identity.apply(null)); in testIdentity_same() 41 assertSame("foo", identity.apply("foo")); in testIdentity_same() 46 assertNotSame(new Long(135135L), identity.apply(new Long(135135L))); in testIdentity_notSame() 50 assertEquals("3", Functions.toStringFunction().apply(3)); in testToStringFunction_apply() 51 assertEquals("hiya", Functions.toStringFunction().apply("hiya")); in testToStringFunction_apply() 53 Functions.toStringFunction().apply( in testToStringFunction_apply() 60 Functions.toStringFunction().apply(null); in testToStringFunction_apply() 74 assertEquals(1, function.apply("One").intValue()); in testForMapWithoutDefault() 75 assertEquals(3, function.apply("Three").intValue()); in testForMapWithoutDefault() 76 assertNull(function.apply("Null")); in testForMapWithoutDefault() [all …]
|
D | PredicatesTest.java | 49 public boolean apply(Integer i) { 59 public boolean apply(Integer i) { in apply() method in PredicatesTest.IsOdd 258 assertFalse(predicate.apply(1)); in testAnd_arrayDefensivelyCopied() 260 assertFalse(predicate.apply(1)); in testAnd_arrayDefensivelyCopied() 266 assertTrue(predicate.apply(1)); in testAnd_listDefensivelyCopied() 268 assertTrue(predicate.apply(1)); in testAnd_listDefensivelyCopied() 280 assertTrue(predicate.apply(1)); in testAnd_iterableDefensivelyCopied() 282 assertTrue(predicate.apply(1)); in testAnd_iterableDefensivelyCopied() 395 assertFalse(predicate.apply(1)); in testOr_arrayDefensivelyCopied() 397 assertFalse(predicate.apply(1)); in testOr_arrayDefensivelyCopied() [all …]
|
/external/v8/test/webkit/fast/js/ |
D | function-apply.js | 32 return t.apply(null, arguments); 41 return t.apply(null, arguments); 50 return t.apply(null, arguments); 59 return t.apply(null, arguments); 68 return t.apply(null, arguments, executedAdditionalArgument = true); 84 return t.apply(null, array); 93 return t.apply(null, array); 102 return t.apply(null, array); 111 return t.apply(null, array); 127 return t.apply(null, arguments); [all …]
|
/external/clang/test/SemaTemplate/ |
D | dependent-type-identity.cpp | 13 struct apply { struct 47 void f4(typename T::template apply<U>*); // expected-note{{previous}} 48 void f4(typename U::template apply<U>*); 49 void f4(typename type::template apply<T>*); 50 void f4(typename type::template apply<U_type>*); // expected-error{{redeclar}} 52 void f5(typename T::template apply<U>::type*); // expected-note{{previous}} 53 void f5(typename U::template apply<U>::type*); 54 void f5(typename U::template apply<T>::type*); 55 void f5(typename type::template apply<T>::type*); 56 void f5(typename type::template apply<U_type>::type*); // expected-error{{redeclar}} [all …]
|
D | typename-specifier-4.cpp | 14 typedef typename MetaFun::template apply<T1, T2> inner; 22 struct apply { struct 30 …typename make_pair::template apply<int, float>, // expected-warning{{'template' keyword outside of… 32 make_pair::apply<int, float> argument 38 struct apply { struct 39 typedef typename MetaFun::template apply<T2, T1> new_metafun; argument 44 int a2[is_same<swap_and_apply2<make_pair>::apply<int, float>::type, 50 struct apply { struct 51 typedef typename MetaFun::template apply<T2, T1>::type type; argument 55 int a3[is_same<swap_and_apply2b<make_pair>::apply<int, float>::type,
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | FunctionsTest.java | 44 assertNull(identity.apply(null)); in testIdentity_same() 45 assertSame("foo", identity.apply("foo")); in testIdentity_same() 50 assertNotSame(new Long(135135L), identity.apply(new Long(135135L))); in testIdentity_notSame() 59 assertEquals("3", Functions.toStringFunction().apply(3)); in testToStringFunction_apply() 60 assertEquals("hiya", Functions.toStringFunction().apply("hiya")); in testToStringFunction_apply() 62 Functions.toStringFunction().apply( in testToStringFunction_apply() 69 Functions.toStringFunction().apply(null); in testToStringFunction_apply() 94 assertEquals(1, function.apply("One").intValue()); in testForMapWithoutDefault() 95 assertEquals(3, function.apply("Three").intValue()); in testForMapWithoutDefault() 96 assertNull(function.apply("Null")); in testForMapWithoutDefault() [all …]
|
D | PredicatesTest.java | 54 public boolean apply(Integer i) { 64 public boolean apply(Integer i) { in apply() method in PredicatesTest.IsOdd 307 assertFalse(predicate.apply(1)); in testAnd_arrayDefensivelyCopied() 309 assertFalse(predicate.apply(1)); in testAnd_arrayDefensivelyCopied() 315 assertTrue(predicate.apply(1)); in testAnd_listDefensivelyCopied() 317 assertTrue(predicate.apply(1)); in testAnd_listDefensivelyCopied() 329 assertTrue(predicate.apply(1)); in testAnd_iterableDefensivelyCopied() 331 assertTrue(predicate.apply(1)); in testAnd_iterableDefensivelyCopied() 468 assertEquals(pre.apply(0), post.apply(0)); in testOr_serializationIterable() 475 assertFalse(predicate.apply(1)); in testOr_arrayDefensivelyCopied() [all …]
|
/external/owasp/sanitizer/src/tests/org/owasp/html/ |
D | HtmlPolicyBuilderTest.java | 67 apply(new HtmlPolicyBuilder())); in testTextFilter() 82 apply(new HtmlPolicyBuilder() in testCannedFormattingTagFilter() 99 apply(new HtmlPolicyBuilder() in testCannedFormattingTagFilterNoItalics() 116 apply(new HtmlPolicyBuilder() in testSimpleTagFilter() 133 apply(new HtmlPolicyBuilder() in testLinksAllowed() 151 apply(new HtmlPolicyBuilder() in testExternalLinksAllowed() 170 apply(new HtmlPolicyBuilder() in testLinksWithNofollow() 190 apply(new HtmlPolicyBuilder() in testImagesAllowed() 210 apply(new HtmlPolicyBuilder() in testStyleFiltering() 229 apply(new HtmlPolicyBuilder() in testElementTransforming() [all …]
|
/external/droiddriver/src/io/appium/droiddriver/finders/ |
D | Predicates.java | 31 public boolean apply(Object o) { 55 public boolean apply(T input) { in not() 56 return !predicate.apply(input); in not() 83 public boolean apply(T input) { 84 return first.apply(input) && second.apply(input); 104 public boolean apply(T input) { 106 if (!each.apply(input)) { 130 public boolean apply(T input) { 132 if (each.apply(input)) { 153 public boolean apply(UiElement element) { [all …]
|
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/ |
D | p6.cpp | 4 …template<class T> void apply(T x, void (*f)(T)) { f(x); } // expected-note 2 {{candidate template … in apply() function 10 apply(0, &temp); in test0() 11 apply(0, &temp<>); in test0() 14 apply(0, &temp<int>); in test0() 17 apply(0, &temp<long>); // expected-error {{no matching function for call to 'apply'}} in test0() 25 apply(0, &over); in test1() 28 apply(0L, &over); // expected-error {{no matching function for call to 'apply'}} in test1() 36 apply(0, &over); in test2() 42 apply(0, &temp2); in test3() 43 apply(0, &temp2<>); in test3() [all …]
|
/external/v8/test/webkit/ |
D | function-apply-aliased-expected.txt | 24 This tests that we can correctly call Function.prototype.apply 29 PASS myObject.apply() is [myObject, "myObject.apply"] 30 PASS forwarder(myObject) is [myObject, "myObject.apply"] 33 PASS myFunction.apply(myObject, ['arg1']) is [myObject, "myFunction", "arg1"] 34 PASS myFunction.apply(myObject, arg1Array) is [myObject, "myFunction", "arg1"] 36 PASS myFunction.apply() is [this, "myFunction", undefined] 37 PASS myFunction.apply(null) is [this, "myFunction", undefined] 38 PASS myFunction.apply(undefined) is [this, "myFunction", undefined] 43 PASS myFunctionWithApply.apply(myObject, ['arg1']) is [myFunctionWithApply, "myFunctionWithApply.ap… 45 PASS myFunctionWithApply.apply(myObject, arg1Array) is [myFunctionWithApply, "myFunctionWithApply.a… [all …]
|
D | function-apply-aliased.js | 28 var myObject = { apply: function() { return [myObject, "myObject.apply"] } }; method 38 return f.apply(thisValue, arguments); 40 return g.apply(null, args); 43 recurseArguments.apply(null, arguments); 46 myFunctionWithApply.apply = function (arg1) { return [this, "myFunctionWithApply.apply", arg1] }; function 47 Function.prototype.aliasedApply = Function.prototype.apply;
|
/external/v8/test/mjsunit/harmony/ |
D | string-repeat.js | 39 assertEquals("000", String.prototype.repeat.apply(0, [3])); 40 assertEquals("-1-1-1", String.prototype.repeat.apply(-1, [3])); 41 assertEquals("2.12.12.1", String.prototype.repeat.apply(2.1, [3])); 42 assertEquals("", String.prototype.repeat.apply([], [3])); 43 assertEquals("1,2,3", String.prototype.repeat.apply([1, 2, 3], [1])); 44 assertEquals("true", String.prototype.repeat.apply(true, [1])); 45 assertEquals("false", String.prototype.repeat.apply(false, [1])); 46 assertEquals("[object Object]", String.prototype.repeat.apply({}, [1]));
|
D | string-endswith.js | 86 assertTrue(String.prototype.endsWith.apply(v, [v]), e.msg); 372 String.prototype.endsWith.apply(undefined); 375 String.prototype.endsWith.apply(undefined, ["b"]); }, 378 String.prototype.endsWith.apply(undefined, ["b", 4]); 381 String.prototype.endsWith.apply(null); 384 String.prototype.endsWith.apply(null, ["b"]); 387 String.prototype.endsWith.apply(null, ["b", 4]); 389 assertEquals(String.prototype.endsWith.apply(42, ["2"]), true); 390 assertEquals(String.prototype.endsWith.apply(42, ["4"]), false); 391 assertEquals(String.prototype.endsWith.apply(42, ["b", 4]), false); [all …]
|
D | string-startswith.js | 86 assertTrue(String.prototype.startsWith.apply(v, [v]), e.msg); 357 String.prototype.startsWith.apply(undefined); 360 String.prototype.startsWith.apply(undefined, ["b"]); 363 String.prototype.startsWith.apply(undefined, ["b", 4]); 366 String.prototype.startsWith.apply(null); 369 String.prototype.startsWith.apply(null, ["b"]); 372 String.prototype.startsWith.apply(null, ["b", 4]); 374 assertEquals(String.prototype.startsWith.apply(42, ["2"]), false); 375 assertEquals(String.prototype.startsWith.apply(42, ["4"]), true); 376 assertEquals(String.prototype.startsWith.apply(42, ["b", 4]), false); [all …]
|
/external/lldb/examples/synthetic/bitfield/ |
D | program.cpp | 29 uint32_t apply() in apply() function in MaskedData 68 MaskedData data_2(data_1.apply(),0x1AFC,eMaskingOperatorXor); in main() 69 MaskedData data_3(data_2.apply(),0xFFCF,eMaskingOperatorOr); in main() 70 MaskedData data_4(data_3.apply(),0xAABC,eMaskingOperatorAnd); in main() 71 MaskedData data_5(data_4.apply(),0xFFAC,eMaskingOperatorNor); in main() 72 MaskedData data_6(data_5.apply(),0x0000BEEF,eMaskingOperatorAnd); in main() 73 return data_6.apply(); // <-- what comes out of here? in main()
|
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/ |
D | Predicates.java | 215 @Override public boolean apply(@Nullable Object o) { in apply() method 224 @Override public boolean apply(@Nullable Object o) { in apply() method 233 @Override public boolean apply(@Nullable Object o) { in apply() method 242 @Override public boolean apply(@Nullable Object o) { in apply() method 264 public boolean apply(@Nullable T t) { in apply() method in Predicates.NotPredicate 265 return !predicate.apply(t); in apply() 293 public boolean apply(@Nullable T t) { in apply() method in Predicates.AndPredicate 296 if (!components.get(i).apply(t)) { in apply() 327 public boolean apply(@Nullable T t) { in apply() method in Predicates.OrPredicate 330 if (components.get(i).apply(t)) { in apply() [all …]
|
/external/guava/guava-testlib/test/com/google/common/testing/anotherpackage/ |
D | ForwardingWrapperTesterTest.java | 52 @Override public Arithmetic apply(Arithmetic arithmetic) { in testGoodForwarder() 58 @Override public ParameterTypesDifferent apply(ParameterTypesDifferent delegate) { in testGoodForwarder() 67 @Override public Runnable apply(final Runnable runnable) { in testVoidMethodForwarding() 76 @Override public Runnable apply(final Runnable runnable) { in testToStringForwarding() 88 @Override public Runnable apply(final Runnable runnable) { in testFailsToForwardToString() 101 @Override public Runnable apply(final Runnable runnable) { in testFailsToForwardHashCode() 118 @Override public Runnable apply(final Runnable runnable) { in testEqualsAndHashCodeForwarded() 138 @Override public Runnable apply(final Runnable runnable) { in testFailsToForwardEquals() 151 @Override public Runnable apply(Runnable runnable) { in testFailsToForward() 162 @Override public Runnable apply(final Runnable runnable) { in testRedundantForwarding() [all …]
|
/external/skia/src/animator/ |
D | SkDisplayList.cpp | 79 SkApply* apply = (SkApply*) draw; in SearchForMatch() local 80 if (apply->scope == match) in SearchForMatch() 82 …if (apply->scope->isGroup() && SearchGroupForMatch(apply->scope, match, list, parent, found, grand… in SearchForMatch() 84 if (apply->mode == SkApply::kMode_create) { in SearchForMatch() 85 … for (SkADrawable** ptr = apply->fScopes.begin(); ptr < apply->fScopes.end(); ptr++) { in SearchForMatch() 121 SkApply* apply = (SkApply*) draw; in reset() local 122 apply->reset(); in reset()
|
D | SkDrawExtraPathEffect.cpp | 111 SkApply* apply = (SkApply*) fDraw->addPath; in next() local 112 apply->refresh(*fMaker); in next() 113 apply->activate(*fMaker); in next() 114 apply->interpolate(*fMaker, SkScalarRoundToInt(distance * 1000)); in next() 115 drawPath = (SkDrawPath*) apply->getScope(); in next() 124 SkApply* apply = (SkApply*) fDraw->addMatrix; in next() local 125 apply->refresh(*fMaker); in next() 126 apply->activate(*fMaker); in next() 127 apply->interpolate(*fMaker, SkScalarRoundToInt(distance * 1000)); in next() 128 matrix = (SkDrawMatrix*) apply->getScope(); in next() [all …]
|