Lines Matching refs:FunctionTemplate
63 using ::v8::FunctionTemplate;
224 v8::Local<v8::FunctionTemplate> fun = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
226 v8::Local<v8::FunctionTemplate> callback_sig = v8::FunctionTemplate::New( in THREADED_TEST()
228 v8::Local<v8::FunctionTemplate> callback = in THREADED_TEST()
229 v8::FunctionTemplate::New(isolate, IncrementingSignatureCallback); in THREADED_TEST()
230 v8::Local<v8::FunctionTemplate> sub_fun = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
232 v8::Local<v8::FunctionTemplate> unrel_fun = in THREADED_TEST()
233 v8::FunctionTemplate::New(isolate); in THREADED_TEST()
991 Local<v8::FunctionTemplate> fun_templ = in TestFunctionTemplateInitializer()
992 v8::FunctionTemplate::New(isolate, handler); in TestFunctionTemplateInitializer()
1007 Local<v8::FunctionTemplate> fun_templ = v8::FunctionTemplate::New(isolate); in TestFunctionTemplateInitializer()
1025 Local<v8::FunctionTemplate> fun_templ = in TestFunctionTemplateAccessor()
1026 v8::FunctionTemplate::New(env->GetIsolate(), constructor); in TestFunctionTemplateAccessor()
1047 THREADED_PROFILED_TEST(FunctionTemplate) { in THREADED_PROFILED_TEST() argument
1069 v8::FunctionTemplate::New(isolate, callback)); in TestSimpleCallback()
1180 v8::FunctionTemplate::New(isolate, callback)); in TestFastReturnValues()
1268 Local<v8::FunctionTemplate> fun_templ = in THREADED_TEST()
1269 v8::FunctionTemplate::New(isolate, handle_callback, Local<v8::Value>(), in THREADED_TEST()
1277 Local<v8::FunctionTemplate> fun_templ = in THREADED_TEST()
1278 v8::FunctionTemplate::New(isolate, handle_callback); in THREADED_TEST()
1287 Local<v8::FunctionTemplate> fun_templ = in THREADED_TEST()
1288 v8::FunctionTemplate::New(isolate, handle_callback); in THREADED_TEST()
1314 v8::FunctionTemplate::New(isolate, callback, data) in TestExternalPointerWrapping()
1380 Local<v8::FunctionTemplate> base = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
1381 Local<v8::FunctionTemplate> derived = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
1382 Local<v8::FunctionTemplate> other = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
1875 v8::Local<v8::FunctionTemplate> func_templ = in THREADED_TEST()
1876 v8::FunctionTemplate::New(isolate); in THREADED_TEST()
1878 isolate, "dummy", v8::FunctionTemplate::New(isolate, DummyCallHandler)); in THREADED_TEST()
1894 Local<v8::FunctionTemplate> fun = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
1915 Local<v8::FunctionTemplate> fun2 = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
1962 v8::Local<v8::FunctionTemplate> super = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
1964 v8::FunctionTemplate::New(isolate, in THREADED_TEST()
1970 v8::Local<v8::FunctionTemplate> base1 = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
1974 v8::Local<v8::FunctionTemplate> base2 = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
2219 v8::FunctionTemplate::New(isolate, CallScriptRecursivelyCall)); in THREADED_TEST()
2221 v8::FunctionTemplate::New(isolate, CallFunctionRecursivelyCall)); in THREADED_TEST()
2279 Local<v8::FunctionTemplate> Foo = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
2296 Local<v8::FunctionTemplate> templ = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
2349 Local<v8::FunctionTemplate> templ = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
2730 v8::Local<v8::FunctionTemplate> foo = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
2733 foo->PrototypeTemplate()->Set(name, v8::FunctionTemplate::New(isolate)); in THREADED_TEST()
5102 global->Set(v8_str("f"), v8::FunctionTemplate::New(isolate, HandleF)); in THREADED_TEST()
5586 v8::FunctionTemplate::New(isolate, ThrowFromC)); in THREADED_TEST()
5607 v8::FunctionTemplate::New(isolate, ThrowFromC)); in THREADED_TEST()
5626 templ->Set(v8_str("CCatcher"), v8::FunctionTemplate::New(isolate, CCatcher)); in TEST()
5760 v8::FunctionTemplate::New(isolate, ThrowFromC)); in TEST()
5775 v8::FunctionTemplate::New(isolate, ThrowFromC)); in TEST()
5807 v8::FunctionTemplate::New(isolate, ThrowFromC)); in THREADED_TEST()
5913 templ->Set(v8_str("check"), v8::FunctionTemplate::New(isolate, JSCheck)); in TEST()
5915 v8::FunctionTemplate::New(isolate, CThrowCountDown)); in TEST()
5980 templ->Set(v8_str("Throw"), v8::FunctionTemplate::New(isolate, ThrowValue)); in THREADED_TEST()
6067 v8::FunctionTemplate::New(isolate, WithTryCatch) in THREADED_TEST()
6169 v8::FunctionTemplate::New(isolate, TryCatchMixedNestingHelper)); in TEST()
6191 v8::FunctionTemplate::New(isolate, TryCatchNativeHelper)); in TEST()
6216 v8::FunctionTemplate::New(isolate, TryCatchNativeResetHelper)); in TEST()
6694 v8::FunctionTemplate::New(isolate, DummyCallHandler)); in THREADED_TEST()
6813 Local<v8::FunctionTemplate> desc = in THREADED_TEST()
6814 v8::FunctionTemplate::New(env->GetIsolate()); in THREADED_TEST()
6862 Local<v8::FunctionTemplate> desc = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
6912 Local<v8::FunctionTemplate> desc = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
6975 v8::FunctionTemplate::New(isolate, HandleLogDelegator)); in THREADED_TEST()
7226 virtual v8::Local<v8::FunctionTemplate> GetNativeFunctionTemplate( in GetNativeFunctionTemplate()
7228 return v8::FunctionTemplate::New(isolate, function_); in GetNativeFunctionTemplate()
7357 virtual v8::Local<v8::FunctionTemplate> GetNativeFunctionTemplate(
7363 v8::Local<v8::FunctionTemplate> FunctionExtension::GetNativeFunctionTemplate( in GetNativeFunctionTemplate()
7367 return v8::FunctionTemplate::New(isolate, CallFun, in GetNativeFunctionTemplate()
7371 return v8::FunctionTemplate::New(isolate, CallFun, in GetNativeFunctionTemplate()
7375 return v8::FunctionTemplate::New(isolate, CallFun, in GetNativeFunctionTemplate()
7378 return v8::Local<v8::FunctionTemplate>(); in GetNativeFunctionTemplate()
7595 Local<v8::FunctionTemplate> templ = v8::FunctionTemplate::New(isolate); in InternalFieldCallback()
7798 v8::FunctionTemplate::New(isolate, ArgumentsTestCallback)); in THREADED_TEST()
8613 Local<v8::FunctionTemplate> fun = in THREADED_TEST()
8614 v8::FunctionTemplate::New(context->GetIsolate(), ThrowV8Exception); in THREADED_TEST()
8769 Local<v8::FunctionTemplate> fun = in TEST()
8770 v8::FunctionTemplate::New(isolate, TroubleCallback); in TEST()
8850 Local<v8::FunctionTemplate> fun = in TEST()
8851 v8::FunctionTemplate::New(isolate, TroubleCallback); in TEST()
8916 v8::FunctionTemplate::New(isolate, CEvaluate)); in TEST()
9478 FunctionTemplate::New(env1->GetIsolate())->InstanceTemplate(); in TEST()
9480 v8_str("this_x"), FunctionTemplate::New(env1->GetIsolate(), GetThisX)); in TEST()
9694 v8::FunctionTemplate::New(isolate, UnreachableFunction), in TEST()
9695 v8::FunctionTemplate::New(isolate, UnreachableFunction), in TEST()
10018 v8::Local<v8::FunctionTemplate> func_template = in THREADED_TEST()
10019 v8::FunctionTemplate::New(isolate); in THREADED_TEST()
10206 Local<v8::FunctionTemplate> t = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
10211 v8::FunctionTemplate::New(isolate, InstanceFunctionCallback)); in THREADED_TEST()
10239 Local<v8::FunctionTemplate> t = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
10245 v8::FunctionTemplate::New(isolate, in THREADED_TEST()
10297 Local<v8::FunctionTemplate> t = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
10377 Local<v8::FunctionTemplate> t = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
10386 v8::FunctionTemplate::New(isolate, in THREADED_TEST()
10425 Local<v8::FunctionTemplate> t0 = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
10427 Local<v8::FunctionTemplate> t1 = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
10430 Local<v8::FunctionTemplate> t2 = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
10433 Local<v8::FunctionTemplate> t3 = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
10516 Local<v8::FunctionTemplate> ot = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
10517 Local<v8::FunctionTemplate> ht = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
10519 Local<v8::FunctionTemplate> pt = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
10594 Local<FunctionTemplate> t = FunctionTemplate::New(context->GetIsolate()); in THREADED_TEST()
10616 Local<v8::FunctionTemplate> t0 = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
10618 Local<v8::FunctionTemplate> t1 = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
10621 Local<v8::FunctionTemplate> t2 = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
10624 Local<v8::FunctionTemplate> t3 = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
10721 Local<v8::FunctionTemplate> t1 = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
10724 Local<v8::FunctionTemplate> t2 = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
10729 Local<v8::FunctionTemplate> t3 = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
10732 Local<v8::FunctionTemplate> t4 = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
10787 Local<v8::FunctionTemplate> t1 = in THREADED_TEST()
10788 v8::FunctionTemplate::New(context->GetIsolate()); in THREADED_TEST()
10805 Local<v8::FunctionTemplate> t2 = in THREADED_TEST()
10806 v8::FunctionTemplate::New(context->GetIsolate()); in THREADED_TEST()
10850 Local<v8::FunctionTemplate> t1 = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
10873 Local<v8::FunctionTemplate> t2 = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
10899 Local<v8::FunctionTemplate> t = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
10929 Local<v8::FunctionTemplate> t1 = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
10979 Local<v8::FunctionTemplate> templ = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
11169 Local<FunctionTemplate> function_template = in THREADED_TEST()
11170 FunctionTemplate::New(isolate, FakeConstructorCallback); in THREADED_TEST()
11223 Local<v8::FunctionTemplate> templ = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
11472 Local<v8::FunctionTemplate> t = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
11533 Local<v8::FunctionTemplate> t = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
11569 Local<v8::FunctionTemplate> t = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
11600 Local<v8::FunctionTemplate> t = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
11733 Local<FunctionTemplate> function_template = in THREADED_TEST()
11734 FunctionTemplate::New(isolate, call_as_function); in THREADED_TEST()
11745 Local<FunctionTemplate> function_template = FunctionTemplate::New(isolate); in THREADED_TEST()
11761 Local<v8::FunctionTemplate> desc = in THREADED_TEST()
11762 v8::FunctionTemplate::New(env->GetIsolate()); in THREADED_TEST()
11925 v8::FunctionTemplate::New(isolate, in THREADED_TEST()
11956 v8::FunctionTemplate::New(isolate, in THREADED_TEST()
12057 v8::Local<v8::FunctionTemplate> fun_templ = in THREADED_PROFILED_TEST()
12058 v8::FunctionTemplate::New(isolate); in THREADED_PROFILED_TEST()
12059 v8::Local<v8::FunctionTemplate> method_templ = v8::FunctionTemplate::New( in THREADED_PROFILED_TEST()
12094 v8::Local<v8::FunctionTemplate> fun_templ = in THREADED_PROFILED_TEST()
12095 v8::FunctionTemplate::New(isolate); in THREADED_PROFILED_TEST()
12096 v8::Local<v8::FunctionTemplate> method_templ = v8::FunctionTemplate::New( in THREADED_PROFILED_TEST()
12135 v8::Local<v8::FunctionTemplate> fun_templ = in THREADED_PROFILED_TEST()
12136 v8::FunctionTemplate::New(isolate); in THREADED_PROFILED_TEST()
12137 v8::Local<v8::FunctionTemplate> method_templ = v8::FunctionTemplate::New( in THREADED_PROFILED_TEST()
12186 v8::Local<v8::FunctionTemplate> fun_templ = in THREADED_PROFILED_TEST()
12187 v8::FunctionTemplate::New(isolate); in THREADED_PROFILED_TEST()
12188 v8::Local<v8::FunctionTemplate> method_templ = v8::FunctionTemplate::New( in THREADED_PROFILED_TEST()
12237 v8::Local<v8::FunctionTemplate> fun_templ = in THREADED_PROFILED_TEST()
12238 v8::FunctionTemplate::New(isolate); in THREADED_PROFILED_TEST()
12239 v8::Local<v8::FunctionTemplate> method_templ = v8::FunctionTemplate::New( in THREADED_PROFILED_TEST()
12292 v8::Local<v8::FunctionTemplate> fun_templ = in THREADED_PROFILED_TEST()
12293 v8::FunctionTemplate::New(isolate); in THREADED_PROFILED_TEST()
12294 v8::Local<v8::FunctionTemplate> method_templ = v8::FunctionTemplate::New( in THREADED_PROFILED_TEST()
12345 v8::Local<v8::FunctionTemplate> fun_templ = in THREADED_PROFILED_TEST()
12346 v8::FunctionTemplate::New(isolate); in THREADED_PROFILED_TEST()
12347 v8::Local<v8::FunctionTemplate> method_templ = v8::FunctionTemplate::New( in THREADED_PROFILED_TEST()
12379 v8::Local<v8::FunctionTemplate> fun_templ = in THREADED_PROFILED_TEST()
12380 v8::FunctionTemplate::New(isolate); in THREADED_PROFILED_TEST()
12381 v8::Local<v8::FunctionTemplate> method_templ = v8::FunctionTemplate::New( in THREADED_PROFILED_TEST()
12417 v8::Local<v8::FunctionTemplate> fun_templ = in THREADED_PROFILED_TEST()
12418 v8::FunctionTemplate::New(isolate); in THREADED_PROFILED_TEST()
12419 v8::Local<v8::FunctionTemplate> method_templ = v8::FunctionTemplate::New( in THREADED_PROFILED_TEST()
12464 v8::Local<v8::FunctionTemplate> fun_templ = in THREADED_PROFILED_TEST()
12465 v8::FunctionTemplate::New(isolate); in THREADED_PROFILED_TEST()
12466 v8::Local<v8::FunctionTemplate> method_templ = v8::FunctionTemplate::New( in THREADED_PROFILED_TEST()
12515 v8::Local<v8::FunctionTemplate> fun_templ = in THREADED_PROFILED_TEST()
12516 v8::FunctionTemplate::New(isolate); in THREADED_PROFILED_TEST()
12517 v8::Local<v8::FunctionTemplate> method_templ = v8::FunctionTemplate::New( in THREADED_PROFILED_TEST()
12574 Local<FunctionTemplate> templ = FunctionTemplate::New(context->GetIsolate()); in THREADED_TEST()
12692 FunctionTemplate::New(isolate, ThrowingCallbackWithTryCatch) in THREADED_TEST()
12739 Local<v8::FunctionTemplate> parent_templ = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
12745 Local<v8::FunctionTemplate> child_templ = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
12808 Local<v8::FunctionTemplate> templ = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
12827 Local<v8::FunctionTemplate> templ = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
12879 Local<v8::FunctionTemplate> templ = v8::FunctionTemplate::New(isolate); in TEST()
13359 Local<v8::FunctionTemplate> fun_templ = in TEST()
13360 v8::FunctionTemplate::New(isolate, ThrowInJS); in TEST()
13384 Local<v8::FunctionTemplate> fun_templ = in TEST()
13385 v8::FunctionTemplate::New(env->GetIsolate(), ThrowInJSNoCatch); in TEST()
13423 Local<v8::FunctionTemplate> fun_templ = in THREADED_TEST()
13424 v8::FunctionTemplate::New(CcTest::isolate(), UnlockForAMoment); in THREADED_TEST()
13442 Local<v8::FunctionTemplate> fun_templ = in THREADED_TEST()
13443 v8::FunctionTemplate::New(CcTest::isolate(), UnlockForAMoment); in THREADED_TEST()
13987 t->Set(v8_str("asdf"), v8::FunctionTemplate::New(isolate, RuntimeCallback)); in RunLoopInNewEnv()
14518 v8::FunctionTemplate::New(isolate, FunctionNameCallback)); in THREADED_TEST()
15378 v8::Local<v8::FunctionTemplate> func_templ = in THREADED_TEST()
15379 v8::FunctionTemplate::New(isolate); in THREADED_TEST()
16258 v8::FunctionTemplate::New(isolate, AnalyzeStackInNativeCode)); in TEST()
17043 v8::FunctionTemplate::New(isolate, in TEST()
17087 v8::FunctionTemplate::New(isolate, AnalyzeScriptIdInStack)); in TEST()
17125 v8::FunctionTemplate::New( in TEST()
17171 v8::FunctionTemplate::New( in TEST()
17349 Local<v8::FunctionTemplate> fun_templ = in TEST()
17350 v8::FunctionTemplate::New(env->GetIsolate(), GetStackLimitCallback); in TEST()
17373 Local<v8::FunctionTemplate> fun_templ = in TEST()
17374 v8::FunctionTemplate::New(CcTest::isolate(), GetStackLimitCallback); in TEST()
17749 v8::FunctionTemplate::New(isolate, SpaghettiIncident) in THREADED_TEST()
19659 Local<v8::FunctionTemplate> tmpl = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
20038 Local<FunctionTemplate> templ = in THREADED_TEST()
20039 v8::FunctionTemplate::New(isolate, NonObjectThis); in THREADED_TEST()
20135 Local<FunctionTemplate> hidden_proto_template = in THREADED_TEST()
20136 v8::FunctionTemplate::New(isolate); in THREADED_TEST()
20139 Local<FunctionTemplate> protected_hidden_proto_template = in THREADED_TEST()
20140 v8::FunctionTemplate::New(isolate); in THREADED_TEST()
20371 v8::Local<v8::FunctionTemplate> recursive_runtime = in TEST()
20372 v8::FunctionTemplate::New(env->GetIsolate(), RecursiveCall); in TEST()
20911 Local<FunctionTemplate> templ = FunctionTemplate::New(context->GetIsolate()); in THREADED_TEST()
20950 Local<FunctionTemplate> templ = FunctionTemplate::New(context->GetIsolate()); in THREADED_TEST()
20982 Local<FunctionTemplate> templ = FunctionTemplate::New(context->GetIsolate()); in THREADED_TEST()
21295 Local<FunctionTemplate> templ = FunctionTemplate::New(isolate, in THREADED_TEST()
21417 v8::Local<v8::FunctionTemplate> toJSON = in TEST()
21418 v8::FunctionTemplate::New(isolate, UnreachableCallback); in TEST()
21516 v8::Local<v8::FunctionTemplate> catcher_fun = in TEST()
21517 v8::FunctionTemplate::New(isolate, CatcherCallback); in TEST()
21523 v8::Local<v8::FunctionTemplate> has_own_property_fun = in TEST()
21524 v8::FunctionTemplate::New(isolate, HasOwnPropertyCallback); in TEST()
21676 v8::Local<v8::FunctionTemplate> t = v8::FunctionTemplate::New(isolate_); in TestBody()
21696 v8::Local<v8::FunctionTemplate> t = v8::FunctionTemplate::New(isolate_); in TestBody()
21698 proto->SetAccessorProperty(v8_str("shouldContinue"), FunctionTemplate::New( in TestBody()
21714 v8::Local<v8::FunctionTemplate> t = v8::FunctionTemplate::New(isolate_); in TestBody()
21744 v8::Local<v8::FunctionTemplate> t = v8::FunctionTemplate::New(isolate_); in TestBody()
22078 Local<v8::FunctionTemplate> parent_template = in Run()
22079 FunctionTemplate::New(isolate); in Run()
22081 Local<v8::FunctionTemplate> function_template in Run()
22082 = FunctionTemplate::New(isolate); in Run()
22111 Local<FunctionTemplate> function_template = FunctionTemplate::New( in Run()
22270 auto function = FunctionTemplate::New(isolate) in TEST()
22308 auto sig_obj = FunctionTemplate::New(isolate); in TEST()
22310 auto x = FunctionTemplate::New(isolate, Returns42, Local<Value>(), sig); in TEST()
22348 auto sig_obj = FunctionTemplate::New(isolate); in TEST()
22351 auto temp = FunctionTemplate::New(isolate); in TEST()
22355 auto x = FunctionTemplate::New(isolate, Returns42, Local<Value>(), sig); in TEST()
22393 auto sig_obj = FunctionTemplate::New(isolate); in TEST()
22396 auto x = FunctionTemplate::New(isolate, Returns42, Local<Value>(), sig); in TEST()
23571 Local<FunctionTemplate> t = FunctionTemplate::New(isolate); in TEST()
23992 v8::Local<v8::FunctionTemplate> runtimeFunction = in TEST()
23993 v8::FunctionTemplate::New(isolate, ExtrasBindingTestRuntimeFunction); in TEST()
24028 v8::Local<v8::FunctionTemplate> runtimeFunction = in TEST()
24029 v8::FunctionTemplate::New(isolate, ExtrasBindingTestRuntimeFunction); in TEST()
24207 v8::Local<v8::FunctionTemplate> parent = FunctionTemplate::New(isolate); in TEST()
24210 v8::FunctionTemplate::New(isolate, Returns42, Local<Value>(), signature); in TEST()
24212 v8::Local<v8::FunctionTemplate> child = v8::FunctionTemplate::New(isolate); in TEST()