Lines Matching refs:m_pJSRuntime
25 : m_eType(VT_unknown), m_pJSRuntime(pRuntime) { in CJS_Value()
29 : m_eType(t), m_pValue(pValue), m_pJSRuntime(pRuntime) { in CJS_Value()
33 : m_pJSRuntime(pRuntime) { in CJS_Value()
38 : m_pJSRuntime(pRuntime) { in CJS_Value()
43 : m_pJSRuntime(pRuntime) { in CJS_Value()
48 : m_pJSRuntime(pRuntime) { in CJS_Value()
53 : m_pJSRuntime(pRuntime) { in CJS_Value()
58 : m_pJSRuntime(pRuntime) { in CJS_Value()
63 : m_pJSRuntime(pRuntime) { in CJS_Value()
70 : m_pJSRuntime(pRuntime) { in CJS_Value()
75 : m_pJSRuntime(pRuntime) { in CJS_Value()
80 : m_pJSRuntime(pRuntime) { in CJS_Value()
105 return FXJS_ToInt32(m_pJSRuntime->GetIsolate(), m_pValue); in ToInt()
109 return FXJS_ToBoolean(m_pJSRuntime->GetIsolate(), m_pValue); in ToBool()
113 return FXJS_ToNumber(m_pJSRuntime->GetIsolate(), m_pValue); in ToDouble()
122 FXJS_ToObject(m_pJSRuntime->GetIsolate(), m_pValue); in ToCJSObject()
123 return (CJS_Object*)FXJS_GetPrivate(m_pJSRuntime->GetIsolate(), pObj); in ToCJSObject()
127 return FXJS_ToObject(m_pJSRuntime->GetIsolate(), m_pValue); in ToV8Object()
131 return FXJS_ToString(m_pJSRuntime->GetIsolate(), m_pValue); in ToCFXWideString()
145 FXJS_ToObject(m_pJSRuntime->GetIsolate(), m_pValue)); in ToV8Array()
153 m_pValue = FXJS_NewNumber(m_pJSRuntime->GetIsolate(), iValue); in operator =()
158 m_pValue = FXJS_NewBoolean(m_pJSRuntime->GetIsolate(), bValue); in operator =()
163 m_pValue = FXJS_NewNumber(m_pJSRuntime->GetIsolate(), dValue); in operator =()
168 m_pValue = FXJS_NewNumber(m_pJSRuntime->GetIsolate(), fValue); in operator =()
173 m_pValue = FXJS_NewObject(m_pJSRuntime->GetIsolate(), pObj); in operator =()
190 m_pValue = FXJS_NewString(m_pJSRuntime->GetIsolate(), (wchar_t*)pWstr); in operator =()
205 FXJS_NewObject2(m_pJSRuntime->GetIsolate(), (v8::Local<v8::Array>)array); in operator =()
210 m_pValue = FXJS_NewDate(m_pJSRuntime->GetIsolate(), (double)date); in operator =()
217 m_pJSRuntime = value.m_pJSRuntime; in operator =()
258 array.Attach(FXJS_ToArray(m_pJSRuntime->GetIsolate(), m_pValue)); in ConvertToArray()
408 CJS_Array::CJS_Array(CJS_Runtime* pRuntime) : m_pJSRuntime(pRuntime) { in CJS_Array()
425 FXJS_GetArrayElement(m_pJSRuntime->GetIsolate(), m_pArray, index); in GetElement()
431 m_pArray = FXJS_NewArray(m_pJSRuntime->GetIsolate()); in SetElement()
433 FXJS_PutArrayElement(m_pJSRuntime->GetIsolate(), m_pArray, index, in SetElement()
445 m_pArray = FXJS_NewArray(m_pJSRuntime->GetIsolate()); in operator v8::Local<v8::Array>()
450 CJS_Date::CJS_Date(CJS_Runtime* pRuntime) : m_pJSRuntime(pRuntime) { in CJS_Date()
454 : m_pJSRuntime(pRuntime) { in CJS_Date()
465 : m_pJSRuntime(pRuntime) { in CJS_Date()
486 return !JS_PortIsNan(FXJS_ToNumber(m_pJSRuntime->GetIsolate(), m_pDate)); in IsValidDate()
496 JS_LocalTime(FXJS_ToNumber(m_pJSRuntime->GetIsolate(), m_pDate))); in GetYear()
504 FXJS_ValueCopy(m_pDate, FXJS_NewDate(m_pJSRuntime->GetIsolate(), date)); in SetYear()
510 JS_LocalTime(FXJS_ToNumber(m_pJSRuntime->GetIsolate(), m_pDate))); in GetMonth()
518 FXJS_ValueCopy(m_pDate, FXJS_NewDate(m_pJSRuntime->GetIsolate(), date)); in SetMonth()
524 JS_LocalTime(FXJS_ToNumber(m_pJSRuntime->GetIsolate(), m_pDate))); in GetDay()
532 FXJS_ValueCopy(m_pDate, FXJS_NewDate(m_pJSRuntime->GetIsolate(), date)); in SetDay()
538 JS_LocalTime(FXJS_ToNumber(m_pJSRuntime->GetIsolate(), m_pDate))); in GetHours()
546 FXJS_ValueCopy(m_pDate, FXJS_NewDate(m_pJSRuntime->GetIsolate(), date)); in SetHours()
552 JS_LocalTime(FXJS_ToNumber(m_pJSRuntime->GetIsolate(), m_pDate))); in GetMinutes()
560 FXJS_ValueCopy(m_pDate, FXJS_NewDate(m_pJSRuntime->GetIsolate(), date)); in SetMinutes()
566 JS_LocalTime(FXJS_ToNumber(m_pJSRuntime->GetIsolate(), m_pDate))); in GetSeconds()
574 FXJS_ValueCopy(m_pDate, FXJS_NewDate(m_pJSRuntime->GetIsolate(), date)); in SetSeconds()
584 return FXJS_ToNumber(m_pJSRuntime->GetIsolate(), m_pDate); in operator double()
590 return FXJS_ToString(m_pJSRuntime->GetIsolate(), m_pDate); in ToString()