/external/chromium_org/ui/gfx/geometry/ |
D | point_base.h | 20 Type x() const { return x_; } in x() 24 x_ = x; in SetPoint() 28 void set_x(Type x) { x_ = x; } in set_x() 32 x_ += delta_x; in Offset() 37 x_ += vector.x(); 42 x_ -= vector.x(); 47 x_ = x_ <= other.x_ ? x_ : other.x_; in SetToMin() 52 x_ = x_ >= other.x_ ? x_ : other.x_; in SetToMax() 57 return x_ == 0 && y_ == 0; in IsOrigin() 61 return VectorClass(x_, y_); in OffsetFromOrigin() [all …]
|
D | vector2d.h | 24 Vector2d() : x_(0), y_(0) {} in Vector2d() 25 Vector2d(int x, int y) : x_(x), y_(y) {} in Vector2d() 27 int x() const { return x_; } in x() 28 void set_x(int x) { x_ = x; } in set_x() 45 x_ = x_ <= other.x_ ? x_ : other.x_; in SetToMin() 50 x_ = x_ >= other.x_ ? x_ : other.x_; in SetToMax() 63 operator Vector2dF() const { return Vector2dF(x_, y_); } in Vector2dF() 66 int x_;
|
D | vector3d_f.cc | 14 : x_(0), in Vector3dF() 20 : x_(x), in Vector3dF() 26 : x_(other.x()), in Vector3dF() 32 return base::StringPrintf("[%f %f %f]", x_, y_, z_); in ToString() 36 return x_ == 0 && y_ == 0 && z_ == 0; in IsZero() 40 x_ += other.x_; in Add() 46 x_ -= other.x_; in Subtract() 52 return static_cast<double>(x_) * x_ + static_cast<double>(y_) * y_ + in LengthSquared() 61 x_ *= x_scale; in Scale() 68 float y = z_ * other.x() - x_ * other.z(); in Cross() [all …]
|
D | vector2d_f.h | 22 Vector2dF() : x_(0), y_(0) {} in Vector2dF() 23 Vector2dF(float x, float y) : x_(x), y_(y) {} in Vector2dF() 25 float x() const { return x_; } in x() 26 void set_x(float x) { x_ = x; } in set_x() 43 x_ = x_ <= other.x_ ? x_ : other.x_; in SetToMin() 48 x_ = x_ >= other.x_ ? x_ : other.x_; in SetToMax() 66 float x_;
|
D | vector2d.cc | 14 return x_ == 0 && y_ == 0; in IsZero() 18 x_ += other.x_; in Add() 23 x_ -= other.x_; in Subtract() 28 return static_cast<int64>(x_) * x_ + static_cast<int64>(y_) * y_; in LengthSquared() 36 return base::StringPrintf("[%d %d]", x_, y_); in ToString()
|
D | vector3d_f.h | 28 float x() const { return x_; } in x() 29 void set_x(float x) { x_ = x; } in set_x() 49 x_ = x_ <= other.x_ ? x_ : other.x_; in SetToMin() 55 x_ = x_ >= other.x_ ? x_ : other.x_; in SetToMax() 76 float x_;
|
D | vector2d_f.cc | 14 return base::StringPrintf("[%f %f]", x_, y_); in ToString() 18 return x_ == 0 && y_ == 0; in IsZero() 22 x_ += other.x_; in Add() 27 x_ -= other.x_; in Subtract() 32 return static_cast<double>(x_) * x_ + static_cast<double>(y_) * y_; in LengthSquared() 40 x_ *= x_scale; in Scale()
|
D | point3_f.h | 20 Point3F() : x_(0), y_(0), z_(0) {} in Point3F() 22 Point3F(float x, float y, float z) : x_(x), y_(y), z_(z) {} in Point3F() 24 explicit Point3F(const PointF& point) : x_(point.x()), y_(point.y()), z_(0) {} in Point3F() 36 float x() const { return x_; } in x() 40 void set_x(float x) { x_ = x; } in set_x() 45 x_ = x; in SetPoint() 52 x_ += v.x(); 59 x_ -= v.x(); 66 float dx = x_ - other.x_; in SquaredDistanceTo() 72 PointF AsPointF() const { return PointF(x_, y_); } in AsPointF() [all …]
|
/external/ceres-solver/internal/ceres/ |
D | dogleg_strategy_test.cc | 49 Vector x_; member in ceres::internal::__anonf56c72d50111::Fixture 84 x_.resize(6); in SetUp() 85 x_.setZero(); in SetUp() 112 x_.resize(6); in SetUp() 113 x_.setZero(); in SetUp() 145 x_.data()); in TEST_F() 148 EXPECT_LE(x_.norm(), options_.initial_radius * (1.0 + 4.0 * kEpsilon)); in TEST_F() 165 x_.data()); in TEST_F() 168 EXPECT_LE(x_.norm(), options_.initial_radius * (1.0 + 4.0 * kEpsilon)); in TEST_F() 185 x_.data()); in TEST_F() [all …]
|
D | parameter_block_ordering_test.cc | 66 problem_.AddParameterBlock(x_, 3); in SetUp() 71 problem_.AddResidualBlock(new DummyCostFunction<2, 3>, NULL, x_); in SetUp() 73 problem_.AddResidualBlock(new DummyCostFunction<3, 3, 5>, NULL, x_, z_); in SetUp() 74 problem_.AddResidualBlock(new DummyCostFunction<7, 5, 3>, NULL, z_, x_); in SetUp() 76 z_, x_, w_); in SetUp() 80 double x_[3], y_[4], z_[5], w_[6]; member in ceres::internal::SchurOrderingTest 125 problem_.SetParameterBlockConstant(x_); in TEST_F() 136 problem_.SetParameterBlockConstant(x_); in TEST_F()
|
D | system_test.cc | 214 x_[0] = 3.0; in PowellsFunction() 215 x_[1] = -1.0; in PowellsFunction() 216 x_[2] = 0.0; in PowellsFunction() 217 x_[3] = 1.0; in PowellsFunction() 220 new AutoDiffCostFunction<F1, 1, 1, 1>(new F1), NULL, &x_[0], &x_[1]); in PowellsFunction() 222 new AutoDiffCostFunction<F2, 1, 1, 1>(new F2), NULL, &x_[2], &x_[3]); in PowellsFunction() 224 new AutoDiffCostFunction<F3, 1, 1, 1>(new F3), NULL, &x_[1], &x_[2]); in PowellsFunction() 226 new AutoDiffCostFunction<F4, 1, 1, 1>(new F4), NULL, &x_[0], &x_[3]); in PowellsFunction() 281 double x_[4]; member in ceres::internal::PowellsFunction
|
/external/libcxx/test/numerics/rand/rand.adapt/rand.adapt.ibits/ |
D | result_type.pass.cpp | 30 result_type x_; member in rand1 44 explicit rand1(result_type sd = Min) : x_(sd) in rand1() 46 if (x_ < Min) in rand1() 47 x_ = Min; in rand1() 48 if (x_ > Max) in rand1() 49 x_ = Max; in rand1() 54 result_type r = x_; in operator ()() 55 if (x_ < Max) in operator ()() 56 ++x_; in operator ()() 58 x_ = Min; in operator ()()
|
D | eval.pass.cpp | 28 result_type x_; member in rand1 42 explicit rand1(result_type sd = Min) : x_(sd) in rand1() 44 if (x_ > Max) in rand1() 45 x_ = Max; in rand1() 50 result_type r = x_; in operator ()() 51 if (x_ < Max) in operator ()() 52 ++x_; in operator ()() 54 x_ = Min; in operator ()()
|
/external/libcxx/test/numerics/rand/rand.adapt/rand.adapt.shuf/ |
D | result_type.pass.cpp | 30 result_type x_; member in rand1 44 explicit rand1(result_type sd = Min) : x_(sd) in rand1() 46 if (x_ < Min) in rand1() 47 x_ = Min; in rand1() 48 if (x_ > Max) in rand1() 49 x_ = Max; in rand1() 54 result_type r = x_; in operator ()() 55 if (x_ < Max) in operator ()() 56 ++x_; in operator ()() 58 x_ = Min; in operator ()()
|
D | eval.pass.cpp | 28 result_type x_; member in rand1 42 explicit rand1(result_type sd = Min) : x_(sd) in rand1() 44 if (x_ > Max) in rand1() 45 x_ = Max; in rand1() 50 result_type r = x_; in operator ()() 51 if (x_ < Max) in operator ()() 52 ++x_; in operator ()() 54 x_ = Min; in operator ()()
|
/external/chromium_org/native_client_sdk/src/examples/demo/flock/ |
D | vector2.h | 17 Vector2() : x_(0.0), y_(0.0) {} in Vector2() 18 Vector2(double x, double y) : x_(x), y_(y) {} in Vector2() 29 return sqrt(x_ * x_ + y_ * y_); in Magnitude() 34 x_ += vec.x(); in Add() 49 x_ *= scale; in Scale() 66 double angle = atan2(y_, x_); in Heading() 71 double x() const { return x_; } in x() 72 void set_x(double x) { x_ = x; } in set_x() 77 double x_; variable
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_rtl.h | 87 x_ = tid << kTidShift; in FastState() 88 x_ |= epoch; in FastState() 95 : x_(x) { in FastState() 99 return x_; in raw() 103 u64 res = (x_ & ~kIgnoreBit) >> kTidShift; in tid() 108 u64 res = x_ >> kTidShift; in TidWithIgnore() 113 u64 res = x_ & ((1ull << kClkBits) - 1); in epoch() 119 x_ += 1; in IncrementEpoch() 124 void SetIgnoreBit() { x_ |= kIgnoreBit; } in SetIgnoreBit() 125 void ClearIgnoreBit() { x_ &= ~kIgnoreBit; } in ClearIgnoreBit() [all …]
|
/external/chromium_org/chrome/browser/resources/print_preview/data/ |
D | coordinate2d.js | 21 this.x_ = x; 34 return this.x_; 49 return new Coordinate2d(this.x_ + x, this.y_ + y); 58 return new Coordinate2d(this.x_ * factor, this.y_ * factor); 67 this.x_ == other.x_ &&
|
/external/chromium_org/cc/resources/ |
D | layer_quad.h | 25 Edge() : x_(0), y_(0), z_(0) {} in Edge() 28 float x() const { return x_; } in x() 32 void set_x(float x) { x_ = x; } in set_x() 36 x_ = x; in set() 41 void move_x(float dx) { x_ += dx; } in move_x() 45 x_ += dx; in move() 50 void scale_x(float sx) { x_ *= sx; } in scale_x() 54 x_ *= sx; in scale() 67 float x_;
|
/external/chromium_org/testing/gtest/test/ |
D | gtest_prod_test.cc | 41 EXPECT_EQ(0, a.x_); in TEST() 44 EXPECT_EQ(1, a.x_); in TEST() 53 EXPECT_EQ(0, a.x_); in TEST_F() 56 EXPECT_EQ(2, a.x_); in TEST_F()
|
/external/protobuf/gtest/test/ |
D | gtest_prod_test.cc | 41 EXPECT_EQ(0, a.x_); in TEST() 44 EXPECT_EQ(1, a.x_); in TEST() 53 EXPECT_EQ(0, a.x_); in TEST_F() 56 EXPECT_EQ(2, a.x_); in TEST_F()
|
/external/gtest/test/ |
D | gtest_prod_test.cc | 41 EXPECT_EQ(0, a.x_); in TEST() 44 EXPECT_EQ(1, a.x_); in TEST() 53 EXPECT_EQ(0, a.x_); in TEST_F() 56 EXPECT_EQ(2, a.x_); in TEST_F()
|
/external/chromium_org/third_party/webrtc/modules/desktop_capture/ |
D | desktop_geometry.h | 22 DesktopVector() : x_(0), y_(0) {} in DesktopVector() 23 DesktopVector(int32_t x, int32_t y) : x_(x), y_(y) {} in DesktopVector() 25 int32_t x() const { return x_; } in x() 27 bool is_zero() const { return x_ == 0 && y_ == 0; } in is_zero() 30 return x_ == other.x_ && y_ == other.y_; in equals() 34 x_ = x; in set() 46 int32_t x_;
|
/external/chromium_org/chrome/browser/ui/views/tabs/ |
D | stacked_tab_strip_layout.cc | 22 x_(0), in StackedTabStripLayout() 35 x_ = x; in SetXAndMiniCount() 157 x_ = start_x; in AddTab() 183 int delta = start_x - x_; in RemoveTab() 184 x_ = start_x; in RemoveTab() 202 x_ = start_x; in MoveTab() 265 x_ = x; in Reset() 280 SetIdealBoundsAt(mini_tab_count_, x_); in ResetToIdealState() 291 int available_width = width_ - x_; in ResetToIdealState() 296 SetIdealBoundsAt(mini_tab_count_, x_); in ResetToIdealState() [all …]
|
/external/chromium_org/crypto/ |
D | p224_spake.cc | 102 memset(&x_, 0, sizeof(x_)); in P224EncryptedKeyExchange() 106 RandBytes(x_, sizeof(x_)); in P224EncryptedKeyExchange() 110 p224::ScalarBaseMult(x_, &X); in P224EncryptedKeyExchange() 184 p224::ScalarMult(Y, x_, &k); in ProcessMessage()
|