Lines Matching refs:m_pIsolate
67 CFXJSE_Value::CFXJSE_Value(v8::Isolate* pIsolate) : m_pIsolate(pIsolate) {} in CFXJSE_Value()
74 CFXJSE_ScopeUtil_IsolateHandleRootContext scope(m_pIsolate); in ToHostObject()
75 v8::Local<v8::Value> pValue = v8::Local<v8::Value>::New(m_pIsolate, m_hValue); in ToHostObject()
86 CFXJSE_ScopeUtil_IsolateHandleRootContext scope(m_pIsolate); in SetObject()
88 v8::Local<v8::FunctionTemplate>::New(m_pIsolate, pClass->m_hTemplate); in SetObject()
91 m_hValue.Reset(m_pIsolate, hObject); in SetObject()
96 CFXJSE_ScopeUtil_IsolateHandleRootContext scope(m_pIsolate); in SetArray()
97 v8::Local<v8::Array> hArrayObject = v8::Array::New(m_pIsolate, values.size()); in SetArray()
101 m_pIsolate, v.get()->DirectGetValue())); in SetArray()
103 m_hValue.Reset(m_pIsolate, hArrayObject); in SetArray()
107 CFXJSE_ScopeUtil_IsolateHandleRootContext scope(m_pIsolate); in SetDate()
108 v8::Local<v8::Value> hDate = v8::Date::New(m_pIsolate, dDouble); in SetDate()
109 m_hValue.Reset(m_pIsolate, hDate); in SetDate()
113 CFXJSE_ScopeUtil_IsolateHandle scope(m_pIsolate); in SetFloat()
114 v8::Local<v8::Value> pValue = v8::Number::New(m_pIsolate, ftod(fFloat)); in SetFloat()
115 m_hValue.Reset(m_pIsolate, pValue); in SetFloat()
121 CFXJSE_ScopeUtil_IsolateHandleRootContext scope(m_pIsolate); in SetObjectProperty()
123 v8::Local<v8::Value>::New(m_pIsolate, m_hValue); in SetObjectProperty()
128 v8::Local<v8::Value>::New(m_pIsolate, lpPropValue->DirectGetValue()); in SetObjectProperty()
130 v8::String::NewFromUtf8(m_pIsolate, szPropName.unterminated_c_str(), in SetObjectProperty()
139 CFXJSE_ScopeUtil_IsolateHandleRootContext scope(m_pIsolate); in GetObjectProperty()
141 v8::Local<v8::Value>::New(m_pIsolate, m_hValue); in GetObjectProperty()
147 m_pIsolate, szPropName.unterminated_c_str(), in GetObjectProperty()
155 CFXJSE_ScopeUtil_IsolateHandleRootContext scope(m_pIsolate); in SetObjectProperty()
157 v8::Local<v8::Value>::New(m_pIsolate, m_hValue); in SetObjectProperty()
162 v8::Local<v8::Value>::New(m_pIsolate, lpPropValue->DirectGetValue()); in SetObjectProperty()
168 CFXJSE_ScopeUtil_IsolateHandleRootContext scope(m_pIsolate); in GetObjectPropertyByIdx()
170 v8::Local<v8::Value>::New(m_pIsolate, m_hValue); in GetObjectPropertyByIdx()
180 CFXJSE_ScopeUtil_IsolateHandleRootContext scope(m_pIsolate); in DeleteObjectProperty()
182 v8::Local<v8::Value>::New(m_pIsolate, m_hValue); in DeleteObjectProperty()
187 m_pIsolate, szPropName.unterminated_c_str(), v8::String::kNormalString, in DeleteObjectProperty()
194 CFXJSE_ScopeUtil_IsolateHandleRootContext scope(m_pIsolate); in HasObjectOwnProperty()
196 v8::Local<v8::Value>::New(m_pIsolate, m_hValue); in HasObjectOwnProperty()
201 m_pIsolate, szPropName.unterminated_c_str(), v8::String::kNormalString, in HasObjectOwnProperty()
206 ->HasOwnProperty(m_pIsolate->GetCurrentContext(), hKey) in HasObjectOwnProperty()
213 CFXJSE_ScopeUtil_IsolateHandleRootContext scope(m_pIsolate); in SetObjectOwnProperty()
215 v8::Local<v8::Value>::New(m_pIsolate, m_hValue); in SetObjectOwnProperty()
220 v8::Local<v8::Value>::New(m_pIsolate, lpPropValue->m_hValue); in SetObjectOwnProperty()
223 m_pIsolate->GetCurrentContext(), in SetObjectOwnProperty()
224 v8::String::NewFromUtf8(m_pIsolate, szPropName.unterminated_c_str(), in SetObjectOwnProperty()
235 CFXJSE_ScopeUtil_IsolateHandleRootContext scope(m_pIsolate); in SetFunctionBind()
238 v8::Local<v8::Value>::New(m_pIsolate, lpOldFunction->DirectGetValue()); in SetFunctionBind()
244 v8::Local<v8::Value>::New(m_pIsolate, lpNewThis->DirectGetValue()); in SetFunctionBind()
250 v8::String::NewFromUtf8(m_pIsolate, in SetFunctionBind()
256 hBinderFunc->Call(m_pIsolate->GetCurrentContext()->Global(), 2, rgArgs); in SetFunctionBind()
260 m_hValue.Reset(m_pIsolate, hBoundFunction); in SetFunctionBind()
268 CFXJSE_ScopeUtil_IsolateHandle scope(m_pIsolate); in IsUndefined()
269 v8::Local<v8::Value> hValue = v8::Local<v8::Value>::New(m_pIsolate, m_hValue); in IsUndefined()
277 CFXJSE_ScopeUtil_IsolateHandle scope(m_pIsolate); in IsNull()
278 v8::Local<v8::Value> hValue = v8::Local<v8::Value>::New(m_pIsolate, m_hValue); in IsNull()
286 CFXJSE_ScopeUtil_IsolateHandle scope(m_pIsolate); in IsBoolean()
287 v8::Local<v8::Value> hValue = v8::Local<v8::Value>::New(m_pIsolate, m_hValue); in IsBoolean()
295 CFXJSE_ScopeUtil_IsolateHandle scope(m_pIsolate); in IsString()
296 v8::Local<v8::Value> hValue = v8::Local<v8::Value>::New(m_pIsolate, m_hValue); in IsString()
304 CFXJSE_ScopeUtil_IsolateHandle scope(m_pIsolate); in IsNumber()
305 v8::Local<v8::Value> hValue = v8::Local<v8::Value>::New(m_pIsolate, m_hValue); in IsNumber()
313 CFXJSE_ScopeUtil_IsolateHandle scope(m_pIsolate); in IsInteger()
314 v8::Local<v8::Value> hValue = v8::Local<v8::Value>::New(m_pIsolate, m_hValue); in IsInteger()
322 CFXJSE_ScopeUtil_IsolateHandle scope(m_pIsolate); in IsObject()
323 v8::Local<v8::Value> hValue = v8::Local<v8::Value>::New(m_pIsolate, m_hValue); in IsObject()
331 CFXJSE_ScopeUtil_IsolateHandle scope(m_pIsolate); in IsArray()
332 v8::Local<v8::Value> hValue = v8::Local<v8::Value>::New(m_pIsolate, m_hValue); in IsArray()
340 CFXJSE_ScopeUtil_IsolateHandle scope(m_pIsolate); in IsFunction()
341 v8::Local<v8::Value> hValue = v8::Local<v8::Value>::New(m_pIsolate, m_hValue); in IsFunction()
349 CFXJSE_ScopeUtil_IsolateHandle scope(m_pIsolate); in IsDate()
350 v8::Local<v8::Value> hValue = v8::Local<v8::Value>::New(m_pIsolate, m_hValue); in IsDate()
356 CFXJSE_ScopeUtil_IsolateHandleRootContext scope(m_pIsolate); in ToBoolean()
357 v8::Local<v8::Value> hValue = v8::Local<v8::Value>::New(m_pIsolate, m_hValue); in ToBoolean()
363 CFXJSE_ScopeUtil_IsolateHandleRootContext scope(m_pIsolate); in ToFloat()
364 v8::Local<v8::Value> hValue = v8::Local<v8::Value>::New(m_pIsolate, m_hValue); in ToFloat()
370 CFXJSE_ScopeUtil_IsolateHandleRootContext scope(m_pIsolate); in ToDouble()
371 v8::Local<v8::Value> hValue = v8::Local<v8::Value>::New(m_pIsolate, m_hValue); in ToDouble()
377 CFXJSE_ScopeUtil_IsolateHandleRootContext scope(m_pIsolate); in ToInteger()
378 v8::Local<v8::Value> hValue = v8::Local<v8::Value>::New(m_pIsolate, m_hValue); in ToInteger()
384 CFXJSE_ScopeUtil_IsolateHandleRootContext scope(m_pIsolate); in ToString()
385 v8::Local<v8::Value> hValue = v8::Local<v8::Value>::New(m_pIsolate, m_hValue); in ToString()
387 v8::String::Utf8Value hStringVal(m_pIsolate, hString); in ToString()
392 CFXJSE_ScopeUtil_IsolateHandle scope(m_pIsolate); in SetUndefined()
393 v8::Local<v8::Value> hValue = v8::Undefined(m_pIsolate); in SetUndefined()
394 m_hValue.Reset(m_pIsolate, hValue); in SetUndefined()
398 CFXJSE_ScopeUtil_IsolateHandle scope(m_pIsolate); in SetNull()
399 v8::Local<v8::Value> hValue = v8::Null(m_pIsolate); in SetNull()
400 m_hValue.Reset(m_pIsolate, hValue); in SetNull()
404 CFXJSE_ScopeUtil_IsolateHandle scope(m_pIsolate); in SetBoolean()
405 v8::Local<v8::Value> hValue = v8::Boolean::New(m_pIsolate, bBoolean != false); in SetBoolean()
406 m_hValue.Reset(m_pIsolate, hValue); in SetBoolean()
410 CFXJSE_ScopeUtil_IsolateHandle scope(m_pIsolate); in SetInteger()
411 v8::Local<v8::Value> hValue = v8::Integer::New(m_pIsolate, nInteger); in SetInteger()
412 m_hValue.Reset(m_pIsolate, hValue); in SetInteger()
416 CFXJSE_ScopeUtil_IsolateHandle scope(m_pIsolate); in SetDouble()
417 v8::Local<v8::Value> hValue = v8::Number::New(m_pIsolate, dDouble); in SetDouble()
418 m_hValue.Reset(m_pIsolate, hValue); in SetDouble()
422 CFXJSE_ScopeUtil_IsolateHandle scope(m_pIsolate); in SetString()
424 m_pIsolate, reinterpret_cast<const char*>(szString.raw_str()), in SetString()
426 m_hValue.Reset(m_pIsolate, hValue); in SetString()