Home
last modified time | relevance | path

Searched refs:format_code (Results 1 – 6 of 6) sorted by relevance

/external/autotest/client/cros/cellular/wardmodem/state_machines/
Dnetwork_operator_machine.py72 def set_operator_format(self, format_code): argument
81 operator_format = self.OPERATOR_FORMAT_STATE.get(format_code)
84 'Unknown operator format code |%s|' % format_code))
111 format_code = self.OPERATOR_FORMAT_CODE[operator_format]
117 format_code)
120 format_code,
/external/python/cpython2/Python/
Dpystrtod.c738 char format_code, in PyOS_double_to_string() argument
750 switch (format_code) { in PyOS_double_to_string()
757 format_code = 'e'; in PyOS_double_to_string()
761 format_code = 'f'; in PyOS_double_to_string()
765 format_code = 'g'; in PyOS_double_to_string()
780 format_code = 'g'; in PyOS_double_to_string()
830 if (format_code == 'f' && fabs(val) >= 1.0) { in PyOS_double_to_string()
855 format_code = 'Z'; in PyOS_double_to_string()
859 format_code); in PyOS_double_to_string()
937 format_float_short(double d, char format_code, in format_float_short() argument
[all …]
/external/python/cpython2/Include/
Dpystrtod.h22 char format_code,
/external/python/cpython2/Doc/c-api/
Dconversion.rst122 .. c:function:: char* PyOS_double_to_string(double val, char format_code, int precision, int flags,…
125 *format_code*, *precision*, and *flags*.
127 *format_code* must be one of ``'e'``, ``'E'``, ``'f'``, ``'F'``,
/external/python/cpython2/Objects/
Dcomplexobject.c369 complex_format(PyComplexObject *v, int precision, char format_code) in complex_format() argument
388 im = PyOS_double_to_string(v->cval.imag, format_code, in complex_format()
396 pre = PyOS_double_to_string(v->cval.real, format_code, in complex_format()
404 im = PyOS_double_to_string(v->cval.imag, format_code, in complex_format()
Dfloatobject.c375 float_str_or_repr(PyFloatObject *v, int precision, char format_code) in float_str_or_repr() argument
379 format_code, precision, in float_str_or_repr()