• Home
  • Raw
  • Download

Lines Matching refs:pValue

627 …Runtime, v8::Local<v8::Array> pArray,unsigned index,v8::Local<v8::Value> pValue,FXJSVALUETYPE eTyp…  in JS_PutArrayElement()  argument
630 if (pArray->Set(pJSRuntime->GetCurrentContext(), index, pValue).IsNothing()) return 0; in JS_PutArrayElement()
722 int JS_ToInt32(IJS_Runtime* pJSRuntime, v8::Local<v8::Value> pValue) in JS_ToInt32() argument
724 if(pValue.IsEmpty()) return 0; in JS_ToInt32()
726 return pValue->ToInt32(context).ToLocalChecked()->Value(); in JS_ToInt32()
729 bool JS_ToBoolean(IJS_Runtime* pJSRuntime, v8::Local<v8::Value> pValue) in JS_ToBoolean() argument
731 if(pValue.IsEmpty()) return false; in JS_ToBoolean()
733 return pValue->ToBoolean(context).ToLocalChecked()->Value(); in JS_ToBoolean()
736 double JS_ToNumber(IJS_Runtime* pJSRuntime, v8::Local<v8::Value> pValue) in JS_ToNumber() argument
738 if(pValue.IsEmpty()) return 0.0; in JS_ToNumber()
740 return pValue->ToNumber(context).ToLocalChecked()->Value(); in JS_ToNumber()
743 v8::Local<v8::Object> JS_ToObject(IJS_Runtime* pJSRuntime, v8::Local<v8::Value> pValue) in JS_ToObject() argument
745 if(pValue.IsEmpty()) return v8::Local<v8::Object>(); in JS_ToObject()
747 return pValue->ToObject(context).ToLocalChecked(); in JS_ToObject()
750 CFX_WideString JS_ToString(IJS_Runtime* pJSRuntime, v8::Local<v8::Value> pValue) in JS_ToString() argument
752 if(pValue.IsEmpty()) return L""; in JS_ToString()
754 v8::String::Utf8Value s(pValue->ToString(context).ToLocalChecked()); in JS_ToString()
758 v8::Local<v8::Array> JS_ToArray(IJS_Runtime* pJSRuntime, v8::Local<v8::Value> pValue) in JS_ToArray() argument
760 if(pValue.IsEmpty()) return v8::Local<v8::Array>(); in JS_ToArray()
762 return v8::Local<v8::Array>::Cast(pValue->ToObject(context).ToLocalChecked()); in JS_ToArray()