Searched refs:Local (Results 1 - 25 of 367) sorted by relevance

1234567891011>>

/external/chromium_org/chrome/renderer/extensions/
H A Dsafe_builtins.h31 v8::Local<v8::Object> GetArray() const;
32 v8::Local<v8::Object> GetFunction() const;
33 v8::Local<v8::Object> GetJSON() const;
36 v8::Local<v8::Object> GetObjekt() const;
37 v8::Local<v8::Object> GetRegExp() const;
38 v8::Local<v8::Object> GetString() const;
H A Dsafe_builtins.cc119 v8::Local<v8::String> MakeKey(const char* name) {
125 v8::Local<v8::Value> value,
126 v8::Local<v8::Context> context) {
131 v8::Local<v8::Object> Load(const char* name, v8::Handle<v8::Context> context) {
132 v8::Local<v8::Value> value =
135 return v8::Local<v8::Object>::New(value->ToObject());
160 v8::Local<v8::Function> function = info[0].As<v8::Function>();
161 v8::Local<v8::Object> recv;
171 v8::Local<v8::Object> args = info[2]->ToObject();
176 scoped_ptr<v8::Local<v
[all...]
/external/chromium_org/third_party/WebKit/Source/bindings/v8/
H A DV8EventListener.cpp40 V8EventListener::V8EventListener(v8::Local<v8::Object> listener, bool isAttribute)
46 v8::Local<v8::Function> V8EventListener::getListenerFunction(ScriptExecutionContext* context)
48 v8::Local<v8::Object> listener = getListenerObject(context);
52 return v8::Local<v8::Function>();
55 return v8::Local<v8::Function>::Cast(listener);
59 v8::Local<v8::Value> property = listener->Get(v8::String::NewSymbol("handleEvent"));
63 return v8::Local<v8::Function>::Cast(property);
66 return v8::Local<v8::Function>();
69 v8::Local<v8::Value> V8EventListener::callListenerFunction(ScriptExecutionContext* context, v8::Handle<v8::Value> jsEvent, Event* event)
72 v8::Local<v
[all...]
H A DV8NPObject.h41 void npObjectNamedPropertyGetter(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>&);
43 void npObjectGetNamedProperty(v8::Local<v8::Object> self, v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>&);
44 void npObjectGetIndexedProperty(v8::Local<v8::Object> self, uint32_t index, const v8::PropertyCallbackInfo<v8::Value>&);
47 void npObjectNamedPropertySetter(v8::Local<v8::String> name, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<v8::Value>&);
49 void npObjectSetNamedProperty(v8::Local<v8::Object> self, v8::Local<v8::String> name, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<v8::Value>&);
50 void npObjectSetIndexedProperty(v8::Local<v
[all...]
H A DV8ErrorHandler.h42 static PassRefPtr<V8ErrorHandler> create(v8::Local<v8::Object> listener, bool isInline)
48 V8ErrorHandler(v8::Local<v8::Object> listener, bool isInline);
50 virtual v8::Local<v8::Value> callListenerFunction(ScriptExecutionContext*, v8::Handle<v8::Value> jsEvent, Event*);
51 virtual bool shouldPreventDefault(v8::Local<v8::Value> returnValue);
H A DV8EventListener.h48 static PassRefPtr<V8EventListener> create(v8::Local<v8::Object> listener, bool isAttribute)
54 V8EventListener(v8::Local<v8::Object> listener, bool isAttribute);
56 v8::Local<v8::Function> getListenerFunction(ScriptExecutionContext*);
58 virtual v8::Local<v8::Value> callListenerFunction(ScriptExecutionContext*, v8::Handle<v8::Value> jsEvent, Event*);
H A DV8ObjectConstructor.cpp37 v8::Local<v8::Object> V8ObjectConstructor::newInstance(v8::Handle<v8::Function> function)
40 return v8::Local<v8::Object>();
45 v8::Local<v8::Object> V8ObjectConstructor::newInstance(v8::Handle<v8::ObjectTemplate> objectTemplate)
48 return v8::Local<v8::Object>();
53 v8::Local<v8::Object> V8ObjectConstructor::newInstance(v8::Handle<v8::Function> function, int argc, v8::Handle<v8::Value> argv[])
56 return v8::Local<v8::Object>();
61 v8::Local<v8::Object> V8ObjectConstructor::newInstanceInDocument(v8::Handle<v8::Function> function, int argc, v8::Handle<v8::Value> argv[], Document* document)
64 return v8::Local<v8::Object>();
H A DV8Utilities.cpp54 void createHiddenDependency(v8::Handle<v8::Object> object, v8::Local<v8::Value> value, int cacheIndex, v8::Isolate* isolate)
56 v8::Local<v8::Value> cache = object->GetInternalField(cacheIndex);
62 v8::Local<v8::Array> cacheArray = v8::Local<v8::Array>::Cast(cache);
66 bool extractTransferables(v8::Local<v8::Value> value, MessagePortArray& ports, ArrayBufferArray& arrayBuffers, v8::Isolate* isolate)
76 v8::Local<v8::Array> array = v8::Local<v8::Array>::Cast(value);
83 v8::Local<v8::Object> transferrables = v8::Local<v8::Object>::Cast(value);
87 v8::Local<v
[all...]
H A DV8ErrorHandler.cpp43 V8ErrorHandler::V8ErrorHandler(v8::Local<v8::Object> listener, bool isInline)
48 v8::Local<v8::Value> V8ErrorHandler::callListenerFunction(ScriptExecutionContext* context, v8::Handle<v8::Value> jsEvent, Event* event)
54 v8::Local<v8::Object> listener = getListenerObject(context);
56 v8::Local<v8::Value> returnValue;
58 v8::Local<v8::Function> callFunction = v8::Local<v8::Function>::Cast(listener);
59 v8::Local<v8::Object> thisValue = v8::Context::GetCurrent()->Global();
61 v8::Local<v8::Value> error = jsEvent->ToObject()->GetHiddenValue(V8HiddenPropertyName::error());
76 bool V8ErrorHandler::shouldPreventDefault(v8::Local<v8::Value> returnValue)
H A DV8WorkerGlobalScopeEventListener.h44 static PassRefPtr<V8WorkerGlobalScopeEventListener> create(v8::Local<v8::Object> listener, bool isInline)
52 V8WorkerGlobalScopeEventListener(v8::Local<v8::Object> listener, bool isInline);
55 virtual v8::Local<v8::Value> callListenerFunction(ScriptExecutionContext*, v8::Handle<v8::Value> jsEvent, Event*);
56 v8::Local<v8::Object> getReceiverObject(ScriptExecutionContext*, Event*);
H A DV8WorkerGlobalScopeEventListener.cpp47 V8WorkerGlobalScopeEventListener::V8WorkerGlobalScopeEventListener(v8::Local<v8::Object> listener, bool isInline)
78 invokeEventHandler(context, event, v8::Local<v8::Value>::New(isolate, jsEvent));
81 v8::Local<v8::Value> V8WorkerGlobalScopeEventListener::callListenerFunction(ScriptExecutionContext* context, v8::Handle<v8::Value> jsEvent, Event* event)
83 v8::Local<v8::Function> handlerFunction = getListenerFunction(context);
84 v8::Local<v8::Object> receiver = getReceiverObject(context, event);
86 return v8::Local<v8::Value>();
101 v8::Local<v8::Value> result = V8ScriptRunner::callFunction(handlerFunction, context, receiver, WTF_ARRAY_LENGTH(parameters), parameters);
108 v8::Local<v8::Object> V8WorkerGlobalScopeEventListener::getReceiverObject(ScriptExecutionContext* context, Event* event)
110 v8::Local<v8::Object> listener = getListenerObject(context);
118 return v8::Local<v
[all...]
H A DScriptScope.h44 v8::Local<v8::Object> global() const { return m_context->Global(); }
48 v8::Local<v8::Context> m_context;
H A DV8ScriptRunner.cpp66 v8::Local<v8::Script> V8ScriptRunner::compileScript(v8::Handle<v8::String> code, const String& fileName, const TextPosition& scriptStartPosition, v8::ScriptData* scriptData, v8::Isolate* isolate, AccessControlStatus corsStatus)
78 v8::Local<v8::Value> V8ScriptRunner::runCompiledScript(v8::Handle<v8::Script> script, ScriptExecutionContext* context)
83 return v8::Local<v8::Value>();
89 return v8::Local<v8::Value>();
92 v8::Local<v8::Value> result;
102 return v8::Local<v8::Value>();
108 v8::Local<v8::Value> V8ScriptRunner::compileAndRunInternalScript(v8::Handle<v8::String> source, v8::Isolate* isolate, const String& fileName, const TextPosition& scriptStartPosition, v8::ScriptData* scriptData)
114 return v8::Local<v8::Value>();
117 v8::Local<v8::Value> result = script->Run();
122 v8::Local<v
[all...]
H A DV8ScriptRunner.h45 static v8::Local<v8::Script> compileScript(v8::Handle<v8::String>, const String&, const TextPosition&, v8::ScriptData*, v8::Isolate*, AccessControlStatus = SharableCrossOrigin);
46 static v8::Local<v8::Value> runCompiledScript(v8::Handle<v8::Script>, ScriptExecutionContext*);
47 static v8::Local<v8::Value> compileAndRunInternalScript(v8::Handle<v8::String>, v8::Isolate*, const String& = String(), const TextPosition& = TextPosition(), v8::ScriptData* = 0);
48 static v8::Local<v8::Value> callInternalFunction(v8::Handle<v8::Function>, v8::Handle<v8::Object>, int argc, v8::Handle<v8::Value> args[], v8::Isolate*);
49 static v8::Local<v8::Value> callFunction(v8::Handle<v8::Function>, ScriptExecutionContext*, v8::Handle<v8::Object> receiver, int argc, v8::Handle<v8::Value> args[]);
50 static v8::Local<v8::Value> callAsFunction(v8::Handle<v8::Object>, v8::Handle<v8::Object> receiver, int argc, v8::Handle<v8::Value> args[]);
51 static v8::Local<v8::Value> callAsConstructor(v8::Handle<v8::Object>, int argc, v8::Handle<v8::Value> args[]);
52 static v8::Local<v8::Object> instantiateObject(v8::Handle<v8::ObjectTemplate>);
53 static v8::Local<v8::Object> instantiateObject(v8::Handle<v8::Function>, int argc = 0, v8::Handle<v8::Value> argv[] = 0);
54 static v8::Local<v
[all...]
H A DDictionary.cpp66 Dictionary::Dictionary(const v8::Local<v8::Value>& options, v8::Isolate* isolate)
96 bool Dictionary::getKey(const String& key, v8::Local<v8::Value>& value) const
100 v8::Local<v8::Object> options = m_options->ToObject();
114 bool Dictionary::get(const String& key, v8::Local<v8::Value>& value) const
121 v8::Local<v8::Value> v8Value;
125 v8::Local<v8::Boolean> v8Bool = v8Value->ToBoolean();
134 v8::Local<v8::Value> v8Value;
138 v8::Local<v8::Int32> v8Int32 = v8Value->ToInt32();
147 v8::Local<v8::Value> v8Value;
151 v8::Local<v
[all...]
/external/chromium_org/third_party/WebKit/Source/core/testing/v8/
H A DWebCoreTestSupport.h31 template <class T> class Local;
41 void injectInternalsObject(v8::Local<v8::Context>);
42 void resetInternalsObject(v8::Local<v8::Context>);
/external/clang/test/PCH/
H A Dcxx-local-templates.cpp9 struct Local { struct
14 return Local{}.foo(d);
19 struct Local { struct
24 return Local{}.foo(d);
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
H A DV8HTMLLinkElementCustom.cpp36 void V8HTMLLinkElement::sizesAttrSetterCustom(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info)
H A DV8HTMLFrameElementCustom.cpp43 void V8HTMLFrameElement::locationAttrSetterCustom(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info)
/external/chromium_org/third_party/WebKit/public/web/
H A DWebScriptBindings.h39 template <class T> class Local;
50 WEBKIT_EXPORT static v8::Local<v8::String> toV8String(const WebString&, v8::Isolate*);
/external/v8/test/cctest/
H A Dtest-decls.cc62 v8::Handle<Value> value = Local<Value>());
69 virtual v8::Handle<Value> Get(Local<String> key);
70 virtual v8::Handle<Value> Set(Local<String> key, Local<Value> value);
71 virtual v8::Handle<Integer> Query(Local<String> key);
77 virtual Local<ObjectTemplate> GetHolder(Local<FunctionTemplate> function) {
83 static v8::Handle<Value> HandleGet(Local<String> key,
85 static v8::Handle<Value> HandleSet(Local<String> key,
86 Local<Valu
[all...]
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebScriptBindings.cpp41 v8::Local<v8::String> WebScriptBindings::toV8String(const WebString& string, v8::Isolate* isolate)
/external/clang/test/CXX/class.access/class.friend/
H A Dp6.cpp21 struct Local { struct
/external/dexmaker/src/main/java/com/google/dexmaker/
H A DLocal.java24 public final class Local<T> { class
30 private Local(Code code, TypeId<T> type) { method in class:Local
35 static <T> Local<T> get(Code code, TypeId<T> type) {
36 return new Local<T>(code, type);
/external/chromium_org/v8/test/mjsunit/
H A Darguments-apply.js49 function Local() { function
54 assertEquals(0, Local().length);
55 assertEquals(1, Local(1).length);
56 assertEquals(2, Local(2)[0]);
57 assertEquals(2, Local(3, 4).length);
58 assertEquals(3, Local(3, 4)[0]);
59 assertEquals(4, Local(3, 4)[1]);

Completed in 1564 milliseconds

1234567891011>>