Home
last modified time | relevance | path

Searched refs:FunctionTemplate (Results 1 – 25 of 84) sorted by relevance

1234

/external/v8/test/cctest/
Dtest-receiver-check-hidden-prototype.cc27 v8::Local<v8::FunctionTemplate> constructor_template = in TEST()
28 v8::FunctionTemplate::New(isolate); in TEST()
29 v8::Local<v8::FunctionTemplate> prototype_template = in TEST()
30 v8::FunctionTemplate::New(isolate); in TEST()
40 v8::Local<v8::FunctionTemplate> accessor_template = in TEST()
41 v8::FunctionTemplate::NewWithFastHandler( in TEST()
46 v8_str("bar"), accessor_template, v8::Local<v8::FunctionTemplate>(), in TEST()
Dtest-api-accessors.cc43 v8::Local<v8::FunctionTemplate> parent = v8::FunctionTemplate::New(isolate); in TEST()
50 v8::FunctionTemplate::New(isolate, CppAccessor42, in TEST()
56 v8::FunctionTemplate::NewWithFastHandler( in TEST()
64 v8::Local<v8::FunctionTemplate> child = v8::FunctionTemplate::New(isolate); in TEST()
Dtest-api-fast-accessor-builder.cc72 v8::Local<v8::FunctionTemplate> foo = v8::FunctionTemplate::New(isolate); in TEST()
77 v8::FunctionTemplate::New(isolate, NativePropertyAccessor)); in TEST()
83 v8_str("barf"), v8::FunctionTemplate::NewWithFastHandler( in TEST()
108 v8::FunctionTemplate::NewWithFastHandler( in AddInternalFieldAccessor()
158 v8::FunctionTemplate::NewWithFastHandler( in TEST()
168 v8::FunctionTemplate::NewWithFastHandler( in TEST()
210 v8::FunctionTemplate::NewWithFastHandler( in TEST()
257 v8::FunctionTemplate::NewWithFastHandler( in TEST()
268 v8::FunctionTemplate::NewWithFastHandler( in TEST()
Dtrace-extension.cc44 v8::Local<v8::FunctionTemplate> TraceExtension::GetNativeFunctionTemplate( in GetNativeFunctionTemplate()
51 return v8::FunctionTemplate::New(isolate, TraceExtension::Trace); in GetNativeFunctionTemplate()
57 return v8::FunctionTemplate::New(isolate, TraceExtension::JSTrace); in GetNativeFunctionTemplate()
63 return v8::FunctionTemplate::New(isolate, TraceExtension::JSEntrySP); in GetNativeFunctionTemplate()
69 return v8::FunctionTemplate::New(isolate, TraceExtension::JSEntrySPLevel2); in GetNativeFunctionTemplate()
72 return v8::Local<v8::FunctionTemplate>(); in GetNativeFunctionTemplate()
Dprofiler-extension.cc42 v8::Local<v8::FunctionTemplate> ProfilerExtension::GetNativeFunctionTemplate( in GetNativeFunctionTemplate()
49 return v8::FunctionTemplate::New(isolate, in GetNativeFunctionTemplate()
56 return v8::FunctionTemplate::New(isolate, in GetNativeFunctionTemplate()
60 return v8::Local<v8::FunctionTemplate>(); in GetNativeFunctionTemplate()
Dtest-unscopables-hidden-prototype.cc28 v8::Local<v8::FunctionTemplate> t0 = v8::FunctionTemplate::New(isolate); in TEST()
29 v8::Local<v8::FunctionTemplate> t1 = v8::FunctionTemplate::New(isolate); in TEST()
Dtest-api-interceptors.cc26 using ::v8::FunctionTemplate;
196 void AddAccessor(Local<FunctionTemplate> templ, Local<String> name, in AddAccessor()
202 void AddInterceptor(Local<FunctionTemplate> templ, in AddInterceptor()
209 void AddAccessor(Local<FunctionTemplate> templ, Local<Name> name, in AddAccessor()
215 void AddInterceptor(Local<FunctionTemplate> templ, in AddInterceptor()
355 Local<v8::FunctionTemplate> fun_templ = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
383 Local<v8::FunctionTemplate> fun_templ = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
926 Local<FunctionTemplate> parent = FunctionTemplate::New(CcTest::isolate()); in THREADED_TEST()
927 Local<FunctionTemplate> child = FunctionTemplate::New(CcTest::isolate()); in THREADED_TEST()
950 Local<FunctionTemplate> parent = FunctionTemplate::New(isolate); in THREADED_TEST()
[all …]
Dprint-extension.cc33 v8::Local<v8::FunctionTemplate> PrintExtension::GetNativeFunctionTemplate( in GetNativeFunctionTemplate()
35 return v8::FunctionTemplate::New(isolate, PrintExtension::Print); in GetNativeFunctionTemplate()
Dtest-api.cc63 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()
[all …]
Dtest-log.cc349 v8::Local<v8::FunctionTemplate> obj = v8::Local<v8::FunctionTemplate>::New( in TEST()
350 isolate, v8::FunctionTemplate::New(isolate)); in TEST()
355 v8::FunctionTemplate::New(isolate, ObjMethod1, in TEST()
408 v8::Local<v8::FunctionTemplate> obj = v8::Local<v8::FunctionTemplate>::New( in TEST()
409 isolate, v8::FunctionTemplate::New(isolate)); in TEST()
Dtest-thread-termination.cc114 v8::FunctionTemplate::New(isolate, terminate)); in CreateGlobalTemplate()
115 global->Set(v8_str("fail"), v8::FunctionTemplate::New(isolate, Fail)); in CreateGlobalTemplate()
116 global->Set(v8_str("loop"), v8::FunctionTemplate::New(isolate, Loop)); in CreateGlobalTemplate()
117 global->Set(v8_str("doloop"), v8::FunctionTemplate::New(isolate, doloop)); in CreateGlobalTemplate()
259 v8::FunctionTemplate::New(isolate, TerminateOrReturnObject)); in TEST()
260 global->Set(v8_str("fail"), v8::FunctionTemplate::New(isolate, Fail)); in TEST()
262 v8::FunctionTemplate::New(isolate, LoopGetProperty)); in TEST()
523 v8::FunctionTemplate::New(isolate, InnerTryCallTerminate)); in TEST()
Dtest-accessors.cc71 Local<v8::FunctionTemplate> fun_templ = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
73 Local<v8::FunctionTemplate> getter_templ = in THREADED_TEST()
74 v8::FunctionTemplate::New(isolate, handle_property); in THREADED_TEST()
145 v8::Local<v8::FunctionTemplate> templ = v8::FunctionTemplate::New(isolate); in THREADED_TEST()
227 v8::FunctionTemplate::New(isolate, XGetter), in THREADED_TEST()
228 v8::FunctionTemplate::New(isolate, XSetter)); in THREADED_TEST()
701 auto fun_templ = v8::FunctionTemplate::New(isolate); in TEST()
702 auto getter_templ = v8::FunctionTemplate::New(isolate, handle_property); in TEST()
/external/v8/src/extensions/
Dtrigger-failure-extension.cc20 v8::Local<v8::FunctionTemplate>
24 return v8::FunctionTemplate::New( in GetNativeFunctionTemplate()
28 return v8::FunctionTemplate::New( in GetNativeFunctionTemplate()
33 return v8::FunctionTemplate::New( in GetNativeFunctionTemplate()
Dgc-extension.cc13 v8::Local<v8::FunctionTemplate> GCExtension::GetNativeFunctionTemplate( in GetNativeFunctionTemplate()
15 return v8::FunctionTemplate::New(isolate, GCExtension::GC); in GetNativeFunctionTemplate()
Dfree-buffer-extension.cc14 v8::Local<v8::FunctionTemplate> FreeBufferExtension::GetNativeFunctionTemplate( in GetNativeFunctionTemplate()
16 return v8::FunctionTemplate::New(isolate, FreeBufferExtension::FreeBuffer); in GetNativeFunctionTemplate()
Dexternalize-string-extension.cc44 v8::Local<v8::FunctionTemplate>
48 return v8::FunctionTemplate::New(isolate, in GetNativeFunctionTemplate()
52 return v8::FunctionTemplate::New(isolate, in GetNativeFunctionTemplate()
/external/chromium-libpac/src/
Dproxy_resolver_v8.cc437 v8::Local<v8::FunctionTemplate> alert_template = in InitV8()
438 v8::FunctionTemplate::New(isolate_, &AlertCallback, v8_this); in InitV8()
441 v8::Local<v8::FunctionTemplate> my_ip_address_template = in InitV8()
442 v8::FunctionTemplate::New(isolate_, &MyIpAddressCallback, v8_this); in InitV8()
446 v8::Local<v8::FunctionTemplate> dns_resolve_template = in InitV8()
447 v8::FunctionTemplate::New(isolate_, &DnsResolveCallback, v8_this); in InitV8()
453 v8::Local<v8::FunctionTemplate> dns_resolve_ex_template = in InitV8()
454 v8::FunctionTemplate::New(isolate_, &DnsResolveExCallback, v8_this); in InitV8()
458 v8::Local<v8::FunctionTemplate> my_ip_address_ex_template = in InitV8()
459 v8::FunctionTemplate::New(isolate_, &MyIpAddressExCallback, v8_this); in InitV8()
[all …]
/external/pdfium/xfa/src/fxjse/src/
Dclass.h18 inline v8::Global<v8::FunctionTemplate>& GetTemplate() { return m_hTemplate; } in GetTemplate()
38 v8::Global<v8::FunctionTemplate> m_hTemplate;
Dutil_inline.h38 v8::Local<v8::FunctionTemplate> hClass =
39 v8::Local<v8::FunctionTemplate>::New(
Dclass.cpp245 v8::Local<v8::FunctionTemplate> hFunctionTemplate = v8::FunctionTemplate::New( in Create()
275 v8::FunctionTemplate::New( in Create()
286 v8::FunctionTemplate::New( in Create()
305 v8::FunctionTemplate::New( in Create()
/external/v8/test/cctest/compiler/
Dtest-run-deopt.cc22 v8::Local<v8::FunctionTemplate> t = in InstallIsOptimizedHelper()
23 v8::FunctionTemplate::New(isolate, IsOptimized); in InstallIsOptimizedHelper()
/external/clang/lib/Sema/
DSemaTemplateDeduction.cpp2477 FunctionTemplateDecl *FunctionTemplate, in SubstituteExplicitTemplateArguments() argument
2483 FunctionDecl *Function = FunctionTemplate->getTemplatedDecl(); in SubstituteExplicitTemplateArguments()
2485 = FunctionTemplate->getTemplateParameters(); in SubstituteExplicitTemplateArguments()
2513 InstantiatingTemplate Inst(*this, Info.getLocation(), FunctionTemplate, in SubstituteExplicitTemplateArguments()
2520 if (CheckTemplateArgumentList(FunctionTemplate, in SubstituteExplicitTemplateArguments()
2542 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl()); in SubstituteExplicitTemplateArguments()
2754 Sema::FinishTemplateArgumentDeduction(FunctionTemplateDecl *FunctionTemplate, in FinishTemplateArgumentDeduction() argument
2762 = FunctionTemplate->getTemplateParameters(); in FinishTemplateArgumentDeduction()
2771 InstantiatingTemplate Inst(*this, Info.getLocation(), FunctionTemplate, in FinishTemplateArgumentDeduction()
2778 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl()); in FinishTemplateArgumentDeduction()
[all …]
/external/v8/src/
Dd8-posix.cc770 FunctionTemplate::New(isolate, System)); in AddOSMethods()
773 FunctionTemplate::New(isolate, ChangeDirectory)); in AddOSMethods()
776 FunctionTemplate::New(isolate, SetEnvironment)); in AddOSMethods()
779 FunctionTemplate::New(isolate, UnsetEnvironment)); in AddOSMethods()
782 FunctionTemplate::New(isolate, SetUMask)); in AddOSMethods()
785 FunctionTemplate::New(isolate, MakeDirectory)); in AddOSMethods()
788 FunctionTemplate::New(isolate, RemoveDirectory)); in AddOSMethods()
Dd8.cc1125 FunctionTemplate::New(isolate, Print)); in CreateGlobalTemplate()
1129 FunctionTemplate::New(isolate, Write)); in CreateGlobalTemplate()
1133 FunctionTemplate::New(isolate, Read)); in CreateGlobalTemplate()
1137 FunctionTemplate::New(isolate, ReadBuffer)); in CreateGlobalTemplate()
1141 FunctionTemplate::New(isolate, ReadLine)); in CreateGlobalTemplate()
1145 FunctionTemplate::New(isolate, Load)); in CreateGlobalTemplate()
1153 FunctionTemplate::New(isolate, Quit)); in CreateGlobalTemplate()
1158 FunctionTemplate::New(isolate, Version)); in CreateGlobalTemplate()
1165 FunctionTemplate::New(isolate, RealmCurrent)); in CreateGlobalTemplate()
1169 FunctionTemplate::New(isolate, RealmOwner)); in CreateGlobalTemplate()
[all …]
/external/skia/experimental/SkV8Example/
DGlobal.cpp183 v8::FunctionTemplate::New(fIsolate, Global::Print)); in createRootContext()
185 v8::FunctionTemplate::New(fIsolate, Global::SetTimeout)); in createRootContext()
187 v8::FunctionTemplate::New(fIsolate, Global::Inval)); in createRootContext()

1234