Lines Matching defs:max
713 static const int32 max = 0x7fffffff;
714 static const int32 min = -max - 1;
717 CHECK(RE2::FullMatch("2147483647", "(-?\\d+)", &v)); CHECK_EQ(v, max);
723 CHECK_EQ(v, max);
729 CHECK_EQ(v, max);
734 static const uint32 max = 0xfffffffful;
736 CHECK(RE2::FullMatch("4294967295", "(\\d+)", &v)); CHECK_EQ(v, max);
740 CHECK(RE2::FullMatch(zeros + "4294967295", "(\\d+)", &v)); CHECK_EQ(v, max);
744 static const int64 max = 0x7fffffffffffffffull;
745 static const int64 min = -max - 1;
751 snprintf(buf, sizeof(buf), "%lld", (long long int)max);
752 CHECK(RE2::FullMatch(buf, "(-?\\d+)", &v)); CHECK_EQ(v, max);
757 snprintf(buf, sizeof(buf), "%lld", (long long int)max);
770 static const uint64 max = 0xffffffffffffffffull;
776 snprintf(buf, sizeof(buf), "%llu", (long long unsigned)max);
777 CHECK(RE2::FullMatch(buf, "(-?\\d+)", &v)); CHECK_EQ(v, max);