Home
last modified time | relevance | path

Searched refs:pRuntime (Results 1 – 19 of 19) sorted by relevance

/external/pdfium/fpdfsdk/src/javascript/
DConsts.cpp133 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 …]
Dapp.cpp25 CJS_Runtime* pRuntime = pContext->GetJSRuntime(); in GetIsolate() local
26 ASSERT(pRuntime != NULL); in GetIsolate()
28 return pRuntime->GetIsolate(); in GetIsolate()
147 CJS_Runtime* pRuntime = pContext->GetJSRuntime(); in activeDocs() local
148 ASSERT(pRuntime != NULL); in activeDocs()
152 CJS_Array aDocs(pRuntime->GetIsolate()); in activeDocs()
164 JSFXObject pObj = JS_GetThisObj(*pRuntime); in activeDocs()
166 if (JS_GetObjDefnID(pObj) == JS_GetObjDefnID(*pRuntime, L"Document")) in activeDocs()
168 pJSDocument = (CJS_Document*)JS_GetPrivate(pRuntime->GetIsolate(),pObj); in activeDocs()
173 … JSFXObject pObj = JS_NewFxDynamicObj(*pRuntime, pContext, JS_GetObjDefnID(*pRuntime,L"Document")); in activeDocs()
[all …]
DDocument.cpp28 CJS_Runtime* pRuntime = pContext->GetJSRuntime(); in GetIsolate() local
29 ASSERT(pRuntime != NULL); in GetIsolate()
31 return pRuntime->GetIsolate(); in GetIsolate()
340 CJS_Runtime* pRuntime = pContext->GetJSRuntime(); in getField() local
341 …JSFXObject pFieldObj = JS_NewFxDynamicObj(*pRuntime, pContext, JS_GetObjDefnID(*pRuntime, L"Field"… in getField()
426 CJS_Runtime* pRuntime = pContext->GetJSRuntime(); in mailForm() local
427 ASSERT(pRuntime != NULL); in mailForm()
429 pRuntime->BeginBlock(); in mailForm()
431 pRuntime->EndBlock(); in mailForm()
439 CJS_Runtime* pRuntime = pContext->GetJSRuntime(); in print() local
[all …]
DJS_EventHandler.cpp601 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()
Dcolor.cpp22 CJS_Runtime* pRuntime = pContext->GetJSRuntime(); in GetIsolate() local
23 ASSERT(pRuntime != NULL); in GetIsolate()
25 return pRuntime->GetIsolate(); in GetIsolate()
DJS_Runtime.cpp62 void CJS_RuntimeFactory::DeleteJSRuntime(IFXJS_Runtime* pRuntime) in DeleteJSRuntime() argument
64 if(pRuntime) in DeleteJSRuntime()
65 delete (CJS_Runtime*)pRuntime; in DeleteJSRuntime()
Dglobal.cpp315 IJS_Runtime* pRuntime = JS_GetRuntime((JSFXObject)(*m_pJSObject)); in UpdateGlobalPersistentVariables() local
316 v8::Local<v8::Object> pObj = JS_NewFxDynamicObj(pRuntime, NULL, -1); in UpdateGlobalPersistentVariables()
478 IJS_Runtime* pRuntime = JS_GetRuntime((JSFXObject)(*m_pJSObject)); in PutObjectProperty() local
479 v8::Local<v8::Object> pNewObj = JS_NewFxDynamicObj(pRuntime, NULL, -1); in PutObjectProperty()
Dutil.cpp28 CJS_Runtime* pRuntime = pContext->GetJSRuntime(); in GetIsolate() local
29 ASSERT(pRuntime != NULL); in GetIsolate()
31 return pRuntime->GetIsolate(); in GetIsolate()
DJS_Context.cpp17 CJS_Context::CJS_Context(CJS_Runtime* pRuntime) : in CJS_Context() argument
18 m_pRuntime(pRuntime), in CJS_Context()
DField.cpp3430 CJS_Runtime* pRuntime = pContext->GetJSRuntime(); in buttonGetIcon() local
3431 ASSERT(pRuntime != NULL); in buttonGetIcon()
3433 JSFXObject pObj = JS_NewFxDynamicObj(*pRuntime, pContext, JS_GetObjDefnID(*pRuntime, L"Icon")); in buttonGetIcon()
3626 CJS_Runtime* pRuntime = pContext->GetJSRuntime(); in getArray() local
3627 ASSERT(pRuntime != NULL); in getArray()
3634 JSFXObject pObj = JS_NewFxDynamicObj(*pRuntime, pContext, JS_GetObjDefnID(*pRuntime, L"Field")); in getArray()
DPublicMethods.cpp27 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/
DJS_Define.h63 IFXJS_Runtime* pRuntime = (IFXJS_Runtime*)field->Value(); in JSPropGetter() local
64 IFXJS_Context* pContext = pRuntime->GetCurrentContext(); in JSPropGetter()
87 IFXJS_Runtime* pRuntime = (IFXJS_Runtime*)field->Value(); in JSPropSetter() local
88 IFXJS_Context* pContext = pRuntime->GetCurrentContext(); in JSPropSetter()
124 IFXJS_Runtime* pRuntime = (IFXJS_Runtime*)field->Value(); in JSMethod() local
125 IFXJS_Context* cc = pRuntime->GetCurrentContext(); in JSMethod()
160 static int Init(IJS_Runtime* pRuntime, FXJSOBJTYPE eObjType);\
184 int js_class_name::Init(IJS_Runtime* pRuntime, FXJSOBJTYPE eObjType)\
186 …int nObjDefnID = JS_DefineObj(pRuntime, js_class_name::m_pClassName, eObjType, JSConstructor, JSDe…
191 …if (JS_DefineObjProperty(pRuntime, nObjDefnID, JS_Class_Properties[j].pName, JS_Class_Properties[j…
[all …]
DConsts.h116 static int Init(IJS_Runtime* pRuntime);
124 static int Init(IJS_Runtime* pRuntime);
DJS_Object.h242 void SetRuntime(CJS_Runtime* pRuntime) in SetRuntime() argument
244 m_pRuntime = pRuntime; in SetRuntime()
DJS_Context.h20 CJS_Context(CJS_Runtime* pRuntime);
DIJavaScript.h99 void DeleteJSRuntime(IFXJS_Runtime* pRuntime);
Dapp.h152 void RunJsScript(CJS_Runtime * pRuntime,const CFX_WideString & wsScript);
/external/pdfium/fpdfsdk/src/
Dfsdk_actionhandler.cpp190 IFXJS_Runtime* pRuntime = pDocument->GetJsRuntime(); //???? in ExecuteLinkAction() local
191 ASSERT(pRuntime != NULL); in ExecuteLinkAction()
193 pRuntime->SetReaderDocument(pDocument); in ExecuteLinkAction()
195 IFXJS_Context* pContext = pRuntime->NewContext(); in ExecuteLinkAction()
207 pRuntime->ReleaseContext(pContext); in ExecuteLinkAction()
341 IFXJS_Runtime* pRuntime = pDocument->GetJsRuntime(); in ExecuteScreenAction() local
342 ASSERT(pRuntime != NULL); in ExecuteScreenAction()
344 pRuntime->SetReaderDocument(pDocument); in ExecuteScreenAction()
346 IFXJS_Context* pContext = pRuntime->NewContext(); in ExecuteScreenAction()
393 pRuntime->ReleaseContext(pContext); in ExecuteScreenAction()
[all …]
Dfsdk_baseform.cpp1935 IFXJS_Runtime* pRuntime = m_pDocument->GetJsRuntime(); in OnCalculate() local
1936 ASSERT(pRuntime != NULL); in OnCalculate()
1938 pRuntime->SetReaderDocument(m_pDocument); in OnCalculate()
1958 IFXJS_Context* pContext = pRuntime->NewContext(); in OnCalculate()
1968 pRuntime->ReleaseContext(pContext); in OnCalculate()
2005 IFXJS_Runtime* pRuntime = m_pDocument->GetJsRuntime(); in OnFormat() local
2006 ASSERT(pRuntime != NULL); in OnFormat()
2008 pRuntime->SetReaderDocument(m_pDocument); in OnFormat()
2033 IFXJS_Context* pContext = pRuntime->NewContext(); in OnFormat()
2040 pRuntime->ReleaseContext(pContext); in OnFormat()