Home
last modified time | relevance | path

Searched refs:CFXJSE_Value (Results 1 – 25 of 42) sorted by relevance

12

/external/pdfium/xfa/fxfa/fm2js/
Dxfa_fm2jscontext.h24 static void Abs(CFXJSE_Value* pThis,
27 static void Avg(CFXJSE_Value* pThis,
30 static void Ceil(CFXJSE_Value* pThis,
33 static void Count(CFXJSE_Value* pThis,
36 static void Floor(CFXJSE_Value* pThis,
39 static void Max(CFXJSE_Value* pThis,
42 static void Min(CFXJSE_Value* pThis,
45 static void Mod(CFXJSE_Value* pThis,
48 static void Round(CFXJSE_Value* pThis,
51 static void Sum(CFXJSE_Value* pThis,
[all …]
Dxfa_fm2jscontext.cpp499 CXFA_FM2JSContext* ToJSContext(CFXJSE_Value* pValue, CFXJSE_Class* pClass) { in ToJSContext()
511 void CXFA_FM2JSContext::Abs(CFXJSE_Value* pThis, in Abs()
519 std::unique_ptr<CFXJSE_Value> argOne = args.GetValue(0); in Abs()
533 void CXFA_FM2JSContext::Avg(CFXJSE_Value* pThis, in Avg()
546 std::unique_ptr<CFXJSE_Value> argValue = args.GetValue(i); in Avg()
556 auto lengthValue = pdfium::MakeUnique<CFXJSE_Value>(pIsolate); in Avg()
561 auto propertyValue = pdfium::MakeUnique<CFXJSE_Value>(pIsolate); in Avg()
564 auto jsObjectValue = pdfium::MakeUnique<CFXJSE_Value>(pIsolate); in Avg()
568 auto defaultPropValue = pdfium::MakeUnique<CFXJSE_Value>(pIsolate); in Avg()
579 auto newPropertyValue = pdfium::MakeUnique<CFXJSE_Value>(pIsolate); in Avg()
[all …]
/external/pdfium/fxjs/
Dcfxjse_value.h22 class CFXJSE_Value {
24 explicit CFXJSE_Value(v8::Isolate* pIsolate);
25 ~CFXJSE_Value();
58 void SetArray(const std::vector<std::unique_ptr<CFXJSE_Value>>& values);
62 CFXJSE_Value* lpPropValue);
64 CFXJSE_Value* lpPropValue);
65 bool GetObjectPropertyByIdx(uint32_t uPropIdx, CFXJSE_Value* lpPropValue);
66 bool SetObjectProperty(uint32_t uPropIdx, CFXJSE_Value* lpPropValue);
71 CFXJSE_Value* lpPropValue);
72 bool SetFunctionBind(CFXJSE_Value* lpOldFunction, CFXJSE_Value* lpNewThis);
[all …]
Dcfxjse_value.cpp67 CFXJSE_Value::CFXJSE_Value(v8::Isolate* pIsolate) : m_pIsolate(pIsolate) {} in CFXJSE_Value() function in CFXJSE_Value
69 CFXJSE_Value::~CFXJSE_Value() {} in ~CFXJSE_Value()
71 CFXJSE_HostObject* CFXJSE_Value::ToHostObject(CFXJSE_Class* lpClass) const { in ToHostObject()
84 void CFXJSE_Value::SetObject(CFXJSE_HostObject* lpObject, in SetObject()
94 void CFXJSE_Value::SetHostObject(CFXJSE_HostObject* lpObject, in SetHostObject()
105 void CFXJSE_Value::SetArray( in SetArray()
106 const std::vector<std::unique_ptr<CFXJSE_Value>>& values) { in SetArray()
117 void CFXJSE_Value::SetDate(double dDouble) { in SetDate()
123 void CFXJSE_Value::SetFloat(FX_FLOAT fFloat) { in SetFloat()
129 bool CFXJSE_Value::SetObjectProperty(const CFX_ByteStringC& szPropName, in SetObjectProperty()
[all …]
Dcfxjse_class.cpp25 std::unique_ptr<CFXJSE_Value> lpThisValue( in V8FunctionCallback_Wrapper()
26 new CFXJSE_Value(info.GetIsolate())); in V8FunctionCallback_Wrapper()
28 std::unique_ptr<CFXJSE_Value> lpRetValue(new CFXJSE_Value(info.GetIsolate())); in V8FunctionCallback_Wrapper()
44 std::unique_ptr<CFXJSE_Value> lpThisValue( in V8ClassGlobalConstructorCallback_Wrapper()
45 new CFXJSE_Value(info.GetIsolate())); in V8ClassGlobalConstructorCallback_Wrapper()
47 std::unique_ptr<CFXJSE_Value> lpRetValue(new CFXJSE_Value(info.GetIsolate())); in V8ClassGlobalConstructorCallback_Wrapper()
63 std::unique_ptr<CFXJSE_Value> lpThisValue( in V8GetterCallback_Wrapper()
64 new CFXJSE_Value(info.GetIsolate())); in V8GetterCallback_Wrapper()
65 std::unique_ptr<CFXJSE_Value> lpPropValue( in V8GetterCallback_Wrapper()
66 new CFXJSE_Value(info.GetIsolate())); in V8GetterCallback_Wrapper()
[all …]
Dfxjse.h15 class CFXJSE_Value; variable
23 typedef void (*FXJSE_FuncCallback)(CFXJSE_Value* pThis,
26 typedef void (*FXJSE_PropAccessor)(CFXJSE_Value* pObject,
28 CFXJSE_Value* pValue);
29 typedef int32_t (*FXJSE_PropTypeGetter)(CFXJSE_Value* pObject,
32 typedef bool (*FXJSE_PropDeleter)(CFXJSE_Value* pObject,
Dcfxjse_arguments.h19 CFXJSE_Value* pRetValue) in CFXJSE_Arguments()
24 std::unique_ptr<CFXJSE_Value> GetValue(int32_t index) const;
31 CFXJSE_Value* GetReturnValue();
35 CFXJSE_Value* m_pRetValue;
Dcfxjse_arguments.cpp20 std::unique_ptr<CFXJSE_Value> CFXJSE_Arguments::GetValue(int32_t index) const { in GetValue()
21 std::unique_ptr<CFXJSE_Value> lpArgValue( in GetValue()
22 new CFXJSE_Value(v8::Isolate::GetCurrent())); in GetValue()
54 CFXJSE_Value* CFXJSE_Arguments::GetReturnValue() { in GetReturnValue()
Dcfxjse_context.h18 class CFXJSE_Value; variable
31 std::unique_ptr<CFXJSE_Value> GetGlobalObject();
34 CFXJSE_Value* lpRetValue,
35 CFXJSE_Value* lpNewThisObject = nullptr);
Dcfxjse_class.h15 class CFXJSE_Value; variable
42 friend class CFXJSE_Value; variable
/external/pdfium/xfa/fxfa/parser/
Dcscript_eventpseudomodel.h38 void Change(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute);
39 void CommitKey(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute);
40 void FullText(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute);
41 void KeyDown(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute);
42 void Modifier(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute);
43 void NewContentType(CFXJSE_Value* pValue,
46 void NewText(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute);
47 void PrevContentType(CFXJSE_Value* pValue,
50 void PrevText(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute);
51 void Reenter(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute);
[all …]
Dcxfa_scriptcontext.h34 CFXJSE_Value* pRetValue,
42 CFXJSE_Value* GetJSValueFromMap(CXFA_Object* pObject);
60 CFXJSE_Value* pValue,
65 CFXJSE_Value* pValue,
68 CFXJSE_Value* pValue);
69 static void GlobalPropertyGetter(CFXJSE_Value* pObject,
71 CFXJSE_Value* pValue);
72 static void GlobalPropertySetter(CFXJSE_Value* pObject,
74 CFXJSE_Value* pValue);
75 static void NormalPropertyGetter(CFXJSE_Value* pObject,
[all …]
Dxfa_object.h91 void Script_ObjectClass_ClassName(CFXJSE_Value* pValue,
342 void Script_Som_ResolveNodeList(CFXJSE_Value* pValue,
346 void Script_TreeClass_All(CFXJSE_Value* pValue,
349 void Script_TreeClass_Nodes(CFXJSE_Value* pValue,
352 void Script_TreeClass_ClassAll(CFXJSE_Value* pValue,
355 void Script_TreeClass_Parent(CFXJSE_Value* pValue,
358 void Script_TreeClass_Index(CFXJSE_Value* pValue,
361 void Script_TreeClass_ClassIndex(CFXJSE_Value* pValue,
364 void Script_TreeClass_SomExpression(CFXJSE_Value* pValue,
378 void Script_NodeClass_Ns(CFXJSE_Value* pValue,
[all …]
Dcscript_eventpseudomodel.cpp21 void StringProperty(CFXJSE_Value* pValue, in StringProperty()
31 void InterProperty(CFXJSE_Value* pValue, int32_t& iValue, bool bSetting) { in InterProperty()
39 void BooleanProperty(CFXJSE_Value* pValue, bool& bValue, bool bSetting) { in BooleanProperty()
57 void CScript_EventPseudoModel::Property(CFXJSE_Value* pValue, in Property()
123 void CScript_EventPseudoModel::Change(CFXJSE_Value* pValue, in Change()
128 void CScript_EventPseudoModel::CommitKey(CFXJSE_Value* pValue, in CommitKey()
133 void CScript_EventPseudoModel::FullText(CFXJSE_Value* pValue, in FullText()
138 void CScript_EventPseudoModel::KeyDown(CFXJSE_Value* pValue, in KeyDown()
143 void CScript_EventPseudoModel::Modifier(CFXJSE_Value* pValue, in Modifier()
148 void CScript_EventPseudoModel::NewContentType(CFXJSE_Value* pValue, in NewContentType()
[all …]
Dcscript_hostpseudomodel.h19 void AppType(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute);
20 void CalculationsEnabled(CFXJSE_Value* pValue,
23 void CurrentPage(CFXJSE_Value* pValue,
26 void Language(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute);
27 void NumPages(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute);
28 void Platform(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute);
29 void Title(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute);
30 void ValidationsEnabled(CFXJSE_Value* pValue,
33 void Variation(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute);
34 void Version(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute);
[all …]
Dcxfa_scriptcontext.cpp73 CXFA_ThisProxy* ToThisProxy(CFXJSE_Value* pValue, CFXJSE_Class* pClass) { in ToThisProxy()
112 CXFA_Object* CXFA_ScriptContext::ToObject(CFXJSE_Value* pValue, in ToObject()
146 CFXJSE_Value* hRetValue, in RunScript()
170 CFXJSE_Value* pValue = pThisObject ? GetJSValueFromMap(pThisObject) : nullptr; in RunScript()
176 void CXFA_ScriptContext::GlobalPropertySetter(CFXJSE_Value* pObject, in GlobalPropertySetter()
178 CFXJSE_Value* pValue) { in GlobalPropertySetter()
209 CFXJSE_Value* pValue, in QueryNodeByFlag()
230 void CXFA_ScriptContext::GlobalPropertyGetter(CFXJSE_Value* pObject, in GlobalPropertyGetter()
232 CFXJSE_Value* pValue) { in GlobalPropertyGetter()
283 void CXFA_ScriptContext::NormalPropertyGetter(CFXJSE_Value* pOriginalValue, in NormalPropertyGetter()
[all …]
Dcscript_hostpseudomodel.cpp23 CXFA_Node* ToNode(CFXJSE_Value* pValue, CFXJSE_Class* pClass) { in ToNode()
37 void CScript_HostPseudoModel::AppType(CFXJSE_Value* pValue, in AppType()
50 void CScript_HostPseudoModel::CalculationsEnabled(CFXJSE_Value* pValue, in CalculationsEnabled()
66 void CScript_HostPseudoModel::CurrentPage(CFXJSE_Value* pValue, in CurrentPage()
81 void CScript_HostPseudoModel::Language(CFXJSE_Value* pValue, in Language()
95 void CScript_HostPseudoModel::NumPages(CFXJSE_Value* pValue, in NumPages()
110 void CScript_HostPseudoModel::Platform(CFXJSE_Value* pValue, in Platform()
124 void CScript_HostPseudoModel::Title(CFXJSE_Value* pValue, in Title()
144 void CScript_HostPseudoModel::ValidationsEnabled(CFXJSE_Value* pValue, in ValidationsEnabled()
161 void CScript_HostPseudoModel::Variation(CFXJSE_Value* pValue, in Variation()
[all …]
Dcscript_datawindow.h22 void RecordsBefore(CFXJSE_Value* pValue,
25 void CurrentRecordNumber(CFXJSE_Value* pValue,
28 void RecordsAfter(CFXJSE_Value* pValue,
31 void IsDefined(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute);
Dcscript_datawindow.cpp31 void CScript_DataWindow::RecordsBefore(CFXJSE_Value* pValue, in RecordsBefore()
35 void CScript_DataWindow::CurrentRecordNumber(CFXJSE_Value* pValue, in CurrentRecordNumber()
39 void CScript_DataWindow::RecordsAfter(CFXJSE_Value* pValue, in RecordsAfter()
43 void CScript_DataWindow::IsDefined(CFXJSE_Value* pValue, in IsDefined()
Dcscript_signaturepseudomodel.cpp33 CFXJSE_Value* pValue = pArguments->GetReturnValue(); in Verify()
45 CFXJSE_Value* pValue = pArguments->GetReturnValue(); in Sign()
65 CFXJSE_Value* pValue = pArguments->GetReturnValue(); in Clear()
Dcscript_layoutpseudomodel.cpp34 void CScript_LayoutPseudoModel::Ready(CFXJSE_Value* pValue, in Ready()
103 CFXJSE_Value* pValue = pArguments->GetReturnValue(); in HWXY()
169 CFXJSE_Value* pValue = pArguments->GetReturnValue(); in NumberedPageCount()
195 CFXJSE_Value* pValue = pArguments->GetReturnValue(); in PageSpan()
385 CFXJSE_Value* pValue = pArguments->GetReturnValue(); in AbsPageCountInBatch()
392 CFXJSE_Value* pValue = pArguments->GetReturnValue(); in SheetCountInBatch()
419 CFXJSE_Value* pValue = pArguments->GetReturnValue(); in AbsPageInBatch()
430 CFXJSE_Value* pValue = pArguments->GetReturnValue(); in SheetInBatch()
468 CFXJSE_Value* pValue = pArguments->GetReturnValue(); in PageImp()
Dcxfa_node.cpp1026 std::unique_ptr<CFXJSE_Value> pValue( in Script_TreeClass_ResolveNode()
1027 new CFXJSE_Value(pScriptContext->GetRuntime())); in Script_TreeClass_ResolveNode()
1045 CFXJSE_Value* pValue = pArguments->GetReturnValue(); in Script_TreeClass_ResolveNodes()
1057 void CXFA_Node::Script_Som_ResolveNodeList(CFXJSE_Value* pValue, in Script_Som_ResolveNodeList()
1089 void CXFA_Node::Script_TreeClass_All(CFXJSE_Value* pValue, in Script_TreeClass_All()
1104 void CXFA_Node::Script_TreeClass_Nodes(CFXJSE_Value* pValue, in Script_TreeClass_Nodes()
1119 void CXFA_Node::Script_TreeClass_ClassAll(CFXJSE_Value* pValue, in Script_TreeClass_ClassAll()
1131 void CXFA_Node::Script_TreeClass_Parent(CFXJSE_Value* pValue, in Script_TreeClass_Parent()
1146 void CXFA_Node::Script_TreeClass_Index(CFXJSE_Value* pValue, in Script_TreeClass_Index()
1156 void CXFA_Node::Script_TreeClass_ClassIndex(CFXJSE_Value* pValue, in Script_TreeClass_ClassIndex()
[all …]
/external/pdfium/xfa/fxfa/
Dxfa_ffdochandler.h19 CFXJSE_Value* GetXFAScriptObject(CXFA_FFDoc* hDoc);
25 CFXJSE_Value* pRetValue,
26 CFXJSE_Value* pThisObject);
/external/pdfium/xfa/fxfa/app/
Dxfa_ffdochandler.cpp18 CFXJSE_Value* CXFA_FFDocHandler::GetXFAScriptObject(CXFA_FFDoc* hDoc) { in GetXFAScriptObject()
47 CFXJSE_Value* pRetValue, in RunDocScript()
48 CFXJSE_Value* pThisValue) { in RunDocScript()
/external/pdfium/fpdfsdk/javascript/
Dijs_runtime.h36 CFXJSE_Value* pValue) = 0;
38 CFXJSE_Value* pValue) = 0;

12