Home | History | Annotate | Download | only in cctest

Lines Matching refs:fun

77   Handle<JSFunction> fun = Compile(buffer.start());
78 if (fun.is_null()) return -1;
81 Execution::Call(isolate, fun, global, 0, NULL).Check();
94 Handle<JSFunction> fun = Compile("result = x + y;");
95 if (fun.is_null()) return -1;
100 Execution::Call(isolate, fun, global, 0, NULL).Check();
113 Handle<JSFunction> fun = Compile("if (x < 0) result = -x; else result = x;");
114 if (fun.is_null()) return -1;
118 Execution::Call(isolate, fun, global, 0, NULL).Check();
131 Handle<JSFunction> fun =
133 if (fun.is_null()) return -1;
137 Execution::Call(isolate, fun, global, 0, NULL).Check();
154 Handle<JSFunction> fun = Compile(source);
155 if (fun.is_null()) return;
157 Execution::Call(CcTest::i_isolate(), fun, global, 0, NULL).Check();
185 Handle<JSFunction> fun = Compile(source);
186 CHECK(!fun.is_null());
189 CcTest::i_isolate(), fun, global, 0, NULL).Check();
199 Handle<JSFunction> fun = Compile(source);
200 CHECK(!fun.is_null());
201 Isolate* isolate = fun->GetIsolate();
203 CHECK(Execution::Call(isolate, fun, global, 0, NULL).is_null());
298 CompileRun("function fun() {};"
299 "fun1 = fun;"
560 v8::Local<v8::Function> fun =
564 CHECK(!fun.IsEmpty());
565 fun->Call(env.local(), env->Global(), 0, NULL).ToLocalChecked();
600 v8::Local<v8::Function> fun =
604 CHECK(!fun.IsEmpty());
605 fun->Call(env.local(), env->Global(), 0, NULL).ToLocalChecked();
624 v8::Local<v8::Function> fun =
628 CHECK(!fun.IsEmpty());
630 fun->Call(env.local(), env->Global(), 1, &b_value).ToLocalChecked();
650 v8::Local<v8::Function> fun =
654 CHECK(!fun.IsEmpty());
656 fun->Call(env.local(), env->Global(), 1, &b_value).ToLocalChecked();
685 v8::Local<v8::Function> fun =
689 CHECK(!fun.IsEmpty());
692 CHECK(fun->Call(env.local(), env->Global(), 0, NULL).IsEmpty());
708 v8::Local<v8::Function> fun = v8::Local<v8::Function>::Cast(
711 return Handle<JSFunction>::cast(v8::Utils::OpenHandle(*fun));