/external/pdfium/fpdfsdk/src/javascript/ |
Consts.cpp | 132 static void DefineGlobalConstString(CJS_Runtime* pRuntime, 135 FXJS_DefineGlobalConst(pRuntime->GetIsolate(), pConstName, 136 FXJS_NewString(pRuntime->GetIsolate(), pValue)); 139 void CJS_GlobalConsts::DefineJSObjects(CJS_Runtime* pRuntime) { 141 pRuntime, L"IDS_GREATER_THAN", 144 pRuntime, L"IDS_GT_AND_LT", 147 DefineGlobalConstString(pRuntime, L"IDS_LESS_THAN", 149 DefineGlobalConstString(pRuntime, L"IDS_INVALID_MONTH", L"**Invalid**"); 151 pRuntime, L"IDS_INVALID_DATE", 154 pRuntime, L"IDS_INVALID_VALUE" [all...] |
JS_Value.h | 33 CJS_Value(CJS_Runtime* pRuntime); 34 CJS_Value(CJS_Runtime* pRuntime, v8::Local<v8::Value> pValue, Type t); 35 CJS_Value(CJS_Runtime* pRuntime, const int& iValue); 36 CJS_Value(CJS_Runtime* pRuntime, const double& dValue); 37 CJS_Value(CJS_Runtime* pRuntime, const float& fValue); 38 CJS_Value(CJS_Runtime* pRuntime, const bool& bValue); 39 CJS_Value(CJS_Runtime* pRuntime, v8::Local<v8::Object>); 40 CJS_Value(CJS_Runtime* pRuntime, CJS_Object*); 41 CJS_Value(CJS_Runtime* pRuntime, CJS_Document*); 42 CJS_Value(CJS_Runtime* pRuntime, const FX_CHAR* pStr) [all...] |
app.cpp | 118 CJS_Runtime* pRuntime = pContext->GetJSRuntime(); 120 CJS_Array aDocs(pRuntime); 124 v8::Local<v8::Object> pObj = FXJS_GetThisObj(pRuntime->GetIsolate()); 127 (CJS_Document*)FXJS_GetPrivate(pRuntime->GetIsolate(), pObj); 130 pRuntime->GetIsolate(), pRuntime, CJS_Document::g_nObjDefnID); 132 (CJS_Document*)FXJS_GetPrivate(pRuntime->GetIsolate(), pObj); 135 aDocs.SetElement(0, CJS_Value(pRuntime, pJSDocument)); 155 CJS_Runtime* pRuntime = pContext->GetJSRuntime(); 156 CJS_Array aDocs(pRuntime); [all...] |
JS_Define.h | 81 CJS_Runtime* pRuntime = 83 if (!pRuntime) 85 IJS_Context* pContext = pRuntime->GetCurrentContext(); 89 CJS_PropValue value(pRuntime); 107 CJS_Runtime* pRuntime = 109 if (!pRuntime) 111 IJS_Context* pContext = pRuntime->GetCurrentContext(); 115 CJS_PropValue propValue(CJS_Value(pRuntime, value, CJS_Value::VT_unknown)); 146 CJS_Runtime* pRuntime = 148 if (!pRuntime) [all...] |
JS_Value.cpp | 24 CJS_Value::CJS_Value(CJS_Runtime* pRuntime) 25 : m_eType(VT_unknown), m_pJSRuntime(pRuntime) { 28 CJS_Value::CJS_Value(CJS_Runtime* pRuntime, v8::Local<v8::Value> pValue, Type t) 29 : m_eType(t), m_pValue(pValue), m_pJSRuntime(pRuntime) { 32 CJS_Value::CJS_Value(CJS_Runtime* pRuntime, const int& iValue) 33 : m_pJSRuntime(pRuntime) { 37 CJS_Value::CJS_Value(CJS_Runtime* pRuntime, const bool& bValue) 38 : m_pJSRuntime(pRuntime) { 42 CJS_Value::CJS_Value(CJS_Runtime* pRuntime, const float& fValue) 43 : m_pJSRuntime(pRuntime) { [all...] |
color.cpp | 136 CJS_Runtime* pRuntime = CJS_Runtime::FromContext(cc); \ 137 CJS_Array array(pRuntime); \ 170 CJS_Runtime* pRuntime = CJS_Runtime::FromContext(cc); 171 CJS_Array aSource(pRuntime); 191 CJS_Array aDest(pRuntime); 207 CJS_Runtime* pRuntime = CJS_Runtime::FromContext(cc); 208 CJS_Array array1(pRuntime); 209 CJS_Array array2(pRuntime);
|
JS_Object.cpp | 98 CJS_Runtime* pRuntime, 110 m_pRuntime(pRuntime), 119 CJS_Runtime* pRuntime = GetRuntime(); 120 if (pRuntime) 121 pRuntime->RemoveObserver(this);
|
Document.cpp | 25 CJS_Runtime* pRuntime = pContext->GetJSRuntime(); 26 return pRuntime->GetIsolate(); 140 CJS_Runtime* pRuntime = static_cast<CJS_Runtime*>(pIRuntime); 142 pDoc->AttachDoc(pRuntime->GetReaderDocument()); 143 pDoc->SetIsolate(pRuntime->GetIsolate()); 301 CJS_Runtime* pRuntime = pContext->GetJSRuntime(); 303 pRuntime->GetIsolate(), pRuntime, CJS_Field::g_nObjDefnID); 396 CJS_Runtime* pRuntime = pContext->GetJSRuntime(); 398 pRuntime->BeginBlock() [all...] |
JS_EventHandler.cpp | 604 CJS_Runtime* pRuntime = m_pJSContext->GetJSRuntime(); 606 pRuntime->GetIsolate(), pRuntime, CJS_Document::g_nObjDefnID); 610 pRuntime->GetIsolate(), pRuntime, CJS_Field::g_nObjDefnID); 614 (CJS_Document*)FXJS_GetPrivate(pRuntime->GetIsolate(), pDocObj); 620 (CJS_Field*)FXJS_GetPrivate(pRuntime->GetIsolate(), pFieldObj); 627 CJS_Runtime* pRuntime = m_pJSContext->GetJSRuntime(); 629 pRuntime->GetIsolate(), pRuntime, CJS_Document::g_nObjDefnID) [all...] |
global.cpp | 91 CJS_Runtime* pRuntime = static_cast<CJS_Runtime*>(pIRuntime); 94 pGlobal->Initial(pRuntime->GetReaderApp()); 258 v8::Isolate* pRuntime = m_pJSObject->ToV8Object()->GetIsolate(); 259 v8::Local<v8::Object> pObj = FXJS_NewFxDynamicObj(pRuntime, NULL, -1); 324 CJS_Runtime* pRuntime = CJS_Runtime::FromContext(cc); 351 CJS_Value(pRuntime, v, CJS_Value::VT_string).ToCFXByteString(); 395 v8::Isolate* pRuntime = m_pJSObject->ToV8Object()->GetIsolate(); 397 FXJS_NewFxDynamicObj(pRuntime, NULL, -1);
|
Consts.h | 106 static void DefineJSObjects(CJS_Runtime* pRuntime);
|
PublicMethods.cpp | 340 CJS_Array CJS_PublicMethods::AF_MakeArrayFromList(CJS_Runtime* pRuntime, 342 CJS_Array StrArray(pRuntime); 357 StrArray.SetElement(nIndex, CJS_Value(pRuntime, StrTrim(p).c_str())); 365 StrArray.SetElement(nIndex, CJS_Value(pRuntime, StrTrim(pSub).c_str())); 916 CJS_Runtime* pRuntime = CJS_Runtime::FromContext(cc); 1025 CJS_Array arColor(pRuntime); 1026 CJS_Value vColElm(pRuntime); 1036 CJS_PropValue vProp(pRuntime); 1046 CJS_Array arColor(pRuntime); 1047 CJS_Value vColElm(pRuntime); [all...] |
Field.cpp | 112 CJS_Runtime* pRuntime = static_cast<CJS_Runtime*>(pIRuntime); 114 pField->SetIsolate(pRuntime->GetIsolate()); 937 CJS_Runtime* pRuntime = CJS_Runtime::FromContext(cc); 950 CJS_Array SelArray(pRuntime); 951 CJS_Value SelValue(pRuntime); 981 CJS_Array SelArray(pRuntime); 984 i, CJS_Value(pRuntime, pFormField->GetSelectedIndex(i))); [all...] |
JS_Object.h | 80 CJS_Runtime* pRuntime,
|
JS_Context.h | 19 explicit CJS_Context(CJS_Runtime* pRuntime);
|
JS_Context.cpp | 16 CJS_Context::CJS_Context(CJS_Runtime* pRuntime) 17 : m_pRuntime(pRuntime), m_bBusy(FALSE), m_bMsgBoxEnable(TRUE) {
|
util.cpp | 191 CJS_Runtime* pRuntime = CJS_Runtime::FromContext(cc); 192 CJS_Value p1(pRuntime); 196 CJS_Date jsDate(pRuntime);
|
PublicMethods.h | 178 static CJS_Array AF_MakeArrayFromList(CJS_Runtime* pRuntime, CJS_Value val);
|
app.h | 162 void RunJsScript(CJS_Runtime* pRuntime, const CFX_WideString& wsScript);
|
/external/pdfium/fpdfsdk/src/ |
fsdk_actionhandler.cpp | 149 IJS_Runtime* pRuntime = pDocument->GetJsRuntime(); 150 pRuntime->SetReaderDocument(pDocument); 152 IJS_Context* pContext = pRuntime->NewContext(); 161 pRuntime->ReleaseContext(pContext); 277 IJS_Runtime* pRuntime = pDocument->GetJsRuntime(); 278 pRuntime->SetReaderDocument(pDocument); 280 IJS_Context* pContext = pRuntime->NewContext(); 287 pRuntime->ReleaseContext(pContext); 319 IJS_Runtime* pRuntime = pDocument->GetJsRuntime(); 320 pRuntime->SetReaderDocument(pDocument) [all...] |
fsdk_baseform.cpp | [all...] |