/external/v8/test/mjsunit/regress/ |
H A D | regress-1102760.js | 32 assertEquals(0, F.apply(), "no receiver or args"); 33 assertEquals(0, F.apply(this), "no args"); 34 assertEquals(0, F.apply(this, []), "empty args"); 35 assertEquals(0, F.apply(this, [], 0), "empty args, extra argument");
|
H A D | regress-1592.js | 31 apply: function(a, b) {} 35 f.apply(this, arguments);
|
H A D | regress-1209.js | 32 return Function.apply(null, nasty);
|
H A D | regress-603.js | 50 Function.prototype.call.apply( 56 Function.prototype.apply.call( 62 Function.prototype.apply.apply(
|
H A D | regress-1125.js | 36 f.apply(this, arguments);
|
H A D | regress-1412.js | 28 // Test that the apply with arguments optimization passes values 36 assertEquals(void 0, strict.apply(undefined, arguments)); 37 assertEquals(42, strict.apply(42, arguments)); 38 assertEquals("asdf", strict.apply("asdf", arguments)); 46 Object.prototype.valueOf.apply(receiver, arguments);
|
H A D | regress-1079.js | 31 // even if called through our optimized version of Function.prototype.apply. 34 return unoptimized.apply(null, arguments);
|
H A D | regress-784.js | 28 // Test that CallApplyLazy, generating optimized code for apply calls of the 29 // form x.apply(y, arguments), does not leave an extra copy of the result 38 A.x.y(B.apply(this, arguments));
|
/external/v8/test/mjsunit/ |
H A D | apply.js | 36 assertSame(this, f0.apply(), "1-0"); 38 assertSame(this, f0.apply(this), "2a"); 39 assertSame(this, f0.apply(this, new Array(1)), "2b"); 40 assertSame(this, f0.apply(this, new Array(2)), "2c"); 41 assertSame(this, f0.apply(this, new Array(4242)), "2d"); 43 assertSame(this, f0.apply(null), "3a"); 44 assertSame(this, f0.apply(null, new Array(1)), "3b"); 45 assertSame(this, f0.apply(null, new Array(2)), "3c"); 46 assertSame(this, f0.apply(this, new Array(4242)), "3d"); 48 assertSame(this, f0.apply(voi [all...] |
H A 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; } 93 return f.apply(this, arguments); 102 var object = { apply: Function.prototype.apply }; 103 return object.apply(thi [all...] |
H A D | apply-arguments-gc-safepoint.js | 30 // Test that safepoint tables are correctly generated for apply with 39 f.apply(this, arguments);
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/ |
H A D | Filter.java | 48 public boolean apply( T input ); method in interface:Filter
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/FunctionObjects/ |
H A D | apply-001-n.js | 25 print ("STATUS: f.apply crash test."); 37 f.apply(2,2);
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Function/ |
H A D | 15.3.4.3-1.js | 38 * SUMMARY: ECMA conformance of Function.prototype.apply 40 * Function.prototype.apply(thisArg, argArray) 47 var summary = 'Testing ECMA conformance of Function.prototype.apply'; 74 * Function.prototype.apply.length should return 2 77 actual = Function.prototype.apply.length; 83 * When |thisArg| is not provided to the apply() method, the 87 actual = F0.apply(); 93 * If |argArray| is not provided to the apply() method, the 97 actual = F0.apply(""); 102 actual = F0.apply(tru [all...] |
/external/clang/test/CXX/temp/temp.names/ |
H A D | p4.cpp | 5 struct apply { struct in struct:meta 11 void f(typename T::template apply<U>::type);
|
/external/clang/test/SemaTemplate/ |
H A D | dependent-type-identity.cpp | 13 struct apply { struct in struct:N::X2 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_typ [all...] |
H A D | metafun-apply.cpp | 5 struct apply { struct in struct:add_pointer 12 struct apply { struct in struct:add_reference 18 struct apply { struct in struct:bogus 25 typedef typename MetaFun::template apply<T>::type type; // expected-note{{in instantiation of template class 'add_reference::apply<void>' requested here}} \ 26 // expected-error{{'apply' following the 'template' keyword does not refer to a template}}
|
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/node/ |
H A D | Switchable.java | 7 void apply(Switch sw); method in interface:Switchable
|
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/ |
H A D | p6.cpp | 4 template<class T> void apply(T x, void (*f)(T)) { f(x); } // expected-note 2 {{candidate template ignored: deduced conflicting types for parameter 'T'}}\ function in namespace:test0 10 apply(0, &temp); 11 apply(0, &temp<>); 14 apply(0, &temp<int>); 17 apply(0, &temp<long>); // expected-error {{no matching function for call to 'apply'}} 25 apply(0, &over); 28 apply(0L, &over); // expected-error {{no matching function for call to 'apply'}} 35 // pick correct overload of 'over' during overload resolution for 'apply' [all...] |
/external/v8/test/mjsunit/compiler/ |
H A D | regress-arguments.js | 33 function g() { return f.apply(null, arguments); } 34 function h() { return f.apply(void 0, arguments); } 46 return f.apply(v, arguments);
|
H A D | inline-arguments.js | 41 this.X.apply(this, arguments); 53 A.prototype.X.apply = function (receiver, args) { 54 return Function.prototype.apply.call(this, receiver, args); 62 function F2() { F1.apply(this, arguments); } 70 return F1.apply(this, arguments); 99 G2.apply(this, arguments); 103 G4.apply(this, arguments);
|
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/analysis/ |
H A D | DepthFirstAdapter.java | 34 node.getPCommand().apply(this); 35 node.getEOF().apply(this); 57 e.apply(this); 79 node.getPosition().apply(this); 83 node.getComment().apply(this); 104 node.getData().apply(this); 125 node.getPosition().apply(this); 129 node.getExpression().apply(this); 150 node.getPosition().apply(this); 154 node.getExpression().apply(thi [all...] |
H A D | ReversedDepthFirstAdapter.java | 34 node.getEOF().apply(this); 35 node.getPCommand().apply(this); 58 e.apply(this); 80 node.getComment().apply(this); 84 node.getPosition().apply(this); 105 node.getData().apply(this); 126 node.getExpression().apply(this); 130 node.getPosition().apply(this); 151 node.getExpression().apply(this); 155 node.getPosition().apply(thi [all...] |
/external/guava/guava-tests/test/com/google/common/base/ |
H A D | EnumsTest.java | 45 assertEquals(TestEnum.CHEETO, function.apply("CHEETO")); 46 assertEquals(TestEnum.HONDA, function.apply("HONDA")); 47 assertEquals(TestEnum.POODLE, function.apply("POODLE")); 52 assertNull(function.apply("cHEETO")); 53 assertNull(function.apply("Honda")); 54 assertNull(function.apply("poodlE")); 59 assertNull(function.apply("WOMBAT"));
|
/external/junit/src/org/junit/rules/ |
H A D | TestRule.java | 53 Statement apply(Statement base, Description description); method in interface:TestRule
|