Home
last modified time | relevance | path

Searched refs:kBase (Results 1 – 3 of 3) sorted by relevance

/external/chromium/sdch/open-vcdiff/src/
Drolling_hash_test.cc26 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()
Drolling_hash.h39 static const uint32_t kBase = (1 << 23); variable
43 return operand & (kBase - 1); in ModBase()
/external/chromium/base/
Dstring_number_conversions.cc221 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::__anonf7baffdf0111::BaseIteratorRangeToNumberTraits