Home
last modified time | relevance | path

Searched full:format_code (Results 1 – 25 of 25) sorted by relevance

/external/python/cpython2/Python/
Dpystrtod.c738 char format_code, in PyOS_double_to_string() argument
749 /* Validate format_code, and map upper and lower case */ in PyOS_double_to_string()
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()
[all …]
/external/python/cpython3/Python/
Dpystrtod.c796 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()
[all …]
/external/pigweed/pw_presubmit/py/pw_presubmit/
Dsource_in_build.py20 from pw_presubmit import build, format_code, git_repo, presubmit_context
36 _DEFAULT_BAZEL_EXTENSIONS = (*format_code.C_FORMAT.extensions,)
82 *format_code.C_FORMAT.extensions,
126 _DEFAULT_CMAKE_EXTENSIONS = (*format_code.C_FORMAT.extensions,)
Dcpp_checks.py28 format_code,
41 @filter_paths(endswith=format_code.CPP_HEADER_EXTS, exclude=(r'\.pb\.h$',))
147 @filter_paths(endswith=format_code.CPP_HEADER_EXTS, exclude=(r'\.pb\.h$',))
Dpigweed_presubmit.py37 format_code,
72 *format_code.C_FORMAT.extensions,
731 endswith=(*format_code.C_FORMAT.extensions, '.cmake', 'CMakeLists.txt')
740 endswith=(*format_code.C_FORMAT.extensions, '.cmake', 'CMakeLists.txt')
749 endswith=(*format_code.C_FORMAT.extensions, '.bazel', '.bzl', 'BUILD')
814 *format_code.C_FORMAT.extensions,
1150 @filter_paths(endswith=format_code.CPP_SOURCE_EXTS)
1158 (f for f in ctx.paths if f.suffix in format_code.CPP_SOURCE_EXTS),
1310 @filter_paths(endswith=(*format_code.C_FORMAT.extensions, '.py'))
1359 @filter_paths(file_filter=format_code.OWNERS_CODE_FORMAT.filter)
[all …]
Dbuild.py61 format_code,
447 extensions: Collection[str] = format_code.CPP_SOURCE_EXTS,
/external/pigweed/pw_presubmit/
Ddocs.rst183 ``pw_presubmit.format_code``. These include C/C++, Java, Go, Python, GN, and
185 ``pw_presubmit.format_code.presubmit_checks()`` to a presubmit program. These
458 format_code,
472 [".rst", ".gn", ".gni", *format_code.C_FORMAT.extensions]
519 format_code.presubmit_checks(exclude=PATH_EXCLUSIONS),
609 The ``pw_presubmit.format_code`` module formats supported source files using
610 external code format tools. The file ``format_code.py`` can be invoked directly
628 from pw_presubmit import format_code
637 CODE_FORMATS = (*format_code.CODE_FORMATS, YOUR_CODE_FORMAT)
641 return format_code.format_paths_in_repo(exclude=exclude,
[all …]
/external/open-dice/tools/open_dice_tools/
Dpresubmit.py29 format_code,
55 [".rst", ".gn", ".gni", *format_code.C_FORMAT.extensions]
64 _FORMAT = (format_code.presubmit_checks(exclude=EXCLUSIONS),)
/external/python/cpython2/Include/
Dpystrtod.h22 char format_code,
33 #define Py_DTSF_ALT 0x04 /* "alternate" formatting. it's format_code
/external/python/cpython3/Include/
Dpystrtod.h16 char format_code,
33 #define Py_DTSF_ALT 0x04 /* "alternate" formatting. it's format_code
/external/python/cpython3/Doc/c-api/
Dconversion.rst85 .. c:function:: char* PyOS_double_to_string(double val, char format_code, int precision, int flags,…
88 *format_code*, *precision*, and *flags*.
90 *format_code* must be one of ``'e'``, ``'E'``, ``'f'``, ``'F'``,
/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/pigweed/seed/
D0101-pigweed.json.rst51 format pw_presubmit.format_code _pigweed_upstream_main
144 "module": "pw_presubmit.format_code",
/external/fmtlib/.github/workflows/
Dlint.yml13 format_code:
/external/google-cloud-java/owl-bot-postprocessor/synthtool/languages/
Djava.py65 def format_code( function
259 format_code(f"gapic-google-{cloud_prefix}{destination_name}-{version}/src")
261 format_code(f"google-{cloud_prefix}{destination_name}/src")
262 format_code(f"grpc-google-{cloud_prefix}{destination_name}-{version}/src")
263 format_code(f"proto-google-{cloud_prefix}{destination_name}-{version}/src")
/external/python/bumble/
Dtasks.py136 def format_code(ctx, check=False, diff=False): function
165 call(format_code, check=True),
177 project_tasks.add_task(format_code, name="format")
/external/pigweed/pw_presubmit/py/
DBUILD.gn37 "pw_presubmit/format_code.py",
Dninja_parser_test.py30 …ubmit/py/pw_presubmit/cpp_checks.py ../../pw_presubmit/py/pw_presubmit/format_code.py ../../pw_pre…
61 …ubmit/cli.py [...]/py/pw_presubmit/cpp_checks.py [...]/py/pw_presubmit/format_code.py [...]/py/pw_…
/external/pigweed/
Dpigweed.json42 "module": "pw_presubmit.format_code",
/external/pigweed/pw_cli/py/pw_cli/
Dpw_command_plugins.py38 registry.register_by_name('format', 'pw_presubmit.format_code', 'main')
/external/python/cpython3/Objects/
Dcomplexobject.c353 char format_code = 'r'; in complex_repr() local
371 im = PyOS_double_to_string(v->cval.imag, format_code, in complex_repr()
380 pre = PyOS_double_to_string(v->cval.real, format_code, in complex_repr()
388 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()
/external/pigweed/docs/
Dchangelog.rst8075 * `Fix overeager format_code matches <https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/1…
/external/python/cpython3/Doc/data/
Dpython3.11.abi15874 …<parameter type-id='type-id-1' name='format_code' filepath='Python/pystrtod.c' line='1260' column=…