Searched refs:kuint64max (Results 1 – 12 of 12) sorted by relevance
/third_party/protobuf/src/google/protobuf/io/ |
D | tokenizer_unittest.cc | 183 EXPECT_TRUE(Tokenizer::ParseInteger(text, kuint64max, &result)); in ParseInteger() 708 EXPECT_EQ(kuint64max, ParseInteger("0xFFFFFFFFFFFFFFFF")); in TEST_F() 718 EXPECT_FALSE(Tokenizer::ParseInteger("zxy", kuint64max, &i)); in TEST_F() 719 EXPECT_FALSE(Tokenizer::ParseInteger("1.2", kuint64max, &i)); in TEST_F() 720 EXPECT_FALSE(Tokenizer::ParseInteger("08", kuint64max, &i)); in TEST_F() 721 EXPECT_FALSE(Tokenizer::ParseInteger("0xg", kuint64max, &i)); in TEST_F() 722 EXPECT_FALSE(Tokenizer::ParseInteger("-1", kuint64max, &i)); in TEST_F() 730 EXPECT_TRUE(Tokenizer::ParseInteger("0xFFFFFFFFFFFFFFFF", kuint64max, &i)); in TEST_F() 731 EXPECT_FALSE(Tokenizer::ParseInteger("0x10000000000000000", kuint64max, &i)); in TEST_F()
|
/third_party/protobuf/src/google/protobuf/stubs/ |
D | int128_unittest.cc | 56 uint128 low_high(0, kuint64max); in TEST() 124 EXPECT_EQ(Uint128High64(biggest), kuint64max); in TEST() 125 EXPECT_EQ(Uint128Low64(biggest), kuint64max); in TEST() 134 EXPECT_EQ(big + kuint64max, bigger); in TEST() 140 EXPECT_EQ(Uint128Low64((uint128(1) << 64) - 1), kuint64max); in TEST()
|
D | common_unittest.cc | 77 EXPECT_EQ(0, kuint64max + 1); in TEST()
|
D | port.h | 139 static const uint64 kuint64max = PROTOBUF_ULONGLONG(0xFFFFFFFFFFFFFFFF); variable
|
/third_party/libphonenumber/cpp/src/phonenumbers/base/ |
D | basictypes.h | 36 const uint64 kuint64max = UINT64_MAX; variable
|
/third_party/libphonenumber/tools/cpp/src/base/ |
D | basictypes.h | 34 const uint64 kuint64max = UINT64_MAX; variable
|
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/ |
D | descriptor_test.py | 182 kuint64max = 2**64 - 1 221 self.assertEqual(kuint64max, message_options.Extensions[ 229 self.assertEqual(kuint64max, message_options.Extensions[
|
/third_party/jsoncpp/src/test_lib_json/ |
D | main.cpp | 37 #define kuint64max Json::Value::maxUInt64 macro 969 val = Json::Value(double(kuint64max)); in JSONTEST_FIXTURE_LOCAL() 982 JSONTEST_ASSERT_EQUAL(double(kuint64max), val.asDouble()); in JSONTEST_FIXTURE_LOCAL() 983 JSONTEST_ASSERT_EQUAL(float(kuint64max), val.asFloat()); in JSONTEST_FIXTURE_LOCAL() 1241 val = Json::Value(Json::UInt64(kuint64max)); in JSONTEST_FIXTURE_LOCAL() 1256 JSONTEST_ASSERT_EQUAL(kuint64max, val.asUInt64()); in JSONTEST_FIXTURE_LOCAL() 1257 JSONTEST_ASSERT_EQUAL(kuint64max, val.asLargestUInt()); in JSONTEST_FIXTURE_LOCAL() 1258 JSONTEST_ASSERT_EQUAL(uint64ToDouble(kuint64max), val.asDouble()); in JSONTEST_FIXTURE_LOCAL() 1259 JSONTEST_ASSERT_EQUAL(float(uint64ToDouble(kuint64max)), val.asFloat()); in JSONTEST_FIXTURE_LOCAL() 1265 val = Json::Value(uint64ToDouble(kuint64max)); in JSONTEST_FIXTURE_LOCAL()
|
/third_party/protobuf/python/google/protobuf/internal/ |
D | descriptor_test.py | 213 kuint64max = 2**64 - 1 252 self.assertEqual(kuint64max, message_options.Extensions[ 260 self.assertEqual(kuint64max, message_options.Extensions[
|
/third_party/protobuf/src/google/protobuf/compiler/ |
D | parser.cc | 300 if (!io::Tokenizer::ParseInteger(input_->current().text, kuint64max, in ConsumeNumber() 1289 uint64 max_value = kuint64max; in ParseDefaultAssignment() 1534 is_negative ? static_cast<uint64>(kint64max) + 1 : kuint64max; in ParseOption()
|
/third_party/protobuf/src/google/protobuf/ |
D | text_format.cc | 730 DO(ConsumeUnsignedInteger(&value, kuint64max)); in ConsumeFieldValue() 1067 DO(ConsumeUnsignedDecimalAsDouble(value, kuint64max)); in ConsumeDouble()
|
D | descriptor_unittest.cc | 3055 EXPECT_EQ(kuint64max, options->GetExtension(protobuf_unittest::uint64_opt)); in TEST() 3059 EXPECT_EQ(kuint64max, options->GetExtension(protobuf_unittest::fixed64_opt)); in TEST()
|