Home
last modified time | relevance | path

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

/aosp14/frameworks/base/tools/aapt2/
H A DResourceValues.cpp493 max_int(std::numeric_limits<int32_t>::max()) { in Attribute()
520 if (type_mask != other->type_mask || min_int != other->min_int || max_int != other->max_int) { in Equals()
672 if (max_int != std::numeric_limits<int32_t>::max()) { in Print()
673 *out << " max=" << max_int; in Print()
791 } else if (static_cast<int32_t>(flattened_data) > max_int) { in Matches()
793 *out_msg << item << " is greater than maximum integer " << max_int; in Matches()
1127 new_value->max_int = value->max_int; in TransformDerived()
H A DResourceValues.h301 int32_t max_int; member
H A DResourceValues_test.cpp247 attr3.max_int = 100; in TEST()
H A DResources.proto464 int32 max_int = 3;
H A DResourceParser.cpp1454 attr->max_int = maybe_max.value_or(std::numeric_limits<int32_t>::max()); in ParseAttrImpl()
/aosp14/frameworks/base/tools/aapt2/format/binary/
H A DResEntryWriter.cpp63 if (attr->max_int != std::numeric_limits<int32_t>::max()) { in Visit()
65 BinaryPrimitive val(Res_value::TYPE_INT_DEC, static_cast<uint32_t>(attr->max_int)); in Visit()
H A DTableFlattener_test.cpp223 attr.max_int = 23; in TEST_F()
237 EXPECT_EQ(attr.max_int, actual_attr->max_int); in TEST_F()
H A DBinaryResourceParser.cpp657 attr->max_int = static_cast<int32_t>(map_entry.value.data); in ParseAttr()
/aosp14/frameworks/base/tools/aapt2/process/
H A DSymbolTable.cpp293 s->attribute->max_int = static_cast<int32_t>(map_entry.value.data); in LookupAttributeInTable()
/aosp14/frameworks/base/tools/aapt2/format/proto/
H A DProtoDeserialize.cpp758 attr->max_int = pb_attr.max_int(); in DeserializeValueFromPb()
H A DProtoSerialize.cpp633 pb_attr->set_max_int(attr->max_int); in Visit()