Searched refs:NPVARIANT_TO_DOUBLE (Results 1 – 7 of 7) sorted by relevance
329 static_cast<jbyte>(RoundDoubleToInt(NPVARIANT_TO_DOUBLE(variant))) : in CoerceJavaScriptNumberToJavaValue()341 static_cast<jshort>(RoundDoubleToInt(NPVARIANT_TO_DOUBLE(variant))) : in CoerceJavaScriptNumberToJavaValue()345 result.i = is_double ? RoundDoubleToInt(NPVARIANT_TO_DOUBLE(variant)) : in CoerceJavaScriptNumberToJavaValue()349 result.j = is_double ? RoundDoubleToLong(NPVARIANT_TO_DOUBLE(variant)) : in CoerceJavaScriptNumberToJavaValue()353 result.f = is_double ? static_cast<jfloat>(NPVARIANT_TO_DOUBLE(variant)) : in CoerceJavaScriptNumberToJavaValue()357 result.d = is_double ? NPVARIANT_TO_DOUBLE(variant) : in CoerceJavaScriptNumberToJavaValue()370 base::StringPrintf("%.6lg", NPVARIANT_TO_DOUBLE(variant)) : in CoerceJavaScriptNumberToJavaValue()633 && NPVARIANT_TO_DOUBLE(length_variant) >= 0.0 in CoerceJavaScriptObjectToArray()634 && NPVARIANT_TO_DOUBLE(length_variant) <= kint32max) { in CoerceJavaScriptObjectToArray()635 length = static_cast<jsize>(NPVARIANT_TO_DOUBLE(length_variant)); in CoerceJavaScriptObjectToArray()
88 return v8::Number::New(isolate, NPVARIANT_TO_DOUBLE(*variant)); in convertNPVariantToV8Object()
483 double value = NPVARIANT_TO_DOUBLE(variant); in doubleVariantToIdentifier()762 browser->getintidentifier((int)NPVARIANT_TO_DOUBLE(args[0])); in testGetIntIdentifier()1177 rect.left = static_cast<int>(NPVARIANT_TO_DOUBLE(args[0])); in invalidateRect()1178 rect.top = static_cast<int>(NPVARIANT_TO_DOUBLE(args[1])); in invalidateRect()1179 rect.right = static_cast<int>(NPVARIANT_TO_DOUBLE(args[2])); in invalidateRect()1180 rect.bottom = static_cast<int>(NPVARIANT_TO_DOUBLE(args[3])); in invalidateRect()
165 #define NPVARIANT_TO_DOUBLE(_v) ((_v).value.doubleValue) macro
137 #define NPVARIANT_TO_DOUBLE(_v) ((_v).value.doubleValue) macro
137 return PP_MakeDouble(NPVARIANT_TO_DOUBLE(*variant)); in NPVariantToPPVar()
61 value = NPVARIANT_TO_DOUBLE(variant); in IntFromNPVariant()