Lines Matching refs:NPObject
32 static bool testEnumerate(NPObject *npobj, NPIdentifier **value, uint32_t *count);
33 static bool testHasMethod(NPObject*, NPIdentifier name);
34 static bool testInvoke(NPObject*, NPIdentifier name, const NPVariant* args, uint32_t argCount, NPVariant* result);
35 static bool testHasProperty(NPObject*, NPIdentifier name);
36 static bool testGetProperty(NPObject*, NPIdentifier name, NPVariant*);
37 static NPObject *testAllocate(NPP npp, NPClass *theClass);
38 static void testDeallocate(NPObject *obj);
39 static bool testConstruct(NPObject* obj, const NPVariant* args, uint32_t argCount, NPVariant* result);
70 NPObject header;
71 NPObject* testObject;
110 static NPObject* testAllocate(NPP /*npp*/, NPClass* /*theClass*/)
121 return reinterpret_cast<NPObject*>(newInstance);
124 static void testDeallocate(NPObject *obj)
134 static bool testHasMethod(NPObject*, NPIdentifier name)
143 static bool testInvoke(NPObject* header, NPIdentifier name, const NPVariant* /*args*/, uint32_t /*argCount*/, NPVariant* /*result*/)
152 static bool testHasProperty(NPObject*, NPIdentifier name)
162 static bool testGetProperty(NPObject* npobj, NPIdentifier name, NPVariant* result)
192 static bool testEnumerate(NPObject* /*npobj*/, NPIdentifier **value, uint32_t *count)
202 static bool testConstruct(NPObject* npobj, const NPVariant* /*args*/, uint32_t /*argCount*/, NPVariant* result)