Home
last modified time | relevance | path

Searched refs:kuint64max (Results 1 – 9 of 9) sorted by relevance

/external/protobuf/src/google/protobuf/io/
Dtokenizer_unittest.cc183 EXPECT_TRUE(Tokenizer::ParseInteger(text, kuint64max, &result)); in ParseInteger()
730 EXPECT_EQ(kuint64max, ParseInteger("0xFFFFFFFFFFFFFFFF")); in TEST_F()
740 EXPECT_DEBUG_DEATH(Tokenizer::ParseInteger("zxy", kuint64max, &i), in TEST_F()
742 EXPECT_DEBUG_DEATH(Tokenizer::ParseInteger("1.2", kuint64max, &i), in TEST_F()
744 EXPECT_DEBUG_DEATH(Tokenizer::ParseInteger("08", kuint64max, &i), in TEST_F()
746 EXPECT_DEBUG_DEATH(Tokenizer::ParseInteger("0xg", kuint64max, &i), in TEST_F()
748 EXPECT_DEBUG_DEATH(Tokenizer::ParseInteger("-1", kuint64max, &i), in TEST_F()
758 EXPECT_TRUE (Tokenizer::ParseInteger("0xFFFFFFFFFFFFFFFF" , kuint64max, &i)); in TEST_F()
759 EXPECT_FALSE(Tokenizer::ParseInteger("0x10000000000000000", kuint64max, &i)); in TEST_F()
/external/jsoncpp/src/test_lib_json/
Dmain.cpp18 #define kuint64max Json::Value::maxUInt64 macro
760 val = Json::Value(double(kuint64max)); in JSONTEST_FIXTURE()
773 JSONTEST_ASSERT_EQUAL(double(kuint64max), val.asDouble()); in JSONTEST_FIXTURE()
774 JSONTEST_ASSERT_EQUAL(float(kuint64max), val.asFloat()); in JSONTEST_FIXTURE()
1028 val = Json::Value(Json::UInt64(kuint64max)); in JSONTEST_FIXTURE()
1043 JSONTEST_ASSERT_EQUAL(kuint64max, val.asUInt64()); in JSONTEST_FIXTURE()
1044 JSONTEST_ASSERT_EQUAL(kuint64max, val.asLargestUInt()); in JSONTEST_FIXTURE()
1045 JSONTEST_ASSERT_EQUAL(uint64ToDouble(kuint64max), val.asDouble()); in JSONTEST_FIXTURE()
1046 JSONTEST_ASSERT_EQUAL(float(uint64ToDouble(kuint64max)), val.asFloat()); in JSONTEST_FIXTURE()
1052 val = Json::Value(uint64ToDouble(kuint64max)); in JSONTEST_FIXTURE()
/external/protobuf/python/google/protobuf/internal/
Ddescriptor_test.py182 kuint64max = 2**64 - 1
221 self.assertEqual(kuint64max, message_options.Extensions[
229 self.assertEqual(kuint64max, message_options.Extensions[
/external/protobuf/src/google/protobuf/stubs/
Dcommon_unittest.cc76 EXPECT_EQ(0, kuint64max + 1); in TEST()
Dcommon.h202 static const uint64 kuint64max = GOOGLE_ULONGLONG(0xFFFFFFFFFFFFFFFF); variable
/external/protobuf/src/google/protobuf/compiler/
Dparser.cc217 kuint64max, &value)) { in ConsumeNumber()
879 uint64 max_value = kuint64max; in ParseDefaultAssignment()
1097 is_negative ? static_cast<uint64>(kint64max) + 1 : kuint64max; in ParseOption()
/external/protobuf/src/google/protobuf/
Dtext_format.cc629 DO(ConsumeUnsignedInteger(&value, kuint64max)); in ConsumeFieldValue()
914 DO(ConsumeUnsignedDecimalInteger(&integer_value, kuint64max)); in ConsumeDouble()
Ddescriptor_unittest.cc2429 EXPECT_EQ(kuint64max, options->GetExtension(protobuf_unittest::uint64_opt)); in TEST()
2433 EXPECT_EQ(kuint64max, options->GetExtension(protobuf_unittest::fixed64_opt)); in TEST()
/external/protobuf/python/google/protobuf/pyext/
Dmessage.cc2401 kuint64max_py = PyLong_FromUnsignedLongLong(kuint64max); in CheckAndGetInteger()