Searched refs:AsDouble (Results 1 – 11 of 11) sorted by relevance
209 return AsDouble() == other.AsDouble(); in operator ==()241 double Var::AsDouble() const { in AsDouble() function in pp::Var294 snprintf(buf, sizeof(buf), "Var(%f)", AsDouble()); in DebugString()
208 double AsDouble() const;
96 return fabs(expected.AsDouble() - actual.AsDouble()) < 1.0e-4; in VarsEqual()358 message_data_.back().AsDouble()); in TestSendingData()365 ASSERT_DOUBLE_EQ(message_data_.back().AsDouble(), kTestDouble); in TestSendingData()815 double_vec.push_back(iter->AsDouble()); in TestMessageEvent()906 received_value = static_cast<int32_t>(latest_var.AsDouble() + 0.5); in TestNonMainThread()
36 return std::fabs(field_value.AsDouble() - expected) <= in FieldMatchesDouble()
306 x_angle_ = x_angle_var.AsDouble(); in HandleMessage()315 y_angle_ = y_angle_var.AsDouble(); in HandleMessage()
747 SetLight(static_cast<float>(dictionary.Get("value").AsDouble())); in HandleEvent()749 SetZoom(static_cast<float>(dictionary.Get("value").AsDouble())); in HandleEvent()
787 SetLight(static_cast<float>(dictionary.Get("value").AsDouble())); in HandleEvent()789 SetZoom(static_cast<float>(dictionary.Get("value").AsDouble())); in HandleEvent()
793 SetLight(static_cast<float>(dictionary.Get("value").AsDouble())); in HandleMessage()795 SetZoom(static_cast<float>(dictionary.Get("value").AsDouble())); in HandleMessage()
358 double zoom = dict.Get(pp::Var(kJSZoom)).AsDouble(); in HandleMessage()
1791 SetZoom(ZOOM_SCALE, args[0].AsDouble()); in CallScriptableMethod()