• Home
  • Raw
  • Download

Lines Matching refs:m_isolate

14 CJS_V8::CJS_V8(v8::Isolate* isolate) : m_isolate(isolate) {}  in CJS_V8()
26 if (!pObj->Get(m_isolate->GetCurrentContext(), in GetObjectProperty()
39 v8::Local<v8::Context> context = m_isolate->GetCurrentContext(); in GetObjectPropertyNames()
56 pObj->Set(m_isolate->GetCurrentContext(), in PutObjectProperty()
62 return v8::Array::New(m_isolate); in NewArray()
70 if (pArray->Set(m_isolate->GetCurrentContext(), index, pValue).IsNothing()) in PutArrayElement()
80 if (!pArray->Get(m_isolate->GetCurrentContext(), index).ToLocal(&val)) in GetArrayElement()
92 return v8::Local<v8::Context>::New(m_isolate, m_V8PersistentContext); in NewLocalContext()
96 return m_V8PersistentContext.Get(m_isolate); in GetPersistentContext()
100 return v8::Int32::New(m_isolate, number); in NewNumber()
104 return v8::Number::New(m_isolate, number); in NewNumber()
108 return v8::Number::New(m_isolate, (float)number); in NewNumber()
112 return v8::Boolean::New(m_isolate, b); in NewBoolean()
116 v8::Isolate* pIsolate = m_isolate ? m_isolate : v8::Isolate::GetCurrent(); in NewString()
130 return v8::Null(m_isolate); in NewNull()
134 return v8::Undefined(m_isolate); in NewUndefined()
138 return v8::Date::New(m_isolate->GetCurrentContext(), d) in NewDate()
146 v8::Local<v8::Context> context = m_isolate->GetCurrentContext(); in ToInt32()
156 v8::Local<v8::Context> context = m_isolate->GetCurrentContext(); in ToBoolean()
166 v8::Local<v8::Context> context = m_isolate->GetCurrentContext(); in ToDouble()
176 v8::Local<v8::Context> context = m_isolate->GetCurrentContext(); in ToWideString()
180 v8::String::Utf8Value s(m_isolate, maybe_string.ToLocalChecked()); in ToWideString()
187 v8::Local<v8::Context> context = m_isolate->GetCurrentContext(); in ToByteString()
191 v8::String::Utf8Value s(m_isolate, maybe_string.ToLocalChecked()); in ToByteString()
198 v8::Local<v8::Context> context = m_isolate->GetCurrentContext(); in ToObject()
205 v8::Local<v8::Context> context = m_isolate->GetCurrentContext(); in ToArray()
234 v8::EscapableHandleScope scope(m_isolate); in NewXFAObject()
236 v8::Local<v8::FunctionTemplate>::New(m_isolate, tmpl); in NewXFAObject()