#include <iostream>#include <string>#include <cstdlib>#include <vector>#include <map>#include <cassert>#include "npapi.h"#include "npruntime.h"#include "pluginbase.h"#include "npfunctions.h"#include "dejagnu.h"#include <regex.h>#include "external.h"Functions | |
| int | main (int argc, char *argv[]) |
| void * | NPN_MemAlloc (uint32_t size) |
| void | NPN_MemFree (void *ptr) |
| NPIdentifier | NPN_GetStringIdentifier (const NPUTF8 *name) |
| nsPluginInstanceBase * | NS_NewPluginInstance (nsPluginCreateData *aCreateDataStruct) |
| NPError | NS_PluginGetValue (NPPVariable aVariable, void *aValue) |
| NPError | NS_PluginInitialize () |
| void | NS_PluginShutdown () |
| char * | NPP_GetMIMEDescription (void) |
| void | NS_DestroyPluginInstance (nsPluginInstanceBase *aPlugin) |
| bool | NPN_SetProperty (NPP npp, NPObject *obj, NPIdentifier name, const NPVariant *value) |
| bool | NPN_GetProperty (NPP npp, NPObject *obj, NPIdentifier name, const NPVariant *value) |
| bool | NPN_HasProperty (NPP npp, NPObject *obj, NPIdentifier name, const NPVariant *value) |
| void | NPN_ReleaseVariantValue (NPVariant *variant) |
| NPObject * | NPN_RetainObject (NPObject *obj) |
| void | NPN_ReleaseObject (NPObject *npobj) |
Variables | |
| TestState | runtest |
| std::map< NPIdentifier, NPVariant * > | _properties |
| std::map< NPIdentifier, NPInvokeFunctionPtr > | _methods |
| int main | ( | int | argc, | |
| char * | argv[] | |||
| ) |
References gnash::ExternalInterface::convertNPVariant(), data, gnash::invoke(), gnash::ExternalInterface::makeArray(), gnash::ExternalInterface::makeInvoke(), gnash::ExternalInterface::makeNumber(), gnash::ExternalInterface::makeObject(), gnash::ExternalInterface::makeProperty(), gnash::ExternalInterface::makeString(), NPN_MemAlloc(), gnash::NPStringToString(), gnash::ExternalInterface::parseArguments(), gnash::ExternalInterface::parseInvoke(), gnash::ExternalInterface::parseProperties(), gnash::ExternalInterface::parseXML(), and runtest.
| bool NPN_GetProperty | ( | NPP | npp, | |
| NPObject * | obj, | |||
| NPIdentifier | name, | |||
| const NPVariant * | value | |||
| ) |
References _properties.
| NPIdentifier NPN_GetStringIdentifier | ( | const NPUTF8 * | name | ) |
Referenced by gnash::GnashPluginScriptObject::AddProperty().
| bool NPN_HasProperty | ( | NPP | npp, | |
| NPObject * | obj, | |||
| NPIdentifier | name, | |||
| const NPVariant * | value | |||
| ) |
References _properties.
| void* NPN_MemAlloc | ( | uint32_t | size | ) |
References malloc().
Referenced by main(), and gnash::GnashPluginScriptObject::marshalAllocate().
| void NPN_MemFree | ( | void * | ptr | ) |
References free().
Referenced by gnash::GnashPluginScriptObject::marshalDeallocate(), NPN_ReleaseObject(), and NPN_ReleaseVariantValue().
| void NPN_ReleaseObject | ( | NPObject * | npobj | ) |
References NPN_MemFree().
Referenced by NPN_ReleaseVariantValue().
| void NPN_ReleaseVariantValue | ( | NPVariant * | variant | ) |
References NPN_MemFree(), and NPN_ReleaseObject().
Referenced by gnash::GnashNPVariant::operator=(), and gnash::GnashNPVariant::~GnashNPVariant().
| NPObject* NPN_RetainObject | ( | NPObject * | obj | ) |
| bool NPN_SetProperty | ( | NPP | npp, | |
| NPObject * | obj, | |||
| NPIdentifier | name, | |||
| const NPVariant * | value | |||
| ) |
References _properties.
| char* NPP_GetMIMEDescription | ( | void | ) |
References gnash::key::x.
| void NS_DestroyPluginInstance | ( | nsPluginInstanceBase * | aPlugin | ) |
| nsPluginInstanceBase* NS_NewPluginInstance | ( | nsPluginCreateData * | aCreateDataStruct | ) |
| NPError NS_PluginGetValue | ( | NPPVariable | aVariable, | |
| void * | aValue | |||
| ) |
| NPError NS_PluginInitialize | ( | ) |
| void NS_PluginShutdown | ( | ) |
| std::map<NPIdentifier, NPInvokeFunctionPtr> _methods |
| std::map<NPIdentifier, NPVariant *> _properties |
Referenced by cygnal::Element::addProperty(), cygnal::Element::clearProperties(), cygnal::Element::getProperties(), cygnal::Element::getProperty(), NPN_GetProperty(), NPN_HasProperty(), NPN_SetProperty(), cygnal::Element::popProperty(), cygnal::Element::propertySize(), and cygnal::Flv::setProperties().
| TestState runtest |
1.7.1