/external/v8/test/cctest/ |
test-microtask-delivery.cc | 49 v8::Isolate* GetIsolate() const { return isolate_; } 60 v8::HandleScope scope(isolate.GetIsolate()); 61 LocalContext context(isolate.GetIsolate()); 106 v8::HandleScope scope(isolate.GetIsolate()); 107 LocalContext context1(isolate.GetIsolate()); 108 isolate.GetIsolate()->SetAutorunMicrotasks(false); 113 LocalContext context2(isolate.GetIsolate()); 116 v8::String::NewFromUtf8(isolate.GetIsolate(), "obj", 133 LocalContext context3(isolate.GetIsolate()); 136 v8::String::NewFromUtf8(isolate.GetIsolate(), "obj" [all...] |
test-js-arm64-variables.cc | 73 v8::HandleScope scope(env->GetIsolate()); 85 v8::HandleScope scope(env->GetIsolate()); 96 v8::HandleScope scope(env->GetIsolate()); 107 v8::HandleScope scope(env->GetIsolate()); 121 v8::HandleScope scope(env->GetIsolate()); 135 v8::HandleScope scope(env->GetIsolate());
|
test-typedarrays.cc | 37 v8::HandleScope scope(env->GetIsolate()); 50 v8::HandleScope scope(env->GetIsolate()); 58 v8::HandleScope scope(env->GetIsolate()); 75 v8::HandleScope scope(env->GetIsolate()); 76 void* memory = reinterpret_cast<Isolate*>(env->GetIsolate()) 80 v8::ArrayBuffer::New(env->GetIsolate(), memory, 1024,
|
profiler-extension.cc | 68 v8::CpuProfiler* cpu_profiler = args.GetIsolate()->GetCpuProfiler(); 71 : v8::String::Empty(args.GetIsolate())); 77 v8::CpuProfiler* cpu_profiler = args.GetIsolate()->GetCpuProfiler(); 80 : v8::String::Empty(args.GetIsolate()));
|
test-api.h | 16 CHECK_EQ(CcTest::isolate(), t.GetIsolate()); 17 CHECK_EQ(t.GetIsolate(), rv.GetIsolate()); 26 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(t.GetIsolate());
|
test-debug.cc | 100 inline v8::Isolate* GetIsolate() { return context_->GetIsolate(); } 104 reinterpret_cast<v8::internal::Isolate*>(context_->GetIsolate()); 148 return CompileFunction(env->GetIsolate(), source, function_name); 165 v8::internal::Isolate* isolate = fun->GetIsolate(); [all...] |
test-accessors.cc | 69 v8::Isolate* isolate = env->GetIsolate(); 134 *field = value->Int32Value(info.GetIsolate()->GetCurrentContext()).FromJust(); 170 CHECK_EQ(isolate, info.GetIsolate()); 179 CHECK(x_holder->Equals(info.GetIsolate()->GetCurrentContext(), info.Holder()) 187 x_receiver->Equals(info.GetIsolate()->GetCurrentContext(), info.Holder()) 196 CHECK_EQ(isolate, info.GetIsolate()); 197 CHECK(x_holder->Equals(info.GetIsolate()->GetCurrentContext(), info.This()) 199 CHECK(x_holder->Equals(info.GetIsolate()->GetCurrentContext(), info.Holder()) 202 value->Int32Value(info.GetIsolate()->GetCurrentContext()).FromJust(); 222 v8::Isolate* isolate = context->GetIsolate(); [all...] |
print-extension.cc | 42 v8::HandleScope scope(args.GetIsolate());
|
test-javascript-arm64.cc | 91 v8::HandleScope scope(env->GetIsolate()); 99 v8::HandleScope scope(env->GetIsolate()); 107 v8::HandleScope scope(env->GetIsolate()); 117 v8::HandleScope scope(env->GetIsolate()); 174 v8::HandleScope scope(env->GetIsolate()); 189 v8::HandleScope scope(env->GetIsolate()); 211 v8::HandleScope scope(env->GetIsolate()); 228 v8::HandleScope scope(env->GetIsolate()); 241 v8::HandleScope scope(env->GetIsolate());
|
test-thread-termination.cc | 43 CHECK(!args.GetIsolate()->IsExecutionTerminating()); 44 args.GetIsolate()->TerminateExecution(); 54 CHECK(!args.GetIsolate()->IsExecutionTerminating()); 56 CompileRun(args.GetIsolate()->GetCurrentContext(), 59 CHECK(args.GetIsolate()->IsExecutionTerminating()); 64 v8::TryCatch try_catch(args.GetIsolate()); 65 CHECK(!args.GetIsolate()->IsExecutionTerminating()); 67 CompileRun(args.GetIsolate()->GetCurrentContext(), 86 CHECK(args.GetIsolate()->IsExecutionTerminating()); 91 v8::TryCatch try_catch(args.GetIsolate()); [all...] |
test-heap-profiler.cc | 172 v8::HandleScope scope(env2->GetIsolate()); 173 v8::HeapProfiler* heap_profiler = env2->GetIsolate()->GetHeapProfiler(); 205 v8::HandleScope scope(env->GetIsolate()); 206 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); 237 v8::HandleScope scope(env->GetIsolate()); 238 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); 275 v8::HandleScope scope(env->GetIsolate()); 276 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); 300 v8::HandleScope scope(env->GetIsolate()); 301 v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler() [all...] |
/external/pdfium/fpdfsdk/src/javascript/ |
JS_Runtime.cpp | 94 FXJS_InitializeRuntime(GetIsolate(), this, &m_context, &m_StaticObjects); 112 FXJS_InitializeRuntime(GetIsolate(), this, &m_context, &m_StaticObjects); 125 FXJS_ReleaseRuntime(GetIsolate(), &m_context, &m_StaticObjects); 137 v8::Isolate::Scope isolate_scope(GetIsolate()); 139 v8::Locker locker(GetIsolate()); 141 v8::HandleScope handle_scope(GetIsolate()); 142 v8::Local<v8::Context> context = v8::Context::New(GetIsolate()); 147 CJS_Border::DefineJSObjects(GetIsolate(), FXJSOBJTYPE_STATIC); 148 CJS_Display::DefineJSObjects(GetIsolate(), FXJSOBJTYPE_STATIC); 149 CJS_Font::DefineJSObjects(GetIsolate(), FXJSOBJTYPE_STATIC) [all...] |
JS_Value.cpp | 105 return FXJS_ToInt32(m_pJSRuntime->GetIsolate(), m_pValue); 109 return FXJS_ToBoolean(m_pJSRuntime->GetIsolate(), m_pValue); 113 return FXJS_ToNumber(m_pJSRuntime->GetIsolate(), m_pValue); 122 FXJS_ToObject(m_pJSRuntime->GetIsolate(), m_pValue); 123 return (CJS_Object*)FXJS_GetPrivate(m_pJSRuntime->GetIsolate(), pObj); 127 return FXJS_ToObject(m_pJSRuntime->GetIsolate(), m_pValue); 131 return FXJS_ToString(m_pJSRuntime->GetIsolate(), m_pValue); 145 FXJS_ToObject(m_pJSRuntime->GetIsolate(), m_pValue)); 153 m_pValue = FXJS_NewNumber(m_pJSRuntime->GetIsolate(), iValue); 158 m_pValue = FXJS_NewBoolean(m_pJSRuntime->GetIsolate(), bValue) [all...] |
/external/v8/src/extensions/ |
externalize-string-extension.cc | 61 args.GetIsolate()->ThrowException( 63 args.GetIsolate(), 73 ->BooleanValue(args.GetIsolate()->GetCurrentContext()) 76 args.GetIsolate()->ThrowException( 78 args.GetIsolate(), 87 args.GetIsolate()->ThrowException( 88 v8::String::NewFromUtf8(args.GetIsolate(), 100 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(args.GetIsolate()); 111 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(args.GetIsolate()); 117 args.GetIsolate()->ThrowException [all...] |
gc-extension.cc | 20 args.GetIsolate()->RequestGarbageCollectionForTesting( 22 ->BooleanValue(args.GetIsolate()->GetCurrentContext())
|
statistics-extension.cc | 62 Isolate* isolate = reinterpret_cast<Isolate*>(args.GetIsolate()); 68 ->BooleanValue(args.GetIsolate()->GetCurrentContext()) 75 v8::Local<v8::Object> result = v8::Object::New(args.GetIsolate()); 109 AddCounter(args.GetIsolate(), result, counter_list[i].counter, 135 AddNumber(args.GetIsolate(), result, numbers[i].number, numbers[i].name); 138 AddNumber64(args.GetIsolate(), result,
|
/external/v8/samples/ |
process.cc | 140 Isolate* GetIsolate() { return isolate_; } 158 HandleScope scope(args.GetIsolate()); 169 HandleScope handle_scope(GetIsolate()); 173 Local<ObjectTemplate> global = ObjectTemplate::New(GetIsolate()); 174 global->Set(String::NewFromUtf8(GetIsolate(), "log", NewStringType::kNormal) 176 FunctionTemplate::New(GetIsolate(), LogCallback)); 183 v8::Local<v8::Context> context = Context::New(GetIsolate(), NULL, global); 184 context_.Reset(GetIsolate(), context); 201 String::NewFromUtf8(GetIsolate(), "Process", NewStringType::kNormal) 216 process_.Reset(GetIsolate(), process_fun) [all...] |
shell.cc | 154 v8::HandleScope handle_scope(args.GetIsolate()); 174 args.GetIsolate()->ThrowException( 175 v8::String::NewFromUtf8(args.GetIsolate(), "Bad parameters", 181 args.GetIsolate()->ThrowException( 182 v8::String::NewFromUtf8(args.GetIsolate(), "Error loading file", 187 if (!ReadFile(args.GetIsolate(), *file).ToLocal(&source)) { 188 args.GetIsolate()->ThrowException( 189 v8::String::NewFromUtf8(args.GetIsolate(), "Error loading file", 202 v8::HandleScope handle_scope(args.GetIsolate()); 205 args.GetIsolate()->ThrowException [all...] |
/external/v8/src/ |
d8-posix.cc | 235 ->Int32Value(args.GetIsolate()->GetCurrentContext()) 238 args.GetIsolate()->ThrowException( 239 String::NewFromUtf8(args.GetIsolate(), 248 ->Int32Value(args.GetIsolate()->GetCurrentContext()) 251 args.GetIsolate()->ThrowException( 252 String::NewFromUtf8(args.GetIsolate(), 468 HandleScope scope(args.GetIsolate()); 475 args.GetIsolate()->ThrowException( 476 String::NewFromUtf8(args.GetIsolate(), 483 command_args = Array::New(args.GetIsolate(), 0) [all...] |
type-feedback-vector.cc | 181 Isolate* isolate = GetIsolate(); 256 Isolate* isolate = GetIsolate(); 283 Isolate* isolate = GetIsolate(); 296 Isolate* isolate = GetIsolate(); 322 SetFeedback(*TypeFeedbackVector::UninitializedSentinel(GetIsolate()), 324 SetFeedbackExtra(*TypeFeedbackVector::UninitializedSentinel(GetIsolate()), 330 SetFeedback(*TypeFeedbackVector::PremonomorphicSentinel(GetIsolate()), 332 SetFeedbackExtra(*TypeFeedbackVector::UninitializedSentinel(GetIsolate()), 338 Isolate* isolate = GetIsolate(); 347 Isolate* isolate = GetIsolate(); [all...] |
/external/v8/src/heap/ |
scavenger-inl.h | 14 DCHECK(object->GetIsolate()->heap()->InFromSpace(object)); 26 DCHECK(object->GetIsolate()->heap()->InFromSpace(*p));
|
/external/skia/experimental/SkV8Example/ |
Path2DBuilder.cpp | 18 v8::HandleScope handleScope(gGlobal->getIsolate()); 21 0, v8::External::New(gGlobal->getIsolate(), path)); 27 global->getIsolate(), name, \ 29 v8::FunctionTemplate::New(global->getIsolate(), fn)) 37 v8::HandleScope handleScope(gGlobal->getIsolate()); 45 gGlobal->getIsolate(), Path2DBuilder::ConstructPath); 61 gGlobal->getIsolate(), "Path2DBuilder"), constructor->GetFunction()); 78 args.GetIsolate()->ThrowException( 80 args.GetIsolate(), "Error: 2 arguments required.")); 91 args.GetIsolate()->ThrowException [all...] |
/external/pdfium/xfa/src/fxjse/src/ |
scope_inline.h | 24 v8::Isolate* GetIsolate() { return m_isolate; }
61 v8::Isolate* GetIsolate() { return m_context->m_pIsolate; }
89 v8::Isolate* GetIsolate() { return m_parent.GetIsolate(); }
91 v8::Isolate* pIsolate = m_parent.GetIsolate();
|
/external/v8/src/compiler/ |
type-hint-analyzer.cc | 37 BinaryOpICState state(code->GetIsolate(), code->extra_ic_state()); 51 ToBooleanStub stub(code->GetIsolate(), code->extra_ic_state()); 74 Isolate* const isolate = code->GetIsolate();
|
/external/v8/src/wasm/ |
wasm-js.cc | 60 HandleScope scope(args.GetIsolate()); 61 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(args.GetIsolate()); 80 HandleScope scope(args.GetIsolate()); 81 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(args.GetIsolate()); 105 HandleScope scope(args.GetIsolate()); 106 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(args.GetIsolate()); 156 HandleScope scope(args.GetIsolate()); 157 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(args.GetIsolate()); 189 HandleScope scope(args.GetIsolate()); 190 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(args.GetIsolate()); [all...] |