Home
last modified time | relevance | path

Searched refs:nObjDefnID (Results 1 – 3 of 3) sorted by relevance

/external/pdfium/fpdfsdk/include/javascript/
DJS_Define.h186 …int nObjDefnID = JS_DefineObj(pRuntime, js_class_name::m_pClassName, eObjType, JSConstructor, JSDe…
187 if (nObjDefnID >= 0)\
191 …if (JS_DefineObjProperty(pRuntime, nObjDefnID, JS_Class_Properties[j].pName, JS_Class_Properties[j…
195 …if (JS_DefineObjMethod(pRuntime, nObjDefnID,JS_Class_Methods[k].pName, JS_Class_Methods[k].pMethod…
197 return nObjDefnID;\
215 int nObjDefnID = JS_DefineObj(pRuntime, js_class_name::m_pClassName, eObjType, NULL, NULL, 0);\
216 if (nObjDefnID >=0)\
222 …if (JS_DefineObjConst(pRuntime, nObjDefnID, JS_Class_Consts[i].pName, JS_NewNumber(pRuntime,JS_Cla…
226 …if (JS_DefineObjConst(pRuntime, nObjDefnID, JS_Class_Consts[i].pName, JS_NewString(pRuntime,JS_Cla…
229 return nObjDefnID;\
[all …]
/external/pdfium/fpdfsdk/src/jsapi/
Dfxjs_v8.cpp93 int JS_DefineObjMethod(IJS_Runtime* pJSRuntime, int nObjDefnID, const wchar_t* sMethodName, v8::Fun… in JS_DefineObjMethod() argument
105 if(nObjDefnID<0 || nObjDefnID>= pArray->GetSize()) return 0; in JS_DefineObjMethod()
106 CJS_ObjDefintion* pObjDef = (CJS_ObjDefintion*)pArray->GetAt(nObjDefnID); in JS_DefineObjMethod()
113 int JS_DefineObjProperty(IJS_Runtime* pJSRuntime, int nObjDefnID, const wchar_t* sPropName, v8::Acc… in JS_DefineObjProperty() argument
125 if(nObjDefnID<0 || nObjDefnID>= pArray->GetSize()) return 0; in JS_DefineObjProperty()
126 CJS_ObjDefintion* pObjDef = (CJS_ObjDefintion*)pArray->GetAt(nObjDefnID); in JS_DefineObjProperty()
133 int JS_DefineObjAllProperties(IJS_Runtime* pJSRuntime, int nObjDefnID, v8::NamedPropertyQueryCallba… in JS_DefineObjAllProperties() argument
142 if(nObjDefnID<0 || nObjDefnID>= pArray->GetSize()) return 0; in JS_DefineObjAllProperties()
143 CJS_ObjDefintion* pObjDef = (CJS_ObjDefintion*)pArray->GetAt(nObjDefnID); in JS_DefineObjAllProperties()
150 int JS_DefineObjConst(IJS_Runtime* pJSRuntime, int nObjDefnID, const wchar_t* sConstName, v8::Local… in JS_DefineObjConst() argument
[all …]
/external/pdfium/fpdfsdk/include/jsapi/
Dfxjs_v8.h57 int JS_DefineObjMethod(IJS_Runtime* pJSRuntime, int nObjDefnID, const wchar_t* sMethodName, …
58 int JS_DefineObjProperty(IJS_Runtime* pJSRuntime, int nObjDefnID, const wchar_t* sPropName, …
59 int JS_DefineObjAllProperties(IJS_Runtime* pJSRuntime, int nObjDefnID, v8::NamedPropertyQuer…
60 int JS_DefineObjConst(IJS_Runtime* pJSRuntime, int nObjDefnID, const wchar_t* sConstName, v8…
70 …::Object> JS_NewFxDynamicObj(IJS_Runtime* pJSRuntime, IFXJS_Context* pJSContext, int nObjDefnID);
71 v8::Local<v8::Object> JS_GetStaticObj(IJS_Runtime* pJSRuntime, int nObjDefnID);