Searched refs:kBase (Results 1 – 5 of 5) sorted by relevance
/external/chromium_org/sdch/open-vcdiff/src/ |
D | rolling_hash_test.cc | 26 static const uint32_t kBase = RollingHashUtil::kBase; variable 34 EXPECT_EQ(operand % kBase, RollingHashUtil::ModBase(operand)); in TestModBase() 35 EXPECT_EQ(static_cast<uint32_t>((-static_cast<int32_t>(operand)) % kBase), in TestModBase() 60 EXPECT_EQ(0U, kBase & (kBase - 1)); in TEST_F() 67 TestModBase(kBase - 1); in TEST_F() 68 TestModBase(kBase); in TEST_F() 69 TestModBase(kBase + 1); in TEST_F()
|
D | rolling_hash.h | 40 static const uint32_t kBase = (1 << 23); variable 44 return operand & (kBase - 1); in ModBase()
|
/external/chromium_org/base/strings/ |
D | string_number_conversions.cc | 221 if (traits::kBase == 16 && end - begin > 2 && *begin == '0' && in Invoke() 229 if (!CharToDigit<traits::kBase>(*current, &new_digit)) { in Invoke() 237 *output *= traits::kBase; in Invoke() 249 if (*output > static_cast<value_type>(traits::max() / traits::kBase) || in CheckBounds() 250 (*output == static_cast<value_type>(traits::max() / traits::kBase) && in CheckBounds() 251 new_digit > traits::max() % traits::kBase)) { in CheckBounds() 265 if (*output < traits::min() / traits::kBase || in CheckBounds() 266 (*output == traits::min() / traits::kBase && in CheckBounds() 267 new_digit > 0 - traits::min() % traits::kBase)) { in CheckBounds() 290 static const int kBase = BASE; member in base::__anon35c183d00111::BaseIteratorRangeToNumberTraits
|
/external/chromium_org/mojo/public/cpp/bindings/tests/ |
D | type_conversion_unittest.cc | 161 const RedmondRect kBase = { 10, 20, 30, 40 }; in TEST() local 165 RedmondRect rr = kBase; in TEST() 182 const RedmondRect kBase = { 10, 20, 30, 40 }; in TEST() local 185 RedmondRect rect = kBase; in TEST()
|
/external/chromium_org/v8/test/cctest/compiler/ |
D | test-run-machops.cc | 3898 static const int32_t kBase = 987; in TEST() local 3905 csts[i] = m.Int32Constant(static_cast<int32_t>(kBase + i)); in TEST() 3919 expected += kBase + k; in TEST() 3924 expected += kBase + k; in TEST()
|