Searched refs:apply (Results 1 - 25 of 460) 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-485.js45 assertEquals(global, builtin.apply(), "apply() to builtin");
46 assertEquals(global, builtin.apply(null), "apply(null) to builtin");
47 assertEquals(global, builtin.apply(undefined), "apply(undefined) to builtin");
50 assertEquals(global, builtin.call.apply(builtin), "call.apply() to builtin");
51 assertEquals(global, builtin.apply.call(builtin), "apply
[all...]
H A Dregress-1125.js36 f.apply(this, 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 assertTrue(this === f0.apply(), "1-0");
38 assertTrue(this === f0.apply(this), "2a");
39 assertTrue(this === f0.apply(this, new Array(1)), "2b");
40 assertTrue(this === f0.apply(this, new Array(2)), "2c");
41 assertTrue(this === f0.apply(this, new Array(4242)), "2d");
43 assertTrue(this === f0.apply(null), "3a");
44 assertTrue(this === f0.apply(null, new Array(1)), "3b");
45 assertTrue(this === f0.apply(null, new Array(2)), "3c");
46 assertTrue(this === f0.apply(this, new Array(4242)), "3d");
48 assertTrue(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/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}}
H A Dtypename-specifier-2.cpp5 typedef typename MetaFun::template apply<T> type;
10 struct apply { struct in struct:add_pointer
H A Dinstantiate-template-template-parm.cpp3 struct apply { struct
18 apply<add_pointer, int>::type ip = &i;
19 apply<add_reference, int>::type ir = i;
20 apply<add_reference, float>::type fr = i; // expected-error{{non-const lvalue reference to type 'float' cannot bind to a value of unrelated type 'int'}}
66 static void apply();
77 X0<Init::template VeryInner>::apply();
/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);
/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/webkit/Source/WebCore/platform/graphics/transforms/
H A DMatrix3DTransformOperation.cpp45 from->apply(fromT, size);
47 apply(toT, size);
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/
H A DTemplateSyntaxTree.java39 public void apply(Switch sw) { method in class:TemplateSyntaxTree
40 root.apply(sw);
/external/llvm/include/llvm/Support/
H A DCommandLine.h275 void apply(Option &O) const { O.setDescription(Desc); } function in struct:llvm::cl::desc
283 void apply(Option &O) const { O.setValueStr(Desc); } function in struct:llvm::cl::value_desc
296 void apply(Opt &O) const { O.setInitialValue(Init); } function in struct:llvm::cl::initializer
315 void apply(Opt &O) const { O.setLocation(O, Loc); } function in struct:llvm::cl::LocationClass
471 void apply(Opt &O) const { function in class:llvm::cl::ValuesClass
971 // not correctly respond to the apply method). Because the syntax to use this
972 // is a pain, we have the 'apply' method below to handle the nastiness...
976 static void opt(const Mod &M, Opt &O) { M.apply(O); }
1011 // apply method - Apply a modifier to an option in a type safe way.
1013 void apply(cons function in namespace:llvm::cl
1410 void apply(list<D, S, P> &L) const { L.setNumAdditionalVals(AdditionalVals); } function in struct:llvm::cl::multi_val
[all...]

Completed in 330 milliseconds

1234567891011>>