Home
last modified time | relevance | path

Searched refs:kint64min (Results 1 – 8 of 8) sorted by relevance

/external/protobuf/python/google/protobuf/internal/
Ddescriptor_test.py178 kint64min = -2**63
191 self.assertEqual(kint64min, message_options.Extensions[
199 self.assertEqual(kint64min, message_options.Extensions[
207 self.assertEqual(kint64min, message_options.Extensions[
/external/jsoncpp/src/test_lib_json/
Dmain.cpp17 #define kint64min Json::Value::minInt64 macro
741 val = Json::Value(double(kint64min)); in JSONTEST_FIXTURE()
754 JSONTEST_ASSERT_EQUAL(double(kint64min), val.asDouble()); in JSONTEST_FIXTURE()
755 JSONTEST_ASSERT_EQUAL(float(kint64min), val.asFloat()); in JSONTEST_FIXTURE()
933 val = Json::Value(Json::Int64(kint64min)); in JSONTEST_FIXTURE()
948 JSONTEST_ASSERT_EQUAL(kint64min, val.asInt64()); in JSONTEST_FIXTURE()
949 JSONTEST_ASSERT_EQUAL(kint64min, val.asLargestInt()); in JSONTEST_FIXTURE()
950 JSONTEST_ASSERT_EQUAL(double(kint64min), val.asDouble()); in JSONTEST_FIXTURE()
951 JSONTEST_ASSERT_EQUAL(float(kint64min), val.asFloat()); in JSONTEST_FIXTURE()
957 val = Json::Value(double(kint64min)); in JSONTEST_FIXTURE()
[all …]
/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.h200 static const int64 kint64min = -kint64max - 1; variable
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_helpers.cc271 if (number == kint64min) { in Int64ToString()
273 GOOGLE_COMPILE_ASSERT(kint64min == GOOGLE_LONGLONG(~0x7fffffffffffffff), in Int64ToString()
Dcpp_unittest.cc162 EXPECT_EQ("GOOGLE_LONGLONG(~0x7fffffffffffffff)", Int64ToString(kint64min)); in TEST()
200 EXPECT_EQ(GOOGLE_LONGLONG(~0x7fffffffffffffff), kint64min); in TEST()
202 EXPECT_EQ(kint64min, extreme_default.really_small_int64()); in TEST()
/external/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc2413 EXPECT_EQ(kint64min, options->GetExtension(protobuf_unittest::int64_opt)); in TEST()
2417 EXPECT_EQ(kint64min, options->GetExtension(protobuf_unittest::sint64_opt)); in TEST()
2421 EXPECT_EQ(kint64min, options->GetExtension(protobuf_unittest::sfixed64_opt)); in TEST()
/external/protobuf/python/google/protobuf/pyext/
Dmessage.cc2399 kint64min_py = PyLong_FromLongLong(kint64min); in CheckAndGetInteger()