Searched refs:npVariantData (Results 1 – 2 of 2) sorted by relevance
55 NPVariantData npVariantData; in makeNull() local57 npVariantData.m_type = NPVariantData::Null; in makeNull()59 return npVariantData; in makeNull()64 NPVariantData npVariantData; in makeBool() local66 npVariantData.m_type = NPVariantData::Bool; in makeBool()67 npVariantData.m_boolValue = value; in makeBool()69 return npVariantData; in makeBool()74 NPVariantData npVariantData; in makeInt32() local76 npVariantData.m_type = NPVariantData::Int32; in makeInt32()77 npVariantData.m_int32Value = value; in makeInt32()[all …]
136 NPVariant NPRemoteObjectMap::npVariantDataToNPVariant(const NPVariantData& npVariantData, Plugin* p… in npVariantDataToNPVariant() argument140 switch (npVariantData.type()) { in npVariantDataToNPVariant()148 BOOLEAN_TO_NPVARIANT(npVariantData.boolValue(), npVariant); in npVariantDataToNPVariant()151 INT32_TO_NPVARIANT(npVariantData.int32Value(), npVariant); in npVariantDataToNPVariant()154 DOUBLE_TO_NPVARIANT(npVariantData.doubleValue(), npVariant); in npVariantDataToNPVariant()157 NPString npString = createNPString(npVariantData.stringValue()); in npVariantDataToNPVariant()162 uint64_t npObjectID = npVariantData.localNPObjectIDValue(); in npVariantDataToNPVariant()180 … NPObject* npObjectProxy = createNPObjectProxy(npVariantData.remoteNPObjectIDValue(), plugin); in npVariantDataToNPVariant()