/external/pdfium/fpdfsdk/src/javascript/ |
D | Consts.cpp | 133 int CJS_GlobalConsts::Init(IJS_Runtime* pRuntime) in JS_STATIC_CONST_ENTRY_STRING() 135 …DEFINE_GLOBAL_CONST(pRuntime, IDS_GREATER_THAN , Invalid value: must be greater than or equal to %… in JS_STATIC_CONST_ENTRY_STRING() 136 …DEFINE_GLOBAL_CONST(pRuntime, IDS_GT_AND_LT,Invalid value: must be greater than or equal to %s and… in JS_STATIC_CONST_ENTRY_STRING() 137 DEFINE_GLOBAL_CONST(pRuntime, IDS_LESS_THAN,Invalid value: must be less than or equal to %s.); in JS_STATIC_CONST_ENTRY_STRING() 138 DEFINE_GLOBAL_CONST(pRuntime, IDS_INVALID_MONTH,** Invalid **); in JS_STATIC_CONST_ENTRY_STRING() 139 …DEFINE_GLOBAL_CONST(pRuntime, IDS_INVALID_DATE,Invalid date/time: please ensure that the date/time… in JS_STATIC_CONST_ENTRY_STRING() 140 …DEFINE_GLOBAL_CONST(pRuntime, IDS_INVALID_VALUE,The value entered does not match the format of the… in JS_STATIC_CONST_ENTRY_STRING() 141 DEFINE_GLOBAL_CONST(pRuntime, IDS_AM,am); in JS_STATIC_CONST_ENTRY_STRING() 142 DEFINE_GLOBAL_CONST(pRuntime, IDS_PM,pm); in JS_STATIC_CONST_ENTRY_STRING() 143 …DEFINE_GLOBAL_CONST(pRuntime, IDS_MONTH_INFO,January[1]February[2]March[3]April[4]May[5]June[6]Jul… in JS_STATIC_CONST_ENTRY_STRING() [all …]
|
D | app.cpp | 25 CJS_Runtime* pRuntime = pContext->GetJSRuntime(); in GetIsolate() local 26 ASSERT(pRuntime != NULL); in GetIsolate() 28 return pRuntime->GetIsolate(); in GetIsolate() 148 CJS_Runtime* pRuntime = pContext->GetJSRuntime(); in activeDocs() local 149 ASSERT(pRuntime != NULL); in activeDocs() 153 CJS_Array aDocs(pRuntime->GetIsolate()); in activeDocs() 165 JSFXObject pObj = JS_GetThisObj(*pRuntime); in activeDocs() 167 if (JS_GetObjDefnID(pObj) == JS_GetObjDefnID(*pRuntime, L"Document")) in activeDocs() 169 pJSDocument = (CJS_Document*)JS_GetPrivate(pRuntime->GetIsolate(),pObj); in activeDocs() 174 … JSFXObject pObj = JS_NewFxDynamicObj(*pRuntime, pContext, JS_GetObjDefnID(*pRuntime,L"Document")); in activeDocs() [all …]
|
D | Document.cpp | 26 CJS_Runtime* pRuntime = pContext->GetJSRuntime(); in GetIsolate() local 27 ASSERT(pRuntime != NULL); in GetIsolate() 29 return pRuntime->GetIsolate(); in GetIsolate() 445 CJS_Runtime* pRuntime = pContext->GetJSRuntime(); in getField() local 446 ASSERT(pRuntime != NULL); in getField() 448 …JSFXObject pFieldObj = JS_NewFxDynamicObj(*pRuntime, pContext, JS_GetObjDefnID(*pRuntime, L"Field… in getField() 602 CJS_Runtime* pRuntime = pContext->GetJSRuntime(); in mailForm() local 603 ASSERT(pRuntime != NULL); in mailForm() 605 pRuntime->BeginBlock(); in mailForm() 607 pRuntime->EndBlock(); in mailForm() [all …]
|
D | JS_EventHandler.cpp | 601 CJS_Runtime* pRuntime = m_pJSContext->GetJSRuntime(); in Source() local 603 …JSFXObject pDocObj = JS_NewFxDynamicObj(*pRuntime, m_pJSContext, JS_GetObjDefnID(*pRuntime, L"Doc… in Source() 605 …JSFXObject pFieldObj = JS_NewFxDynamicObj(*pRuntime, m_pJSContext, JS_GetObjDefnID(*pRuntime, L"F… in Source() 635 CJS_Runtime* pRuntime = m_pJSContext->GetJSRuntime(); in Target_Field() local 637 …JSFXObject pDocObj = JS_NewFxDynamicObj(*pRuntime, m_pJSContext, JS_GetObjDefnID(*pRuntime, L"Docu… in Target_Field() 639 …JSFXObject pFieldObj = JS_NewFxDynamicObj(*pRuntime, m_pJSContext, JS_GetObjDefnID(*pRuntime, L"Fi… in Target_Field()
|
D | color.cpp | 22 CJS_Runtime* pRuntime = pContext->GetJSRuntime(); in GetIsolate() local 23 ASSERT(pRuntime != NULL); in GetIsolate() 25 return pRuntime->GetIsolate(); in GetIsolate()
|
D | global.cpp | 257 IJS_Runtime* pRuntime = JS_GetRuntime((JSFXObject)(*m_pJSObject)); in UpdateGlobalPersistentVariables() local 258 v8::Handle<v8::Object> pObj = JS_NewFxDynamicObj(pRuntime, NULL, -1); in UpdateGlobalPersistentVariables() 421 IJS_Runtime* pRuntime = JS_GetRuntime((JSFXObject)(*m_pJSObject)); in PutObjectProperty() local 422 v8::Handle<v8::Object> pNewObj = JS_NewFxDynamicObj(pRuntime, NULL, -1); in PutObjectProperty()
|
D | JS_Runtime.cpp | 63 void CJS_RuntimeFactory::DeleteJSRuntime(IFXJS_Runtime* pRuntime) in DeleteJSRuntime() argument 65 if(pRuntime) in DeleteJSRuntime() 66 delete (CJS_Runtime*)pRuntime; in DeleteJSRuntime()
|
D | util.cpp | 28 CJS_Runtime* pRuntime = pContext->GetJSRuntime(); in GetIsolate() local 29 ASSERT(pRuntime != NULL); in GetIsolate() 31 return pRuntime->GetIsolate(); in GetIsolate()
|
D | JS_Context.cpp | 17 CJS_Context::CJS_Context(CJS_Runtime* pRuntime) : in CJS_Context() argument 18 m_pRuntime(pRuntime), in CJS_Context()
|
D | Field.cpp | 3436 CJS_Runtime* pRuntime = pContext->GetJSRuntime(); in buttonGetIcon() local 3437 ASSERT(pRuntime != NULL); in buttonGetIcon() 3439 JSFXObject pObj = JS_NewFxDynamicObj(*pRuntime, pContext, JS_GetObjDefnID(*pRuntime, L"Icon")); in buttonGetIcon() 3638 CJS_Runtime* pRuntime = pContext->GetJSRuntime(); in getArray() local 3639 ASSERT(pRuntime != NULL); in getArray() 3646 JSFXObject pObj = JS_NewFxDynamicObj(*pRuntime, pContext, JS_GetObjDefnID(*pRuntime, L"Field")); in getArray()
|
D | PublicMethods.cpp | 27 CJS_Runtime* pRuntime = pContext->GetJSRuntime(); in GetIsolate() local 28 ASSERT(pRuntime != NULL); in GetIsolate() 30 return pRuntime->GetIsolate(); in GetIsolate()
|
/external/pdfium/fpdfsdk/include/javascript/ |
D | JS_Define.h | 104 IFXJS_Runtime* pRuntime = (IFXJS_Runtime*)field->Value();\ 105 IFXJS_Context* cc = pRuntime->GetCurrentContext();\ 150 IFXJS_Runtime* pRuntime = (IFXJS_Runtime*)field->Value();\ 151 IFXJS_Context* cc = pRuntime->GetCurrentContext();\ 201 IFXJS_Runtime* pRuntime = (IFXJS_Runtime*)field->Value();\ 202 IFXJS_Context* cc = pRuntime->GetCurrentContext();\ 247 static int Init(IJS_Runtime* pRuntime, FXJSOBJTYPE eObjType);\ 276 int js_class_name::Init(IJS_Runtime* pRuntime, FXJSOBJTYPE eObjType)\ 278 …int nObjDefnID = JS_DefineObj(pRuntime, js_class_name::m_pClassName, eObjType, JSConstructor, JSDe… 283 …if (JS_DefineObjProperty(pRuntime, nObjDefnID, JS_Class_Properties[j].pName, JS_Class_Properties[j… [all …]
|
D | Consts.h | 114 static int Init(IJS_Runtime* pRuntime); 122 static int Init(IJS_Runtime* pRuntime);
|
D | JS_Object.h | 236 void SetRuntime(CJS_Runtime* pRuntime) in SetRuntime() argument 238 m_pRuntime = pRuntime; in SetRuntime()
|
D | app.h | 150 void RunJsScript(CJS_Runtime * pRuntime,const CFX_WideString & wsScript);
|
D | JS_Context.h | 16 CJS_Context(CJS_Runtime* pRuntime);
|
D | IJavaScript.h | 98 void DeleteJSRuntime(IFXJS_Runtime* pRuntime);
|
/external/pdfium/fpdfsdk/src/ |
D | fsdk_actionhandler.cpp | 193 IFXJS_Runtime* pRuntime = pDocument->GetJsRuntime(); //???? in ExecuteLinkAction() local 194 ASSERT(pRuntime != NULL); in ExecuteLinkAction() 196 pRuntime->SetReaderDocument(pDocument); in ExecuteLinkAction() 198 IFXJS_Context* pContext = pRuntime->NewContext(); in ExecuteLinkAction() 210 pRuntime->ReleaseContext(pContext); in ExecuteLinkAction() 349 IFXJS_Runtime* pRuntime = pDocument->GetJsRuntime(); in ExecuteScreenAction() local 350 ASSERT(pRuntime != NULL); in ExecuteScreenAction() 352 pRuntime->SetReaderDocument(pDocument); in ExecuteScreenAction() 354 IFXJS_Context* pContext = pRuntime->NewContext(); in ExecuteScreenAction() 401 pRuntime->ReleaseContext(pContext); in ExecuteScreenAction() [all …]
|
D | fsdk_baseform.cpp | 1944 IFXJS_Runtime* pRuntime = m_pDocument->GetJsRuntime(); in OnCalculate() local 1945 ASSERT(pRuntime != NULL); in OnCalculate() 1947 pRuntime->SetReaderDocument(m_pDocument); in OnCalculate() 1967 IFXJS_Context* pContext = pRuntime->NewContext(); in OnCalculate() 1977 pRuntime->ReleaseContext(pContext); in OnCalculate() 2014 IFXJS_Runtime* pRuntime = m_pDocument->GetJsRuntime(); in OnFormat() local 2015 ASSERT(pRuntime != NULL); in OnFormat() 2017 pRuntime->SetReaderDocument(m_pDocument); in OnFormat() 2042 IFXJS_Context* pContext = pRuntime->NewContext(); in OnFormat() 2049 pRuntime->ReleaseContext(pContext); in OnFormat()
|