Lines Matching refs:type
383 u8 type; /* format_type enum */ member
1637 if (spec->type == FORMAT_TYPE_WIDTH) { in format_decode()
1642 spec->type = FORMAT_TYPE_NONE; in format_decode()
1647 if (spec->type == FORMAT_TYPE_PRECISION) { in format_decode()
1651 spec->type = FORMAT_TYPE_NONE; in format_decode()
1656 spec->type = FORMAT_TYPE_NONE; in format_decode()
1695 spec->type = FORMAT_TYPE_WIDTH; in format_decode()
1710 spec->type = FORMAT_TYPE_PRECISION; in format_decode()
1736 spec->type = FORMAT_TYPE_CHAR; in format_decode()
1740 spec->type = FORMAT_TYPE_STR; in format_decode()
1744 spec->type = FORMAT_TYPE_PTR; in format_decode()
1748 spec->type = FORMAT_TYPE_PERCENT_CHAR; in format_decode()
1779 spec->type = FORMAT_TYPE_INVALID; in format_decode()
1784 spec->type = FORMAT_TYPE_LONG_LONG; in format_decode()
1787 spec->type = FORMAT_TYPE_ULONG + (spec->flags & SIGN); in format_decode()
1789 spec->type = FORMAT_TYPE_SIZE_T; in format_decode()
1791 spec->type = FORMAT_TYPE_PTRDIFF; in format_decode()
1794 spec->type = FORMAT_TYPE_UBYTE + (spec->flags & SIGN); in format_decode()
1797 spec->type = FORMAT_TYPE_USHORT + (spec->flags & SIGN); in format_decode()
1800 spec->type = FORMAT_TYPE_UINT + (spec->flags & SIGN); in format_decode()
1860 switch (spec.type) { in vsnprintf()
1932 switch (spec.type) { in vsnprintf()
2145 #define save_arg(type) \ in vbin_printf() argument
2147 if (sizeof(type) == 8) { \ in vbin_printf()
2151 if (str + sizeof(type) <= end) { \ in vbin_printf()
2157 str = PTR_ALIGN(str, sizeof(type)); \ in vbin_printf()
2159 if (str + sizeof(type) <= end) \ in vbin_printf()
2160 *(typeof(type) *)str = (type)value; \ in vbin_printf()
2162 str += sizeof(type); \ in vbin_printf()
2170 switch (spec.type) { in vbin_printf()
2208 switch (spec.type) { in vbin_printf()
2277 #define get_arg(type) \ in bstr_printf() argument
2279 typeof(type) value; \ in bstr_printf()
2280 if (sizeof(type) == 8) { \ in bstr_printf()
2285 args = PTR_ALIGN(args, sizeof(type)); \ in bstr_printf()
2286 value = *(typeof(type) *)args; \ in bstr_printf()
2288 args += sizeof(type); \ in bstr_printf()
2304 switch (spec.type) { in bstr_printf()
2371 switch (spec.type) { in bstr_printf()