| /external/python/cpython2/Python/ |
| D | pystrtod.c | 738 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/ |
| D | pystrtod.c | 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() [all …]
|
| /external/pigweed/pw_presubmit/py/pw_presubmit/ |
| D | source_in_build.py | 20 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,)
|
| D | cpp_checks.py | 28 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$',))
|
| D | pigweed_presubmit.py | 37 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 …]
|
| D | build.py | 61 format_code, 447 extensions: Collection[str] = format_code.CPP_SOURCE_EXTS,
|
| /external/pigweed/pw_presubmit/ |
| D | docs.rst | 183 ``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/ |
| D | presubmit.py | 29 format_code, 55 [".rst", ".gn", ".gni", *format_code.C_FORMAT.extensions] 64 _FORMAT = (format_code.presubmit_checks(exclude=EXCLUSIONS),)
|
| /external/python/cpython2/Include/ |
| D | pystrtod.h | 22 char format_code, 33 #define Py_DTSF_ALT 0x04 /* "alternate" formatting. it's format_code
|
| /external/python/cpython3/Include/ |
| D | pystrtod.h | 16 char format_code, 33 #define Py_DTSF_ALT 0x04 /* "alternate" formatting. it's format_code
|
| /external/python/cpython3/Doc/c-api/ |
| D | conversion.rst | 85 .. 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/ |
| D | conversion.rst | 122 .. 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/ |
| D | 0101-pigweed.json.rst | 51 format pw_presubmit.format_code _pigweed_upstream_main 144 "module": "pw_presubmit.format_code",
|
| /external/fmtlib/.github/workflows/ |
| D | lint.yml | 13 format_code:
|
| /external/google-cloud-java/owl-bot-postprocessor/synthtool/languages/ |
| D | java.py | 65 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/ |
| D | tasks.py | 136 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/ |
| D | BUILD.gn | 37 "pw_presubmit/format_code.py",
|
| D | ninja_parser_test.py | 30 …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/ |
| D | pigweed.json | 42 "module": "pw_presubmit.format_code",
|
| /external/pigweed/pw_cli/py/pw_cli/ |
| D | pw_command_plugins.py | 38 registry.register_by_name('format', 'pw_presubmit.format_code', 'main')
|
| /external/python/cpython3/Objects/ |
| D | complexobject.c | 353 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/ |
| D | complexobject.c | 369 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()
|
| D | floatobject.c | 374 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/ |
| D | changelog.rst | 8075 * `Fix overeager format_code matches <https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/1…
|
| /external/python/cpython3/Doc/data/ |
| D | python3.11.abi | 15874 …<parameter type-id='type-id-1' name='format_code' filepath='Python/pystrtod.c' line='1260' column=…
|