Home
last modified time | relevance | path

Searched refs:kint32min (Results 1 – 11 of 11) sorted by relevance

/external/protobuf/python/google/protobuf/internal/
Ddescriptor_test.py177 kint32min = -2**31
189 self.assertEqual(kint32min, message_options.Extensions[
197 self.assertEqual(kint32min, message_options.Extensions[
205 self.assertEqual(kint32min, message_options.Extensions[
/external/protobuf/src/google/protobuf/stubs/
Dcommon_unittest.cc71 EXPECT_LT(kint32min, kint32max); in TEST()
72 EXPECT_EQ(static_cast<uint32>(kint32min), static_cast<uint32>(kint32max) + 1); in TEST()
Dstrutil.cc569 return kint32min; in strto32_adaptor()
572 } else if (errno == 0 && result < kint32min) { in strto32_adaptor()
574 return kint32min; in strto32_adaptor()
Dcommon.h198 static const int32 kint32min = -kint32max - 1; variable
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_helpers.cc261 if (number == kint32min) { in Int32ToString()
262 GOOGLE_COMPILE_ASSERT(kint32min == (~0x7fffffff), kint32min_value_error); in Int32ToString()
Dcpp_unittest.cc155 EXPECT_EQ("(~0x7fffffff)", Int32ToString(kint32min)); in TEST()
161 EXPECT_EQ("GOOGLE_LONGLONG(-2147483648)", Int64ToString(kint32min)); in TEST()
199 EXPECT_EQ(~0x7fffffff, kint32min); in TEST()
201 EXPECT_EQ(kint32min, extreme_default.really_small_int32()); in TEST()
/external/jsoncpp/src/test_lib_json/
Dmain.cpp14 #define kint32min Json::Value::minInt macro
669 val = Json::Value(kint32min); in JSONTEST_FIXTURE()
685 JSONTEST_ASSERT_EQUAL(kint32min, val.asInt()); in JSONTEST_FIXTURE()
686 JSONTEST_ASSERT_EQUAL(kint32min, val.asLargestInt()); in JSONTEST_FIXTURE()
687 JSONTEST_ASSERT_EQUAL(kint32min, val.asDouble()); in JSONTEST_FIXTURE()
688 JSONTEST_ASSERT_EQUAL(kint32min, val.asFloat()); in JSONTEST_FIXTURE()
1162 val = Json::Value(kint32min - 0.5); in JSONTEST_FIXTURE()
/external/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc2412 EXPECT_EQ(kint32min, options->GetExtension(protobuf_unittest::int32_opt)); in TEST()
2416 EXPECT_EQ(kint32min, options->GetExtension(protobuf_unittest::sint32_opt)); in TEST()
2420 EXPECT_EQ(kint32min, options->GetExtension(protobuf_unittest::sfixed32_opt)); in TEST()
Ddescriptor.cc5016 static_cast<int64>(kint32min)) { in SetOptionValue()
/external/protobuf/
DCHANGES.txt565 * Fixed incorrect definition of kint32min.
/external/protobuf/python/google/protobuf/pyext/
Dmessage.cc2396 kint32min_py = PyInt_FromLong(kint32min); in CheckAndGetInteger()