Searched refs:Local (Results 76 - 100 of 367) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/WebKit/Source/bindings/v8/
H A DV8ValueCache.cpp35 static v8::Local<v8::String> makeExternalString(const String& string)
39 v8::Local<v8::String> newString = v8::String::NewExternal(stringResource);
46 v8::Local<v8::String> newString = v8::String::NewExternal(stringResource);
85 v8::Local<v8::String> StringCache::createStringAndInsertIntoCache(StringImpl* stringImpl, v8::Isolate* isolate)
90 v8::Local<v8::String> newString = makeExternalString(String(stringImpl));
H A DV8AbstractEventListener.cpp81 v8::Local<v8::Context> v8Context = toV8Context(context, world());
93 invokeEventHandler(context, event, v8::Local<v8::Value>::New(isolate, jsEvent));
102 void V8AbstractEventListener::invokeEventHandler(ScriptExecutionContext* context, Event* event, v8::Local<v8::Value> jsEvent)
108 v8::Local<v8::Context> v8Context = toV8Context(context, world());
114 v8::Local<v8::Value> returnValue;
126 v8::Local<v8::Value> savedEvent = v8Context->Global()->GetHiddenValue(eventSymbol);
167 bool V8AbstractEventListener::shouldPreventDefault(v8::Local<v8::Value> returnValue)
174 v8::Local<v8::Object> V8AbstractEventListener::getReceiverObject(ScriptExecutionContext* context, Event* event)
177 v8::Local<v8::Object> listener = m_listener.newLocal(isolate);
184 return v8::Local<v
[all...]
H A DV8DOMWrapper.cpp61 m_context = v8::Local<v8::Context>::New(contextForWrapper);
80 static v8::Local<v8::Object> wrapInShadowTemplate(v8::Local<v8::Object> wrapper, Node* impl, v8::Isolate* isolate)
90 return v8::Local<v8::Object>();
97 v8::Local<v8::Function> shadowConstructor = shadowTemplate->GetFunction();
99 return v8::Local<v8::Object>();
101 v8::Local<v8::Object> shadow = V8ScriptRunner::instantiateObject(shadowConstructor);
103 return v8::Local<v8::Object>();
109 v8::Local<v8::Object> V8DOMWrapper::createWrapper(v8::Handle<v8::Object> creationContext, WrapperTypeInfo* type, void* impl, v8::Isolate* isolate)
114 v8::Local<v
[all...]
H A DScriptController.h100 v8::Local<v8::Value> compileAndRunScript(const ScriptSourceCode&, AccessControlStatus = NotSharableCrossOrigin);
102 v8::Local<v8::Value> callFunction(v8::Handle<v8::Function>, v8::Handle<v8::Object>, int argc, v8::Handle<v8::Value> argv[]);
104 static v8::Local<v8::Value> callFunctionWithInstrumentation(ScriptExecutionContext*, v8::Handle<v8::Function>, v8::Handle<v8::Object> receiver, int argc, v8::Handle<v8::Value> args[]);
128 static v8::Local<v8::Context> mainWorldContext(Frame*);
129 v8::Local<v8::Context> mainWorldContext();
130 v8::Local<v8::Context> currentWorldContext();
H A DV8NPObject.cpp220 static v8::Handle<v8::Value> npObjectGetProperty(v8::Local<v8::Object> self, NPIdentifier identifier, v8::Local<v8::Value> key, v8::Isolate* isolate)
257 v8::Local<v8::Function> v8Function;
261 v8::Local<v8::FunctionTemplate> temp = v8::FunctionTemplate::New();
275 void npObjectNamedPropertyGetter(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
287 void npObjectGetNamedProperty(v8::Local<v8::Object> self, v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
293 void npObjectGetIndexedProperty(v8::Local<v8::Object> self, uint32_t index, const v8::PropertyCallbackInfo<v8::Value>& info)
299 void npObjectQueryProperty(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Integer>& info)
307 static v8::Handle<v8::Value> npObjectSetProperty(v8::Local<v
[all...]
H A DScriptState.h51 void setException(v8::Local<v8::Value> exception)
55 v8::Local<v8::Value> exception() { return m_exception.newLocal(m_isolate); }
58 v8::Local<v8::Context> context() const
H A DDOMRequestState.h62 v8::Local<v8::Context> context()
H A DDictionary.h59 Dictionary(const v8::Local<v8::Value>& options, v8::Isolate*);
97 bool get(const String&, v8::Local<v8::Value>&) const;
107 bool getKey(const String& key, v8::Local<v8::Value>&) const;
109 // This object can only be used safely when stack allocated because of v8::Local.
114 v8::Local<v8::Value> m_options;
H A DScriptInstance.h46 v8::Local<v8::Object> newLocal(v8::Isolate* isolate) { return m_instance.newLocal(isolate); }
H A DScriptState.cpp73 v8::Local<v8::Object> innerGlobal = v8::Local<v8::Object>::Cast(context->Global()->GetPrototype());
75 v8::Local<v8::Value> scriptStateWrapper = innerGlobal->GetHiddenValue(V8HiddenPropertyName::scriptState());
87 v8::Local<v8::Context> context = v8::Context::GetCurrent();
H A DV8EventListenerList.cpp40 PassRefPtr<EventListener> V8EventListenerList::getEventListener(v8::Local<v8::Value> value, bool isAttribute, ListenerLookupType lookup)
/external/chromium_org/v8/src/
H A Dapi.h201 static Local<FunctionTemplate> ToFunctionTemplate(NeanderObject obj);
202 static Local<ObjectTemplate> ToObjectTemplate(NeanderObject obj);
204 static inline Local<Context> ToLocal(
206 static inline Local<Value> ToLocal(
208 static inline Local<Function> ToLocal(
210 static inline Local<String> ToLocal(
212 static inline Local<Symbol> ToLocal(
214 static inline Local<RegExp> ToLocal(
216 static inline Local<Object> ToLocal(
218 static inline Local<Arra
[all...]
/external/chromium_org/third_party/WebKit/Source/bindings/tests/results/
H A DV8TestSerializedScriptValueInterface.cpp65 static void valueAttrGetter(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
72 static void valueAttrGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
79 static void valueAttrSetter(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info)
87 static void valueAttrSetterCallback(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info)
94 static void readonlyValueAttrGetter(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
101 static void readonlyValueAttrGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
108 static void cachedValueAttrGetter(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
124 static void cachedValueAttrGetterCallback(v8::Local<v
[all...]
H A DV8TestCustomAccessors.cpp91 static void indexedPropertySetterCallback(uint32_t index, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<v8::Value>& info)
105 static void namedPropertyGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
112 static void namedPropertySetterCallback(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<v8::Value>& info)
119 static void namedPropertyDeleterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Boolean>& info)
133 static void namedPropertyQueryCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Integer>& info)
150 v8::Local<v8::Signature> defaultSignature;
151 defaultSignature = V8DOMConfiguration::configureTemplate(desc, "TestCustomAccessors", v8::Local<v8::FunctionTemplate>(), V8TestCustomAccessors::internalFieldCount,
155 v8::Local<v8::ObjectTemplate> instance = desc->InstanceTemplate();
156 v8::Local<v
[all...]
H A DV8TestActiveDOMObject.cpp66 static void excitingAttrAttrGetter(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
73 static void excitingAttrAttrGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
80 bool indexedSecurityCheck(v8::Local<v8::Object> host, uint32_t index, v8::AccessType type, v8::Local<v8::Value>)
86 bool namedSecurityCheck(v8::Local<v8::Object> host, v8::Local<v8::Value> key, v8::AccessType type, v8::Local<v8::Value>)
134 static void postMessageAttrGetter(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
157 v8::Local<v8::Value> hiddenValue = info.This()->GetHiddenValue(name);
166 static void postMessageAttrGetterCallback(v8::Local<v
[all...]
/external/v8/test/cctest/
H A Dtest-api.cc61 using ::v8::Local;
77 Local<Value> result = CompileRun(code);
84 Local<Value> result = CompileRun(code);
90 Local<Value> result = CompileRun(code);
106 static void ExpectObject(const char* code, Local<Value> expected) {
107 Local<Value> result = CompileRun(code);
113 Local<Value> result = CompileRun(code);
142 Local<Context> local_env;
148 // Local context should still be live.
157 Local<Strin
7363 AccessControlNamedGetter( Local<String>, const AccessorInfo&) argument
7369 AccessControlNamedSetter( Local<String>, Local<Value> value, const AccessorInfo&) argument
[all...]
H A Dcctest.h187 v8::Local<v8::Context> local() {
188 return v8::Local<v8::Context>::New(context_);
196 static inline v8::Local<v8::Value> v8_num(double x) {
201 static inline v8::Local<v8::String> v8_str(const char* x) {
206 static inline v8::Local<v8::Script> v8_compile(const char* x) {
212 static inline v8::Local<v8::Value> CompileRun(const char* source) {
/external/chromium_org/net/proxy/
H A Dproxy_resolver_v8.cc158 v8::Local<v8::String> ASCIIStringToV8String(const std::string& s) {
165 v8::Local<v8::String> ScriptDataToV8String(
176 v8::Local<v8::String> ASCIILiteralToV8String(const char* ascii) {
192 v8::Local<v8::String> str_object = object->ToString();
357 v8::Local<v8::Context> context =
358 v8::Local<v8::Context>::New(isolate_, v8_context_);
361 v8::Local<v8::Value> function;
374 v8::Local<v8::Value> ret = v8::Function::Cast(*function)->Call(
411 v8::Local<v8::External> v8_this =
412 v8::Local<v
[all...]
/external/chromium_org/chrome/renderer/extensions/
H A Dextension_custom_bindings.cc81 v8::Local<v8::Array> v8_views = v8::Array::New();
84 v8::Local<v8::Context> context =
87 v8::Local<v8::Value> window = context->Global();
H A Dset_icon_natives.h28 bool ConvertImageDataToBitmapValue(const v8::Local<v8::Object> image_data,
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
H A DV8JavaScriptCallFrameCustom.cpp61 void V8JavaScriptCallFrame::scopeChainAttrGetterCustom(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
74 void V8JavaScriptCallFrame::thisObjectAttrGetterCustom(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
80 void V8JavaScriptCallFrame::typeAttrGetterCustom(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
H A DV8SQLTransactionSyncCustom.cpp65 v8::Local<v8::Object> sqlArgsObject = args[1]->ToObject();
66 V8TRYCATCH_VOID(v8::Local<v8::Value>, length, sqlArgsObject->Get(v8::String::New("length")));
75 V8TRYCATCH_VOID(v8::Local<v8::Value>, value, sqlArgsObject->Get(key));
H A DV8SVGLengthCustom.cpp42 void V8SVGLength::valueAttrGetterCustom(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
54 void V8SVGLength::valueAttrSetterCustom(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info)
/external/chromium_org/third_party/WebKit/Source/web/tests/
H A DCustomEventTest.cpp70 static PassRefPtr<TestListener> create(v8::Local<v8::Context> v8Context)
81 TestListener(v8::Local<v8::Context> v8Context)
87 v8::Local<v8::Context> m_v8Context;
/external/chromium_org/v8/test/cctest/
H A Dtest-api.cc66 using ::v8::Local;
92 v8::Local<v8::String> profile_name = v8::String::New("my_profile1");
102 Local<Value> result = CompileRun(code);
110 Local<Value> result = CompileRun(code);
117 Local<Value> result = CompileRun(code);
133 static void ExpectObject(const char* code, Local<Value> expected) {
134 Local<Value> result = CompileRun(code);
140 Local<Value> result = CompileRun(code);
170 Local<Context> local_env;
176 // Local contex
8946 AccessControlNamedGetter( Local<String>, const v8::PropertyCallbackInfo<v8::Value>& info) argument
8953 AccessControlNamedSetter( Local<String>, Local<Value> value, const v8::PropertyCallbackInfo<v8::Value>& info) argument
[all...]

Completed in 486 milliseconds

1234567891011>>