Lines Matching refs:integer
15 enumeration and integer values.
23 In TF-M many implicit casts are done between integer types (``uint32_t``,
30 An enumeration comprises a set of named integer constant values. Each
35 integer constant expression that has a value representable as an int.
42 Each enumerated type shall be compatible with char, a signed integer type,
43 or an unsigned integer type. The choice of type is implementation-defined,
81 * when casting from an integer type (``uint32_t``, ``int32_t``, etc) to an
82 enumeration type, it should be checked that the integer's value is one of the
84 the two so that no information is lost. C integer promotion should
86 * when casting from an enumeration type to an integer type, it should be checked
87 that the enumeration type value fits into the integer type. The value of a
96 0. Replace the enumerated type with an integer type and replace the enumeration
103 3. When converting an integer to an enumeration type, use a conversion function
104 to check if the integer matches an enumeration constant. To not impact
107 4. When converting an enumeration type to an integer, use a conversion function
108 to check that the integer type can contain the enumeration value.
134 returning the enumeration constants, but implicitly casted to an integer type