Lines Matching full:local

49 		  v8::Local<v8::ObjectTemplate> objTemplate = v8::ObjectTemplate::New(isolate);  in CJS_ObjDefintion()
107 …v8::Local<v8::ObjectTemplate> objTemp = v8::Local<v8::ObjectTemplate>::New(isolate, pObjDef->m_obj… in JS_DefineObjMethod()
127 …v8::Local<v8::ObjectTemplate> objTemp = v8::Local<v8::ObjectTemplate>::New(isolate, pObjDef->m_obj… in JS_DefineObjProperty()
144 …v8::Local<v8::ObjectTemplate> objTemp = v8::Local<v8::ObjectTemplate>::New(isolate, pObjDef->m_obj… in JS_DefineObjAllProperties()
150 int JS_DefineObjConst(IJS_Runtime* pJSRuntime, int nObjDefnID, const wchar_t* sConstName, v8::Local in JS_DefineObjConst()
164 …v8::Local<v8::ObjectTemplate> objTemp = v8::Local<v8::ObjectTemplate>::New(isolate, pObjDef->m_obj… in JS_DefineObjConst()
197 v8::Local<v8::FunctionTemplate> funTempl = v8::FunctionTemplate::New(isolate, pMethodCall); in JS_DefineGlobalMethod()
198 v8::Local<v8::ObjectTemplate> objTemp; in JS_DefineGlobalMethod()
204 objTemp = v8::Local<v8::ObjectTemplate>::New(isolate, globalObjTemp); in JS_DefineGlobalMethod()
212 int JS_DefineGlobalConst(IJS_Runtime* pJSRuntime, const wchar_t* sConstName, v8::Local<v8::Value> p… in JS_DefineGlobalConst()
221 v8::Local<v8::ObjectTemplate> objTemp; in JS_DefineGlobalConst()
227 objTemp = v8::Local<v8::ObjectTemplate>::New(isolate, globalObjTemp); in JS_DefineGlobalConst()
243 …v8::Local<v8::Context> v8Context = v8::Context::New(isolate, NULL, v8::Local<v8::ObjectTemplate>::… in JS_InitialRuntime()
246 v8::Local<v8::External> ptr = v8::External::New(isolate, pFXRuntime); in JS_InitialRuntime()
257 …v8::Local<v8::String> objName = v8::String::NewFromUtf8(isolate, bs.c_str(), v8::NewStringType::kN… in JS_InitialRuntime()
277 v8::Local<v8::Object> obj = JS_NewFxDynamicObj(pJSRuntime, context, i); in JS_InitialRuntime()
290 v8::Local<v8::Context> context = v8::Local<v8::Context>::New(isolate, v8PersistentContext); in JS_ReleaseRuntime()
301 v8::Local<v8::Object> pObj = v8::Local<v8::Object>::New(isolate, pObjDef->m_StaticObj); in JS_ReleaseRuntime()
329 v8::Local<v8::Context> context = isolate->GetCurrentContext(); in JS_Parse()
330 v8::Local<v8::Script> compiled_script; in JS_Parse()
347 v8::Local<v8::Context> context = isolate->GetCurrentContext(); in JS_Execute()
348 v8::Local<v8::Script> compiled_script; in JS_Execute()
354 v8::Local<v8::Value> result; in JS_Execute()
362 v8::Local<v8::Object> JS_NewFxDynamicObj(IJS_Runtime* pJSRuntime, IFXJS_Context* pJSContext, int nO… in JS_NewFxDynamicObj()
366 v8::Local<v8::Context> context = isolate->GetCurrentContext(); in JS_NewFxDynamicObj()
369 v8::Local<v8::ObjectTemplate> objTempl = v8::ObjectTemplate::New(isolate); in JS_NewFxDynamicObj()
370 v8::Local<v8::Object> obj; in JS_NewFxDynamicObj()
372 return v8::Local<v8::Object>(); in JS_NewFxDynamicObj()
376 if(!pArray) return v8::Local<v8::Object>(); in JS_NewFxDynamicObj()
379 if(nObjDefnID<0 || nObjDefnID>= pArray->GetSize()) return v8::Local<v8::Object>(); in JS_NewFxDynamicObj()
382 …v8::Local<v8::ObjectTemplate> objTemp = v8::Local<v8::ObjectTemplate>::New(isolate, pObjDef->m_obj… in JS_NewFxDynamicObj()
383 v8::Local<v8::Object> obj; in JS_NewFxDynamicObj()
384 if (!objTemp->NewInstance(context).ToLocal(&obj)) return v8::Local<v8::Object>(); in JS_NewFxDynamicObj()
396 v8::Local<v8::Object> JS_GetStaticObj(IJS_Runtime* pJSRuntime, int nObjDefnID) in JS_GetStaticObj()
402 if(!pArray) return v8::Local<v8::Object>(); in JS_GetStaticObj()
404 if(nObjDefnID<0 || nObjDefnID>= pArray->GetSize()) return v8::Local<v8::Object>(); in JS_GetStaticObj()
406 v8::Local<v8::Object> obj = v8::Local<v8::Object>::New(isolate,pObjDef->m_StaticObj); in JS_GetStaticObj()
414 v8::Local<v8::Object> JS_GetThisObj(IJS_Runtime * pJSRuntime) in JS_GetThisObj()
421 if(!pArray) return v8::Local<v8::Object>(); in JS_GetThisObj()
423 v8::Local<v8::Context> context = isolate->GetCurrentContext(); in JS_GetThisObj()
427 int JS_GetObjDefnID(v8::Local<v8::Object> pObj) in JS_GetObjDefnID()
436 IJS_Runtime* JS_GetRuntime(v8::Local<v8::Object> pObj) in JS_GetRuntime()
439 v8::Local<v8::Context> context = pObj->CreationContext(); in JS_GetRuntime()
481 const wchar_t* JS_GetTypeof(v8::Local<v8::Value> pObj) in JS_GetTypeof()
501 void JS_SetPrivate(v8::Local<v8::Object> pObj, void* p) in JS_SetPrivate()
506 void* JS_GetPrivate(v8::Local<v8::Object> pObj) in JS_GetPrivate()
511 void JS_SetPrivate(IJS_Runtime* pJSRuntime, v8::Local<v8::Object> pObj, void* p) in JS_SetPrivate()
519 void* JS_GetPrivate(IJS_Runtime* pJSRuntime, v8::Local<v8::Object> pObj) in JS_GetPrivate()
528 v8::Local<v8::Value> v = pObj->GetPrototype(); in JS_GetPrivate()
530 v8::Local<v8::Context> context = isolate->GetCurrentContext(); in JS_GetPrivate()
543 void JS_FreePrivate(v8::Local<v8::Object> pObj) in JS_FreePrivate()
551 v8::Local<v8::Value> JS_GetObjectValue(v8::Local<v8::Object> pObj) in JS_GetObjectValue()
556 v8::Local<v8::String> WSToJSString(IJS_Runtime* pJSRuntime, const wchar_t* PropertyName, int Len = … in WSToJSString()
564 v8::Local<v8::Value> JS_GetObjectElement(IJS_Runtime* pJSRuntime, v8::Local<v8::Object> pObj,const … in JS_GetObjectElement()
566 if(pObj.IsEmpty()) return v8::Local<v8::Value>(); in JS_GetObjectElement()
567 v8::Local<v8::Value> val; in JS_GetObjectElement()
568 …rentContext(), WSToJSString(pJSRuntime,PropertyName)).ToLocal(&val)) return v8::Local<v8::Value>(); in JS_GetObjectElement()
572 v8::Local<v8::Array> JS_GetObjectElementNames(IJS_Runtime* pJSRuntime, v8::Local<v8::Object> pObj) in JS_GetObjectElementNames()
574 if(pObj.IsEmpty()) return v8::Local<v8::Array>(); in JS_GetObjectElementNames()
575 v8::Local<v8::Array> val; in JS_GetObjectElementNames()
576 …if (!pObj->GetPropertyNames(pJSRuntime->GetCurrentContext()).ToLocal(&val)) return v8::Local<v8::A… in JS_GetObjectElementNames()
580 void JS_PutObjectString(IJS_Runtime* pJSRuntime,v8::Local<v8::Object> pObj, const wchar_t* Property… in JS_PutObjectString()
586 void JS_PutObjectNumber(IJS_Runtime* pJSRuntime,v8::Local<v8::Object> pObj, const wchar_t* Property… in JS_PutObjectNumber()
592 void JS_PutObjectNumber(IJS_Runtime* pJSRuntime,v8::Local<v8::Object> pObj, const wchar_t* Property… in JS_PutObjectNumber()
598 void JS_PutObjectNumber(IJS_Runtime* pJSRuntime,v8::Local<v8::Object> pObj, const wchar_t* Property… in JS_PutObjectNumber()
604 void JS_PutObjectBoolean(IJS_Runtime* pJSRuntime,v8::Local<v8::Object> pObj, const wchar_t* Propert… in JS_PutObjectBoolean()
610 …_PutObjectObject(IJS_Runtime* pJSRuntime,v8::Local<v8::Object> pObj, const wchar_t* PropertyName, … in JS_PutObjectObject()
616 void JS_PutObjectNull(IJS_Runtime* pJSRuntime,v8::Local<v8::Object> pObj, const wchar_t* PropertyNa… in JS_PutObjectNull()
619 …pObj->Set(pJSRuntime->GetCurrentContext(), WSToJSString(pJSRuntime,PropertyName),v8::Local<v8::Obj… in JS_PutObjectNull()
622 v8::Local<v8::Array> JS_NewArray(IJS_Runtime* pJSRuntime) in JS_NewArray()
627 …ned JS_PutArrayElement(IJS_Runtime* pJSRuntime, v8::Local<v8::Array> pArray,unsigned index,v8::Loc… in JS_PutArrayElement()
634 v8::Local<v8::Value> JS_GetArrayElement(IJS_Runtime* pJSRuntime, v8::Local<v8::Array> pArray,unsign… in JS_GetArrayElement()
636 if(pArray.IsEmpty()) return v8::Local<v8::Value>(); in JS_GetArrayElement()
637 v8::Local<v8::Value> val; in JS_GetArrayElement()
638 …if (pArray->Get(pJSRuntime->GetCurrentContext(), index).ToLocal(&val)) return v8::Local<v8::Value>… in JS_GetArrayElement()
642 unsigned JS_GetArrayLength(v8::Local<v8::Array> pArray) in JS_GetArrayLength()
648 v8::Local<v8::Value> JS_NewNumber(IJS_Runtime* pJSRuntime,int number) in JS_NewNumber()
653 v8::Local<v8::Value> JS_NewNumber(IJS_Runtime* pJSRuntime,double number) in JS_NewNumber()
658 v8::Local<v8::Value> JS_NewNumber(IJS_Runtime* pJSRuntime,float number) in JS_NewNumber()
663 v8::Local<v8::Value> JS_NewBoolean(IJS_Runtime* pJSRuntime,bool b) in JS_NewBoolean()
668 v8::Local<v8::Value> JS_NewObject(IJS_Runtime* pJSRuntime,v8::Local<v8::Object> pObj) in JS_NewObject()
670 if(pObj.IsEmpty()) return v8::Local<v8::Value>(); in JS_NewObject()
674 v8::Local<v8::Value> JS_NewObject2(IJS_Runtime* pJSRuntime,v8::Local<v8::Array> pObj) in JS_NewObject2()
676 if(pObj.IsEmpty()) return v8::Local<v8::Value>(); in JS_NewObject2()
681 v8::Local<v8::Value> JS_NewString(IJS_Runtime* pJSRuntime,const wchar_t* string) in JS_NewString()
686 v8::Local<v8::Value> JS_NewString(IJS_Runtime* pJSRuntime,const wchar_t* string, unsigned nLen) in JS_NewString()
691 v8::Local<v8::Value> JS_NewNull() in JS_NewNull()
693 return v8::Local<v8::Value>(); in JS_NewNull()
696 v8::Local<v8::Value> JS_NewDate(IJS_Runtime* pJSRuntime,double d) in JS_NewDate()
701 v8::Local<v8::Value> JS_NewValue(IJS_Runtime* pJSRuntime) in JS_NewValue()
703 return v8::Local<v8::Value>(); in JS_NewValue()
706 v8::Local<v8::Value> JS_GetListValue(IJS_Runtime* pJSRuntime, v8::Local<v8::Value> pList, int index) in JS_GetListValue()
709 v8::Local<v8::Context> context = pJSRuntime->GetCurrentContext(); in JS_GetListValue()
712 v8::Local<v8::Object> obj; in JS_GetListValue()
715 v8::Local<v8::Value> val; in JS_GetListValue()
719 return v8::Local<v8::Value>(); in JS_GetListValue()
722 int JS_ToInt32(IJS_Runtime* pJSRuntime, v8::Local<v8::Value> pValue) in JS_ToInt32()
725 v8::Local<v8::Context> context = pJSRuntime->GetCurrentContext(); in JS_ToInt32()
729 bool JS_ToBoolean(IJS_Runtime* pJSRuntime, v8::Local<v8::Value> pValue) in JS_ToBoolean()
732 v8::Local<v8::Context> context = pJSRuntime->GetCurrentContext(); in JS_ToBoolean()
736 double JS_ToNumber(IJS_Runtime* pJSRuntime, v8::Local<v8::Value> pValue) in JS_ToNumber()
739 v8::Local<v8::Context> context = pJSRuntime->GetCurrentContext(); in JS_ToNumber()
743 v8::Local<v8::Object> JS_ToObject(IJS_Runtime* pJSRuntime, v8::Local<v8::Value> pValue) in JS_ToObject()
745 if(pValue.IsEmpty()) return v8::Local<v8::Object>(); in JS_ToObject()
746 v8::Local<v8::Context> context = pJSRuntime->GetCurrentContext(); in JS_ToObject()
750 CFX_WideString JS_ToString(IJS_Runtime* pJSRuntime, v8::Local<v8::Value> pValue) in JS_ToString()
753 v8::Local<v8::Context> context = pJSRuntime->GetCurrentContext(); in JS_ToString()
758 v8::Local<v8::Array> JS_ToArray(IJS_Runtime* pJSRuntime, v8::Local<v8::Value> pValue) in JS_ToArray()
760 if(pValue.IsEmpty()) return v8::Local<v8::Array>(); in JS_ToArray()
761 v8::Local<v8::Context> context = pJSRuntime->GetCurrentContext(); in JS_ToArray()
762 return v8::Local<v8::Array>::Cast(pValue->ToObject(context).ToLocalChecked()); in JS_ToArray()
765 void JS_ValueCopy(v8::Local<v8::Value>& pTo, v8::Local<v8::Value> pFrom) in JS_ValueCopy()
993 v8::Local<v8::Context> context = pIsolate->GetCurrentContext(); in JS_DateParse()
996 …v8::Local<v8::Value> v = context->Global()->Get(context, v8::String::NewFromUtf8(pIsolate, "Date",… in JS_DateParse()
999 v8::Local<v8::Object> o = v->ToObject(context).ToLocalChecked(); in JS_DateParse()
1003 v8::Local<v8::Function> funC = v8::Local<v8::Function>::Cast(v); in JS_DateParse()
1006 v8::Local<v8::String> timeStr = WSToJSString(pIsolate, string); in JS_DateParse()
1007 v8::Local<v8::Value> argv[argc] = {timeStr}; in JS_DateParse()