Home
last modified time | relevance | path

Searched refs:max_int (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/tools/aapt2/
DResourceValues.cpp525 max_int(std::numeric_limits<int32_t>::max()) { in Attribute()
552 if (type_mask != other->type_mask || min_int != other->min_int || max_int != other->max_int) { in Equals()
708 if (max_int != std::numeric_limits<int32_t>::max()) { in Print()
709 *out << " max=" << max_int; in Print()
827 } else if (static_cast<int32_t>(flattened_data) > max_int) { in Matches()
829 *out_msg << item << " is greater than maximum integer " << max_int; in Matches()
DResourceValues.h301 int32_t max_int; member
DResourceValues_test.cpp243 attr3.max_int = 100; in TEST()
DResources.proto421 int32 max_int = 3; field
DResourceParser_test.cpp365 EXPECT_THAT(attr->max_int, Eq(23)); in TEST_F()
DResourceParser.cpp1360 attr->max_int = maybe_max.value_or_default(std::numeric_limits<int32_t>::max()); in ParseAttrImpl()
/frameworks/base/tools/aapt2/format/binary/
DTableFlattener_test.cpp223 attr.max_int = 23; in TEST_F()
238 EXPECT_EQ(attr.max_int, actual_attr->max_int); in TEST_F()
DTableFlattener.cpp103 if (attr->max_int != std::numeric_limits<int32_t>::max()) { in Visit()
105 BinaryPrimitive val(Res_value::TYPE_INT_DEC, static_cast<uint32_t>(attr->max_int)); in Visit()
DBinaryResourceParser.cpp608 attr->max_int = static_cast<int32_t>(map_entry.value.data); in ParseAttr()
/frameworks/base/tools/aapt2/process/
DSymbolTable.cpp296 s->attribute->max_int = static_cast<int32_t>(map_entry.value.data); in LookupAttributeInTable()
/frameworks/base/tools/aapt2/format/proto/
DProtoDeserialize.cpp703 attr->max_int = pb_attr.max_int(); in DeserializeValueFromPb()
DProtoSerialize.cpp548 pb_attr->set_max_int(attr->max_int); in Visit()