Searched refs:apply (Results 1 - 25 of 624) sorted by relevance

1234567891011>>

/external/v8/test/mjsunit/regress/
H A Dregress-1102760.js32 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 Dregress-1592.js31 apply: function(a, b) {}
35 f.apply(this, arguments);
H A Dregress-1209.js32 return Function.apply(null, nasty);
H A Dregress-603.js50 Function.prototype.call.apply(
56 Function.prototype.apply.call(
62 Function.prototype.apply.apply(
H A Dregress-1125.js36 f.apply(this, arguments);
H A Dregress-1412.js28 // 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 Dregress-1079.js31 // even if called through our optimized version of Function.prototype.apply.
34 return unoptimized.apply(null, arguments);
H A Dregress-784.js28 // 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 Dapply.js36 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 Darguments-apply.js38 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 Dapply-arguments-gc-safepoint.js30 // 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 DFilter.java48 public boolean apply( T input ); method in interface:Filter
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/FunctionObjects/
H A Dapply-001-n.js25 print ("STATUS: f.apply crash test.");
37 f.apply(2,2);
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Function/
H A D15.3.4.3-1.js38 * 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 Dp4.cpp5 struct apply { struct in struct:meta
11 void f(typename T::template apply<U>::type);
/external/clang/test/SemaTemplate/
H A Ddependent-type-identity.cpp13 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 Dmetafun-apply.cpp5 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 DSwitchable.java7 void apply(Switch sw); method in interface:Switchable
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/
H A Dp6.cpp4 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 Dregress-arguments.js33 function g() { return f.apply(null, arguments); }
34 function h() { return f.apply(void 0, arguments); }
46 return f.apply(v, arguments);
H A Dinline-arguments.js41 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 DDepthFirstAdapter.java34 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 DReversedDepthFirstAdapter.java34 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 DEnumsTest.java45 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 DTestRule.java53 Statement apply(Statement base, Description description); method in interface:TestRule

Completed in 282 milliseconds

1234567891011>>