Lines Matching full:format_code
796 char format_code, in PyOS_double_to_string() argument
807 /* Validate format_code, and map upper and lower case */ in PyOS_double_to_string()
808 switch (format_code) { in PyOS_double_to_string()
815 format_code = 'e'; in PyOS_double_to_string()
819 format_code = 'f'; in PyOS_double_to_string()
823 format_code = 'g'; in PyOS_double_to_string()
838 format_code = 'g'; in PyOS_double_to_string()
888 if (format_code == 'f' && fabs(val) >= 1.0) { in PyOS_double_to_string()
913 format_code = 'Z'; in PyOS_double_to_string()
917 format_code); in PyOS_double_to_string()
983 format_code is one of 'e', 'f', 'g', 'r'. 'e', 'f' and 'g'
986 format_code: 'e' and 'g' use mode 2; 'f' mode 3, 'r' mode 0.
1007 format_float_short(double d, char format_code, in format_float_short() argument
1116 switch (format_code) { in format_float_short()
1260 char format_code, in PyOS_double_to_string() argument
1268 /* Validate format_code, and map upper and lower case. Compute the in PyOS_double_to_string()
1270 switch (format_code) { in PyOS_double_to_string()
1274 format_code = 'e'; in PyOS_double_to_string()
1284 format_code = 'f'; in PyOS_double_to_string()
1293 format_code = 'g'; in PyOS_double_to_string()
1317 return format_float_short(val, format_code, mode, precision, in PyOS_double_to_string()