/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/ |
V8EventCustom.cpp | 56 return wrap(static_cast<interfaceName*>(event), creationContext, isolate); 58 v8::Handle<v8::Object> wrap(Event* event, v8::Handle<v8::Object> creationContext, v8::Isolate *isolate) 66 return V8Event::createWrapper(event, creationContext, isolate); 71 return V8Event::createWrapper(event, creationContext, isolate);
|
V8InjectedScriptHostCustom.cpp | 78 v8::Isolate* isolate = scriptState->isolate(); local 79 ExceptionState exceptionState(ExceptionState::ExecutionContext, "nodeAsScriptValue", "InjectedScriptHost", scriptState->context()->Global(), isolate); 80 if (!BindingSecurity::shouldAllowAccessToNode(isolate, node, exceptionState)) 81 return ScriptValue(scriptState, v8::Null(isolate)); 82 return ScriptValue(scriptState, toV8(node, scriptState->context()->Global(), isolate)); 128 v8::Isolate* isolate = info.GetIsolate(); 132 v8SetReturnValue(info, v8AtomicString(isolate, "string")) 320 v8::Isolate* isolate = info.GetIsolate(); local [all...] |
V8CustomSQLStatementErrorCallback.cpp | 47 v8::Isolate* isolate = m_scriptState->isolate(); 53 v8::Handle<v8::Value> transactionHandle = toV8(transaction, m_scriptState->context()->Global(), isolate); 54 v8::Handle<v8::Value> errorHandle = toV8(error, m_scriptState->context()->Global(), isolate); 71 v8::Handle<v8::Value> result = ScriptController::callFunction(executionContext(), m_callback.newLocal(isolate), m_scriptState->context()->Global(), WTF_ARRAY_LENGTH(argv), argv, isolate);
|
/external/chromium_org/v8/src/extensions/ |
trigger-failure-extension.cc | 20 v8::Isolate* isolate, 24 isolate, 28 isolate, 33 isolate,
|
gc-extension.cc | 13 v8::Isolate* isolate, 15 return v8::FunctionTemplate::New(isolate, GCExtension::GC); 21 args[0]->BooleanValue() ? v8::Isolate::kMinorGarbageCollection 22 : v8::Isolate::kFullGarbageCollection);
|
/external/chromium_org/v8/src/ |
interpreter-irregexp.h | 16 static RegExpImpl::IrregexpResult Match(Isolate* isolate,
|
/external/pdfium/fpdfsdk/include/javascript/ |
JS_Value.h | 16 CJS_Value(v8::Isolate* isolate);
17 CJS_Value(v8::Isolate* isolate, v8::Handle<v8::Value> pValue,FXJSVALUETYPE t);
18 CJS_Value(v8::Isolate* isolate, const int &iValue);
19 CJS_Value(v8::Isolate* isolate, const double &dValue);
20 CJS_Value(v8::Isolate* isolate, const float &fValue); [all...] |
/external/chromium_org/gin/modules/ |
module_registry.h | 45 static void RegisterGlobals(v8::Isolate* isolate, 50 static void InstallGlobals(v8::Isolate* isolate, v8::Handle<v8::Object> obj); 56 void AddBuiltinModule(v8::Isolate* isolate, const std::string& id, 60 void AddPendingModule(v8::Isolate* isolate, 63 void LoadModule(v8::Isolate* isolate, [all...] |
timer.h | 29 static Handle<Timer> Create(TimerType type, v8::Isolate* isolate, 33 v8::Isolate* isolate) OVERRIDE; 36 Timer(v8::Isolate* isolate, bool repeating, int delay_ms, 51 static Handle<TimerModule> Create(v8::Isolate* isolate); 52 static v8::Local<v8::Value> GetModule(v8::Isolate* isolate); [all...] |
/external/chromium_org/gin/ |
shell_runner.cc | 15 using v8::Isolate; 30 v8::Isolate* isolate) { 48 ShellRunner::ShellRunner(ShellRunnerDelegate* delegate, Isolate* isolate) 50 v8::Isolate::Scope isolate_scope(isolate); 51 HandleScope handle_scope(isolate); 53 Context::New(isolate, NULL, delegate_->GetGlobalTemplate(this, isolate)); 69 v8::Isolate* isolate = GetContextHolder()->isolate(); local [all...] |
wrappable.cc | 21 v8::Isolate* isolate) { 22 return ObjectTemplateBuilder(isolate); 32 v8::Handle<v8::Object> WrappableBase::GetWrapperImpl(v8::Isolate* isolate, 35 return v8::Local<v8::Object>::New(isolate, wrapper_); 38 PerIsolateData* data = PerIsolateData::From(isolate); 41 templ = GetObjectTemplateBuilder(isolate).Build(); 57 wrapper_.Reset(isolate, wrapper); 64 void* FromV8Impl(v8::Isolate* isolate, v8::Handle<v8::Value> val [all...] |
dictionary.h | 27 explicit Dictionary(v8::Isolate* isolate); 28 Dictionary(v8::Isolate* isolate, v8::Handle<v8::Object> object); 31 static Dictionary CreateEmpty(v8::Isolate* isolate); 44 v8::Isolate* isolate() const { return isolate_; } function in class:gin::Dictionary 50 v8::Isolate* isolate_; 56 static v8::Handle<v8::Value> ToV8(v8::Isolate* isolate [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/v8/ |
V8DOMWrapper.cpp | 44 static v8::Local<v8::Object> wrapInShadowTemplate(v8::Local<v8::Object> wrapper, Node* impl, v8::Isolate* isolate) 47 V8PerIsolateData* data = V8PerIsolateData::from(isolate); 50 shadowTemplate = v8::FunctionTemplate::New(isolate); 53 shadowTemplate->SetClassName(v8AtomicString(isolate, "HTMLDocument")); 54 shadowTemplate->Inherit(V8HTMLDocument::domTemplate(isolate)); 63 v8::Local<v8::Object> shadow = V8ScriptRunner::instantiateObject(isolate, shadowConstructor); 71 v8::Local<v8::Object> V8DOMWrapper::createWrapper(v8::Handle<v8::Object> creationContext, const WrapperTypeInfo* type, void* impl, v8::Isolate* isolate) 73 V8WrapperInstantiationScope scope(creationContext, isolate); [all...] |
V8Binding.h | 67 v8::Handle<v8::Value> throwError(V8ErrorType, const String&, v8::Isolate*); 70 v8::Handle<v8::Value> throwError(v8::Handle<v8::Value>, v8::Isolate*); 73 v8::Handle<v8::Value> throwTypeError(const String&, v8::Isolate*); 76 void throwArityTypeErrorForMethod(const char* method, const char* type, const char* valid, unsigned provided, v8::Isolate*); 77 void throwArityTypeErrorForConstructor(const char* type, const char* valid, unsigned provided, v8::Isolate*); 79 void throwMinimumArityTypeErrorForMethod(const char* method, const char* type, unsigned expected, unsigned providedLeastNumMandatoryParams, v8::Isolate*); 80 void throwMinimumArityTypeErrorForConstructor(const char* type, unsigned expected, unsigned providedLeastNumMandatoryParams, v8::Isolate*); 133 inline void v8SetReturnValueString(const CallbackInfo& info, const String& string, v8::Isolate* isolate) 139 V8PerIsolateData::from(isolate)->stringCache()->setReturnValueFromString(info.GetReturnValue(), string.impl()) 637 throwTypeError(ExceptionMessages::notAnArrayTypeArgumentOrValue(argumentIndex), isolate); local 654 throwTypeError(ExceptionMessages::notASequenceTypeProperty(propertyName), isolate); local 671 throwTypeError(ExceptionMessages::notAnArrayTypeArgumentOrValue(argumentIndex), isolate); local 703 throwTypeError(ExceptionMessages::notAnArrayTypeArgumentOrValue(argumentIndex), isolate); local [all...] |
ScopedPersistent.h | 45 ScopedPersistent(v8::Isolate* isolate, v8::Handle<T> handle) 46 : m_handle(isolate, handle) 55 ALWAYS_INLINE v8::Local<T> newLocal(v8::Isolate* isolate) const 57 return v8::Local<T>::New(isolate, m_handle); 69 void set(v8::Isolate* isolate, v8::Handle<T> handle) 71 m_handle.Reset(isolate, handle);
|
/external/chromium_org/chrome/renderer/searchbox/ |
searchbox_extension.cc | 66 v8::Handle<v8::String> UTF16ToV8String(v8::Isolate* isolate, 68 return v8::String::NewFromTwoByte(isolate, 75 v8::Handle<v8::String> UTF8ToV8String(v8::Isolate* isolate, 78 isolate, s.data(), v8::String::kNormalString, s.size()); 87 v8::Isolate* isolate, 91 isolate, 101 v8::Isolate* isolate 680 v8::Isolate* isolate = args.GetIsolate(); local 696 v8::Isolate* isolate = args.GetIsolate(); local 727 v8::Isolate* isolate = args.GetIsolate(); local 739 v8::Isolate* isolate = args.GetIsolate(); local 766 v8::Isolate* isolate = args.GetIsolate(); local 784 v8::Isolate* isolate = args.GetIsolate(); local [all...] |
/external/chromium_org/extensions/renderer/ |
binding_generating_native_handler.cc | 18 v8::Isolate* isolate = module_system_->GetIsolate(); local 19 v8::EscapableHandleScope scope(isolate); 23 binding_module->Get(v8::String::NewFromUtf8(isolate, "Binding")) 26 binding->Get(v8::String::NewFromUtf8(isolate, "create")) 29 v8::String::NewFromUtf8(isolate, api_name_.c_str())}; 33 binding_instance->Get(v8::String::NewFromUtf8(isolate, "generate")) 35 v8::Local<v8::Object> object = v8::Object::New(isolate); 39 object->Set(v8::String::NewFromUtf8(isolate, bind_to_.c_str()),
|
v8_context_native_handler.cc | 30 v8::Isolate* isolate = args.GetIsolate(); local 34 v8::Handle<v8::Object> ret = v8::Object::New(isolate); 35 ret->Set(v8::String::NewFromUtf8(isolate, "is_available"), 36 v8::Boolean::New(isolate, availability.is_available())); 37 ret->Set(v8::String::NewFromUtf8(isolate, "message"), 38 v8::String::NewFromUtf8(isolate, availability.message().c_str())); 39 ret->Set(v8::String::NewFromUtf8(isolate, "result"), 40 v8::Integer::New(isolate, availability.result()));
|
/external/chromium_org/gin/public/ |
isolate_holder.h | 18 // v8::Isolate in which you will execute JavaScript. You might wish to subclass 19 // IsolateHolder if you want to tie more state to the lifetime of the isolate. 23 // not take an v8::Isolate parameter, otherwise, the gin-embedder needs to 36 IsolateHolder(v8::Isolate* isolate, v8::ArrayBuffer::Allocator* allocator); 40 v8::Isolate* isolate() { return isolate_; } function in class:gin::IsolateHolder 46 v8::Isolate* isolate_;
|
/external/chromium_org/mojo/bindings/js/ |
handle.h | 21 static gin::Handle<HandleWrapper> Create(v8::Isolate* isolate, 23 return gin::CreateHandle(isolate, new HandleWrapper(handle)); 42 static v8::Handle<v8::Value> ToV8(v8::Isolate* isolate, 44 static bool FromV8(v8::Isolate* isolate, v8::Handle<v8::Value> val, 53 v8::Isolate* isolate, const gin::Handle<gin::HandleWrapper>& val) { 57 static bool FromV8(v8::Isolate* isolate, v8::Handle<v8::Value> val [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/tests/results/ |
V8TestInterfaceConstructor2.cpp | 50 v8::Isolate* isolate = info.GetIsolate(); local 58 V8DOMWrapper::associateObjectWithWrapper<V8TestInterfaceConstructor2>(impl.release(), &V8TestInterfaceConstructor2::wrapperTypeInfo, wrapper, isolate, WrapperConfiguration::Independent); 64 v8::Isolate* isolate = info.GetIsolate(); local 78 V8DOMWrapper::associateObjectWithWrapper<V8TestInterfaceConstructor2>(impl.release(), &V8TestInterfaceConstructor2::wrapperTypeInfo, wrapper, isolate, WrapperConfiguration::Independent); 84 v8::Isolate* isolate = info.GetIsolate(); local 85 ExceptionState exceptionState(ExceptionState::ConstructionContext, "TestInterfaceConstructor2", info.Holder(), isolate); 108 V8DOMWrapper::associateObjectWithWrapper<V8TestInterfaceConstructor2>(impl.release(), &V8TestInterfaceConstructor2::wrapperTypeInfo, wrapper, isolate, WrapperConfiguration::Independent) 123 v8::Isolate* isolate = info.GetIsolate(); local [all...] |
V8TestInterfaceConstructor3.cpp | 48 v8::Isolate* isolate = info.GetIsolate(); local 60 V8DOMWrapper::associateObjectWithWrapper<V8TestInterfaceConstructor3>(impl.release(), &V8TestInterfaceConstructor3::wrapperTypeInfo, wrapper, isolate, WrapperConfiguration::Independent); 82 static void configureV8TestInterfaceConstructor3Template(v8::Handle<v8::FunctionTemplate> functionTemplate, v8::Isolate* isolate) 91 isolate); 98 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData::from(isolate)->toStringTemplate()); 101 v8::Handle<v8::FunctionTemplate> V8TestInterfaceConstructor3::domTemplate(v8::Isolate* isolate) [all...] |
V8TestInterfaceDocument.cpp | 50 static void configureV8TestInterfaceDocumentTemplate(v8::Handle<v8::FunctionTemplate> functionTemplate, v8::Isolate* isolate) 55 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(functionTemplate, "TestInterfaceDocument", V8Document::domTemplate(isolate), V8TestInterfaceDocument::internalFieldCount, 59 isolate); 64 functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData::from(isolate)->toStringTemplate()); 67 v8::Handle<v8::FunctionTemplate> V8TestInterfaceDocument::domTemplate(v8::Isolate* isolate) 69 return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeInfo*>(&wrapperTypeInfo), configureV8TestInterfaceDocumentTemplate); 72 bool V8TestInterfaceDocument::hasInstance(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate [all...] |
/external/chromium_org/v8/samples/ |
lineprocessor.cc | 80 void ReportException(v8::Isolate* isolate, v8::TryCatch* handler); 81 v8::Handle<v8::String> ReadFile(v8::Isolate* isolate, const char* name); 95 v8::Isolate* isolate = v8::Isolate::New(); local 96 v8::Isolate::Scope isolate_scope(isolate); 97 v8::HandleScope handle_scope(isolate); 206 v8::Isolate* isolate = context->GetIsolate(); local 366 v8::Isolate* isolate = v8::Isolate::GetCurrent(); local [all...] |
/external/chromium_org/v8/test/cctest/ |
test-mementos.cc | 34 Isolate* isolate = CcTest::i_isolate(); local 35 Heap* heap = isolate->heap(); 43 isolate->factory()->NewRawOneByteString(12).ToHandleChecked(); 59 v8::HandleScope scope(CcTest::isolate()); 74 v8::HandleScope scope(CcTest::isolate()); 88 v8::HandleScope scope(CcTest::isolate()); 89 Isolate* isolate = CcTest::i_isolate(); local 90 Heap* heap = isolate->heap() [all...] |