/external/chromium_org/third_party/WebKit/Source/bindings/v8/ |
IDBBindingUtilities.cpp | 41 static v8::Handle<v8::Value> idbKeyToV8Value(IDBKey* key, v8::Isolate* isolate) 57 return v8String(key->string(), isolate); 64 array->Set(i, idbKeyToV8Value(key->array()[i].get(), isolate)); 135 static bool get(v8::Handle<v8::Value>& object, const String& keyPathElement, v8::Handle<v8::Value>& result, v8::Isolate* isolate) 142 return object->IsObject() && getValueFrom(v8String(keyPathElement, isolate), result); 150 static bool set(v8::Handle<v8::Value>& object, const String& keyPathElement, const v8::Handle<v8::Value>& v8Value, v8::Isolate* isolate) 152 return canSet(object, keyPathElement) && setValue(object, v8String(keyPathElement, isolate), v8Value) 228 v8::Isolate* isolate = state ? state->context()->GetIsolate() : v8::Isolate::GetCurrent(); local 249 v8::Isolate* isolate = state ? state->context()->GetIsolate() : v8::Isolate::GetCurrent(); local 260 v8::Isolate* isolate = state ? state->context()->GetIsolate() : v8::Isolate::GetCurrent(); local 319 v8::Isolate* isolate = state ? state->context()->GetIsolate() : v8::Isolate::GetCurrent(); local 328 v8::Isolate* isolate = state ? state->context()->GetIsolate() : v8::Isolate::GetCurrent(); local [all...] |
/external/chromium_org/v8/samples/ |
shell.cc | 48 v8::Handle<v8::Context> CreateShellContext(v8::Isolate* isolate); 50 int RunMain(v8::Isolate* isolate, int argc, char* argv[]); 51 bool ExecuteString(v8::Isolate* isolate, 62 void ReportException(v8::Isolate* isolate, v8::TryCatch* handler); 71 v8::Isolate* isolate = v8::Isolate::GetCurrent() local [all...] |
/external/chromium_org/v8/src/ |
bootstrapper.h | 68 Isolate* isolate = shared->GetIsolate(); local 69 Factory* factory = isolate->factory(); 70 HandleScope scope(isolate); 137 Isolate* isolate_; 147 friend class Isolate; 150 explicit Bootstrapper(Isolate* isolate);
|
codegen.cc | 67 if (info->isolate()->bootstrapper()->IsActive()) { 106 Isolate* isolate = info->isolate(); local 115 isolate->factory()->NewCode(desc, flags, masm->CodeObject(), 118 isolate->counters()->total_compiled_code_size()->Increment( 129 bool print_code = Isolate::Current()->bootstrapper()->IsActive() 178 Isolate* isolate = Isolate::Current() local [all...] |
contexts.cc | 77 ASSERT(Isolate::Current()->bootstrapper()->IsActive()); 102 Isolate* isolate = GetIsolate(); local 103 Handle<Context> context(this, isolate); 128 JSReceiver::cast(context->extension()), isolate); 138 if (isolate->has_pending_exception()) return Handle<Object>(); 156 context->closure()->shared()->scope_info(), isolate); 159 ScopeInfo::cast(context->extension()), isolate); 249 context = Handle<Context>(context->previous(), isolate); 358 Isolate* isolate = Isolate::Current() local [all...] |
handles.h | 49 INLINE(Handle(T* obj, Isolate* isolate)); 104 inline Handle<T> handle(T* t, Isolate* isolate) { 105 return Handle<T>(t, isolate); 134 explicit inline HandleScope(Isolate* isolate); 139 static int NumberOfHandles(Isolate* isolate); 143 static inline T** CreateHandle(Isolate* isolate, T* value) 159 Isolate* isolate() { return isolate_; } function in class:v8::internal::HandleScope [all...] |
sampler.h | 38 class Isolate; 63 void Init(Isolate* isolate, const RegisterState& state); 84 Sampler(Isolate* isolate, int interval); 87 Isolate* isolate() const { return isolate_; } function in class:v8::internal::Sampler 125 Isolate* isolate_;
|
types.cc | 365 Isolate* isolate = NULL; local 368 isolate = HeapObject::cast(*type1)->GetIsolate(); 372 isolate = HeapObject::cast(*type2)->GetIsolate(); 375 ASSERT(isolate != NULL); 377 Handle<Unioned> unioned = isolate->factory()->NewFixedArray(size); 392 Handle<Unioned> result = isolate->factory()->NewFixedArray(size); 441 Isolate* isolate = NULL; local 444 isolate = HeapObject::cast(*type1)->GetIsolate() [all...] |
v8.cc | 31 #include "isolate.h" 69 // The current thread may not yet had entered an isolate to run. 70 // Note the Isolate::Current() may be non-null because for various 71 // initialization purposes an initializing thread may be assigned an isolate 73 if (i::Isolate::CurrentPerIsolateThreadData() == NULL) { 74 i::Isolate::EnterDefaultIsolate(); 77 ASSERT(i::Isolate::CurrentPerIsolateThreadData() != NULL); 78 ASSERT(i::Isolate::CurrentPerIsolateThreadData()->thread_id().Equals( 80 ASSERT(i::Isolate::CurrentPerIsolateThreadData()->isolate() = 104 Isolate* isolate = Isolate::Current(); local [all...] |
v8threads.h | 76 // Defined in isolate.h. 83 virtual void VisitThread(Isolate* isolate, ThreadLocalTop* top) = 0; 135 Isolate* isolate_; 137 friend class Isolate; 159 ContextSwitcher(Isolate* isolate, int every_n_ms); 161 Isolate* isolate() const { return isolate_; } function in class:v8::internal::ContextSwitcher 167 Isolate* isolate_ [all...] |
zone.h | 43 class Isolate; 60 explicit Zone(Isolate* isolate); 85 inline Isolate* isolate() { return isolate_; } function in class:v8::internal::Zone 88 friend class Isolate; 135 Isolate* isolate_;
|
/external/chromium_org/v8/src/extensions/i18n/ |
break-iterator.cc | 67 void BreakIterator::DeleteBreakIterator(v8::Isolate* isolate, 74 v8::HandleScope handle_scope(isolate); 75 v8::Local<v8::Object> handle = v8::Local<v8::Object>::New(isolate, *object); 82 object->Dispose(isolate); 204 v8::Isolate* isolate = args.GetIsolate(); local 206 Utils::GetTemplate2(isolate); 240 v8::Persistent<v8::Object> wrapper(isolate, local_object);
|
/external/chromium_org/v8/src/ia32/ |
debug-ia32.cc | 52 Isolate* isolate = Isolate::Current(); local 53 rinfo()->PatchCodeWithCall(isolate->debug()->debug_break_return()->entry(), 82 Isolate* isolate = Isolate::Current(); local 84 isolate->debug()->debug_break_slot()->entry(), 142 __ mov(ebx, Immediate(ExternalReference::debug_break(masm->isolate()))); 195 ExternalReference(Debug_Address::AfterBreakTarget(), masm->isolate()); [all...] |
regexp-macro-assembler-ia32.h | 196 Isolate* isolate() const { return masm_->isolate(); } function in class:v8::internal::RegExpMacroAssemblerIA32
|
/external/chromium_org/v8/test/cctest/ |
cctest.cc | 70 v8::Isolate* isolate = default_isolate(); local 72 v8::HandleScope scope(isolate); 74 v8::Local<v8::Context> context = v8::Context::New(isolate, &config); 75 context_.Reset(isolate, context); 78 v8::HandleScope scope(isolate); 80 v8::Local<v8::Context>::New(isolate, context_); 98 v8::Isolate* CcTest::default_isolate_; 117 CcTest::set_default_isolate(v8::Isolate::GetCurrent());
|
test-alloc.cc | 40 Heap* heap = Isolate::Current()->heap(); 53 *Isolate::Current()->object_function())->ToObjectChecked(); 84 CHECK(!heap->CopyCode(Isolate::Current()->builtins()->builtin( 93 CALL_HEAP_FUNCTION(ISOLATE, AllocateAfterFailures(), Object); 98 v8::HandleScope scope(v8::Isolate::GetCurrent()); 99 v8::Handle<v8::Context> env = v8::Context::New(v8::Isolate::GetCurrent()); 120 Isolate* isolate = Isolate::Current(); local 121 Factory* factory = isolate->factory() [all...] |
test-assembler-x64.cc | 43 using v8::internal::Isolate; 100 Assembler assm(Isolate::Current(), buffer, static_cast<int>(actual_size)); 123 Assembler assm(Isolate::Current(), buffer, static_cast<int>(actual_size)); 156 Assembler assm(Isolate::Current(), buffer, static_cast<int>(actual_size)); 179 Assembler assm(Isolate::Current(), buffer, static_cast<int>(actual_size)); 208 Assembler assm(Isolate::Current(), buffer, static_cast<int>(actual_size)); 243 Assembler assm(Isolate::Current(), buffer, static_cast<int>(actual_size)); 273 Assembler assm(Isolate::Current(), buffer, static_cast<int>(actual_size)); 362 v8::HandleScope scope(CcTest::isolate()); 363 Assembler assm(Isolate::Current(), NULL, 0) 377 Isolate* isolate = Isolate::Current(); local 451 Isolate* isolate = Isolate::Current(); local 495 v8::Isolate* isolate = v8::Isolate::GetCurrent(); local [all...] |
test-date.cc | 112 Isolate* isolate = Isolate::Current(); local 113 DateCache* date_cache = isolate->date_cache(); 123 v8::Isolate* isolate = context->GetIsolate(); local 124 v8::HandleScope scope(isolate); 137 reinterpret_cast<Isolate*>(isolate)->set_date_cache(date_cache);
|
test-global-handles.cc | 89 GlobalHandles* global_handles = Isolate::Current()->global_handles(); 91 v8::HandleScope handle_scope(CcTest::isolate()); 184 GlobalHandles* global_handles = Isolate::Current()->global_handles(); 186 v8::HandleScope handle_scope(CcTest::isolate()); 278 GlobalHandles* global_handles = Isolate::Current()->global_handles(); 280 v8::HandleScope handle_scope(CcTest::isolate()); 322 Isolate* isolate = Isolate::Current(); local 323 v8::Isolate* v8_isolate = reinterpret_cast<v8::Isolate*>(isolate) [all...] |
test-log-stack-tracer.cc | 38 #include "isolate.h" 53 using v8::internal::Isolate; 75 trace_env.sample->Init(Isolate::Current(), regs); 83 *(Isolate::Current()->c_entry_fp_address()); 85 *(Isolate::Current()->c_entry_fp_address()) = 0; 87 *(Isolate::Current()->c_entry_fp_address()) = saved_c_frame_fp; 159 CHECK_NE(NULL, i::Isolate::Current()->thread_local_top()); 160 return i::Isolate::Current()->js_entry_sp(); 202 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(args.GetIsolate()) local [all...] |
test-object-observe.cc | 36 // Need to create a new isolate when FLAG_harmony_observation is on. 41 isolate_ = Isolate::New(); 50 Isolate* GetIsolate() const { return isolate_; } 53 Isolate* isolate_; 59 HarmonyIsolate isolate; local 60 HandleScope scope(isolate.GetIsolate()); 100 HarmonyIsolate isolate; local 101 HandleScope scope(isolate.GetIsolate()); 114 HarmonyIsolate isolate; local 115 HandleScope scope(isolate.GetIsolate()) 146 HarmonyIsolate isolate; local 178 HarmonyIsolate isolate; local 203 HarmonyIsolate isolate; local 233 HarmonyIsolate isolate; local 329 HarmonyIsolate isolate; local 373 HarmonyIsolate isolate; local 422 HarmonyIsolate isolate; local [all...] |
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_; 125 // Temporarily sets a given code range in an isolate. 128 TestCodeRangeScope(Isolate* isolate, CodeRange* code_range 211 Isolate* isolate = Isolate::Current(); local 268 Isolate* isolate = Isolate::Current(); local 318 Isolate* isolate = Isolate::Current(); local 348 Isolate* isolate = Isolate::Current(); local [all...] |
/external/v8/src/ |
code-stubs.cc | 41 Heap* heap = Isolate::Current()->heap(); 53 masm->isolate()->counters()->code_stubs()->Increment(); 78 Isolate* isolate = masm->isolate(); local 80 PROFILE(isolate, CodeCreateEvent(Logger::STUB_TAG, code, *name)); 82 Counters* counters = isolate->counters(); 100 Isolate* isolate = Isolate::Current() local 173 Isolate* isolate = new_object->GetIsolate(); local 182 Isolate* isolate = known_map_->GetIsolate(); local [all...] |
contexts.cc | 68 ASSERT(Isolate::Current()->bootstrapper()->IsActive()); 92 Isolate* isolate = GetIsolate(); local 93 Handle<Context> context(this, isolate); 117 Handle<JSObject> object(JSObject::cast(context->extension()), isolate); 143 context->closure()->shared()->scope_info(), isolate); 146 ScopeInfo::cast(context->extension()), isolate); 232 context = Handle<Context>(context->previous(), isolate); 310 return Isolate::Current()->bootstrapper()->IsActive() || object->IsContext(); 317 Isolate* isolate = Isolate::Current() local [all...] |
global-handles.h | 231 Isolate* isolate() { return isolate_; } function in class:v8::internal::GlobalHandles 239 explicit GlobalHandles(Isolate* isolate); 246 Isolate* isolate_; 277 friend class Isolate;
|