Home
last modified time | relevance | path

Searched refs:kint64max (Results 1 – 10 of 10) sorted by relevance

/external/jsoncpp/src/test_lib_json/
Dmain.cpp16 #define kint64max Json::Value::maxInt64 macro
20 static const double kdint64max = double(kint64max);
21 static const float kfint64max = float(kint64max);
722 val = Json::Value(double(kint64max)); in JSONTEST_FIXTURE()
735 JSONTEST_ASSERT_EQUAL(double(kint64max), val.asDouble()); in JSONTEST_FIXTURE()
736 JSONTEST_ASSERT_EQUAL(float(kint64max), val.asFloat()); in JSONTEST_FIXTURE()
881 val = Json::Value(Json::Int64(kint64max)); in JSONTEST_FIXTURE()
897 JSONTEST_ASSERT_EQUAL(kint64max, val.asInt64()); in JSONTEST_FIXTURE()
898 JSONTEST_ASSERT_EQUAL(kint64max, val.asLargestInt()); in JSONTEST_FIXTURE()
899 JSONTEST_ASSERT_EQUAL(kint64max, val.asUInt64()); in JSONTEST_FIXTURE()
[all …]
/external/protobuf/python/google/protobuf/internal/
Ddescriptor_test.py180 kint64max = 2**63 - 1
217 self.assertEqual(kint64max, message_options.Extensions[
225 self.assertEqual(kint64max, message_options.Extensions[
233 self.assertEqual(kint64max, message_options.Extensions[
/external/protobuf/src/google/protobuf/stubs/
Dcommon_unittest.cc73 EXPECT_LT(kint64min, kint64max); in TEST()
74 EXPECT_EQ(static_cast<uint64>(kint64min), static_cast<uint64>(kint64max) + 1); in TEST()
Dcommon.h199 static const int64 kint64max = GOOGLE_LONGLONG(0x7FFFFFFFFFFFFFFF); variable
200 static const int64 kint64min = -kint64max - 1;
/external/protobuf/src/google/protobuf/compiler/
Dparser.cc853 uint64 max_value = kint64max; in ParseDefaultAssignment()
1097 is_negative ? static_cast<uint64>(kint64max) + 1 : kuint64max; in ParseOption()
/external/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc2427 EXPECT_EQ(kint64max , options->GetExtension(protobuf_unittest::int64_opt)); in TEST()
2431 EXPECT_EQ(kint64max , options->GetExtension(protobuf_unittest::sint64_opt)); in TEST()
2435 EXPECT_EQ(kint64max , options->GetExtension(protobuf_unittest::sfixed64_opt)); in TEST()
Dtext_format.cc622 DO(ConsumeSignedInteger(&value, kint64max)); in ConsumeFieldValue()
Ddescriptor.cc5033 static_cast<uint64>(kint64max)) { in SetOptionValue()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_unittest.cc163 EXPECT_EQ("GOOGLE_LONGLONG(9223372036854775807)", Int64ToString(kint64max)); in TEST()
/external/protobuf/python/google/protobuf/pyext/
Dmessage.cc2400 kint64max_py = PyLong_FromLongLong(kint64max); in CheckAndGetInteger()