Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/
DResourceValues.cpp492 max_int(std::numeric_limits<int32_t>::max()) { in Attribute()
519 if (type_mask != other->type_mask || min_int != other->min_int || max_int != other->max_int) { in Equals()
671 if (max_int != std::numeric_limits<int32_t>::max()) { in Print()
672 *out << " max=" << max_int; in Print()
790 } else if (static_cast<int32_t>(flattened_data) > max_int) { in Matches()
792 *out_msg << item << " is greater than maximum integer " << max_int; in Matches()
1126 new_value->max_int = value->max_int; in TransformDerived()
DResourceValues_test.cpp247 attr3.max_int = 100; in TEST()
DResourceValues.h302 int32_t max_int; member
DResources.proto455 int32 max_int = 3; field
DResourceParser.cpp1456 attr->max_int = maybe_max.value_or(std::numeric_limits<int32_t>::max()); in ParseAttrImpl()
/frameworks/base/tools/aapt2/format/binary/
DTableFlattener_test.cpp223 attr.max_int = 23; in TEST_F()
237 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.cpp651 attr->max_int = static_cast<int32_t>(map_entry.value.data); in ParseAttr()
/frameworks/base/tools/aapt2/process/
DSymbolTable.cpp298 s->attribute->max_int = static_cast<int32_t>(map_entry.value.data); in LookupAttributeInTable()
/frameworks/base/tools/aapt2/format/proto/
DProtoDeserialize.cpp752 attr->max_int = pb_attr.max_int(); in DeserializeValueFromPb()
DProtoSerialize.cpp622 pb_attr->set_max_int(attr->max_int); in Visit()