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