Home
last modified time | relevance | path

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

1234

/external/webkit/Source/WebCore/bindings/scripts/test/V8/
DV8TestSerializedScriptValueInterface.cpp45 …tic v8::Persistent<v8::FunctionTemplate> ConfigureV8TestSerializedScriptValueInterfaceTemplate(v8:… in ConfigureV8TestSerializedScriptValueInterfaceTemplate()
47 …late(desc, "TestSerializedScriptValueInterface", v8::Persistent<v8::FunctionTemplate>(), V8TestSer… in ConfigureV8TestSerializedScriptValueInterfaceTemplate()
58 v8::Persistent<v8::FunctionTemplate> V8TestSerializedScriptValueInterface::GetRawTemplate() in GetRawTemplate()
60 …static v8::Persistent<v8::FunctionTemplate> V8TestSerializedScriptValueInterfaceRawCache = createR… in GetRawTemplate()
64 v8::Persistent<v8::FunctionTemplate> V8TestSerializedScriptValueInterface::GetTemplate() in GetTemplate()
66 …static v8::Persistent<v8::FunctionTemplate> V8TestSerializedScriptValueInterfaceCache = ConfigureV… in GetTemplate()
DV8TestInterface.cpp49 static v8::Persistent<v8::FunctionTemplate> ConfigureV8TestInterfaceTemplate(v8::Persistent<v8::Fun… in ConfigureV8TestInterfaceTemplate()
51 …ature = configureTemplate(desc, "TestInterface", v8::Persistent<v8::FunctionTemplate>(), V8TestInt… in ConfigureV8TestInterfaceTemplate()
63 v8::Persistent<v8::FunctionTemplate> V8TestInterface::GetRawTemplate() in GetRawTemplate()
65 static v8::Persistent<v8::FunctionTemplate> V8TestInterfaceRawCache = createRawTemplate(); in GetRawTemplate()
69 v8::Persistent<v8::FunctionTemplate> V8TestInterface::GetTemplate() in GetTemplate()
71 …static v8::Persistent<v8::FunctionTemplate> V8TestInterfaceCache = ConfigureV8TestInterfaceTemplat… in GetTemplate()
DV8TestMediaQueryListListener.cpp56 static v8::Persistent<v8::FunctionTemplate> ConfigureV8TestMediaQueryListListenerTemplate(v8::Persi… in ConfigureV8TestMediaQueryListListenerTemplate()
58 …gureTemplate(desc, "TestMediaQueryListListener", v8::Persistent<v8::FunctionTemplate>(), V8TestMed… in ConfigureV8TestMediaQueryListListenerTemplate()
70 v8::Persistent<v8::FunctionTemplate> V8TestMediaQueryListListener::GetRawTemplate() in GetRawTemplate()
72 …static v8::Persistent<v8::FunctionTemplate> V8TestMediaQueryListListenerRawCache = createRawTempla… in GetRawTemplate()
76 v8::Persistent<v8::FunctionTemplate> V8TestMediaQueryListListener::GetTemplate() in GetTemplate()
78 …static v8::Persistent<v8::FunctionTemplate> V8TestMediaQueryListListenerCache = ConfigureV8TestMed… in GetTemplate()
DV8TestObj.cpp1287 static v8::Persistent<v8::FunctionTemplate> ConfigureV8TestObjTemplate(v8::Persistent<v8::FunctionT… in ConfigureV8TestObjTemplate()
1289 …ltSignature = configureTemplate(desc, "TestObj", v8::Persistent<v8::FunctionTemplate>(), V8TestObj… in ConfigureV8TestObjTemplate()
1310 …dle<v8::FunctionTemplate> voidMethodWithArgsArgv[voidMethodWithArgsArgc] = { v8::Handle<v8::Functi… in ConfigureV8TestObjTemplate()
1312 …proto->Set(v8::String::New("voidMethodWithArgs"), v8::FunctionTemplate::New(TestObjInternal::voidM… in ConfigureV8TestObjTemplate()
1316 …ndle<v8::FunctionTemplate> intMethodWithArgsArgv[intMethodWithArgsArgc] = { v8::Handle<v8::Functio… in ConfigureV8TestObjTemplate()
1318 …proto->Set(v8::String::New("intMethodWithArgs"), v8::FunctionTemplate::New(TestObjInternal::intMet… in ConfigureV8TestObjTemplate()
1322 …ndle<v8::FunctionTemplate> objMethodWithArgsArgv[objMethodWithArgsArgc] = { v8::Handle<v8::Functio… in ConfigureV8TestObjTemplate()
1324 …proto->Set(v8::String::New("objMethodWithArgs"), v8::FunctionTemplate::New(TestObjInternal::objMet… in ConfigureV8TestObjTemplate()
1328 …v8::Handle<v8::FunctionTemplate> methodThatRequiresAllArgsArgv[methodThatRequiresAllArgsArgc] = { … in ConfigureV8TestObjTemplate()
1330 …proto->Set(v8::String::New("methodThatRequiresAllArgs"), v8::FunctionTemplate::New(TestObjInternal… in ConfigureV8TestObjTemplate()
[all …]
DV8TestMediaQueryListListener.h37 static v8::Persistent<v8::FunctionTemplate> GetRawTemplate();
38 static v8::Persistent<v8::FunctionTemplate> GetTemplate();
DV8TestSerializedScriptValueInterface.h39 static v8::Persistent<v8::FunctionTemplate> GetRawTemplate();
40 static v8::Persistent<v8::FunctionTemplate> GetTemplate();
DV8TestInterface.h39 static v8::Persistent<v8::FunctionTemplate> GetRawTemplate();
40 static v8::Persistent<v8::FunctionTemplate> GetTemplate();
/external/webkit/Source/WebCore/bindings/v8/custom/
DV8LocationCustom.cpp153 …static v8::Persistent<v8::FunctionTemplate> privateTemplate = v8::Persistent<v8::FunctionTemplate>… in reloadAccessorGetter()
162 …static v8::Persistent<v8::FunctionTemplate> sharedTemplate = v8::Persistent<v8::FunctionTemplate>:… in reloadAccessorGetter()
171 …static v8::Persistent<v8::FunctionTemplate> privateTemplate = v8::Persistent<v8::FunctionTemplate>… in replaceAccessorGetter()
180 …static v8::Persistent<v8::FunctionTemplate> sharedTemplate = v8::Persistent<v8::FunctionTemplate>:… in replaceAccessorGetter()
189 static v8::Persistent<v8::FunctionTemplate> privateTemplate = in assignAccessorGetter()
190 …v8::Persistent<v8::FunctionTemplate>::New(v8::FunctionTemplate::New(V8Location::assignCallback, v8… in assignAccessorGetter()
199 …static v8::Persistent<v8::FunctionTemplate> sharedTemplate = v8::Persistent<v8::FunctionTemplate>:… in assignAccessorGetter()
DV8HTMLAudioElementConstructor.cpp80 v8::Persistent<v8::FunctionTemplate> V8HTMLAudioElementConstructor::GetTemplate() in GetTemplate()
82 static v8::Persistent<v8::FunctionTemplate> cachedTemplate; in GetTemplate()
87 …v8::Local<v8::FunctionTemplate> result = v8::FunctionTemplate::New(v8HTMLAudioElementConstructorCa… in GetTemplate()
94 cachedTemplate = v8::Persistent<v8::FunctionTemplate>::New(result); in GetTemplate()
DV8HTMLImageElementConstructor.cpp91 v8::Persistent<v8::FunctionTemplate> V8HTMLImageElementConstructor::GetTemplate() in GetTemplate()
93 static v8::Persistent<v8::FunctionTemplate> cachedTemplate; in GetTemplate()
98 …v8::Local<v8::FunctionTemplate> result = v8::FunctionTemplate::New(v8HTMLImageElementConstructorCa… in GetTemplate()
105 cachedTemplate = v8::Persistent<v8::FunctionTemplate>::New(result); in GetTemplate()
DV8HTMLOptionElementConstructor.cpp89 v8::Persistent<v8::FunctionTemplate> V8HTMLOptionElementConstructor::GetTemplate() in GetTemplate()
91 static v8::Persistent<v8::FunctionTemplate> cachedTemplate; in GetTemplate()
96 …v8::Local<v8::FunctionTemplate> result = v8::FunctionTemplate::New(v8HTMLOptionElementConstructorC… in GetTemplate()
103 cachedTemplate = v8::Persistent<v8::FunctionTemplate>::New(result); in GetTemplate()
/external/webkit/Source/WebKit/chromium/src/
DBoundObject.cpp44 …v8::Local<v8::FunctionTemplate> localTemplate = v8::FunctionTemplate::New(WebCore::V8Proxy::checkN… in BoundObject()
45 m_hostTemplate = v8::Persistent<v8::FunctionTemplate>::New(localTemplate); in BoundObject()
62 v8::FunctionTemplate::New( in addProtoFunction()
/external/chromium/net/proxy/
Dproxy_resolver_v8.cc410 v8::Local<v8::FunctionTemplate> alert_template = in InitV8()
411 v8::FunctionTemplate::New(&AlertCallback, v8_this_); in InitV8()
414 v8::Local<v8::FunctionTemplate> my_ip_address_template = in InitV8()
415 v8::FunctionTemplate::New(&MyIpAddressCallback, v8_this_); in InitV8()
419 v8::Local<v8::FunctionTemplate> dns_resolve_template = in InitV8()
420 v8::FunctionTemplate::New(&DnsResolveCallback, v8_this_); in InitV8()
426 v8::Local<v8::FunctionTemplate> dns_resolve_ex_template = in InitV8()
427 v8::FunctionTemplate::New(&DnsResolveExCallback, v8_this_); in InitV8()
431 v8::Local<v8::FunctionTemplate> my_ip_address_ex_template = in InitV8()
432 v8::FunctionTemplate::New(&MyIpAddressExCallback, v8_this_); in InitV8()
[all …]
/external/v8/test/cctest/
Dtest-log-stack-tracer.cc97 virtual v8::Handle<v8::FunctionTemplate> GetNativeFunction(
115 v8::Handle<v8::FunctionTemplate> TraceExtension::GetNativeFunction( in GetNativeFunction()
118 return v8::FunctionTemplate::New(TraceExtension::Trace); in GetNativeFunction()
120 return v8::FunctionTemplate::New(TraceExtension::JSTrace); in GetNativeFunction()
122 return v8::FunctionTemplate::New(TraceExtension::JSEntrySP); in GetNativeFunction()
124 return v8::FunctionTemplate::New(TraceExtension::JSEntrySPLevel2); in GetNativeFunction()
127 return v8::Handle<v8::FunctionTemplate>(); in GetNativeFunction()
243 Local<v8::FunctionTemplate> constructor_template = in CreateFramePointerGrabberConstructor()
244 v8::FunctionTemplate::New(construct_call); in CreateFramePointerGrabberConstructor()
Dtest-api.cc58 using ::v8::FunctionTemplate;
168 v8::Handle<v8::FunctionTemplate> fun = v8::FunctionTemplate::New(); in THREADED_TEST()
172 v8::FunctionTemplate::New(IncrementingSignatureCallback, in THREADED_TEST()
181 v8::Handle<v8::FunctionTemplate> sub_fun = v8::FunctionTemplate::New(); in THREADED_TEST()
197 v8::Handle<v8::FunctionTemplate> unrel_fun = v8::FunctionTemplate::New(); in THREADED_TEST()
212 v8::Handle<v8::FunctionTemplate> cons = v8::FunctionTemplate::New(); in THREADED_TEST()
215 v8::Signature::New(v8::Handle<v8::FunctionTemplate>(), 1, &cons); in THREADED_TEST()
216 v8::Handle<v8::FunctionTemplate> fun = in THREADED_TEST()
217 v8::FunctionTemplate::New(SignatureCallback, v8::Handle<Value>(), sig); in THREADED_TEST()
230 v8::Handle<v8::FunctionTemplate> cons1 = v8::FunctionTemplate::New(); in THREADED_TEST()
[all …]
Dtest-thread-termination.cc113 v8::FunctionTemplate::New(terminate)); in CreateGlobalTemplate()
114 global->Set(v8::String::New("fail"), v8::FunctionTemplate::New(Fail)); in CreateGlobalTemplate()
115 global->Set(v8::String::New("loop"), v8::FunctionTemplate::New(Loop)); in CreateGlobalTemplate()
116 global->Set(v8::String::New("doloop"), v8::FunctionTemplate::New(doloop)); in CreateGlobalTemplate()
308 v8::FunctionTemplate::New(TerminateOrReturnObject)); in TEST()
309 global->Set(v8::String::New("fail"), v8::FunctionTemplate::New(Fail)); in TEST()
311 v8::FunctionTemplate::New(LoopGetProperty)); in TEST()
/external/webkit/Source/WebCore/bindings/v8/
DDateExtension.cpp95 v8::Handle<v8::FunctionTemplate> DateExtension::GetNativeFunction(v8::Handle<v8::String> name) in GetNativeFunction()
98 return v8::FunctionTemplate::New(Setup); in GetNativeFunction()
100 return v8::FunctionTemplate::New(OnSleepDetected); in GetNativeFunction()
102 return v8::Handle<v8::FunctionTemplate>(); in GetNativeFunction()
DV8Binding.cpp508 v8::Persistent<v8::FunctionTemplate> createRawTemplate() in createRawTemplate()
511 v8::Local<v8::FunctionTemplate> result = v8::FunctionTemplate::New(V8Proxy::checkNewLegal); in createRawTemplate()
512 return v8::Persistent<v8::FunctionTemplate>::New(result); in createRawTemplate()
515 v8::Local<v8::Signature> configureTemplate(v8::Persistent<v8::FunctionTemplate> desc, in configureTemplate()
517 v8::Persistent<v8::FunctionTemplate> parentClass, in configureTemplate()
565 v8::Persistent<v8::FunctionTemplate> getToStringTemplate() in getToStringTemplate()
567 DEFINE_STATIC_LOCAL(v8::Persistent<v8::FunctionTemplate>, toStringTemplate, ()); in getToStringTemplate()
569 …toStringTemplate = v8::Persistent<v8::FunctionTemplate>::New(v8::FunctionTemplate::New(constructor… in getToStringTemplate()
DV8NPObject.cpp165 static WeakReferenceMap<PrivateIdentifier, v8::FunctionTemplate> staticTemplateMap(&weakTemplateCal…
203 v8::Persistent<v8::FunctionTemplate> functionTemplate = staticTemplateMap.get(id); in npObjectGetProperty()
207 v8::Local<v8::FunctionTemplate> temp = v8::FunctionTemplate::New(); in npObjectGetProperty()
209 functionTemplate = v8::Persistent<v8::FunctionTemplate>::New(temp); in npObjectGetProperty()
362 static v8::Persistent<v8::FunctionTemplate> npObjectDesc; in createV8ObjectForNPObject()
380 npObjectDesc = v8::Persistent<v8::FunctionTemplate>::New(v8::FunctionTemplate::New()); in createV8ObjectForNPObject()
DWrapperTypeInfo.h46 typedef v8::Persistent<v8::FunctionTemplate> (*GetTemplateFunction)();
76 v8::Persistent<v8::FunctionTemplate> getTemplate() { return getTemplateFunction(); } in getTemplate()
DV8Collection.h158 …tion, class ItemType> static void setCollectionIndexedGetter(v8::Handle<v8::FunctionTemplate> desc) in setCollectionIndexedGetter()
165 …ection, class ItemType> static void setCollectionNamedGetter(v8::Handle<v8::FunctionTemplate> desc) in setCollectionNamedGetter()
171 …llection> static void setCollectionStringOrNullIndexedGetter(v8::Handle<v8::FunctionTemplate> desc) in setCollectionStringOrNullIndexedGetter()
178 …ass Collection> static void setCollectionStringIndexedGetter(v8::Handle<v8::FunctionTemplate> desc) in setCollectionStringIndexedGetter()
/external/v8/src/extensions/
Dgc-extension.cc36 v8::Handle<v8::FunctionTemplate> GCExtension::GetNativeFunction( in GetNativeFunction()
38 return v8::FunctionTemplate::New(GCExtension::GC); in GetNativeFunction()
Dexternalize-string-extension.cc64 v8::Handle<v8::FunctionTemplate> ExternalizeStringExtension::GetNativeFunction( in GetNativeFunction()
67 return v8::FunctionTemplate::New(ExternalizeStringExtension::Externalize); in GetNativeFunction()
70 return v8::FunctionTemplate::New(ExternalizeStringExtension::IsAscii); in GetNativeFunction()
/external/v8/src/
Dd8.cc806 global_template->Set(String::New("print"), FunctionTemplate::New(Print)); in CreateGlobalTemplate()
807 global_template->Set(String::New("write"), FunctionTemplate::New(Write)); in CreateGlobalTemplate()
808 global_template->Set(String::New("read"), FunctionTemplate::New(Read)); in CreateGlobalTemplate()
810 FunctionTemplate::New(ReadBinary)); in CreateGlobalTemplate()
812 FunctionTemplate::New(ReadLine)); in CreateGlobalTemplate()
813 global_template->Set(String::New("load"), FunctionTemplate::New(Load)); in CreateGlobalTemplate()
814 global_template->Set(String::New("quit"), FunctionTemplate::New(Quit)); in CreateGlobalTemplate()
815 global_template->Set(String::New("version"), FunctionTemplate::New(Version)); in CreateGlobalTemplate()
817 FunctionTemplate::New(EnableProfiler)); in CreateGlobalTemplate()
819 FunctionTemplate::New(DisableProfiler)); in CreateGlobalTemplate()
[all …]
/external/clang/lib/Sema/
DSemaTemplateDeduction.cpp2235 FunctionTemplateDecl *FunctionTemplate, in SubstituteExplicitTemplateArguments() argument
2241 FunctionDecl *Function = FunctionTemplate->getTemplatedDecl(); in SubstituteExplicitTemplateArguments()
2243 = FunctionTemplate->getTemplateParameters(); in SubstituteExplicitTemplateArguments()
2274 InstantiatingTemplate Inst(*this, FunctionTemplate->getLocation(), in SubstituteExplicitTemplateArguments()
2275 FunctionTemplate, DeducedArgs, in SubstituteExplicitTemplateArguments()
2281 if (CheckTemplateArgumentList(FunctionTemplate, in SubstituteExplicitTemplateArguments()
2303 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl()); in SubstituteExplicitTemplateArguments()
2515 Sema::FinishTemplateArgumentDeduction(FunctionTemplateDecl *FunctionTemplate, in FinishTemplateArgumentDeduction() argument
2522 = FunctionTemplate->getTemplateParameters(); in FinishTemplateArgumentDeduction()
2531 InstantiatingTemplate Inst(*this, FunctionTemplate->getLocation(), in FinishTemplateArgumentDeduction()
[all …]

1234