Lines Matching defs:fun
137 Handle<JSFunction> fun = Compile(buffer.start());
138 if (fun.is_null()) return -1;
142 Execution::Call(fun, global, 0, NULL, &has_pending_exception);
156 Handle<JSFunction> fun = Compile("result = x + y;");
157 if (fun.is_null()) return -1;
163 Execution::Call(fun, global, 0, NULL, &has_pending_exception);
177 Handle<JSFunction> fun = Compile("if (x < 0) result = -x; else result = x;");
178 if (fun.is_null()) return -1;
183 Execution::Call(fun, global, 0, NULL, &has_pending_exception);
197 Handle<JSFunction> fun =
199 if (fun.is_null()) return -1;
204 Execution::Call(fun, global, 0, NULL, &has_pending_exception);
221 Handle<JSFunction> fun = Compile(source);
222 if (fun.is_null()) return;
225 Execution::Call(fun, global, 0, NULL, &has_pending_exception);
254 Handle<JSFunction> fun = Compile(source);
255 CHECK(!fun.is_null());
258 Execution::Call(fun, global, 0, NULL, &has_pending_exception);
269 Handle<JSFunction> fun = Compile(source);
270 CHECK(!fun.is_null());
273 Execution::Call(fun, global, 0, NULL, &has_pending_exception);
358 v8::Local<v8::Function> fun =
360 return v8::Utils::OpenHandle(*fun);