Searched refs:isolate (Results 1 - 25 of 1020) sorted by relevance

1234567891011>>

/external/chromium_org/v8/src/
H A Dassert-scope.cc12 uint32_t PerIsolateAssertBase::GetData(Isolate* isolate) { argument
13 return isolate->per_isolate_assert_data();
17 void PerIsolateAssertBase::SetData(Isolate* isolate, uint32_t data) { argument
18 isolate->set_per_isolate_assert_data(data);
H A Disolate-inl.h10 #include "src/isolate.h"
16 SaveContext::SaveContext(Isolate* isolate) argument
17 : isolate_(isolate),
18 prev_(isolate->save_context()) {
19 if (isolate->context() != NULL) {
20 context_ = Handle<Context>(isolate->context());
22 isolate->set_save_context(this);
24 c_entry_fp_ = isolate->c_entry_fp(isolate->thread_local_top());
H A Dd8-windows.cc11 void Shell::AddOSMethods(Isolate* isolate, Handle<ObjectTemplate> os_templ) { argument
H A Dtype-feedback-vector-inl.h13 Handle<Object> TypeFeedbackVector::UninitializedSentinel(Isolate* isolate) { argument
14 return isolate->factory()->uninitialized_symbol();
18 Handle<Object> TypeFeedbackVector::MegamorphicSentinel(Isolate* isolate) { argument
19 return isolate->factory()->megamorphic_symbol();
23 Handle<Object> TypeFeedbackVector::PremonomorphicSentinel(Isolate* isolate) { argument
24 return isolate->factory()->megamorphic_symbol();
28 Handle<Object> TypeFeedbackVector::GenericSentinel(Isolate* isolate) { argument
29 return isolate->factory()->generic_symbol();
34 Isolate* isolate, ElementsKind elements_kind) {
35 return Handle<Object>(Smi::FromInt(static_cast<int>(elements_kind)), isolate);
33 MonomorphicArraySentinel( Isolate* isolate, ElementsKind elements_kind) argument
[all...]
H A Dcode-factory.cc15 Callable CodeFactory::LoadIC(Isolate* isolate, ContextualMode mode) { argument
17 LoadIC::initialize_stub(isolate, LoadICState(mode).GetExtraICState()),
18 LoadDescriptor(isolate));
23 Callable CodeFactory::KeyedLoadIC(Isolate* isolate) { argument
24 return Callable(isolate->builtins()->KeyedLoadIC_Initialize(),
25 LoadDescriptor(isolate));
30 Callable CodeFactory::StoreIC(Isolate* isolate, StrictMode mode) { argument
31 return Callable(StoreIC::initialize_stub(isolate, mode),
32 StoreDescriptor(isolate));
37 Callable CodeFactory::KeyedStoreIC(Isolate* isolate, StrictMod argument
46 CompareIC(Isolate* isolate, Token::Value op) argument
53 BinaryOpIC(Isolate* isolate, Token::Value op, OverwriteMode mode) argument
61 ToBoolean(Isolate* isolate, ToBooleanStub::ResultMode mode, ToBooleanStub::Types types) argument
70 ToNumber(Isolate* isolate) argument
77 StringAdd(Isolate* isolate, StringAddFlags flags, PretenureFlag pretenure_flag) argument
85 CallFunction(Isolate* isolate, int argc, CallFunctionFlags flags) argument
[all...]
H A Darguments.cc16 v8::Handle<V> CustomArguments<T>::GetReturnValue(Isolate* isolate) { argument
26 Isolate* isolate = this->isolate(); local
27 VMState<EXTERNAL> state(isolate);
28 ExternalCallbackScope call_scope(isolate, FUNCTION_ADDR(f));
34 return GetReturnValue<v8::Value>(isolate);
40 Isolate* isolate = this->isolate(); \
41 VMState<EXTERNAL> state(isolate); \
42 ExternalCallbackScope call_scope(isolate, FUNCTION_ADD
[all...]
/external/chromium_org/gin/
H A Ddictionary.cc9 Dictionary::Dictionary(v8::Isolate* isolate) argument
10 : isolate_(isolate) {
13 Dictionary::Dictionary(v8::Isolate* isolate, argument
15 : isolate_(isolate),
22 Dictionary Dictionary::CreateEmpty(v8::Isolate* isolate) { argument
23 Dictionary dictionary(isolate);
24 dictionary.object_ = v8::Object::New(isolate);
28 v8::Handle<v8::Value> Converter<Dictionary>::ToV8(v8::Isolate* isolate, argument
33 bool Converter<Dictionary>::FromV8(v8::Isolate* isolate, argument
38 *out = Dictionary(isolate, v
[all...]
H A Dwrappable_unittest.cc34 static gin::Handle<MyObject> Create(v8::Isolate* isolate) { argument
35 return CreateHandle(isolate, new MyObject());
44 v8::Isolate* isolate) OVERRIDE;
53 static gin::Handle<MyObjectSubclass> Create(v8::Isolate* isolate) { argument
54 return CreateHandle(isolate, new MyObjectSubclass());
65 v8::Isolate* isolate) OVERRIDE {
66 return MyObject::GetObjectTemplateBuilder(isolate)
81 static gin::Handle<MyCallableObject> Create(v8::Isolate* isolate) { argument
82 return CreateHandle(isolate, new MyCallableObject());
89 v8::Isolate* isolate) OVERRID
121 GetObjectTemplateBuilder(v8::Isolate* isolate) argument
133 v8::Isolate* isolate = instance_->isolate(); local
147 v8::Isolate* isolate = instance_->isolate(); local
175 v8::Isolate* isolate = instance_->isolate(); local
207 v8::Isolate* isolate = instance_->isolate(); local
229 v8::Isolate* isolate = instance_->isolate(); local
252 v8::Isolate* isolate = instance_->isolate(); local
[all...]
H A Dfunction_template.cc11 CallbackHolderBase::CallbackHolderBase(v8::Isolate* isolate) argument
12 : v8_ref_(isolate, v8::External::New(isolate, this)) {
20 v8::Handle<v8::External> CallbackHolderBase::GetHandle(v8::Isolate* isolate) { argument
21 return v8::Local<v8::External>::New(isolate, v8_ref_);
H A Dinterceptor.cc13 NamedPropertyInterceptor::NamedPropertyInterceptor(v8::Isolate* isolate, argument
15 : isolate_(isolate), base_(base) {
24 v8::Isolate* isolate,
29 bool NamedPropertyInterceptor::SetNamedProperty(v8::Isolate* isolate, argument
36 v8::Isolate* isolate) {
40 IndexedPropertyInterceptor::IndexedPropertyInterceptor(v8::Isolate* isolate, argument
42 : isolate_(isolate), base_(base) {
51 v8::Isolate* isolate,
57 v8::Isolate* isolate,
64 v8::Isolate* isolate) {
23 GetNamedProperty( v8::Isolate* isolate, const std::string& property) argument
35 EnumerateNamedProperties( v8::Isolate* isolate) argument
50 GetIndexedProperty( v8::Isolate* isolate, uint32_t index) argument
56 SetIndexedProperty( v8::Isolate* isolate, uint32_t index, v8::Local<v8::Value> value) argument
63 EnumerateIndexedProperties( v8::Isolate* isolate) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
H A DCustomElementBinding.cpp36 PassOwnPtr<CustomElementBinding> CustomElementBinding::create(v8::Isolate* isolate, v8::Handle<v8::Object> prototype) argument
38 return adoptPtr(new CustomElementBinding(isolate, prototype));
41 CustomElementBinding::CustomElementBinding(v8::Isolate* isolate, v8::Handle<v8::Object> prototype) argument
42 : m_isolate(isolate)
43 , m_prototype(isolate, prototype)
H A DBindingSecurity.cpp58 static bool canAccessDocument(v8::Isolate* isolate, Document* targetDocument, ExceptionState& exceptionState) argument
60 LocalDOMWindow* callingWindow = callingDOMWindow(isolate);
69 static bool canAccessDocument(v8::Isolate* isolate, Document* targetDocument, SecurityReportingOption reportingOption = ReportSecurityError) argument
71 LocalDOMWindow* callingWindow = callingDOMWindow(isolate);
83 bool BindingSecurity::shouldAllowAccessToFrame(v8::Isolate* isolate, Frame* target, SecurityReportingOption reportingOption) argument
87 return canAccessDocument(isolate, toLocalFrame(target)->document(), reportingOption);
90 bool BindingSecurity::shouldAllowAccessToFrame(v8::Isolate* isolate, Frame* target, ExceptionState& exceptionState) argument
94 return canAccessDocument(isolate, toLocalFrame(target)->document(), exceptionState);
97 bool BindingSecurity::shouldAllowAccessToNode(v8::Isolate* isolate, Node* target, ExceptionState& exceptionState) argument
99 return target && canAccessDocument(isolate,
[all...]
H A DV8RecursionScope.h62 explicit V8RecursionScope(v8::Isolate* isolate) argument
63 : m_isolate(isolate)
69 ASSERT(!isolate->WillAutorunMicrotasks());
78 static int recursionLevel(v8::Isolate* isolate) argument
80 return V8PerIsolateData::from(isolate)->recursionLevel();
84 static bool properlyUsed(v8::Isolate* isolate) argument
86 return recursionLevel(isolate) > 0 || V8PerIsolateData::from(isolate)->internalScriptRecursionLevel() > 0;
92 MicrotaskSuppression(v8::Isolate* isolate) argument
94 : m_isolate(isolate)
[all...]
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/custom/
H A DV8CSSRuleCustom.cpp48 v8::Handle<v8::Object> wrap(CSSRule* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) argument
56 return V8CSSRule::createWrapper(impl, creationContext, isolate);
58 return wrap(toCSSStyleRule(impl), creationContext, isolate);
60 return wrap(toCSSCharsetRule(impl), creationContext, isolate);
62 return wrap(toCSSImportRule(impl), creationContext, isolate);
64 return wrap(toCSSMediaRule(impl), creationContext, isolate);
66 return wrap(toCSSFontFaceRule(impl), creationContext, isolate);
68 return wrap(toCSSPageRule(impl), creationContext, isolate);
70 return wrap(toCSSKeyframeRule(impl), creationContext, isolate);
72 return wrap(toCSSKeyframesRule(impl), creationContext, isolate);
[all...]
H A DV8CSSValueCustom.cpp41 v8::Handle<v8::Object> wrap(CSSValue* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) argument
45 return wrap(toCSSTransformValue(impl), creationContext, isolate);
47 return wrap(toCSSFilterValue(impl), creationContext, isolate);
49 return wrap(toCSSValueList(impl), creationContext, isolate);
51 return wrap(toCSSPrimitiveValue(impl), creationContext, isolate);
52 return V8CSSValue::createWrapper(impl, creationContext, isolate);
H A DV8EventTargetCustom.cpp39 v8::Handle<v8::Value> toV8(EventTarget* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) argument
42 return v8::Null(isolate);
45 return toV8(static_cast<LocalDOMWindow*>(impl), creationContext, isolate);
47 v8::Handle<v8::Value> wrapper = DOMDataStore::getWrapperNonTemplate(impl, isolate);
50 return impl->wrap(creationContext, isolate);
/external/chromium_org/v8/test/cctest/
H A Dtest-microtask-delivery.cc57 HarmonyIsolate isolate; local
58 HandleScope scope(isolate.GetIsolate());
59 LocalContext context(isolate.GetIsolate());
95 HarmonyIsolate isolate; local
96 HandleScope scope(isolate.GetIsolate());
97 LocalContext context1(isolate.GetIsolate());
98 isolate.GetIsolate()->SetAutorunMicrotasks(false);
103 LocalContext context2(isolate.GetIsolate());
104 context2->Global()->Set(String::NewFromUtf8(isolate.GetIsolate(), "obj"),
118 LocalContext context3(isolate
[all...]
H A Dtest-func-name-inference.cc54 Isolate* isolate = CcTest::i_isolate(); local
55 Factory* factory = isolate->factory();
74 int func_pos = Runtime::StringMatch(isolate,
81 isolate->debug()->PrepareForBreakPoints();
83 isolate->debug()->FindSharedFunctionInfoInScript(i_script, func_pos);
95 static v8::Handle<v8::Script> Compile(v8::Isolate* isolate, const char* src) { argument
96 return v8::Script::Compile(v8::String::NewFromUtf8(isolate, src));
102 v8::HandleScope scope(CcTest::isolate());
105 CcTest::isolate(),
115 v8::HandleScope scope(CcTest::isolate());
[all...]
/external/chromium_org/gin/modules/
H A Dtimer.cc15 v8::Handle<v8::String> GetHiddenPropertyName(v8::Isolate* isolate) { argument
16 return gin::StringToSymbol(isolate, "::gin::Timer");
26 Handle<Timer> Timer::Create(TimerType type, v8::Isolate* isolate, int delay_ms, argument
28 return CreateHandle(isolate, new Timer(isolate, type == TYPE_REPEATING,
32 ObjectTemplateBuilder Timer::GetObjectTemplateBuilder(v8::Isolate* isolate) { argument
35 return Wrappable<Timer>::GetObjectTemplateBuilder(isolate)
42 Timer::Timer(v8::Isolate* isolate, bool repeating, int delay_ms, argument
46 isolate->GetCurrentContext())->runner()->GetWeakPtr()),
48 GetWrapper(runner_->GetContextHolder()->isolate())
66 v8::Isolate* isolate = runner_->GetContextHolder()->isolate(); local
79 Create(v8::Isolate* isolate) argument
84 GetModule(v8::Isolate* isolate) argument
94 GetObjectTemplateBuilder( v8::Isolate* isolate) argument
[all...]
/external/chromium_org/gin/test/
H A Dv8_test.cc26 instance_->isolate()->Enter();
27 HandleScope handle_scope(instance_->isolate());
28 context_.Reset(instance_->isolate(), Context::New(instance_->isolate()));
29 Local<Context>::New(instance_->isolate(), context_)->Enter();
34 HandleScope handle_scope(instance_->isolate());
35 Local<Context>::New(instance_->isolate(), context_)->Exit();
38 instance_->isolate()->Exit();
/external/chromium_org/third_party/WebKit/Source/bindings/modules/v8/
H A DModuleBindingsInitializer.cpp15 static void didLeaveScriptContextForModule(v8::Isolate* isolate) argument
19 V8PerIsolateData::from(isolate)->ensureIDBPendingTransactionMonitor()->deactivateNewTransactions();
H A DIDBBindingUtilities.cpp58 static v8::Handle<v8::Value> toV8(const IDBKeyPath& value, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) argument
62 return v8::Null(isolate);
64 return v8String(isolate, value.string());
69 return toV8(keyPaths.release(), creationContext, isolate);
72 return v8::Undefined(isolate);
75 static v8::Handle<v8::Value> toV8(const IDBKey* key, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) argument
89 return v8::Number::New(isolate, key->number());
91 return v8String(isolate, key->string());
93 return toV8(Uint8Array::create(reinterpret_cast<const unsigned char*>(key->binary()->data()), key->binary()->size()), creationContext, isolate);
95 return v8::Date::New(isolate, ke
109 toV8(const IDBAny* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) argument
170 createIDBKeyFromValue(v8::Isolate* isolate, v8::Handle<v8::Value> value, Vector<v8::Handle<v8::Array> >& stack, bool allowExperimentalTypes = false) argument
212 createIDBKeyFromValue(v8::Isolate* isolate, v8::Handle<v8::Value> value, bool allowExperimentalTypes = false) argument
237 get(v8::Isolate* isolate, v8::Handle<v8::Value>& object, const String& keyPathElement, v8::Handle<v8::Value>& result) argument
252 set(v8::Isolate* isolate, v8::Handle<v8::Value>& object, const String& keyPathElement, const v8::Handle<v8::Value>& v8Value) argument
257 getNthValueOnKeyPath(v8::Isolate* isolate, v8::Handle<v8::Value>& rootValue, const Vector<String>& keyPathElements, size_t index) argument
270 canInjectNthValueOnKeyPath(v8::Isolate* isolate, v8::Handle<v8::Value>& rootValue, const Vector<String>& keyPathElements, size_t index) argument
288 ensureNthValueOnKeyPath(v8::Isolate* isolate, v8::Handle<v8::Value>& rootValue, const Vector<String>& keyPathElements, size_t index) argument
307 createIDBKeyFromScriptValueAndKeyPathInternal(v8::Isolate* isolate, const ScriptValue& value, const String& keyPath, bool allowExperimentalTypes) argument
323 createIDBKeyFromScriptValueAndKeyPathInternal(v8::Isolate* isolate, const ScriptValue& value, const IDBKeyPath& keyPath, bool allowExperimentalTypes = false) argument
343 createIDBKeyFromScriptValueAndKeyPath(v8::Isolate* isolate, const ScriptValue& value, const IDBKeyPath& keyPath) argument
349 deserializeIDBValueBuffer(v8::Isolate* isolate, SharedBuffer* buffer, const Vector<blink::WebBlobInfo>* blobInfo) argument
362 injectV8KeyIntoV8Value(v8::Isolate* isolate, v8::Handle<v8::Value> key, v8::Handle<v8::Value> value, const IDBKeyPath& keyPath) argument
387 canInjectIDBKeyIntoScriptValue(v8::Isolate* isolate, const ScriptValue& scriptValue, const IDBKeyPath& keyPath) argument
405 v8::Isolate* isolate = scriptState->isolate(); local
413 v8::Isolate* isolate = scriptState->isolate(); local
419 scriptValueToIDBKey(v8::Isolate* isolate, const ScriptValue& scriptValue) argument
427 scriptValueToIDBKeyRange(v8::Isolate* isolate, const ScriptValue& scriptValue) argument
436 v8::Isolate* isolate = scriptState->isolate(); local
447 v8::Isolate* isolate = scriptState->isolate(); local
[all...]
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DMicrotask.cpp44 v8::Isolate* isolate = v8::Isolate::GetCurrent(); local
45 V8PerIsolateData* isolateData = V8PerIsolateData::from(isolate);
52 V8RecursionScope recursionScope(isolate);
53 isolate->RunMicrotasks();
58 bool Microtask::performingCheckpoint(v8::Isolate* isolate) argument
60 return V8PerIsolateData::from(isolate)->performingMicrotaskCheckpoint();
71 v8::Isolate* isolate = v8::Isolate::GetCurrent(); local
72 isolate->EnqueueMicrotask(&microtaskFunctionCallback, callback.leakPtr());
/external/chromium_org/v8/src/libplatform/
H A Ddefault-platform-unittest.cc29 Isolate* isolate = reinterpret_cast<Isolate*>(&dummy); local
32 EXPECT_FALSE(platform.PumpMessageLoop(isolate));
35 platform.CallOnForegroundThread(isolate, task);
38 EXPECT_TRUE(platform.PumpMessageLoop(isolate));
39 EXPECT_FALSE(platform.PumpMessageLoop(isolate));
/external/chromium_org/chrome/renderer/
H A Dloadtimes_extension_bindings.cc56 v8::Isolate* isolate,
58 if (name->Equals(v8::String::NewFromUtf8(isolate, "GetLoadTimes"))) {
59 return v8::FunctionTemplate::New(isolate, GetLoadTimes);
60 } else if (name->Equals(v8::String::NewFromUtf8(isolate, "GetCSI"))) {
61 return v8::FunctionTemplate::New(isolate, GetCSI);
107 v8::Isolate* isolate = args.GetIsolate(); local
108 v8::Local<v8::Object> load_times = v8::Object::New(isolate);
110 v8::String::NewFromUtf8(isolate, "requestTime"),
111 v8::Number::New(isolate,
114 v8::String::NewFromUtf8(isolate, "startLoadTim
176 v8::Isolate* isolate = args.GetIsolate(); local
[all...]

Completed in 442 milliseconds

1234567891011>>