Home
last modified time | relevance | path

Searched refs:GetIsolate (Results 1 – 25 of 27) sorted by relevance

12

/external/pdfium/fxjs/
Dcfx_v8.cpp19 return fxv8::ReentrantGetObjectPropertyHelper(GetIsolate(), pObj, in GetObjectProperty()
25 return fxv8::ReentrantGetObjectPropertyNamesHelper(GetIsolate(), pObj); in GetObjectPropertyNames()
31 fxv8::ReentrantPutObjectPropertyHelper(GetIsolate(), pObj, bsUTF8PropertyName, in PutObjectProperty()
41 return fxv8::NewArrayHelper(GetIsolate()); in NewArray()
45 return fxv8::NewObjectHelper(GetIsolate()); in NewObject()
51 fxv8::ReentrantPutArrayElementHelper(GetIsolate(), pArray, index, pValue); in PutArrayElement()
56 return fxv8::ReentrantGetArrayElementHelper(GetIsolate(), pArray, index); in GetArrayElement()
64 return fxv8::NewNumberHelper(GetIsolate(), number); in NewNumber()
68 return fxv8::NewNumberHelper(GetIsolate(), number); in NewNumber()
72 return fxv8::NewNumberHelper(GetIsolate(), number); in NewNumber()
[all …]
Dcfxjs_engine.cpp178 v8::Isolate* isolate = info.GetIsolate(); in CallHandler()
195 v8::Isolate* GetIsolate() const { return m_pIsolate; } in GetIsolate() function in CFXJS_ObjDefinition
198 GetInstanceTemplate()->Set(GetIsolate(), sConstName, pDefault); in DefineConst()
210 GetIsolate(), pMethodCall, v8::Local<v8::Value>(), GetSignature()); in DefineMethod()
228 v8::EscapableHandleScope scope(GetIsolate()); in GetInstanceTemplate()
230 m_FunctionTemplate.Get(GetIsolate()); in GetInstanceTemplate()
235 v8::EscapableHandleScope scope(GetIsolate()); in GetSignature()
236 return scope.Escape(m_Signature.Get(GetIsolate())); in GetSignature()
304 auto* pIsolateData = FXJS_PerIsolateData::Get(info.GetIsolate()); in MapFromWeakCallbackInfo()
417 v8::Isolate::Scope isolate_scope(GetIsolate()); in DefineObj()
[all …]
Dcjs_runtime.cpp83 v8::Isolate::Scope isolate_scope(GetIsolate()); in DefineJSObjects()
84 v8::HandleScope handle_scope(GetIsolate()); in DefineJSObjects()
85 v8::Local<v8::Context> context = v8::Context::New(GetIsolate()); in DefineJSObjects()
149 v8::Isolate::Scope isolate_scope(GetIsolate()); in SetFormFillEnvToDocument()
150 v8::HandleScope handle_scope(GetIsolate()); in SetFormFillEnvToDocument()
158 auto pJSDocument = JSGetObject<CJS_Document>(GetIsolate(), pThis); in SetFormFillEnvToDocument()
188 v8::Isolate::Scope isolate_scope(GetIsolate()); in GetValueByNameFromGlobalObject()
191 v8::Local<v8::String> str = fxv8::NewStringHelper(GetIsolate(), utf8Name); in GetValueByNameFromGlobalObject()
203 v8::Isolate* pIsolate = GetIsolate(); in SetValueByNameInGlobalObject()
216 ByteString bstr = fxv8::ToByteString(GetIsolate(), value.As<v8::String>()); in MaybeCoerceToNumber()
[all …]
Dcjs_global.cpp55 auto pObj = JSGetObject<CJS_Global>(info.GetIsolate(), info.Holder()); in queryprop_static()
59 ByteString bsProp = ByteStringFromV8Name(info.GetIsolate(), property); in queryprop_static()
68 auto pObj = JSGetObject<CJS_Global>(info.GetIsolate(), info.Holder()); in getprop_static()
76 ByteString bsProp = ByteStringFromV8Name(info.GetIsolate(), property); in getprop_static()
92 auto pObj = JSGetObject<CJS_Global>(info.GetIsolate(), info.Holder()); in putprop_static()
100 ByteString bsProp = ByteStringFromV8Name(info.GetIsolate(), property); in putprop_static()
114 auto pObj = JSGetObject<CJS_Global>(info.GetIsolate(), info.Holder()); in delprop_static()
118 ByteString bsProp = ByteStringFromV8Name(info.GetIsolate(), property); in delprop_static()
125 auto pObj = JSGetObject<CJS_Global>(info.GetIsolate(), info.Holder()); in enumprop_static()
201 v8::Local<v8::Object>::New(pRuntime->GetIsolate(), pData->pData)); in GetProperty()
[all …]
Dcjs_event_context.cpp27 v8::Isolate::Scope isolate_scope(m_pRuntime->GetIsolate()); in RunScript()
28 v8::HandleScope handle_scope(m_pRuntime->GetIsolate()); in RunScript()
69 CFXJS_Engine::GetObjectPrivate(m_pRuntime->GetIsolate(), pDocObj)); in SourceField()
73 CFXJS_Engine::GetObjectPrivate(m_pRuntime->GetIsolate(), pFieldObj)); in SourceField()
91 CFXJS_Engine::GetObjectPrivate(m_pRuntime->GetIsolate(), pDocObj)); in TargetField()
95 CFXJS_Engine::GetObjectPrivate(m_pRuntime->GetIsolate(), pFieldObj)); in TargetField()
Dcjs_globalarrays.cpp19 v8::Local<v8::Context> ctx = (rt)->GetIsolate()->GetCurrentContext(); \
29 CJS_Object* pObj = CFXJS_Engine::GetObjectPrivate(info.GetIsolate(), \
Djs_define.h72 auto pObj = JSGetObject<C>(info.GetIsolate(), info.Holder()); in JSPropGetter()
97 auto pObj = JSGetObject<C>(info.GetIsolate(), info.Holder()); in JSPropSetter()
118 auto pObj = JSGetObject<C>(info.GetIsolate(), info.Holder()); in JSMethod()
Dcjs_globalconsts.cpp15 fxv8::NewStringHelper(info.GetIsolate(), (value))); \
Dcjs_object.h52 return m_pV8Object.Get(GetRuntime()->GetIsolate()); in ToV8Object()
Dcjs_object.cpp42 : m_pV8Object(pObject->GetIsolate(), pObject), m_pRuntime(pRuntime) {} in CJS_Object()
Dcjs_app.cpp100 auto pJSDocument = JSGetObject<CJS_Document>(pRuntime->GetIsolate(), pObj); in get_active_docs()
325 CFXJS_Engine::GetObjectPrivate(pRuntime->GetIsolate(), pRetObj)); in setInterval()
354 CFXJS_Engine::GetObjectPrivate(pRuntime->GetIsolate(), pRetObj)); in setTimeOut()
386 auto pTimer = JSGetObject<CJS_TimerObj>(pRuntime->GetIsolate(), pObj); in ClearTimerCommon()
Dcfx_v8.h23 v8::Isolate* GetIsolate() const { return m_pIsolate; } in GetIsolate() function
Dcfx_v8_unittest.cpp244 info.GetIsolate()->ThrowException(property); in TEST_F()
266 info.GetIsolate()->ThrowException(property); in TEST_F()
Dcjs_document.cpp265 CFXJS_Engine::GetObjectPrivate(pRuntime->GetIsolate(), pFieldObj)); in getField()
1032 CFXJS_Engine::GetObjectPrivate(pRuntime->GetIsolate(), pObj)); in getAnnot()
1067 CFXJS_Engine::GetObjectPrivate(pRuntime->GetIsolate(), pObj)); in getAnnots()
1112 if (!JSGetObject<CJS_Icon>(pRuntime->GetIsolate(), pObj)) in addIcon()
1135 CFXJS_Engine::GetObjectPrivate(pRuntime->GetIsolate(), pObj)); in get_icons()
1167 CFXJS_Engine::GetObjectPrivate(pRuntime->GetIsolate(), pObj)); in getIcon()
Dcjs_publicmethods.cpp148 CFXJS_Engine::GetObjectPrivate(info.GetIsolate(), info.Holder()); in JSGlobalFunc()
901 dDate = ParseDateAsGMT(pRuntime->GetIsolate(), strValue); in AFDate_FormatEx()
903 dDate = ParseDateUsingFormat(pRuntime->GetIsolate(), strValue, sFormat, in AFDate_FormatEx()
977 double dRet = ParseDateUsingFormat(pRuntime->GetIsolate(), strValue, sFormat, in AFDate_KeystrokeEx()
1235 ParseDateUsingFormat(pRuntime->GetIsolate(), sValue, sFormat, nullptr); in AFParseDateEx()
Dcjs_util.cpp380 dDate = CJS_PublicMethods::ParseDateUsingFormat(pRuntime->GetIsolate(), in scand()
/external/pdfium/fxjs/xfa/
Dcfxjse_formcalc_context.cpp1376 return GetExtractedValue(info.GetIsolate(), info[index]); in GetSimpleValue()
1505 v8::Isolate* pIsolate = info.GetIsolate(); in UnfoldArgs()
1576 v8::Isolate* pIsolate = ToFormCalcContext(pHostObject)->GetIsolate(); in ResolveObjects()
1626 v8::Isolate* pIsolate = pContext->GetIsolate(); in ParseResolveResult()
1690 if (ValueIsNull(info.GetIsolate(), info[0])) { in Abs()
1694 double dValue = ValueToDouble(info.GetIsolate(), info[0]); in Abs()
1732 if (ValueIsNull(info.GetIsolate(), argValue)) { in Ceil()
1737 info.GetReturnValue().Set(ceil(ValueToFloat(info.GetIsolate(), argValue))); in Ceil()
1764 if (ValueIsNull(info.GetIsolate(), argValue)) { in Floor()
1769 info.GetReturnValue().Set(floor(ValueToFloat(info.GetIsolate(), argValue))); in Floor()
[all …]
Dcfxjse_context.cpp211 v8::Isolate::Scope isolate_scope(GetIsolate()); in GetGlobalObject()
212 v8::EscapableHandleScope handle_scope(GetIsolate()); in GetGlobalObject()
214 v8::Local<v8::Context>::New(GetIsolate(), m_hContext); in GetGlobalObject()
221 return v8::Local<v8::Context>::New(GetIsolate(), m_hContext); in GetContext()
246 v8::Local<v8::Context> hContext = GetIsolate()->GetCurrentContext(); in ExecuteScript()
247 v8::TryCatch trycatch(GetIsolate()); in ExecuteScript()
249 fxv8::NewStringHelper(GetIsolate(), bsScript); in ExecuteScript()
258 pRetValue->ForceSetValue(GetIsolate(), hValue); in ExecuteScript()
263 pRetValue->ForceSetValue(GetIsolate(), in ExecuteScript()
264 CreateReturnValue(GetIsolate(), &trycatch)); in ExecuteScript()
[all …]
Dcfxjse_class.cpp80 fxv8::NewStringHelper(info.GetIsolate(), szStringVal.AsStringView())); in Context_GlobalObjToString()
85 ->ObjectProtoToString(info.GetIsolate()->GetCurrentContext()) in Context_GlobalObjToString()
110 v8::String::Utf8Value szPropName(info.GetIsolate(), hPropName); in DynPropGetterAdapter_MethodCallback()
117 fxv8::ThrowExceptionHelper(info.GetIsolate(), err.AsStringView()); in DynPropGetterAdapter_MethodCallback()
203 v8::HandleScope scope(info.GetIsolate()); in NamedPropertyQueryCallback()
204 v8::String::Utf8Value szPropName(info.GetIsolate(), property); in NamedPropertyQueryCallback()
206 if (DynPropQueryAdapter(info.GetIsolate(), pClass, info.Holder(), in NamedPropertyQueryCallback()
223 v8::String::Utf8Value szPropName(info.GetIsolate(), property); in NamedPropertyGetterCallback()
226 DynPropGetterAdapter(info.GetIsolate(), pClass, info.Holder(), szFxPropName, in NamedPropertyGetterCallback()
240 v8::String::Utf8Value szPropName(info.GetIsolate(), property); in NamedPropertySetterCallback()
[all …]
Dcfxjse_engine.cpp95 return ToObject(info.GetIsolate(), info.Holder()); in ToObject()
124 : CFX_V8(fxjs_runtime->GetIsolate()), in CFXJSE_Engine()
127 m_JsContext(CFXJSE_Context::Create(fxjs_runtime->GetIsolate(), in CFXJSE_Engine()
149 FXJSE_ClearObjectBinding(v8::Local<v8::Object>::New(GetIsolate(), binding)); in ~CFXJSE_Engine()
180 GetIsolate(), m_JsContext.get(), m_pDocument.Get()); in RunScript()
185 hRetValue->SetUndefined(GetIsolate()); in RunScript()
225 GetIsolate(), jsObject, pValue, false, in QueryNodeByFlag()
247 GetIsolate(), jsObject, &pValue, true, in UpdateNodeByFlag()
275 fxv8::ReentrantDeleteObjectPropertyHelper(pScriptContext->GetIsolate(), in GlobalPropertySetter()
578 GetIsolate(), &kVariablesClassDescriptor, proxy->JSObject(), proxy); in CreateVariablesContext()
[all …]
Dcjx_tree.cpp76 runtime->GetIsolate(), jsObject, &pValue, false, in resolveNode()
96 return CJS_Result::Success(ResolveNodeList(pScriptContext->GetIsolate(), in resolveNodes()
245 CFXJSE_Engine::ToObject(pScriptContext->GetIsolate(), innerValue); in ResolveNodeList()
Dcfxjse_isolatetracker.cpp25 : isolate_handle_(pContext->GetIsolate()), context_(pContext) {} in CFXJSE_ScopeUtil_IsolateHandleContext()
Dcfxjse_context.h35 v8::Isolate* GetIsolate() const { return m_pIsolate; } in GetIsolate() function
Dcjx_instancemanager.cpp149 MoveInstance(runtime->GetIsolate(), iTo, iFrom); in moveInstance()
216 SetInstances(runtime->GetIsolate(), runtime->ToInt32(params[0])); in setInstances()
Dcfxjse_formcalc_context.h277 v8::Isolate* GetIsolate() const { return m_pIsolate; } in GetIsolate() function

12