HomeSort by relevance Sort by last modified time
    Searched refs:kBase (Results 1 - 8 of 8) sorted by null

  /external/chromium_org/sdch/open-vcdiff/src/
rolling_hash_test.cc 26 static const uint32_t kBase = RollingHashUtil::kBase;
34 EXPECT_EQ(operand % kBase, RollingHashUtil::ModBase(operand));
35 EXPECT_EQ(static_cast<uint32_t>((-static_cast<int32_t>(operand)) % kBase),
60 EXPECT_EQ(0U, kBase & (kBase - 1));
67 TestModBase(kBase - 1);
68 TestModBase(kBase);
69 TestModBase(kBase + 1);
rolling_hash.h 37 // All hashes are returned modulo "kBase". Current implementation requires
38 // kBase <= 2^32/kMult to avoid overflow. Also, kBase must be a power of two
40 static const uint32_t kBase = (1 << 23);
42 // Returns operand % kBase, assuming that kBase is a power of two.
44 return operand & (kBase - 1);
49 // result < kBase
59 // The C++ mod operation (operand % kBase) may produce different results for
79 // (ptr[0] * kMult) + ptr[1] is not large enough to exceed kBase, thu
    [all...]
  /art/runtime/base/unix_file/
fd_file.cc 32 : guard_state_(check_usage ? GuardState::kBase : GuardState::kNoCheck),
37 : guard_state_(check_usage ? GuardState::kBase : GuardState::kNoCheck),
100 guard_state_ = GuardState::kBase;
153 moveTo(GuardState::kBase, GuardState::kClosed, "Truncating closed file.");
169 moveTo(GuardState::kBase, GuardState::kClosed, "Writing into closed file.");
198 moveTo(GuardState::kBase, GuardState::kClosed, "Writing into closed file.");
fd_file.h 81 kBase, // Base, file has not been flushed or closed.
mapped_file.cc 82 resetGuard(GuardState::kBase);
159 moveTo(GuardState::kBase, GuardState::kClosed, "Writing into a closed file.");
  /external/chromium_org/base/strings/
string_number_conversions.cc 164 // - constant kBase, the base in which to interpret the input
221 if (traits::kBase == 16 && end - begin > 2 && *begin == '0' &&
229 if (!CharToDigit<traits::kBase>(*current, &new_digit)) {
237 *output *= traits::kBase;
249 if (*output > static_cast<value_type>(traits::max() / traits::kBase) ||
250 (*output == static_cast<value_type>(traits::max() / traits::kBase) &&
251 new_digit > traits::max() % traits::kBase)) {
265 if (*output < traits::min() / traits::kBase ||
266 (*output == traits::min() / traits::kBase &&
267 new_digit > 0 - traits::min() % traits::kBase)) {
    [all...]
  /external/chromium_org/mojo/public/cpp/bindings/tests/
type_conversion_unittest.cc 161 const RedmondRect kBase = { 10, 20, 30, 40 };
165 RedmondRect rr = kBase;
182 const RedmondRect kBase = { 10, 20, 30, 40 };
185 RedmondRect rect = kBase;
  /external/chromium_org/v8/test/cctest/compiler/
test-run-machops.cc     [all...]

Completed in 1529 milliseconds