Home
last modified time | relevance | path

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

/external/python/cpython3/Python/
Dpystrtod.c797 char format_code, in PyOS_double_to_string() argument
809 switch (format_code) { in PyOS_double_to_string()
816 format_code = 'e'; in PyOS_double_to_string()
820 format_code = 'f'; in PyOS_double_to_string()
824 format_code = 'g'; in PyOS_double_to_string()
839 format_code = 'g'; in PyOS_double_to_string()
889 if (format_code == 'f' && fabs(val) >= 1.0) { in PyOS_double_to_string()
914 format_code = 'Z'; in PyOS_double_to_string()
918 format_code); in PyOS_double_to_string()
996 format_float_short(double d, char format_code, in format_float_short() argument
[all …]
/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/pigweed/pw_presubmit/py/pw_presubmit/
Dpigweed_presubmit.py38 from pw_presubmit import build, cli, format_code, git_repo
49 *format_code.C_FORMAT.extensions)
176 @filter_paths(endswith=format_code.C_FORMAT.extensions)
207 @filter_paths(endswith=(*format_code.C_FORMAT.extensions, '.cmake',
243 @filter_paths(endswith=(*format_code.C_FORMAT.extensions, '.bzl', 'BUILD'))
264 @filter_paths(endswith=(*format_code.C_FORMAT.extensions, '.bzl', 'BUILD'))
291 @filter_paths(endswith=format_code.C_FORMAT.extensions)
467 _BAZEL_SOURCES_IN_BUILD = tuple(format_code.C_FORMAT.extensions)
639 format_code.presubmit_checks(),
/external/tensorflow/tensorflow/lite/micro/tools/make/
Dpigweed.patch13 diff --git a/pw_presubmit/py/pw_presubmit/format_code.py b/pw_presubmit/py/pw_presubmit/format_code
15 --- a/pw_presubmit/py/pw_presubmit/format_code.py
16 +++ b/pw_presubmit/py/pw_presubmit/format_code.py
/external/pigweed/pw_presubmit/
Ddocs.rst130 from pw_presubmit import build, cli, environment, format_code, git_repo
153 ['.rst', '.gn', '.gni', *format_code.C_FORMAT.extensions])
194 format_code.presubmit_checks(exclude=PATH_EXCLUSIONS),
239 The ``pw_presubmit.format_code`` module formats supported source files using
240 external code format tools. The file ``format_code.py`` can be invoked directly
/external/python/cpython3/Include/
Dpystrtod.h16 char format_code,
/external/python/cpython2/Include/
Dpystrtod.h22 char format_code,
/external/python/cpython3/Doc/c-api/
Dconversion.rst88 .. c:function:: char* PyOS_double_to_string(double val, char format_code, int precision, int flags,…
91 *format_code*, *precision*, and *flags*.
93 *format_code* must be one of ``'e'``, ``'E'``, ``'f'``, ``'F'``,
/external/tensorflow/tensorflow/lite/micro/tools/ci_build/
Dtest_code_style.sh77 micro/tools/make/downloads/pigweed/pw_presubmit/py/pw_presubmit/format_code.py \
/external/pigweed/pw_presubmit/py/
DBUILD.gn26 "pw_presubmit/format_code.py",
/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/cpython3/Objects/
Dcomplexobject.c357 char format_code = 'r'; in complex_repr() local
375 im = PyOS_double_to_string(v->cval.imag, format_code, in complex_repr()
384 pre = PyOS_double_to_string(v->cval.real, format_code, in complex_repr()
392 im = PyOS_double_to_string(v->cval.imag, format_code, in complex_repr()
/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.c374 float_str_or_repr(PyFloatObject *v, int precision, char format_code) in float_str_or_repr() argument
378 format_code, precision, in float_str_or_repr()