| /external/chromium_org/v8/test/cctest/ |
| test-global-object.cc | 38 v8::Local<v8::String> var_name = v8_str("x"); 41 v8::Local<v8::Script> script = v8_compile("\"use strict\"; x = 42;");
|
| test-platform.cc | 92 v8::Local<v8::Object> global_object = env->Global(); 93 v8::Local<v8::Function> foo = 94 v8::Local<v8::Function>::Cast(global_object->Get(v8_str("foo"))); 96 v8::Local<v8::Value> result = foo->Call(global_object, 0, NULL);
|
| cctest.h | 128 static v8::Local<v8::Object> global() { 147 static v8::Local<v8::Context> NewContext( 280 v8::Local<v8::Context>::New(isolate_, context_)->Exit(); 290 v8::Local<v8::Context> local() { function in class:LocalContext 291 return v8::Local<v8::Context>::New(isolate_, context_); 300 v8::Local<v8::Context> context = v8::Context::New(isolate, 323 static inline v8::Local<v8::Value> v8_num(double x) { 328 static inline v8::Local<v8::String> v8_str(const char* x) { 333 static inline v8::Local<v8::Script> v8_compile(const char* x) [all...] |
| test-api.cc | 65 using ::v8::Local; 92 v8::Local<v8::String> profile_name = 103 static Local<Value> signature_expected_receiver; 150 Local<Context> local_env; 153 local_env = env.local(); 156 // Local context should still be live. 165 Local<Script> script = v8_compile(source); 187 static void TestSignature(const char* loop_js, Local<Value> receiver) { 218 isolate, IncrementingSignatureCallback, Local<Value>(), sig); 233 Local<Value> fun_instance = fun->InstanceTemplate()->NewInstance() 3629 v8::Local<String> local = v8::Local<String>::New(isolate, v8_str("str")); local 3679 v8::Local<String> local = local 14384 v8::Local<v8::ObjectTemplate> local = v8::ObjectTemplate::New(isolate); local [all...] |
| test-accessors.cc | 40 using ::v8::Local; 46 static void handle_property(Local<String> name, 52 static void handle_property_2(Local<String> name, 70 Local<v8::FunctionTemplate> fun_templ = v8::FunctionTemplate::New(isolate); 72 Local<v8::FunctionTemplate> getter_templ = 80 Local<Function> fun = fun_templ->GetFunction(); 82 Local<Script> getter; 83 Local<Script> setter; 101 static void GetIntValue(Local<String> property, 110 static void SetIntValue(Local<String> property [all...] |
| /external/chromium_org/v8/test/mjsunit/harmony/ |
| generators-debug-scopes.js | 99 if (scopes[i] == debug.ScopeType.Local || 129 // 'arguments' and might be exposed in the local and closure scope. Just 161 if (scope.scopeType() == debug.ScopeType.Local || 175 // Simple empty local scope. 176 RunTest("Local 1", 180 CheckScopeChain([debug.ScopeType.Local, 185 // Local scope with a parameter. 186 RunTest("Local 2", 190 CheckScopeChain([debug.ScopeType.Local, 195 // Local scope with a parameter and a local variable [all...] |
| /external/chromium_org/chrome/renderer/extensions/ |
| automation_internal_custom_bindings.cc | 21 v8::Local<v8::Object> ToEnumObject(v8::Isolate* isolate, 24 v8::Local<v8::Object> object = v8::Object::New(isolate); 26 v8::Local<v8::String> value = v8::String::NewFromUtf8( 64 v8::Local<v8::Object> additions = v8::Object::New(GetIsolate());
|
| /external/chromium_org/extensions/renderer/ |
| scoped_persistent.h | 37 return v8::Local<T>(); 38 return v8::Local<T>::New(GetIsolate(handle_), handle_); 43 return v8::Local<T>(); 44 return v8::Local<T>::New(isolate, handle_);
|
| /external/chromium_org/gin/ |
| per_isolate_data.h | 39 v8::Local<v8::ObjectTemplate> object_template); 41 v8::Local<v8::FunctionTemplate> function_template); 47 v8::Local<v8::ObjectTemplate> GetObjectTemplate(WrapperInfo* info); 48 v8::Local<v8::FunctionTemplate> GetFunctionTemplate(WrapperInfo* info);
|
| interceptor_unittest.cc | 33 virtual v8::Local<v8::Value> GetNamedProperty(v8::Isolate* isolate, 43 return v8::Local<v8::Value>(); 48 v8::Local<v8::Value> value) OVERRIDE { 62 virtual v8::Local<v8::Value> GetIndexedProperty(v8::Isolate* isolate, 66 return v8::Local<v8::Value>(); 70 v8::Local<v8::Value> value) OVERRIDE {
|
| object_template_builder.h | 31 v8::Local<v8::ObjectTemplate> tmpl, 45 v8::Local<v8::ObjectTemplate> tmpl, 64 v8::Local<v8::ObjectTemplate> tmpl, 113 v8::Local<v8::FunctionTemplate>()); 130 v8::Local<v8::ObjectTemplate> Build(); 142 v8::Local<v8::ObjectTemplate> template_;
|
| /external/chromium_org/third_party/WebKit/Source/bindings/v8/ |
| V8EventListenerList.cpp | 40 PassRefPtr<EventListener> V8EventListenerList::getEventListener(ScriptState* scriptState, v8::Local<v8::Value> value, bool isAttribute, ListenerLookupType lookup)
|
| V8HiddenValue.cpp | 25 v8::Local<v8::Value> V8HiddenValue::getHiddenValue(v8::Isolate* isolate, v8::Handle<v8::Object> object, v8::Handle<v8::String> key) 40 v8::Local<v8::Value> V8HiddenValue::getHiddenValueFromMainWorldWrapper(v8::Isolate* isolate, ScriptWrappable* wrappable, v8::Handle<v8::String> key) 42 v8::Local<v8::Object> wrapper = wrappable->newLocalWrapper(isolate); 43 return wrapper.IsEmpty() ? v8::Local<v8::Value>() : getHiddenValue(isolate, wrapper, key);
|
| V8Callback.h | 44 bool invokeCallback(ScriptState*, v8::Local<v8::Function> callback, int argc, v8::Handle<v8::Value> argv[]); 45 bool invokeCallback(ScriptState*, v8::Local<v8::Function> callback, v8::Handle<v8::Value> thisValue, int argc, v8::Handle<v8::Value> argv[]); 57 PassOwnPtr<V8CallbackType> createFunctionOnlyCallback(v8::Local<v8::Value> value, unsigned index, bool& succeeded, v8::Isolate* isolate, ExceptionState& exceptionState, CallbackAllowedValueFlags acceptedValues = 0)
|
| V8ObjectConstructor.h | 78 static v8::Local<v8::Object> newInstance(v8::Isolate*, v8::Handle<v8::Function>); 79 static v8::Local<v8::Object> newInstance(v8::Isolate*, v8::Handle<v8::Function>, int, v8::Handle<v8::Value> argv[]); 80 static v8::Local<v8::Object> newInstanceInDocument(v8::Isolate*, v8::Handle<v8::Function>, int, v8::Handle<v8::Value> argv[], Document*);
|
| V8ValueCache.cpp | 57 static v8::Local<v8::String> makeExternalString(const String& string, v8::Isolate* isolate) 61 v8::Local<v8::String> newString = v8::String::NewExternal(isolate, stringResource); 68 v8::Local<v8::String> newString = v8::String::NewExternal(isolate, stringResource); 107 v8::Local<v8::String> StringCache::createStringAndInsertIntoCache(StringImpl* stringImpl, v8::Isolate* isolate) 112 v8::Local<v8::String> newString = makeExternalString(String(stringImpl), isolate);
|
| V8NPObject.cpp | 174 static WeakCallbackDataType* WeakCallbackParameter(MapType* map, PrivateIdentifier* key, const v8::Local<v8::FunctionTemplate>& value) 200 v8::Local<v8::FunctionTemplate> get(PrivateIdentifier* key) 235 static v8::Handle<v8::Value> npObjectGetProperty(v8::Local<v8::Object> self, NPIdentifier identifier, v8::Local<v8::Value> key, v8::Isolate* isolate) 270 v8::Local<v8::FunctionTemplate> functionTemplate = V8NPTemplateMap::sharedInstance(isolate).get(id); 278 v8::Local<v8::Function> v8Function = functionTemplate->GetFunction(); 286 void npObjectNamedPropertyGetter(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info) 298 void npObjectGetNamedProperty(v8::Local<v8::Object> self, v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info) 304 void npObjectGetIndexedProperty(v8::Local<v8::Object> self, uint32_t index, const v8::PropertyCallbackInfo<v8::Value>& info [all...] |
| /external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/ |
| V8BlobCustom.cpp | 50 length = v8::Local<v8::Array>::Cast(info[0])->Length(); 76 v8::Local<v8::Object> blobParts = v8::Local<v8::Object>::Cast(info[0]);
|
| /external/chromium_org/v8/include/ |
| v8-debug.h | 200 static Local<Value> Call(v8::Handle<v8::Function> fun, 206 static Local<Value> GetMirror(v8::Handle<v8::Value> obj); 247 static Local<Context> GetDebugContext();
|
| /external/chromium_org/third_party/WebKit/Source/bindings/tests/results/ |
| V8TestInterface.cpp | 63 static void testInterfaceAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) 70 static void testInterfaceAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) 84 static void testInterfaceAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) 98 static void doubleAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) 105 static void doubleAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) 119 static void doubleAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) 133 static void floatAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) 140 static void floatAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info [all...] |
| V8TestInterfaceCheckSecurity.cpp | 53 static void longAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) 67 static void doNotCheckSecurityLongAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) 74 static void doNotCheckSecurityLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) 83 static void doNotCheckSecurityLongAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) 97 static void doNotCheckSecurityReadonlyLongAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) 111 static void doNotCheckSecurityOnSetterLongAttributeAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) 118 static void doNotCheckSecurityOnSetterLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) 127 static void doNotCheckSecurityOnSetterLongAttributeAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info [all...] |
| V8TestInterface3.cpp | 53 static void indexedPropertySetterCallback(uint32_t index, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<v8::Value>& info) 67 static void namedPropertyGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info) 74 static void namedPropertySetterCallback(v8::Local<v8::String> name, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<v8::Value>& info) 81 static void namedPropertyQueryCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Integer>& info) 88 static void namedPropertyDeleterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Boolean>& info) 108 v8::Local<v8::Signature> defaultSignature; 109 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(functionTemplate, "TestInterface3", v8::Local<v8::FunctionTemplate>(), V8TestInterface3::internalFieldCount, 114 v8::Local<v8::ObjectTemplate> instanceTemplate ALLOW_UNUSED = functionTemplate->InstanceTemplate(); 115 v8::Local<v8::ObjectTemplate> prototypeTemplate ALLOW_UNUSED = functionTemplate->PrototypeTemplate() [all...] |
| V8TestSpecialOperations.cpp | 85 static void namedPropertyGetter(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info) 107 static void namedPropertyGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info) 114 static void namedPropertySetter(v8::Local<v8::String> name, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<v8::Value>& info) 125 static void namedPropertySetterCallback(v8::Local<v8::String> name, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<v8::Value>& info) 132 static void namedPropertyQuery(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Integer>& info) 146 static void namedPropertyQueryCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Integer>& info) 185 v8::Local<v8::Signature> defaultSignature; 186 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(functionTemplate, "TestSpecialOperations", v8::Local<v8::FunctionTemplate>(), V8TestSpecialOperations::internalFieldCount [all...] |
| /external/chromium_org/v8/src/ |
| api.h | 183 static Local<FunctionTemplate> ToFunctionTemplate(NeanderObject obj); 184 static Local<ObjectTemplate> ToObjectTemplate(NeanderObject obj); 186 static inline Local<Context> ToLocal( 188 static inline Local<Value> ToLocal( 190 static inline Local<Function> ToLocal( 192 static inline Local<String> ToLocal( 194 static inline Local<Symbol> ToLocal( 196 static inline Local<RegExp> ToLocal( 198 static inline Local<Object> ToLocal( 200 static inline Local<Array> ToLocal [all...] |
| /external/chromium_org/v8/samples/ |
| process.cc | 107 static void GetPath(Local<String> name, 109 static void GetReferrer(Local<String> name, 111 static void GetHost(Local<String> name, 113 static void GetUserAgent(Local<String> name, 117 static void MapGet(Local<String> name, 119 static void MapSet(Local<String> name, 120 Local<Value> value, 244 v8::Local<v8::Context> context = 245 v8::Local<v8::Context>::New(GetIsolate(), context_); 263 v8::Local<v8::Context> context [all...] |