LongOrdinal 56 sync/internal_api/public/base/ordinal_unittest.cc COMPILE_ASSERT(LongOrdinal::kZeroDigit == '0', LongOrdinal 58 sync/internal_api/public/base/ordinal_unittest.cc COMPILE_ASSERT(LongOrdinal::kOneDigit == '1', LongOrdinal 60 sync/internal_api/public/base/ordinal_unittest.cc COMPILE_ASSERT(LongOrdinal::kMidDigit == '5', LongOrdinal 62 sync/internal_api/public/base/ordinal_unittest.cc COMPILE_ASSERT(LongOrdinal::kMaxDigit == '9', LongOrdinal 64 sync/internal_api/public/base/ordinal_unittest.cc COMPILE_ASSERT(LongOrdinal::kMidDigitValue == 5, LongOrdinal 66 sync/internal_api/public/base/ordinal_unittest.cc COMPILE_ASSERT(LongOrdinal::kMaxDigitValue == 9, LongOrdinal 68 sync/internal_api/public/base/ordinal_unittest.cc COMPILE_ASSERT(LongOrdinal::kRadix == 10, LongOrdinal 91 sync/internal_api/public/base/ordinal_unittest.cc EXPECT_FALSE(LongOrdinal("0001").IsValid()); LongOrdinal 99 sync/internal_api/public/base/ordinal_unittest.cc EXPECT_FALSE(LongOrdinal(std::string("0000") + kBeforeZero).IsValid()); LongOrdinal 100 sync/internal_api/public/base/ordinal_unittest.cc EXPECT_FALSE(LongOrdinal(std::string("0000") + kAfterNine).IsValid()); LongOrdinal 116 sync/internal_api/public/base/ordinal_unittest.cc EXPECT_TRUE(LongOrdinal("10000").IsValid()); LongOrdinal 123 sync/internal_api/public/base/ordinal_unittest.cc const LongOrdinal& ordinal2 = LongOrdinal::CreateInitialOrdinal(); LongOrdinal 127 sync/internal_api/public/base/ordinal_unittest.cc EXPECT_TRUE(ordinal2.Equals(LongOrdinal("50000"))); LongOrdinal 175 sync/internal_api/public/base/ordinal_unittest.cc const LongOrdinal small_ordinal("10000"); LongOrdinal 176 sync/internal_api/public/base/ordinal_unittest.cc const LongOrdinal middle_ordinal("55555"); LongOrdinal 177 sync/internal_api/public/base/ordinal_unittest.cc const LongOrdinal big_ordinal("99999"); LongOrdinal 209 sync/internal_api/public/base/ordinal_unittest.cc EXPECT_EQ("12345", LongOrdinal("12345").ToInternalValue()); LongOrdinal 233 sync/internal_api/public/base/ordinal_unittest.cc IsNonEmptyPrintableString(LongOrdinal("12345").ToDebugString())); LongOrdinal 288 sync/internal_api/public/base/ordinal_unittest.cc EXPECT_EQ("20000", GetBetween<LongOrdinal>("10001", "30000")); LongOrdinal 290 sync/internal_api/public/base/ordinal_unittest.cc EXPECT_EQ("20001", GetBetween<LongOrdinal>("10002", "30000")); LongOrdinal 292 sync/internal_api/public/base/ordinal_unittest.cc EXPECT_EQ("20001", GetBetween<LongOrdinal>("10000", "30002")); LongOrdinal 356 sync/internal_api/public/base/ordinal_unittest.cc const LongOrdinal ordinal1("12345"); LongOrdinal 357 sync/internal_api/public/base/ordinal_unittest.cc const LongOrdinal ordinal2("54321"); LongOrdinal 358 sync/internal_api/public/base/ordinal_unittest.cc const LongOrdinal ordinal3("87654"); LongOrdinal 359 sync/internal_api/public/base/ordinal_unittest.cc const LongOrdinal ordinal4("98765"); LongOrdinal 361 sync/internal_api/public/base/ordinal_unittest.cc std::vector<LongOrdinal> sorted_ordinals; LongOrdinal 367 sync/internal_api/public/base/ordinal_unittest.cc std::vector<LongOrdinal> ordinals = sorted_ordinals; LongOrdinal 369 sync/internal_api/public/base/ordinal_unittest.cc std::sort(ordinals.begin(), ordinals.end(), LongOrdinal::LessThanFn()); LongOrdinal 371 sync/internal_api/public/base/ordinal_unittest.cc sorted_ordinals.begin(), LongOrdinal::EqualsFn()));