Home
last modified time | relevance | path

Searched refs:g_sum (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/ui/gfx/
Dcolor_analysis.cc415 int64_t g_sum = 0; in ComputeColorCovariance() local
433 g_sum += g; in ComputeColorCovariance()
453 static_cast<double>(r_sum * g_sum) / pixel_n / pixel_n), in ComputeColorCovariance()
457 static_cast<double>(r_sum * g_sum) / pixel_n / pixel_n), in ComputeColorCovariance()
459 static_cast<double>(g_sum * g_sum) / pixel_n / pixel_n), in ComputeColorCovariance()
461 static_cast<double>(g_sum * b_sum) / pixel_n / pixel_n), in ComputeColorCovariance()
465 static_cast<double>(g_sum * b_sum) / pixel_n / pixel_n), in ComputeColorCovariance()
/external/chromium_org/testing/gtest/test/
Dgtest_unittest.cc777 static int g_sum = 0; variable
778 static void Accumulate(int n) { g_sum += n; } in Accumulate()
782 g_sum = 0; in TEST()
784 EXPECT_EQ(0, g_sum); // Works for an empty container; in TEST()
786 g_sum = 0; in TEST()
789 EXPECT_EQ(1, g_sum); // Works for a container with one element. in TEST()
791 g_sum = 0; in TEST()
795 EXPECT_EQ(321, g_sum); in TEST()
/external/chromium/testing/gtest/test/
Dgtest_unittest.cc608 static int g_sum = 0; variable
609 static void Accumulate(int n) { g_sum += n; } in Accumulate()
613 g_sum = 0; in TEST()
615 EXPECT_EQ(0, g_sum); // Works for an empty container; in TEST()
617 g_sum = 0; in TEST()
620 EXPECT_EQ(1, g_sum); // Works for a container with one element. in TEST()
622 g_sum = 0; in TEST()
626 EXPECT_EQ(321, g_sum); in TEST()
/external/gtest/test/
Dgtest_unittest.cc608 static int g_sum = 0; variable
609 static void Accumulate(int n) { g_sum += n; } in Accumulate()
613 g_sum = 0; in TEST()
615 EXPECT_EQ(0, g_sum); // Works for an empty container; in TEST()
617 g_sum = 0; in TEST()
620 EXPECT_EQ(1, g_sum); // Works for a container with one element. in TEST()
622 g_sum = 0; in TEST()
626 EXPECT_EQ(321, g_sum); in TEST()