Searched refs:fun (Results 1 - 25 of 98) sorted by relevance

1234

/external/v8/test/mjsunit/
H A Dfuzz-accessors.js54 var fun = function () { }; function
63 [fun, fun],
68 function runTest(fun) {
78 fun(obj, propertyName);
H A Dsimple-constructor.js97 function testArgs(fun) {
98 obj = new fun();
103 obj = new fun("x");
108 obj = new fun("x", "y");
113 obj = new fun("x", "y", "z");
H A Dkeyed-ic.js180 function fun() { };
183 o.f = fun;
194 assertEquals(fun, property);
/external/v8/src/
H A Dliveedit.cc44 void FunctionStarted(FunctionLiteral* fun) { argument
63 LiveEditFunctionTracker::LiveEditFunctionTracker(FunctionLiteral* fun) { argument
65 active_function_info_listener->FunctionStarted(fun);
H A Dapinatives.js72 var fun = %CreateApiFunction(data);
73 if (name) %FunctionSetName(fun, name);
74 cache[serialNumber] = fun;
76 fun.prototype = prototype ? Instantiate(prototype) : {};
77 %SetProperty(fun.prototype, "constructor", fun, DONT_ENUM);
81 fun.prototype.__proto__ = parent_fun.prototype;
83 ConfigureTemplateInstance(fun, data);
75 fun.prototype = prototype ? Instantiate(prototype) : {}; class
H A Dliveedit.h68 explicit LiveEditFunctionTracker(FunctionLiteral* fun);
H A Dcompiler.cc212 Handle<JSFunction> fun = local
218 Compiler::SetFunctionInfo(fun, lit, true, script);
223 SetExpectedNofPropertiesFromEstimate(fun, lit->expected_property_count());
227 Debugger::OnAfterCompile(script, fun);
230 return fun;
525 void Compiler::SetFunctionInfo(Handle<JSFunction> fun, argument
529 fun->shared()->set_length(lit->num_parameters());
530 fun->shared()->set_formal_parameter_count(lit->num_parameters());
531 fun->shared()->set_script(*script);
532 fun
[all...]
H A Dmessages.js588 function GetStackTraceLine(recv, fun, pos, isGlobal) {
589 return FormatSourcePosition(new CallSite(recv, fun, pos));
597 function DefineOneShotAccessor(obj, name, fun) {
608 value = fun(obj);
617 function CallSite(receiver, fun, pos) {
619 this.fun = fun;
644 var script = %FunctionGetScript(this.fun);
649 var script = %FunctionGetScript(this.fun);
654 return this.fun;
[all...]
H A Dmessages.cc76 Handle<JSFunction> fun(Top::global_context()->make_message_fun());
110 Execution::Call(fun, Factory::undefined_value(), argc, argv,
148 Handle<JSFunction> fun = local
155 Execution::TryCall(fun, Top::builtins(), 1, argv, &caught_exception);
H A Dd8-debug.cc77 Local<Function> fun = Function::Cast(*exec_state->Get(fun_name)); local
79 Object::Cast(*fun->Call(exec_state, 0, NULL));
113 Handle<Function> fun; local
122 fun = Handle<Function>::Cast(cmd_processor->Get(fun_name));
124 Handle<Value> response_val = fun->Call(cmd_processor, kArgc, args);
/external/webkit/JavaScriptCore/tests/mozilla/ecma_2/Statements/
H A Dtry-006.js54 function TryObject( value, fun, exception ) {
59 this.check = fun;
H A Dtry-007.js57 function TryObject( value, fun, exception ) {
61 this.check = fun;
/external/v8/test/cctest/
H A Dtest-compiler.cc135 Handle<JSFunction> fun = Compile(buffer.start()); local
136 if (fun.is_null()) return -1;
140 Execution::Call(fun, global, 0, NULL, &has_pending_exception);
154 Handle<JSFunction> fun = Compile("result = x + y;"); local
155 if (fun.is_null()) return -1;
161 Execution::Call(fun, global, 0, NULL, &has_pending_exception);
175 Handle<JSFunction> fun = Compile("if (x < 0) result = -x; else result = x;"); local
176 if (fun.is_null()) return -1;
181 Execution::Call(fun, global, 0, NULL, &has_pending_exception);
195 Handle<JSFunction> fun local
219 Handle<JSFunction> fun = Compile(source); local
252 Handle<JSFunction> fun = Compile(source); local
267 Handle<JSFunction> fun = Compile(source); local
[all...]
/external/v8/test/mjsunit/regress/
H A Dregress-crbug-3184.js72 map : function(fun) {
73 if (typeof fun != "function") throw new TypeError();
77 for (var i = 0; i < len; i++) { if (i in this) res[i] = fun.call(thisp, this[i], i, this); }
/external/libffi/src/
H A Draw_api.c208 (*cl->fun) (cif, rvalue, raw, cl->user_data);
214 void (*fun)(ffi_cif*,void*,ffi_raw*,void*),
227 cl->fun = fun;
246 void (*fun)(ffi_cif*,void*,ffi_raw*,void*),
249 return ffi_prep_raw_closure_loc (cl, cif, fun, user_data, cl);
212 ffi_prep_raw_closure_loc(ffi_raw_closure* cl, ffi_cif *cif, void (*fun)(ffi_cif*,void*,ffi_raw*,void*), void *user_data, void *codeloc) argument
244 ffi_prep_raw_closure(ffi_raw_closure* cl, ffi_cif *cif, void (*fun)(ffi_cif*,void*,ffi_raw*,void*), void *user_data) argument
H A Djava_raw_api.c317 (*cl->fun) (cif, rvalue, raw, cl->user_data);
324 void (*fun)(ffi_cif*,void*,ffi_java_raw*,void*),
337 cl->fun = fun;
351 void (*fun)(ffi_cif*,void*,ffi_java_raw*,void*),
354 return ffi_prep_java_raw_closure_loc (cl, cif, fun, user_data, cl);
322 ffi_prep_java_raw_closure_loc(ffi_java_raw_closure* cl, ffi_cif *cif, void (*fun)(ffi_cif*,void*,ffi_java_raw*,void*), void *user_data, void *codeloc) argument
349 ffi_prep_java_raw_closure(ffi_java_raw_closure* cl, ffi_cif *cif, void (*fun)(ffi_cif*,void*,ffi_java_raw*,void*), void *user_data) argument
H A Dprep_cif.c168 void (*fun)(ffi_cif*,void*,void**,void*),
171 return ffi_prep_closure_loc (closure, cif, fun, user_data, closure);
166 ffi_prep_closure(ffi_closure* closure, ffi_cif* cif, void (*fun)(ffi_cif*,void*,void**,void*), void *user_data) argument
/external/libffi/darwin-x86/
H A Dffi.h255 void (*fun)(ffi_cif*,void*,void**,void*); member in struct:__anon3520
265 void (*fun)(ffi_cif*,void*,void**,void*),
271 void (*fun)(ffi_cif*,void*,void**,void*),
291 void (*fun)(ffi_cif*,void*,ffi_raw*,void*); member in struct:__anon3521
312 void (*fun)(ffi_cif*,void*,ffi_java_raw*,void*); member in struct:__anon3522
320 void (*fun)(ffi_cif*,void*,ffi_raw*,void*),
326 void (*fun)(ffi_cif*,void*,ffi_raw*,void*),
333 void (*fun)(ffi_cif*,void*,ffi_java_raw*,void*),
339 void (*fun)(ffi_cif*,void*,ffi_java_raw*,void*),
/external/libffi/include/
H A Dffi_real.h256 void (*fun)(ffi_cif*,void*,void**,void*); member in struct:__anon3528
266 void (*fun)(ffi_cif*,void*,void**,void*),
272 void (*fun)(ffi_cif*,void*,void**,void*),
292 void (*fun)(ffi_cif*,void*,ffi_raw*,void*); member in struct:__anon3529
313 void (*fun)(ffi_cif*,void*,ffi_java_raw*,void*); member in struct:__anon3530
321 void (*fun)(ffi_cif*,void*,ffi_raw*,void*),
327 void (*fun)(ffi_cif*,void*,ffi_raw*,void*),
334 void (*fun)(ffi_cif*,void*,ffi_java_raw*,void*),
340 void (*fun)(ffi_cif*,void*,ffi_java_raw*,void*),
H A Dffi.h.in255 void (*fun)(ffi_cif*,void*,void**,void*);
265 void (*fun)(ffi_cif*,void*,void**,void*),
271 void (*fun)(ffi_cif*,void*,void**,void*),
291 void (*fun)(ffi_cif*,void*,ffi_raw*,void*);
312 void (*fun)(ffi_cif*,void*,ffi_java_raw*,void*);
320 void (*fun)(ffi_cif*,void*,ffi_raw*,void*),
326 void (*fun)(ffi_cif*,void*,ffi_raw*,void*),
333 void (*fun)(ffi_cif*,void*,ffi_java_raw*,void*),
339 void (*fun)(ffi_cif*,void*,ffi_java_raw*,void*),
/external/libffi/src/alpha/
H A Dffi.c175 void (*fun)(ffi_cif*, void*, void**, void*),
189 closure->fun = fun;
280 closure->fun (cif, rvalue, avalue, closure->user_data);
173 ffi_prep_closure_loc(ffi_closure* closure, ffi_cif* cif, void (*fun)(ffi_cif*, void*, void**, void*), void *user_data, void *codeloc) argument
/external/libffi/src/x86/
H A Dffi.c267 (closure->fun) (cif, *respp, arg_area, closure->user_data);
344 void (*fun)(ffi_cif*,void*,void**,void*),
369 closure->fun = fun;
381 void (*fun)(ffi_cif*,void*,ffi_raw*,void*),
408 closure->fun = fun;
342 ffi_prep_closure_loc(ffi_closure* closure, ffi_cif* cif, void (*fun)(ffi_cif*,void*,void**,void*), void *user_data, void *codeloc) argument
379 ffi_prep_raw_closure_loc(ffi_raw_closure* closure, ffi_cif* cif, void (*fun)(ffi_cif*,void*,ffi_raw*,void*), void *user_data, void *codeloc) argument
/external/libffi/src/frv/
H A Dffi.c232 (closure->fun) (cif, return_struct_ptr, avalue, closure->user_data);
238 (closure->fun) (cif, &rvalue, avalue, closure->user_data);
251 void (*fun)(ffi_cif*, void*, void**, void*),
283 closure->fun = fun;
249 ffi_prep_closure_loc(ffi_closure* closure, ffi_cif* cif, void (*fun)(ffi_cif*, void*, void**, void*), void *user_data, void *codeloc) argument
/external/skia/src/xml/
H A DSkJS.cpp119 JSFunction *fun; local
146 fun = JS_DefineFunction(cx, obj, name, Exec, 0, JSPROP_ENUMERATE);
147 ok = (fun != NULL);
/external/v8/tools/
H A Djs2c.py156 def __init__(self, args, fun):
158 self.fun = fun
163 return str(self.fun(*args))
195 fun = eval("lambda " + ",".join(args) + ': ' + body)
196 macros[name] = PythonMacro(args, fun)

Completed in 200 milliseconds

1234