Searched refs:FunctionTemplate (Results 1 - 25 of 148) sorted by relevance

123456

/external/chromium_org/v8/src/extensions/i18n/
H A Di18n-extension.cc46 v8::Handle<v8::FunctionTemplate> Extension::GetNativeFunction(
50 return v8::FunctionTemplate::New(BreakIterator::JSCreateBreakIterator);
52 return v8::FunctionTemplate::New(
55 return v8::FunctionTemplate::New(
58 return v8::FunctionTemplate::New(
61 return v8::FunctionTemplate::New(
64 return v8::FunctionTemplate::New(
68 return v8::Handle<v8::FunctionTemplate>();
H A Di18n-extension.h40 virtual v8::Handle<v8::FunctionTemplate> GetNativeFunction(
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
H A DV8HTMLImageElementConstructor.h42 static v8::Handle<v8::FunctionTemplate> GetTemplate(v8::Isolate*, WrapperWorldType);
H A DV8HTMLImageElementConstructor.cpp89 v8::Handle<v8::FunctionTemplate> V8HTMLImageElementConstructor::GetTemplate(v8::Isolate* isolate, WrapperWorldType currentWorldType)
94 v8::Handle<v8::FunctionTemplate> result = data->privateTemplateIfExists(currentWorldType, &privateTemplateUniqueKey);
99 result = v8::FunctionTemplate::New(v8HTMLImageElementConstructorMethodCustom);
/external/chromium_org/chrome/renderer/
H A Dnet_benchmarking_extension.cc50 virtual v8::Handle<v8::FunctionTemplate> GetNativeFunction(
53 return v8::FunctionTemplate::New(ClearCache);
55 return v8::FunctionTemplate::New(ClearHostResolverCache);
57 return v8::FunctionTemplate::New(ClearPredictorCache);
59 return v8::FunctionTemplate::New(EnableSpdy);
61 return v8::FunctionTemplate::New(CloseConnections);
64 return v8::Handle<v8::FunctionTemplate>();
H A Dbenchmarking_extension.cc58 virtual v8::Handle<v8::FunctionTemplate> GetNativeFunction(
61 return v8::FunctionTemplate::New(GetCounter);
63 return v8::FunctionTemplate::New(IsSingleProcess);
65 return v8::FunctionTemplate::New(HiResTime);
68 return v8::Handle<v8::FunctionTemplate>();
H A Dexternal_extension.cc44 virtual v8::Handle<v8::FunctionTemplate> GetNativeFunction(
68 v8::Handle<v8::FunctionTemplate> ExternalExtensionWrapper::GetNativeFunction(
71 return v8::FunctionTemplate::New(AddSearchProvider);
74 return v8::FunctionTemplate::New(IsSearchProviderInstalled);
76 return v8::Handle<v8::FunctionTemplate>();
/external/v8/src/extensions/
H A Dgc-extension.cc36 v8::Handle<v8::FunctionTemplate> GCExtension::GetNativeFunction(
38 return v8::FunctionTemplate::New(GCExtension::GC);
H A Dgc-extension.h39 virtual v8::Handle<v8::FunctionTemplate> GetNativeFunction(
H A Dexternalize-string-extension.h39 virtual v8::Handle<v8::FunctionTemplate> GetNativeFunction(
/external/chromium_org/content/renderer/
H A Dmemory_benchmarking_extension.cc44 virtual v8::Handle<v8::FunctionTemplate> GetNativeFunction(
47 return v8::FunctionTemplate::New(IsHeapProfilerRunning);
49 return v8::FunctionTemplate::New(HeapProfilerDump);
51 return v8::Handle<v8::FunctionTemplate>();
H A Dweb_ui_extension.cc51 virtual v8::Handle<v8::FunctionTemplate> GetNativeFunction(
68 v8::Handle<v8::FunctionTemplate> WebUIExtensionWrapper::GetNativeFunction(
71 return v8::FunctionTemplate::New(Send);
73 return v8::FunctionTemplate::New(GetVariableValue);
74 return v8::Handle<v8::FunctionTemplate>();
/external/chromium_org/third_party/WebKit/Source/bindings/v8/
H A DV8PerIsolateData.h66 typedef HashMap<void*, UnsafePersistent<v8::FunctionTemplate> > TemplateMap;
82 v8::Handle<v8::FunctionTemplate> toStringTemplate();
83 v8::Handle<v8::FunctionTemplate> lazyEventListenerToStringTemplate()
85 return v8::Local<v8::FunctionTemplate>::New(m_isolate, m_lazyEventListenerToStringTemplate);
132 v8::Handle<v8::FunctionTemplate> privateTemplate(WrapperWorldType, void* privatePointer, v8::FunctionCallback = 0, v8::Handle<v8::Value> data = v8::Handle<v8::Value>(), v8::Handle<v8::Signature> = v8::Handle<v8::Signature>(), int length = 0);
133 v8::Handle<v8::FunctionTemplate> privateTemplateIfExists(WrapperWorldType, void* privatePointer);
134 void setPrivateTemplate(WrapperWorldType, void* privatePointer, v8::Handle<v8::FunctionTemplate>);
136 v8::Handle<v8::FunctionTemplate> rawTemplate(WrapperTypeInfo*, WrapperWorldType);
155 ScopedPersistent<v8::FunctionTemplate> m_toStringTemplate;
156 v8::Persistent<v8::FunctionTemplate> m_lazyEventListenerToStringTemplat
[all...]
H A DV8PerIsolateData.cpp88 v8::Handle<v8::FunctionTemplate> V8PerIsolateData::toStringTemplate()
91 m_toStringTemplate.set(m_isolate, v8::FunctionTemplate::New(constructorOfToString));
95 v8::Handle<v8::FunctionTemplate> V8PerIsolateData::privateTemplate(WrapperWorldType currentWorldType, void* privatePointer, v8::FunctionCallback callback, v8::Handle<v8::Value> data, v8::Handle<v8::Signature> signature, int length)
101 v8::Local<v8::FunctionTemplate> templ = v8::FunctionTemplate::New(callback, data, signature, length);
102 templates.add(privatePointer, UnsafePersistent<v8::FunctionTemplate>(m_isolate, templ));
106 v8::Handle<v8::FunctionTemplate> V8PerIsolateData::privateTemplateIfExists(WrapperWorldType currentWorldType, void* privatePointer)
112 return v8::Local<v8::FunctionTemplate>();
115 void V8PerIsolateData::setPrivateTemplate(WrapperWorldType currentWorldType, void* privatePointer, v8::Handle<v8::FunctionTemplate> templ)
117 templateMap(currentWorldType).add(privatePointer, UnsafePersistent<v8::FunctionTemplate>(m_isolat
[all...]
H A DDateExtension.h46 virtual v8::Handle<v8::FunctionTemplate> GetNativeFunction(v8::Handle<v8::String>);
H A DDateExtension.cpp96 v8::Handle<v8::FunctionTemplate> DateExtension::GetNativeFunction(v8::Handle<v8::String> name)
99 return v8::FunctionTemplate::New(Setup);
101 return v8::FunctionTemplate::New(OnSleepDetected);
103 return v8::Handle<v8::FunctionTemplate>();
H A DV8DOMConfiguration.h91 // constants. It sets the constant on both the FunctionTemplate and the
98 static void batchConfigureConstants(v8::Handle<v8::FunctionTemplate>, v8::Handle<v8::ObjectTemplate>, const BatchedConstant*, size_t constantCount, v8::Isolate*);
110 static v8::Local<v8::Signature> configureTemplate(v8::Handle<v8::FunctionTemplate>, const char* interfaceName, v8::Handle<v8::FunctionTemplate> parentClass, size_t fieldCount, const BatchedAttribute*, size_t attributeCount, const BatchedMethod*, size_t callbackCount, v8::Isolate*, WrapperWorldType);
/external/chromium_org/v8/src/extensions/
H A Dgc-extension.cc35 v8::Handle<v8::FunctionTemplate> GCExtension::GetNativeFunction(
37 return v8::FunctionTemplate::New(GCExtension::GC);
H A Dgc-extension.h39 virtual v8::Handle<v8::FunctionTemplate> GetNativeFunction(
H A Dstatistics-extension.h39 virtual v8::Handle<v8::FunctionTemplate> GetNativeFunction(
H A Dexternalize-string-extension.h39 virtual v8::Handle<v8::FunctionTemplate> GetNativeFunction(
/external/chromium_org/third_party/WebKit/Source/bindings/tests/results/
H A DV8TestNamedConstructor.cpp106 v8::Handle<v8::FunctionTemplate> V8TestNamedConstructorConstructor::GetTemplate(v8::Isolate* isolate, WrapperWorldType currentWorldType)
111 v8::Handle<v8::FunctionTemplate> result = data->privateTemplateIfExists(currentWorldType, &privateTemplateUniqueKey);
117 result = v8::FunctionTemplate::New(V8TestNamedConstructorConstructorCallback);
128 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestNamedConstructorTemplate(v8::Handle<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldType currentWorldType)
133 defaultSignature = V8DOMConfiguration::configureTemplate(desc, "TestNamedConstructor", v8::Local<v8::FunctionTemplate>(), V8TestNamedConstructor::internalFieldCount,
143 v8::Handle<v8::FunctionTemplate> V8TestNamedConstructor::GetTemplate(v8::Isolate* isolate, WrapperWorldType currentWorldType)
152 v8::Handle<v8::FunctionTemplate> templ =
154 data->templateMap(currentWorldType).add(&info, UnsafePersistent<v8::FunctionTemplate>(isolate, templ));
H A DV8TestEvent.cpp66 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestEventTemplate(v8::Handle<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldType currentWorldType)
81 v8::Handle<v8::FunctionTemplate> V8TestEvent::GetTemplate(v8::Isolate* isolate, WrapperWorldType currentWorldType)
90 v8::Handle<v8::FunctionTemplate> templ =
92 data->templateMap(currentWorldType).add(&info, UnsafePersistent<v8::FunctionTemplate>(isolate, templ));
/external/chromium_org/v8/test/cctest/
H A Dtest-log-stack-tracer.cc96 virtual v8::Handle<v8::FunctionTemplate> GetNativeFunction(
114 v8::Handle<v8::FunctionTemplate> TraceExtension::GetNativeFunction(
117 return v8::FunctionTemplate::New(TraceExtension::Trace);
119 return v8::FunctionTemplate::New(TraceExtension::JSTrace);
121 return v8::FunctionTemplate::New(TraceExtension::JSEntrySP);
123 return v8::FunctionTemplate::New(TraceExtension::JSEntrySPLevel2);
126 return v8::Handle<v8::FunctionTemplate>();
229 Local<v8::FunctionTemplate> constructor_template =
230 v8::FunctionTemplate::New(construct_call);
/external/v8/test/cctest/
H A Dtest-log-stack-tracer.cc97 virtual v8::Handle<v8::FunctionTemplate> GetNativeFunction(
115 v8::Handle<v8::FunctionTemplate> TraceExtension::GetNativeFunction(
118 return v8::FunctionTemplate::New(TraceExtension::Trace);
120 return v8::FunctionTemplate::New(TraceExtension::JSTrace);
122 return v8::FunctionTemplate::New(TraceExtension::JSEntrySP);
124 return v8::FunctionTemplate::New(TraceExtension::JSEntrySPLevel2);
127 return v8::Handle<v8::FunctionTemplate>();
243 Local<v8::FunctionTemplate> constructor_template =
244 v8::FunctionTemplate::New(construct_call);

Completed in 261 milliseconds

123456