Home
last modified time | relevance | path

Searched refs:CJS_Value (Results 1 – 21 of 21) sorted by relevance

/external/pdfium/fpdfsdk/src/javascript/
DJS_Value.cpp15 CJS_Value::CJS_Value(v8::Isolate* isolate) : m_eType(VT_unknown),m_isolate(isolate) in CJS_Value() function in CJS_Value
18 CJS_Value::CJS_Value(v8::Isolate* isolate, v8::Local<v8::Value> pValue,FXJSVALUETYPE t) : in CJS_Value() function in CJS_Value
23 CJS_Value::CJS_Value(v8::Isolate* isolate, const int &iValue):m_isolate(isolate) in CJS_Value() function in CJS_Value
28 CJS_Value::CJS_Value(v8::Isolate* isolate, const bool &bValue):m_isolate(isolate) in CJS_Value() function in CJS_Value
33 CJS_Value::CJS_Value(v8::Isolate* isolate, const float &fValue):m_isolate(isolate) in CJS_Value() function in CJS_Value
38 CJS_Value::CJS_Value(v8::Isolate* isolate, const double &dValue):m_isolate(isolate) in CJS_Value() function in CJS_Value
43 CJS_Value::CJS_Value(v8::Isolate* isolate, JSFXObject pJsObj):m_isolate(isolate) in CJS_Value() function in CJS_Value
48 CJS_Value::CJS_Value(v8::Isolate* isolate, CJS_Object* pJsObj):m_isolate(isolate) in CJS_Value() function in CJS_Value
53 CJS_Value::CJS_Value(v8::Isolate* isolate, CJS_Document* pJsDoc):m_isolate(isolate) in CJS_Value() function in CJS_Value
60 CJS_Value::CJS_Value(v8::Isolate* isolate, FX_LPCWSTR pWstr):m_isolate(isolate) in CJS_Value() function in CJS_Value
[all …]
Dapp.cpp181 aDocs.SetElement(0,CJS_Value(pRuntime->GetIsolate(),pJSDocument)); in activeDocs()
297 FX_BOOL app::newFDF(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideStrin… in newFDF()
306 FX_BOOL app::openFDF(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideStri… in openFDF()
311 FX_BOOL app::alert(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideString… in alert()
331 swMsg = CJS_Value(isolate, pValue, VT_unknown).ToCFXWideString(); in alert()
334 swTitle = CJS_Value(isolate, pValue, VT_unknown).ToCFXWideString(); in alert()
337 iIcon = CJS_Value(isolate, pValue, VT_unknown).ToInt(); in alert()
340 iType = CJS_Value(isolate, pValue, VT_unknown).ToInt(); in alert()
349 CJS_Value* pValue = new CJS_Value(isolate); in alert()
426 FX_BOOL app::beep(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideString&… in beep()
[all …]
Dcolor.cpp79 array.SetElement(0, CJS_Value(array.GetIsolate(), "T")); in ConvertPWLColorToArray()
82 array.SetElement(0, CJS_Value(array.GetIsolate(),"G")); in ConvertPWLColorToArray()
83 array.SetElement(1, CJS_Value(array.GetIsolate(),color.fColor1)); in ConvertPWLColorToArray()
86 array.SetElement(0, CJS_Value(array.GetIsolate(),"RGB")); in ConvertPWLColorToArray()
87 array.SetElement(1, CJS_Value(array.GetIsolate(),color.fColor1)); in ConvertPWLColorToArray()
88 array.SetElement(2, CJS_Value(array.GetIsolate(),color.fColor2)); in ConvertPWLColorToArray()
89 array.SetElement(3, CJS_Value(array.GetIsolate(),color.fColor3)); in ConvertPWLColorToArray()
92 array.SetElement(0, CJS_Value(array.GetIsolate(),"CMYK")); in ConvertPWLColorToArray()
93 array.SetElement(1, CJS_Value(array.GetIsolate(),color.fColor1)); in ConvertPWLColorToArray()
94 array.SetElement(2, CJS_Value(array.GetIsolate(),color.fColor2)); in ConvertPWLColorToArray()
[all …]
DDocument.cpp288 FX_BOOL Document::addAnnot(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_Wi… in addAnnot()
294 FX_BOOL Document::addField(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_Wi… in addField()
300 FX_BOOL Document::exportAsText(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CF… in exportAsText()
306 FX_BOOL Document::exportAsFDF(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX… in exportAsFDF()
312 FX_BOOL Document::exportAsXFDF(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CF… in exportAsXFDF()
322 FX_BOOL Document::getField(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_Wi… in getField()
353 FX_BOOL Document::getNthFieldName(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet,… in getNthFieldName()
377 FX_BOOL Document::importAnFDF(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX… in importAnFDF()
383 FX_BOOL Document::importAnXFDF(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CF… in importAnXFDF()
389 FX_BOOL Document::importTextData(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, … in importTextData()
[all …]
Dconsole.cpp41 FX_BOOL console::clear(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideSt… in clear()
46 FX_BOOL console::hide(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideStr… in hide()
51 FX_BOOL console::println(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_Wide… in println()
60 FX_BOOL console::show(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideStr… in show()
DPublicMethods.cpp425 CJS_Array CJS_PublicMethods::AF_MakeArrayFromList(v8::Isolate* isolate, CJS_Value val) in AF_MakeArrayFromList()
446 StrArray.SetElement(nIndex, CJS_Value(isolate, StrTrim(p).c_str())); in AF_MakeArrayFromList()
455 StrArray.SetElement(nIndex, CJS_Value(isolate, StrTrim(pSub).c_str())); in AF_MakeArrayFromList()
1053 …thods::AFNumber_Format(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideS… in AFNumber_Format()
1198 CJS_Value vColElm(isolate); in AFNumber_Format()
1223 CJS_Value vColElm(isolate); in AFNumber_Format()
1260 …ds::AFNumber_Keystroke(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideS… in AFNumber_Keystroke()
1391 …hods::AFPercent_Format(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideS… in AFPercent_Format()
1499 …s::AFPercent_Keystroke(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideS… in AFPercent_Keystroke()
1505 …thods::AFDate_FormatEx(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideS… in AFDate_FormatEx()
[all …]
Dreport.cpp39 FX_BOOL Report::writeText(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_Wid… in writeText()
45 FX_BOOL Report::save(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideStri… in save()
Dutil.cpp140 FX_BOOL util::printf(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideStri… in printf()
205 FX_BOOL util::printd(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideStri… in printd()
213 CJS_Value p1(isolate); in printd()
216 CJS_Value p2 = params[1]; in printd()
463 FX_BOOL util::printx(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideStri… in printx()
577 FX_BOOL util::scand(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideStrin… in scand()
634 FX_BOOL util::byteToChar(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_Wide… in byteToChar()
DField.cpp1068 CJS_Value SelValue(m_isolate); in currentValueIndices()
1107 SelArray.SetElement(i, CJS_Value(m_isolate,pFormField->GetSelectedIndex(i))); in currentValueIndices()
1571 ExportValusArray.SetElement(i, CJS_Value(m_isolate,pFormControl->GetExportValue().c_str())); in exportValues()
1580 ExportValusArray.SetElement(0, CJS_Value(m_isolate,pFormControl->GetExportValue().c_str())); in exportValues()
2150 PageArray.SetElement(i, CJS_Value(m_isolate,(FX_INT32)pPageView->GetPageIndex())); in page()
2370CJS_Value Upper_Leftx(m_isolate), Upper_Lefty(m_isolate), Lower_Rightx(m_isolate), Lower_Righty(m_… in rect()
2409CJS_Value Upper_Leftx(m_isolate),Upper_Lefty(m_isolate),Lower_Rightx(m_isolate),Lower_Righty(m_iso… in rect()
3085 CJS_Value ElementValue(m_isolate); in value()
3145 CJS_Value ElementValue(m_isolate); in value()
3338 FX_BOOL Field::browseForFileToSubmit(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vR… in browseForFileToSubmit()
[all …]
Dglobal.cpp261 FX_BOOL global_alternate::setPersistent(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value&… in setPersistent()
425 CFX_ByteString sValue = CJS_Value(isolate, v, VT_string).ToCFXByteString(); in ObjectToArray()
/external/pdfium/fpdfsdk/include/javascript/
DJS_Value.h18 class CJS_Value
21 CJS_Value(v8::Isolate* isolate);
22 CJS_Value(v8::Isolate* isolate, v8::Local<v8::Value> pValue,FXJSVALUETYPE t);
23 CJS_Value(v8::Isolate* isolate, const int &iValue);
24 CJS_Value(v8::Isolate* isolate, const double &dValue);
25 CJS_Value(v8::Isolate* isolate, const float &fValue);
26 CJS_Value(v8::Isolate* isolate, const bool &bValue);
27 CJS_Value(v8::Isolate* isolate, JSFXObject);
28 CJS_Value(v8::Isolate* isolate, CJS_Object*);
29 CJS_Value(v8::Isolate* isolate, CJS_Document*);
[all …]
DPublicMethods.h19 …static FX_BOOL AFNumber_Format(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, C…
20 …static FX_BOOL AFNumber_Keystroke(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet…
21 …static FX_BOOL AFPercent_Format(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, …
22 …static FX_BOOL AFPercent_Keystroke(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRe…
23 …static FX_BOOL AFDate_FormatEx(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, C…
24 …static FX_BOOL AFDate_KeystrokeEx(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet…
25 …static FX_BOOL AFDate_Format(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX…
26 …static FX_BOOL AFDate_Keystroke(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, …
27 …static FX_BOOL AFTime_FormatEx(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, C…
28 …static FX_BOOL AFTime_KeystrokeEx(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet…
[all …]
DDocument.h121 …FX_BOOL addAnnot(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideString&…
122 …FX_BOOL addField(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideString&…
123 …FX_BOOL addLink(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideString& …
124 …FX_BOOL addIcon(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideString& …
125 …FX_BOOL calculateNow(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideStr…
126 …FX_BOOL closeDoc(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideString&…
127 …FX_BOOL createDataObject(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_Wid…
128 …FX_BOOL deletePages(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideStri…
129 …FX_BOOL exportAsText(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideStr…
130 …FX_BOOL exportAsFDF(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideStri…
[all …]
Dapp.h127 …FX_BOOL alert(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideStrin…
128 …FX_BOOL beep(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideString…
129 …FX_BOOL browseForDoc(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_Wi…
130 …FX_BOOL clearInterval(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_W…
131 …FX_BOOL clearTimeOut(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_Wi…
132 …FX_BOOL execDialog(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_Wide…
133 …FX_BOOL execMenuItem(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_Wi…
134 …FX_BOOL findComponent(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_W…
135 …FX_BOOL goBack(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideStri…
136 …FX_BOOL goForward(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideS…
[all …]
DField.h159 …FX_BOOL browseForFileToSubmit(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CF…
160 …FX_BOOL buttonGetCaption(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_Wid…
161 …FX_BOOL buttonGetIcon(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideSt…
162 …FX_BOOL buttonImportIcon(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_Wid…
163 …FX_BOOL buttonSetCaption(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_Wid…
164 …FX_BOOL buttonSetIcon(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideSt…
165 …FX_BOOL checkThisBox(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideStr…
166 …FX_BOOL clearItems(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideStrin…
167 …FX_BOOL defaultIsChecked(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_Wid…
168 …FX_BOOL deleteItemAt(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideStr…
[all …]
Dutil.h21 …FX_BOOL printd(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideString& s…
22 …FX_BOOL printf(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideString& s…
23 …FX_BOOL printx(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideString& s…
24 …FX_BOOL scand(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideString& sE…
25 …FX_BOOL byteToChar(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideStrin…
Dconsole.h19 …FX_BOOL clear(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideString& sE…
20 …FX_BOOL hide(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideString& sEr…
21 …FX_BOOL println(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideString& …
22 …FX_BOOL show(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideString& sEr…
Dreport.h19 …FX_BOOL save(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideString& sEr…
20 …FX_BOOL writeText(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideString…
DJS_Define.h92 CJS_PropValue propValue(CJS_Value(isolate, value, VT_unknown)); in JSPropSetter()
116 template <class C, FX_BOOL (C::*M)(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet…
128 parameters.push_back(CJS_Value(isolate, info[i], VT_unknown)); in JSMethod()
130 CJS_Value valueRes(isolate); in JSMethod()
287 CJS_PropValue PropValue(CJS_Value(isolate,value,VT_unknown)); in JSSpecialPropPut()
385 template <FX_BOOL (*F)(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideSt…
396 parameters.push_back(CJS_Value(isolate, info[i], VT_unknown)); in JSGlobalFunc()
398 CJS_Value valueRes(isolate); in JSGlobalFunc()
448 for (int i=0; i<size; i++) array.SetElement(i,CJS_Value(pRuntime,ArrayContent[i]));\
Dcolor.h32 …FX_BOOL convert(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideString& …
33 …FX_BOOL equal(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideString& sE…
Dglobal.h48 …FX_BOOL setPersistent(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_W…