Home
last modified time | relevance | path

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

123

/external/pdfium/fxjs/xfa/
Dcfxjse_formcalc_context.h32 static void Abs(CFXJSE_Value* pThis,
35 static void Avg(CFXJSE_Value* pThis,
38 static void Ceil(CFXJSE_Value* pThis,
41 static void Count(CFXJSE_Value* pThis,
44 static void Floor(CFXJSE_Value* pThis,
47 static void Max(CFXJSE_Value* pThis,
50 static void Min(CFXJSE_Value* pThis,
53 static void Mod(CFXJSE_Value* pThis,
56 static void Round(CFXJSE_Value* pThis,
59 static void Sum(CFXJSE_Value* pThis,
[all …]
Dcfxjse_value.h21 class CFXJSE_Value {
23 explicit CFXJSE_Value(v8::Isolate* pIsolate);
24 ~CFXJSE_Value();
57 void SetArray(const std::vector<std::unique_ptr<CFXJSE_Value>>& values);
59 bool GetObjectProperty(ByteStringView szPropName, CFXJSE_Value* lpPropValue);
60 bool SetObjectProperty(ByteStringView szPropName, CFXJSE_Value* lpPropValue);
61 bool GetObjectPropertyByIdx(uint32_t uPropIdx, CFXJSE_Value* lpPropValue);
65 CFXJSE_Value* lpPropValue);
66 bool SetFunctionBind(CFXJSE_Value* lpOldFunction, CFXJSE_Value* lpNewThis);
73 void Assign(const CFXJSE_Value* lpValue) { in Assign()
[all …]
Dcfxjse_formcalc_context.cpp411 CFXJSE_FormCalcContext* ToFormCalcContext(CFXJSE_Value* pValue) { in ToFormCalcContext()
1343 void CFXJSE_FormCalcContext::Abs(CFXJSE_Value* pThis, in Abs()
1351 std::unique_ptr<CFXJSE_Value> argOne = args.GetValue(0); in Abs()
1365 void CFXJSE_FormCalcContext::Avg(CFXJSE_Value* pThis, in Avg()
1378 std::unique_ptr<CFXJSE_Value> argValue = args.GetValue(i); in Avg()
1388 auto lengthValue = pdfium::MakeUnique<CFXJSE_Value>(pIsolate); in Avg()
1393 auto propertyValue = pdfium::MakeUnique<CFXJSE_Value>(pIsolate); in Avg()
1396 auto jsObjectValue = pdfium::MakeUnique<CFXJSE_Value>(pIsolate); in Avg()
1400 auto defaultPropValue = pdfium::MakeUnique<CFXJSE_Value>(pIsolate); in Avg()
1411 auto newPropertyValue = pdfium::MakeUnique<CFXJSE_Value>(pIsolate); in Avg()
[all …]
Dcfxjse_engine.h45 static CXFA_Object* ToObject(CFXJSE_Value* pValue);
46 static void GlobalPropertyGetter(CFXJSE_Value* pObject,
48 CFXJSE_Value* pValue);
49 static void GlobalPropertySetter(CFXJSE_Value* pObject,
51 CFXJSE_Value* pValue);
52 static void NormalPropertyGetter(CFXJSE_Value* pObject,
54 CFXJSE_Value* pValue);
55 static void NormalPropertySetter(CFXJSE_Value* pObject,
57 CFXJSE_Value* pValue);
61 static int32_t NormalPropTypeGetter(CFXJSE_Value* pObject,
[all …]
Dcfxjse_value.cpp70 CFXJSE_Value::CFXJSE_Value(v8::Isolate* pIsolate) : m_pIsolate(pIsolate) {} in CFXJSE_Value() function in CFXJSE_Value
72 CFXJSE_Value::~CFXJSE_Value() {} in ~CFXJSE_Value()
74 CFXJSE_HostObject* CFXJSE_Value::ToHostObject() const { in ToHostObject()
85 void CFXJSE_Value::SetHostObject(CFXJSE_HostObject* lpObject, in SetHostObject()
98 void CFXJSE_Value::ClearHostObject() { in ClearHostObject()
105 void CFXJSE_Value::SetArray( in SetArray()
106 const std::vector<std::unique_ptr<CFXJSE_Value>>& values) { in SetArray()
124 void CFXJSE_Value::SetFloat(float fFloat) { in SetFloat()
130 bool CFXJSE_Value::SetObjectProperty(ByteStringView szPropName, in SetObjectProperty()
131 CFXJSE_Value* lpPropValue) { in SetObjectProperty()
[all …]
Dcjx_eventpseudomodel.cpp21 void StringProperty(CFXJSE_Value* pReturn, WideString* wsValue, bool bSetting) { in StringProperty()
29 void IntegerProperty(CFXJSE_Value* pReturn, int32_t* iValue, bool bSetting) { in IntegerProperty()
37 void BooleanProperty(CFXJSE_Value* pReturn, bool* bValue, bool bSetting) { in BooleanProperty()
62 void CJX_EventPseudoModel::cancelAction(CFXJSE_Value* pValue, in cancelAction()
68 void CJX_EventPseudoModel::change(CFXJSE_Value* pValue, in change()
74 void CJX_EventPseudoModel::commitKey(CFXJSE_Value* pValue, in commitKey()
80 void CJX_EventPseudoModel::fullText(CFXJSE_Value* pValue, in fullText()
86 void CJX_EventPseudoModel::keyDown(CFXJSE_Value* pValue, in keyDown()
92 void CJX_EventPseudoModel::modifier(CFXJSE_Value* pValue, in modifier()
98 void CJX_EventPseudoModel::newContentType(CFXJSE_Value* pValue, in newContentType()
[all …]
Dcfxjse_formcalc_context_embeddertest.cpp39 CFXJSE_Value* value = GetValue(); in TEST_F()
78 CFXJSE_Value* value = GetValue(); in TEST_F()
99 CFXJSE_Value* value = GetValue(); in TEST_F()
140 CFXJSE_Value* value = GetValue(); in TEST_F()
158 CFXJSE_Value* value = GetValue(); in TEST_F()
176 CFXJSE_Value* value = GetValue(); in TEST_F()
194 CFXJSE_Value* value = GetValue(); in TEST_F()
212 CFXJSE_Value* value = GetValue(); in TEST_F()
232 CFXJSE_Value* value = GetValue(); in TEST_F()
252 CFXJSE_Value* value = GetValue(); in TEST_F()
[all …]
Dcjx_tree.cpp60 CFXJSE_Value* value = in resolveNode()
72 auto pValue = pdfium::MakeUnique<CFXJSE_Value>(pScriptContext->GetIsolate()); in resolveNode()
91 auto pValue = pdfium::MakeUnique<CFXJSE_Value>(pScriptContext->GetIsolate()); in resolveNodes()
101 void CJX_Tree::all(CFXJSE_Value* pValue, in all()
114 void CJX_Tree::classAll(CFXJSE_Value* pValue, in classAll()
128 void CJX_Tree::nodes(CFXJSE_Value* pValue, in nodes()
143 void CJX_Tree::parent(CFXJSE_Value* pValue, in parent()
161 void CJX_Tree::index(CFXJSE_Value* pValue, in index()
174 void CJX_Tree::classIndex(CFXJSE_Value* pValue, in classIndex()
187 void CJX_Tree::somExpression(CFXJSE_Value* pValue, in somExpression()
[all …]
Dcfxjse_arguments.h16 class CFXJSE_Value; variable
21 CFXJSE_Value* pRetValue);
25 std::unique_ptr<CFXJSE_Value> GetValue(int32_t index) const;
30 CFXJSE_Value* GetReturnValue() const;
34 UnownedPtr<CFXJSE_Value> const m_pRetValue;
Dfxjse.h25 class CFXJSE_Value; variable
45 typedef void (*FXJSE_FuncCallback)(CFXJSE_Value* pThis,
48 typedef void (*FXJSE_PropAccessor)(CFXJSE_Value* pObject,
50 CFXJSE_Value* pValue);
51 typedef int32_t (*FXJSE_PropTypeGetter)(CFXJSE_Value* pObject,
Dcfxjse_engine.cpp76 CXFA_ThisProxy* ToThisProxy(CFXJSE_Value* pValue) { in ToThisProxy()
95 CXFA_Object* CFXJSE_Engine::ToObject(CFXJSE_Value* pValue) { in ToObject()
128 CFXJSE_Value* hRetValue, in RunScript()
150 CFXJSE_Value* pValue = in RunScript()
158 CFXJSE_Value* pValue, in QueryNodeByFlag()
182 void CFXJSE_Engine::GlobalPropertySetter(CFXJSE_Value* pObject, in GlobalPropertySetter()
184 CFXJSE_Value* pValue) { in GlobalPropertySetter()
223 void CFXJSE_Engine::GlobalPropertyGetter(CFXJSE_Value* pObject, in GlobalPropertyGetter()
225 CFXJSE_Value* pValue) { in GlobalPropertyGetter()
296 int32_t CFXJSE_Engine::GlobalPropTypeGetter(CFXJSE_Value* pOriginalValue, in GlobalPropTypeGetter()
[all …]
Dcfxjse_value_embeddertest.cpp21 auto pValue = pdfium::MakeUnique<CFXJSE_Value>(GetIsolate()); in TEST_F()
37 auto pValue = pdfium::MakeUnique<CFXJSE_Value>(GetIsolate()); in TEST_F()
38 std::vector<std::unique_ptr<CFXJSE_Value>> vec; in TEST_F()
41 CFXJSE_Value array(GetIsolate()); in TEST_F()
Dcfxjse_context.h20 class CFXJSE_Value; variable
35 std::unique_ptr<CFXJSE_Value> GetGlobalObject();
40 CFXJSE_Value* lpRetValue,
41 CFXJSE_Value* lpNewThisObject);
Dcjx_datawindow.cpp55 void CJX_DataWindow::recordsBefore(CFXJSE_Value* pValue, in recordsBefore()
59 void CJX_DataWindow::currentRecordNumber(CFXJSE_Value* pValue, in currentRecordNumber()
63 void CJX_DataWindow::recordsAfter(CFXJSE_Value* pValue, in recordsAfter()
67 void CJX_DataWindow::isDefined(CFXJSE_Value* pValue, in isDefined()
Dcfxjse_arguments.cpp15 CFXJSE_Value* pRetValue) in CFXJSE_Arguments()
24 std::unique_ptr<CFXJSE_Value> CFXJSE_Arguments::GetValue(int32_t index) const { in GetValue()
25 auto pArgValue = pdfium::MakeUnique<CFXJSE_Value>(v8::Isolate::GetCurrent()); in GetValue()
57 CFXJSE_Value* CFXJSE_Arguments::GetReturnValue() const { in GetReturnValue()
Dcfxjse_class.cpp43 auto lpThisValue = pdfium::MakeUnique<CFXJSE_Value>(info.GetIsolate()); in V8FunctionCallback_Wrapper()
45 auto lpRetValue = pdfium::MakeUnique<CFXJSE_Value>(info.GetIsolate()); in V8FunctionCallback_Wrapper()
128 CFXJSE_Value* pObject, in DynPropGetterAdapter()
130 CFXJSE_Value* pValue) { in DynPropGetterAdapter()
168 CFXJSE_Value* pObject, in DynPropSetterAdapter()
170 CFXJSE_Value* pValue) { in DynPropSetterAdapter()
183 CFXJSE_Value* pObject, in DynPropQueryAdapter()
205 auto lpThisValue = pdfium::MakeUnique<CFXJSE_Value>(info.GetIsolate()); in NamedPropertyQueryCallback()
226 auto lpThisValue = pdfium::MakeUnique<CFXJSE_Value>(info.GetIsolate()); in NamedPropertyGetterCallback()
228 auto lpNewValue = pdfium::MakeUnique<CFXJSE_Value>(info.GetIsolate()); in NamedPropertyGetterCallback()
[all …]
Dcjx_delta.cpp35 void CJX_Delta::currentValue(CFXJSE_Value* pValue, in currentValue()
39 void CJX_Delta::savedValue(CFXJSE_Value* pValue, in savedValue()
43 void CJX_Delta::target(CFXJSE_Value* pValue, in target()
Dcjx_exclgroup.cpp110 CFXJSE_Value* value = in selectedMember()
118 void CJX_ExclGroup::defaultValue(CFXJSE_Value* pValue, in defaultValue()
140 void CJX_ExclGroup::rawValue(CFXJSE_Value* pValue, in rawValue()
146 void CJX_ExclGroup::transient(CFXJSE_Value* pValue, in transient()
150 void CJX_ExclGroup::errorText(CFXJSE_Value* pValue, in errorText()
Dcjx_hostpseudomodel.cpp79 void CJX_HostPseudoModel::appType(CFXJSE_Value* pValue, in appType()
93 void CJX_HostPseudoModel::calculationsEnabled(CFXJSE_Value* pValue, in calculationsEnabled()
109 void CJX_HostPseudoModel::currentPage(CFXJSE_Value* pValue, in currentPage()
124 void CJX_HostPseudoModel::language(CFXJSE_Value* pValue, in language()
139 void CJX_HostPseudoModel::numPages(CFXJSE_Value* pValue, in numPages()
154 void CJX_HostPseudoModel::platform(CFXJSE_Value* pValue, in platform()
169 void CJX_HostPseudoModel::title(CFXJSE_Value* pValue, in title()
190 void CJX_HostPseudoModel::validationsEnabled(CFXJSE_Value* pValue, in validationsEnabled()
207 void CJX_HostPseudoModel::variation(CFXJSE_Value* pValue, in variation()
220 void CJX_HostPseudoModel::version(CFXJSE_Value* pValue, in version()
[all …]
Dcjx_field.cpp245 void CJX_Field::defaultValue(CFXJSE_Value* pValue, in defaultValue()
302 void CJX_Field::editValue(CFXJSE_Value* pValue, in editValue()
317 void CJX_Field::formatMessage(CFXJSE_Value* pValue, in formatMessage()
323 void CJX_Field::formattedValue(CFXJSE_Value* pValue, in formattedValue()
338 void CJX_Field::length(CFXJSE_Value* pValue, in length()
354 void CJX_Field::parentSubform(CFXJSE_Value* pValue, in parentSubform()
364 void CJX_Field::selectedIndex(CFXJSE_Value* pValue, in selectedIndex()
385 void CJX_Field::rawValue(CFXJSE_Value* pValue, in rawValue()
Dcjx_model.cpp69 CFXJSE_Value* value = in createNode()
90 void CJX_Model::context(CFXJSE_Value* pValue, in context()
94 void CJX_Model::aliasNode(CFXJSE_Value* pValue, in aliasNode()
Dcjx_textnode.cpp20 void CJX_TextNode::defaultValue(CFXJSE_Value* pValue, in defaultValue()
26 void CJX_TextNode::value(CFXJSE_Value* pValue, in value()
Dcfxjse_class.h15 class CFXJSE_Value; variable
32 friend class CFXJSE_Value; variable
Dcjx_occur.cpp22 void CJX_Occur::max(CFXJSE_Value* pValue, in max()
33 void CJX_Occur::min(CFXJSE_Value* pValue, in min()
/external/pdfium/testing/
Dxfa_js_embedder_test.h16 class CFXJSE_Value; variable
39 CFXJSE_Value* GetValue() const { return value_.get(); } in GetValue()
43 std::unique_ptr<CFXJSE_Value> value_;

123