/external/chromium_org/third_party/WebKit/Source/bindings/v8/ |
V8LazyEventListener.cpp | 55 V8LazyEventListener::V8LazyEventListener(const AtomicString& functionName, const AtomicString& eventParameterName, const String& code, const String sourceURL, const TextPosition& position, Node* node, v8::Isolate* isolate) 56 : V8AbstractEventListener(true, mainThreadNormalWorld(), isolate) 67 v8::Handle<v8::Object> toObjectWrapper(T* domObject, v8::Isolate* isolate) 71 v8::Handle<v8::Value> value = toV8(domObject, v8::Handle<v8::Object>(), isolate); 74 return v8::Local<v8::Object>::New(isolate, value.As<v8::Object>()); 123 v8::Isolate* isolate = toIsolate(context); local 124 v8::HandleScope handleScope(isolate); [all...] |
V8NPUtils.cpp | 46 void convertV8ObjectToNPVariant(v8::Local<v8::Value> object, NPObject* owner, NPVariant* result, v8::Isolate* isolate) 72 DOMWindow* window = toDOMWindow(isolate->GetCurrentContext()); 73 NPObject* npobject = npCreateV8ScriptObject(0, v8::Handle<v8::Object>::Cast(object), window, isolate); 80 v8::Handle<v8::Value> convertNPVariantToV8Object(const NPVariant* variant, NPObject* owner, v8::Isolate* isolate) 86 return v8::Integer::New(NPVARIANT_TO_INT32(*variant), isolate); 88 return v8::Number::New(isolate, NPVARIANT_TO_DOUBLE(*variant)); 90 return v8Boolean(NPVARIANT_TO_BOOLEAN(*variant), isolate); 92 return v8::Null(isolate); [all...] |
ScriptRegexp.cpp | 40 v8::Isolate* isolate = v8::Isolate::GetCurrent(); local 41 v8::HandleScope handleScope(isolate); 42 v8::Local<v8::Context> context = V8PerIsolateData::from(isolate)->ensureRegexContext(); 56 m_regex.set(isolate, regex); 71 v8::Isolate* isolate = v8::Isolate::GetCurrent(); 72 v8::HandleScope handleScope(isolate); [all...] |
V8CustomElementLifecycleCallbacks.cpp | 54 v8::Isolate* isolate = toIsolate(executionContext); local 58 ASSERT(prototype->GetHiddenValue(V8HiddenPropertyName::customElement##Name(isolate)).IsEmpty()); \ 60 prototype->SetHiddenValue(V8HiddenPropertyName::customElement##Name(isolate), Value); 157 v8::Isolate* isolate = toIsolate(executionContext()); local 158 v8::HandleScope handleScope(isolate); 165 v8::Handle<v8::Object> receiver = DOMDataStore::current(isolate).get<V8Element>(element, isolate); 170 v8::Handle<v8::Object> prototype = m_prototype.newLocal(isolate); 187 ScriptController::callFunction(executionContext(), callback, receiver, 0, 0, isolate); local 228 ScriptController::callFunction(executionContext(), callback, receiver, WTF_ARRAY_LENGTH(argv), argv, isolate); local 242 v8::Isolate* isolate = context->GetIsolate(); local 253 ScriptController::callFunction(executionContext(), callback, receiver, 0, 0, isolate); local [all...] |
V8GCController.cpp | 55 static void addReferencesForNodeWithEventListeners(v8::Isolate* isolate, Node* node, const v8::Persistent<v8::Object>& wrapper) 69 isolate->SetReference(wrapper, *value); 73 Node* V8GCController::opaqueRootForGC(Node* node, v8::Isolate*) 99 explicit MinorGCWrapperVisitor(v8::Isolate* isolate) 100 : m_isolate(isolate) 193 void gcTree(v8::Isolate* isolate, Node* startNode) 222 isolate->SetObjectGroupId(*value, id) 331 v8::Isolate* isolate = v8::Isolate::GetCurrent(); local 378 v8::Isolate* isolate = v8::Isolate::GetCurrent(); local 419 V8ScriptRunner::compileAndRunInternalScript(v8String(isolate, "if (gc) gc();"), isolate); local [all...] |
/external/chromium_org/v8/src/ |
code-stubs.cc | 55 void CodeStub::GenerateStubsRequiringBuiltinsAheadOfTime(Isolate* isolate) { 56 StubFailureTailCallTrampolineStub::GenerateAheadOfTime(isolate); 60 bool CodeStub::FindCodeInCache(Code** code_out, Isolate* isolate) { 61 UnseededNumberDictionary* stubs = isolate->heap()->code_stubs(); 81 void CodeStub::RecordCodeGeneration(Code* code, Isolate* isolate) { 83 PROFILE(isolate, CodeCreateEvent(Logger::STUB_TAG, code, *name)); 85 Counters* counters = isolate->counters() 288 Isolate* isolate = new_object->GetIsolate(); local 464 Handle<Type> result(Type::None(), isolate); local [all...] |
d8-readline.cc | 52 virtual bool Open(Isolate* isolate); 66 Isolate* isolate_; 80 bool ReadLineEditor::Open(Isolate* isolate) { 81 isolate_ = isolate; 109 Unlocker unlock(Isolate::GetCurrent()); 148 Isolate* isolate = read_line_editor.isolate_; local 149 Locker lock(isolate); [all...] |
assembler.h | 43 #include "isolate.h" 59 AssemblerBase(Isolate* isolate, void* buffer, int buffer_size); 62 Isolate* isolate() const { return isolate_; } function in class:v8::internal::AssemblerBase 98 Isolate* isolate_; 446 inline void Visit(Isolate* isolate, ObjectVisitor* v); 471 void Print(Isolate* isolate, FILE* out) [all...] |
serialize.cc | 67 ExternalReferenceTable* ExternalReferenceTable::instance(Isolate* isolate) { 69 isolate->external_reference_table(); 71 external_reference_table = new ExternalReferenceTable(isolate); 72 isolate->set_external_reference_table(external_reference_table); 81 Isolate* isolate) { 85 ExternalReference ref(static_cast<Builtins::CFunctionId>(id), isolate); local 90 ExternalReference ref(static_cast<Builtins::Name>(id), isolate); local 95 ExternalReference ref(static_cast<Runtime::FunctionId>(id), isolate); local 936 Isolate* const isolate = isolate_; local 1297 Isolate* isolate = this->isolate(); local 1326 Isolate* isolate = this->isolate();; local 1377 Isolate* isolate = this->isolate(); local [all...] |
execution.h | 50 class Isolate; 66 static Handle<Object> Call(Isolate* isolate, 98 Isolate* isolate, Handle<Object> obj, bool* exc); 102 Isolate* isolate, Handle<Object> obj, bool* exc); 106 Isolate* isolate, Handle<Object> obj, bool* exc); 110 Isolate* isolate, Handle<Object> obj, bool* exc) [all...] |
compiler.cc | 42 #include "isolate-inl.h" 95 Isolate* isolate, 102 Initialize(isolate, STUB, zone); 107 void CompilationInfo::Initialize(Isolate* isolate, 110 isolate_ = isolate; 121 no_frame_ranges_ = isolate->cpu_profiler()->is_profiling() 255 static bool IsDebuggerActive(Isolate* isolate) { 636 Isolate* isolate = info->isolate(); local 766 Isolate* isolate = source->GetIsolate(); local 842 Isolate* isolate = source->GetIsolate(); local 1005 Isolate* isolate = info->isolate(); local 1062 Isolate* isolate = closure->GetIsolate(); local 1153 Isolate* isolate = info->isolate(); local 1210 Isolate* isolate = info.isolate(); local [all...] |
/external/chromium_org/chrome/renderer/ |
benchmarking_extension.cc | 63 v8::Isolate* isolate, 65 if (name->Equals(v8::String::NewFromUtf8(isolate, "GetCounter"))) { 66 return v8::FunctionTemplate::New(isolate, GetCounter); 68 v8::String::NewFromUtf8(isolate, "GetCounterForRenderer"))) { 69 return v8::FunctionTemplate::New(isolate, GetCounterForRenderer); 71 v8::String::NewFromUtf8(isolate, "IsSingleProcess"))) { 72 return v8::FunctionTemplate::New(isolate, IsSingleProcess); 73 } else if (name->Equals(v8::String::NewFromUtf8(isolate, "HiResTime"))) { 74 return v8::FunctionTemplate::New(isolate, HiResTime) [all...] |
/external/chromium_org/gin/ |
runner.cc | 13 using v8::Isolate; 42 Runner::Runner(RunnerDelegate* delegate, Isolate* isolate) 43 : ContextHolder(isolate), 46 v8::Isolate::Scope isolate_scope(isolate); 47 HandleScope handle_scope(isolate); 49 Context::New(isolate, NULL, delegate_->GetGlobalTemplate(this)); 62 Run(Script::New(StringToV8(isolate(), source), 63 StringToV8(isolate(), resource_name))) [all...] |
array_buffer.h | 29 explicit ArrayBuffer(v8::Isolate* isolate); 30 ArrayBuffer(v8::Isolate* isolate, v8::Handle<v8::ArrayBuffer> buffer); 49 static bool FromV8(v8::Isolate* isolate, v8::Handle<v8::Value> val, 56 ArrayBufferView(v8::Isolate* isolate, v8::Handle<v8::ArrayBufferView> view); 74 static bool FromV8(v8::Isolate* isolate, v8::Handle<v8::Value> val [all...] |
handle.h | 44 static v8::Handle<v8::Value> ToV8(v8::Isolate* isolate, 48 static bool FromV8(v8::Isolate* isolate, v8::Handle<v8::Value> val, 51 if (!Converter<T*>::FromV8(isolate, val, &object)) { 62 gin::Handle<T> CreateHandle(v8::Isolate* isolate, T* object) { 63 return gin::Handle<T>(object->GetWrapper(isolate), object);
|
object_template_builder.cc | 9 ObjectTemplateBuilder::ObjectTemplateBuilder(v8::Isolate* isolate) 10 : isolate_(isolate), template_(v8::ObjectTemplate::New(isolate)) {
|
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/ |
V8CanvasRenderingContext2DCustom.cpp | 49 static v8::Handle<v8::Value> toV8Object(CanvasStyle* style, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) 52 return toV8(style->canvasGradient(), creationContext, isolate); 55 return toV8(style->canvasPattern(), creationContext, isolate); 57 return v8String(isolate, style->color()); 60 static PassRefPtr<CanvasStyle> toCanvasStyle(v8::Handle<v8::Value> value, v8::Isolate* isolate) 62 if (V8CanvasGradient::hasInstance(value, isolate, worldType(isolate))) 65 if (V8CanvasPattern::hasInstance(value, isolate, worldType(isolate)) [all...] |
/external/chromium_org/third_party/WebKit/Source/web/ |
WebBindings.cpp | 212 static bool getRangeImpl(NPObject* object, WebRange* webRange, v8::Isolate* isolate) 221 v8::HandleScope handleScope(isolate); 222 v8::Handle<v8::Object> v8Object = v8::Local<v8::Object>::New(isolate, v8NPObject->v8Object); 228 Range* native = V8Range::hasInstanceInAnyWorld(v8Object, isolate) ? V8Range::toNative(v8Object) : 0; 236 static bool getNodeImpl(NPObject* object, WebNode* webNode, v8::Isolate* isolate) 245 v8::HandleScope handleScope(isolate); 246 v8::Handle<v8::Object> v8Object = v8::Local<v8::Object>::New(isolate, v8NPObject->v8Object); 249 Node* native = V8Node::hasInstanceInAnyWorld(v8Object, isolate) ? V8Node::toNative(v8Object) : 0 394 v8::Isolate* isolate = v8::Isolate::GetCurrent(); local [all...] |
/external/chromium_org/chrome/renderer/extensions/ |
render_view_observer_natives.cc | 41 v8::Isolate* isolate = context_->isolate(); local 42 v8::HandleScope handle_scope(isolate); 43 v8::Handle<v8::Value> args[] = { v8::Boolean::New(isolate, succeeded) }; 44 context_->CallFunction(callback_.NewHandle(isolate), 1, args);
|
/external/chromium_org/content/renderer/ |
memory_benchmarking_extension.cc | 45 v8::Isolate* isolate, 47 if (name->Equals(v8::String::NewFromUtf8(isolate, "IsHeapProfilerRunning"))) 48 return v8::FunctionTemplate::New(isolate, IsHeapProfilerRunning); 49 else if (name->Equals(v8::String::NewFromUtf8(isolate, "HeapProfilerDump"))) 50 return v8::FunctionTemplate::New(isolate, HeapProfilerDump);
|
/external/chromium_org/mojo/apps/js/bindings/ |
support.cc | 28 WaitingCallback::Create(args.isolate(), callback); 51 v8::Local<v8::ObjectTemplate> Support::GetTemplate(v8::Isolate* isolate) { 52 gin::PerIsolateData* data = gin::PerIsolateData::From(isolate); 57 WaitingCallback::EnsureRegistered(isolate); 59 templ = gin::ObjectTemplateBuilder(isolate)
|
/external/chromium_org/v8/test/cctest/ |
test-heap.cc | 83 static void CheckOddball(Isolate* isolate, Object* obj, const char* string) { 86 Handle<Object> handle(obj, isolate); 88 *Execution::ToString(isolate, handle, &exc); 93 static void CheckSmi(Isolate* isolate, int value, const char* string) { 95 Handle<Object> handle(Smi::FromInt(value), isolate); local 97 *Execution::ToString(isolate, handle, &exc); 102 static void CheckNumber(Isolate* isolate, double value, const char* string) 152 Isolate* isolate = CcTest::i_isolate(); local 253 Isolate* isolate = CcTest::i_isolate(); local 330 Isolate* isolate = reinterpret_cast<Isolate*>(CcTest::isolate()); local 342 Isolate* isolate = CcTest::i_isolate(); local 354 Isolate* isolate = CcTest::i_isolate(); local 407 Isolate* isolate = CcTest::i_isolate(); local 448 Isolate* isolate = CcTest::i_isolate(); local 494 Isolate* isolate = CcTest::i_isolate(); local 616 Isolate* isolate = CcTest::i_isolate(); local 643 Isolate* isolate = CcTest::i_isolate(); local 714 Isolate* isolate = CcTest::i_isolate(); local 740 Isolate* isolate = CcTest::i_isolate(); local 789 Isolate* isolate = CcTest::i_isolate(); local 838 Isolate* isolate = CcTest::i_isolate(); local 893 Isolate* isolate = CcTest::i_isolate(); local 955 Isolate* isolate = CcTest::i_isolate(); local 1036 Isolate* isolate = CcTest::i_isolate(); local 1086 Isolate* isolate = Isolate::Current(); local 1151 Isolate* isolate = CcTest::i_isolate(); local 1220 Isolate* isolate = CcTest::i_isolate(); local 1289 Isolate* isolate = CcTest::i_isolate(); local 1385 Isolate* isolate = CcTest::i_isolate(); local 1511 Isolate* isolate = icontext->GetIsolate(); local 1528 Isolate* isolate = CcTest::i_isolate(); local 1657 Isolate* isolate = heap->isolate(); local 1759 v8::Isolate* isolate = CcTest::isolate(); local 1805 v8::Isolate* isolate = CcTest::isolate(); local 1849 v8::Isolate* isolate = CcTest::isolate(); local 1893 v8::Isolate* isolate = CcTest::isolate(); local 1997 Isolate* isolate = CcTest::i_isolate(); local 2665 Isolate* isolate = CcTest::i_isolate(); local 2708 Isolate* isolate = CcTest::i_isolate(); local 3047 Isolate* isolate = CcTest::i_isolate(); local 3111 Isolate* isolate = CcTest::i_isolate(); local 3173 Isolate* isolate = CcTest::i_isolate(); local 3222 Isolate* isolate = CcTest::i_isolate(); local 3308 Isolate* isolate = CcTest::i_isolate(); local 3383 Isolate* isolate = CcTest::i_isolate(); local 3439 Isolate* isolate = CcTest::i_isolate(); local 3496 Isolate* isolate = CcTest::i_isolate(); local 3580 Isolate* isolate = CcTest::i_isolate(); local [all...] |
test-lockers.cc | 33 #include "isolate.h" 58 // Migrating an isolate 61 KangarooThread(v8::Isolate* isolate, v8::Handle<v8::Context> context) 63 isolate_(isolate), 64 context_(isolate, context) {} 69 v8::Isolate::Scope isolate_scope(isolate_); 70 CHECK_EQ(isolate_, v8::internal::Isolate::Current()); 81 v8::Isolate::Scope isolate_scope(isolate_); 94 v8::Isolate* isolate_ 101 v8::Isolate* isolate = v8::Isolate::New(); local 216 v8::Isolate* isolate = v8::Isolate::New(); local 231 v8::Isolate* isolate = v8::Isolate::New(); local 292 v8::Isolate* isolate = v8::Isolate::New(); local 412 v8::Isolate* isolate = v8::Isolate::New(); local 466 v8::Isolate* isolate = v8::Isolate::New(); local 588 v8::Isolate* isolate = v8::Isolate::New(); local 663 v8::Isolate* isolate = v8::Isolate::New(); local 694 v8::Isolate* isolate = v8::Isolate::New(); local [all...] |
test-weaktypedarrays.cc | 39 static Isolate* GetIsolateFrom(LocalContext* context) { 40 return reinterpret_cast<Isolate*>((*context)->GetIsolate()); 90 Isolate* isolate = GetIsolateFrom(&context); local 92 int start = CountArrayBuffersInWeakList(isolate->heap()); 104 CHECK_EQ(2, CountArrayBuffersInWeakList(isolate->heap()) - start); 105 CHECK(HasArrayBufferInWeakList(isolate->heap(), *iab1)); 106 CHECK(HasArrayBufferInWeakList(isolate->heap(), *iab2)); 108 isolate->heap()->CollectAllGarbage(Heap::kAbortIncrementalMarkingMask); 109 CHECK_EQ(1, CountArrayBuffersInWeakList(isolate->heap()) - start) 126 Isolate* isolate = GetIsolateFrom(&context); local 188 Isolate* isolate = GetIsolateFrom(&context); local 271 Isolate* isolate = GetIsolateFrom(&context); local [all...] |
/external/v8/test/cctest/ |
test-spaces.cc | 104 // Temporarily sets a given allocator in an isolate. 107 TestMemoryAllocatorScope(Isolate* isolate, MemoryAllocator* allocator) 108 : isolate_(isolate), 109 old_allocator_(isolate->memory_allocator_) { 110 isolate->memory_allocator_ = allocator; 118 Isolate* isolate_; 129 Isolate* isolate = Isolate::Current() local 179 Isolate* isolate = Isolate::Current(); local 209 Isolate* isolate = Isolate::Current(); local [all...] |