/external/chromium_org/v8/test/cctest/ |
test-hashing.cc | 154 Isolate* isolate = Isolate::Current(); local 155 Factory* factory = isolate->factory(); 156 HandleScope scope(isolate); 159 MacroAssembler masm(isolate, buffer, sizeof buffer); 165 Handle<Object> undefined(isolate->heap()->undefined_value(), isolate); 191 Isolate* isolate = Isolate::Current() local 233 v8::Isolate* isolate = v8::Isolate::GetCurrent(); local 254 v8::Isolate* isolate = v8::Isolate::GetCurrent(); local [all...] |
test-disasm-ia32.cc | 51 Isolate* isolate = reinterpret_cast<Isolate*>(CcTest::isolate()); local 52 HandleScope scope(isolate); 54 Assembler assm(isolate, buffer, sizeof buffer); 64 Handle<FixedArray> foo = isolate->factory()->NewFixedArray(10, TENURED); 95 Handle<FixedArray> foo2 = isolate->factory()->NewFixedArray(10, TENURED); 266 Handle<Code> ic(isolate->builtins()->builtin(Builtins::kLoadIC_Initialize)); 276 ExternalReference(Debug_Address::AfterBreakTarget(), isolate); [all...] |
test-threads.cc | 31 #include "isolate.h" 37 v8::Isolate* isolate = CcTest::default_isolate(); local 38 v8::Locker locker(isolate); 40 v8::HandleScope scope(isolate); 41 v8::Handle<v8::Context> context = v8::Context::New(isolate); 72 v8::Isolate* isolate = CcTest::default_isolate(); local 73 v8::Locker locker(isolate); 74 v8::HandleScope scope(isolate); 112 v8::Isolate* isolate = CcTest::default_isolate(); local [all...] |
test-weakmaps.cc | 37 static Isolate* GetIsolateFrom(LocalContext* context) { 38 return reinterpret_cast<Isolate*>((*context)->GetIsolate()); 42 static Handle<JSWeakMap> AllocateJSWeakMap(Isolate* isolate) { 43 Factory* factory = isolate->factory(); 44 Heap* heap = isolate->heap(); 67 static void WeakPointerCallback(v8::Isolate* isolate, 72 handle->Dispose(isolate); 79 Isolate* isolate = GetIsolateFrom(&context) local 139 Isolate* isolate = GetIsolateFrom(&context); local 180 Isolate* isolate = GetIsolateFrom(&context); local 219 Isolate* isolate = GetIsolateFrom(&context); local [all...] |
test-weaksets.cc | 37 static Isolate* GetIsolateFrom(LocalContext* context) { 38 return reinterpret_cast<Isolate*>((*context)->GetIsolate()); 42 static Handle<JSWeakSet> AllocateJSWeakSet(Isolate* isolate) { 43 Factory* factory = isolate->factory(); 44 Heap* heap = isolate->heap(); 67 static void WeakPointerCallback(v8::Isolate* isolate, 72 handle->Dispose(isolate); 79 Isolate* isolate = GetIsolateFrom(&context) local 139 Isolate* isolate = GetIsolateFrom(&context); local 180 Isolate* isolate = GetIsolateFrom(&context); local 219 Isolate* isolate = GetIsolateFrom(&context); 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 CHECK_EQ(0, CountArrayBuffersInWeakList(isolate->heap())); 102 CHECK_EQ(2, CountArrayBuffersInWeakList(isolate->heap())); 103 CHECK(HasArrayBufferInWeakList(isolate->heap(), *iab1)); 104 CHECK(HasArrayBufferInWeakList(isolate->heap(), *iab2)); 106 isolate->heap()->CollectAllGarbage(Heap::kAbortIncrementalMarkingMask); 107 CHECK_EQ(1, CountArrayBuffersInWeakList(isolate->heap())) 124 Isolate* isolate = GetIsolateFrom(&context); local 185 Isolate* isolate = GetIsolateFrom(&context); local 267 Isolate* isolate = GetIsolateFrom(&context); local [all...] |
/external/chromium_org/chrome/common/ |
profiling.cc | 149 v8::Isolate* isolate = v8::Isolate::GetCurrent(); local 150 if (isolate != NULL && 154 v8::V8::SetFunctionEntryHook(isolate, entry_hook_func);
|
/external/chromium_org/third_party/WebKit/Source/bindings/v8/ |
V8CustomElementLifecycleCallbacks.cpp | 85 static void weakCallback(v8::Isolate*, v8::Persistent<T>*, ScopedPersistent<T>* handle) 162 v8::Isolate* isolate = context->GetIsolate(); local 164 v8::Handle<v8::Object> receiver = DOMDataStore::current(isolate)->get<V8Element>(element); 169 v8::Handle<v8::Object> prototype = m_prototype.newLocal(isolate); 175 v8::Handle<v8::Function> callback = m_created.newLocal(isolate); 180 receiver = toV8(element, context->Global(), isolate).As<v8::Object>(); 210 v8::Isolate* isolate = context->GetIsolate(); local 212 v8::Handle<v8::Object> receiver = toV8(element, context->Global(), isolate).As<v8::Object>() 241 v8::Isolate* isolate = context->GetIsolate(); local [all...] |
V8LazyEventListener.cpp | 55 : V8AbstractEventListener(true, mainThreadNormalWorld(), v8::Isolate::GetCurrent()) // FIXME Remove GetCurrent() 66 v8::Handle<v8::Object> toObjectWrapper(T* domObject, v8::Isolate* isolate) 70 v8::Handle<v8::Value> value = toV8(domObject, v8::Handle<v8::Object>(), isolate); 73 return v8::Local<v8::Object>::New(isolate, value.As<v8::Object>()); 132 v8::Isolate* isolate = v8Context->GetIsolate(); local 165 v8::Handle<v8::String> codeExternalString = v8String(code, isolate); 167 v8::Local<v8::Value> result = V8ScriptRunner::compileAndRunInternalScript(codeExternalString, isolate, m_sourceURL, m_position, 0); 179 v8::Handle<v8::Object> nodeWrapper = toObjectWrapper<Node>(m_node, isolate); [all...] |
CustomElementConstructorBuilder.cpp | 62 ASSERT(m_context == v8::Isolate::GetCurrent()->GetCurrentContext()); 155 v8::Isolate* isolate = v8::Isolate::GetCurrent(); local 156 v8::Handle<v8::Function> created = retrieveCallback(isolate, "createdCallback"); 157 v8::Handle<v8::Function> enteredDocument = retrieveCallback(isolate, "enteredDocumentCallback"); 158 v8::Handle<v8::Function> leftDocument = retrieveCallback(isolate, "leftDocumentCallback"); 159 v8::Handle<v8::Function> attributeChanged = retrieveCallback(isolate, "attributeChangedCallback"); 165 v8::Handle<v8::Function> CustomElementConstructorBuilder::retrieveCallback(v8::Isolate* isolate, const char* name 179 v8::Isolate* isolate = m_context->GetIsolate(); local 285 v8::Isolate* isolate = args.GetIsolate(); local [all...] |
/external/chromium_org/third_party/WebKit/Source/web/ |
WebDevToolsFrontendImpl.cpp | 153 v8::Isolate* isolate = v8::Isolate::GetCurrent(); local 167 args.append(v8String(message, isolate));
|
/external/chromium_org/v8/src/ |
arguments.cc | 61 void CallbackTable::InsertCallback(Isolate* isolate, 67 CallbackTable* table = isolate->callback_table(); 70 isolate->set_callback_table(table); 82 v8::Handle<V> CustomArguments<T>::GetReturnValue(Isolate* isolate) { 92 Isolate* isolate = this->isolate(); local 94 bool new_style = CallbackTable::ReturnsVoid(isolate, f_as_void) [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()); 151 Isolate* isolate = read_line_editor.isolate_; local 152 Locker lock(isolate); [all...] |
debug-agent.h | 48 isolate_(Isolate::Current()), 65 Isolate* isolate() { return isolate_; } function in class:v8::internal::DebuggerAgent 74 Isolate* isolate_;
|
factory.h | 465 &isolate()->heap()->roots_[Heap::k##camel_name##RootIndex])); \ 473 &isolate()->heap()->roots_[Heap::k##name##RootIndex])); \ 479 return Handle<String>(&isolate()->heap()->hidden_string_); 543 Isolate* isolate() { return reinterpret_cast<Isolate*>(this); } function in class:v8::internal::Factory 566 isolate()); 580 explicit IdempotentPointerToHandleCodeTrampoline(Isolate* isolate) 581 : isolate_(isolate) {} [all...] |
func-name-inferrer.h | 34 class Isolate; 48 FuncNameInferrer(Isolate* isolate, Zone* zone); 107 Isolate* isolate() { return isolate_; } function in class:v8::internal::FuncNameInferrer 119 Isolate* isolate_;
|
handles-inl.h | 35 #include "isolate.h" 48 Handle<T>::Handle(T* obj, Isolate* isolate) { 50 location_ = HandleScope::CreateHandle(isolate, obj); 88 Isolate* isolate = heap_object->GetIsolate(); local 90 Object** roots_array_start = isolate->heap()->roots_array_start(); 101 return !isolate->IsDeferredHandle(handle); 109 HandleScope::HandleScope(Isolate* isolate) { [all...] |
/external/v8/src/ |
codegen.cc | 67 if (Isolate::Current()->bootstrapper()->IsActive()) { 99 Isolate* isolate = info->isolate(); local 105 isolate->factory()->NewCode(desc, flags, masm->CodeObject()); 108 isolate->counters()->total_compiled_code_size()->Increment( 117 bool print_code = Isolate::Current()->bootstrapper()->IsActive() 155 Isolate* isolate = Isolate::Current() local [all...] |
debug-agent.h | 48 isolate_(Isolate::Current()), 65 Isolate* isolate() { return isolate_; } function in class:v8::internal::DebuggerAgent 74 Isolate* isolate_;
|
func-name-inferrer.h | 34 class Isolate; 48 explicit FuncNameInferrer(Isolate* isolate); 105 Isolate* isolate() { return isolate_; } function in class:v8::internal::FuncNameInferrer 116 Isolate* isolate_;
|
handles-inl.h | 35 #include "isolate.h" 40 inline Isolate* GetIsolateForHandle(Object* obj) { 41 return Isolate::Current(); 44 inline Isolate* GetIsolateForHandle(HeapObject* obj) { 56 Handle<T>::Handle(T* obj, Isolate* isolate) { 58 location_ = HandleScope::CreateHandle(obj, isolate); 71 Isolate* isolate = Isolate::Current() local [all...] |
handles.h | 48 INLINE(Handle(T* obj, Isolate* isolate)); 113 explicit inline HandleScope(Isolate* isolate); 122 static inline T** CreateHandle(T* value, Isolate* isolate); 125 static void DeleteExtensions(Isolate* isolate); 138 Isolate* isolate() { return isolate_; function in class:v8::internal::HandleScope [all...] |
heap-profiler.cc | 55 Isolate* isolate = Isolate::Current(); local 56 if (isolate->heap_profiler() == NULL) { 57 isolate->set_heap_profiler(new HeapProfiler()); 63 Isolate* isolate = Isolate::Current(); local 64 delete isolate->heap_profiler(); 65 isolate->set_heap_profiler(NULL) [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...] |
/external/chromium_org/chrome/renderer/extensions/ |
user_script_scheduler.cc | 202 v8::Isolate* isolate = v8::Isolate::GetCurrent(); local 203 v8::HandleScope scope(isolate); 236 v8::Local<v8::Context> context = v8::Context::New(isolate);
|