| /third_party/rust/rust/tests/ui/asm/aarch64/ |
| D | type-check-3.stderr | 1 warning: formatting may not be suitable for sub-register argument 2 --> $DIR/type-check-3.rs:48:15 5 | ^^ --- for this argument 8 = help: or use `{0:x}` to keep the default formatting of `x0` 11 warning: formatting may not be suitable for sub-register argument 12 --> $DIR/type-check-3.rs:50:15 15 | ^^ ---- for this argument 18 = help: or use `{0:x}` to keep the default formatting of `x0` 20 warning: formatting may not be suitable for sub-register argument 21 --> $DIR/type-check-3.rs:52:15 [all …]
|
| /third_party/rust/rust/tests/ui/asm/x86_64/ |
| D | type-check-3.stderr | 2 --> $DIR/type-check-3.rs:14:28 10 --> $DIR/type-check-3.rs:16:28 18 --> $DIR/type-check-3.rs:18:28 26 --> $DIR/type-check-3.rs:20:32 34 --> $DIR/type-check-3.rs:29:29 41 warning: formatting may not be suitable for sub-register argument 42 --> $DIR/type-check-3.rs:34:15 45 | ^^^ ^^^ ---- for this argument 48 = help: or use `{0:r}` to keep the default formatting of `rax` 51 warning: formatting may not be suitable for sub-register argument [all …]
|
| /third_party/rust/rust/src/tools/rustfmt/ |
| D | README.md | 1 …-lang/rustfmt/actions/workflows/linux.yml/badge.svg?event=push)](https://github.com/rust-lang/rust… 3 A tool for formatting Rust code according to style guidelines. 10 configuration (see [here](#checking-style-on-a-ci-server)). 37 rustup component add rustfmt --toolchain nightly 50 instability; in particular, post-1.0, the formatting of most code should not 52 do or can't do well (and thus where formatting might change significantly, 53 even post-1.0). We would like to reduce the list of limitations over time. 64 …to format comments, it does format code with comments inside, but that formatting may change in th… 68 * Code containing non-ascii unicode characters (we believe Rustfmt mostly works 83 You can run `rustfmt --help` for information about available arguments. [all …]
|
| /third_party/rust/rust/src/tools/rustfmt/ci/ |
| D | integration.sh | 3 set -ex 7 # FIXME: this means we can get a stale cargo-fmt from a previous run. 11 # that happens, `cargo install --force` will be called, which installs 12 # `rustfmt`, `cargo-fmt`, etc to `~/.cargo/bin`. This directory is cached by 13 # travis (see `.travis.yml`'s "cache" key), such that build-bots that arrive 17 #which cargo-fmt || cargo install --force 18 CFG_RELEASE=nightly CFG_RELEASE_CHANNEL=nightly cargo install --path . --force --locked 21 cargo fmt -- --version 25 # * `cargo fmt --all` succeeds without any warnings or errors 26 # * `cargo fmt --all -- --check` after formatting returns success [all …]
|
| /third_party/rust/crates/minimal-lexical/docs/ |
| D | Development.md | 13 … made **public** to separate the tests from the implementation, although non-documented members is… 24 - Clippy 25 - Rustfmt 26 - Miri 27 - Valgrind 28 - Tarpaulin 29 - Fuzz 30 - Count 39 cargo +nightly install cargo-valgrind 40 cargo +nightly install cargo-tarpaulin [all …]
|
| /third_party/typescript/tests/cases/fourslash/ |
| D | autoFormattingOnPasting.ts | 12 … missing scenarios of formatting option settings due to bug 693273 - [TypeScript] Need to improve … 13 // Missing scenario ** Uncheck Tools->Options->Text Editor->TypeScript->Formatting->General->Format… 21 // Missing scenario ** Check Tools->Options->Text Editor->TypeScript->Formatting->General->Format o…
|
| /third_party/icu/icu4c/source/i18n/unicode/ |
| D | ulistformatter.h | 5 * Copyright (C) 2015-2016, International Business Machines 25 * \brief C API: Format a list in a locale-appropriate way. 27 * A UListFormatter is used to format a list of items in a locale-appropriate way, 72 * Conjunction formatting, e.g. "Alice, Bob, Charlie, and Delta". 79 * Disjunction (or alternative, or simply one of) formatting, e.g. 87 * Formatting of a list of values with units, e.g. "5 pounds, 12 ounces". 101 * Use list formatting with full words (no abbreviations) when possible. 108 * Use list formatting of typical length. 114 * Use list formatting of the shortest possible length. 130 * function returns immediately. The caller should check its output [all …]
|
| /third_party/skia/m133/third_party/externals/icu/source/i18n/unicode/ |
| D | ulistformatter.h | 5 * Copyright (C) 2015-2016, International Business Machines 25 * \brief C API: Format a list in a locale-appropriate way. 27 * A UListFormatter is used to format a list of items in a locale-appropriate way, 72 * Conjunction formatting, e.g. "Alice, Bob, Charlie, and Delta". 79 * Disjunction (or alternative, or simply one of) formatting, e.g. 87 * Formatting of a list of values with units, e.g. "5 pounds, 12 ounces". 101 * Use list formatting with full words (no abbreviations) when possible. 108 * Use list formatting of typical length. 114 * Use list formatting of the shortest possible length. 130 * function returns immediately. The caller should check its output [all …]
|
| /third_party/skia/third_party/externals/icu/source/i18n/unicode/ |
| D | ulistformatter.h | 5 * Copyright (C) 2015-2016, International Business Machines 25 * \brief C API: Format a list in a locale-appropriate way. 27 * A UListFormatter is used to format a list of items in a locale-appropriate way, 72 * Conjunction formatting, e.g. "Alice, Bob, Charlie, and Delta". 79 * Disjunction (or alternative, or simply one of) formatting, e.g. 87 * Formatting of a list of values with units, e.g. "5 pounds, 12 ounces". 101 * Use list formatting with full words (no abbreviations) when possible. 108 * Use list formatting of typical length. 114 * Use list formatting of the shortest possible length. 130 * function returns immediately. The caller should check its output [all …]
|
| /third_party/rust/rust/src/tools/clippy/tests/ |
| D | check-fmt.rs | 1 #![cfg_attr(feature = "deny-warnings", deny(warnings))] 16 .args(["dev", "fmt", "--check"]) in fmt() 26 "Formatting check failed. Run `cargo dev fmt` to update formatting." in fmt()
|
| /third_party/rust/crates/memoffset/.github/workflows/ |
| D | ci.yml | 8 runs-on: ubuntu-latest 12 - stable 13 - beta 14 - nightly 16 - uses: actions/checkout@v2 17 - uses: actions-rs/toolchain@v1 21 - name: Run cargo test 24 test-msrv: 26 runs-on: ubuntu-latest 30 - 1.19.0 # Oldest supported (first version with numeric fields in struct patterns) [all …]
|
| /third_party/python/Lib/test/ |
| D | test_locale.py | 19 tlocs = ("en_US.UTF-8", "en_US.ISO8859-1", "en_US") 28 tlocs = ("en_US.UTF-8", "en_US.ISO8859-1", 29 "en_US.US-ASCII", "en_US") 104 'negative_sign': '-', 115 # and a non-ASCII currency symbol. 130 'negative_sign': '-', 141 # Utility functions for formatting tests 171 self._test_format("%f", -42, grouping=1, out='-42.000000') 172 self._test_format("%+f", -42, grouping=1, out='-42.000000') 175 self._test_format("%20.f", -42, grouping=1, out='-42'.rjust(20)) [all …]
|
| /third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/ |
| D | PhoneNumberMatcher.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 39 * <p>Vanity numbers (phone numbers using alphabetic digits such as <tt>1-800-SIX-FLAGS</tt> are 42 * <p>This class is not thread-safe. 57 * <li>No alpha digits (vanity numbers such as 1-800-SIX-FLAGS) are currently supported. 64 * Chen Li. VLDB J. 12(3): 211-227 (2003).</pre> 66 * The string "211-227 (2003)" is not a telephone number. 68 private static final Pattern PUB_PAGES = Pattern.compile("\\d{1,5}-+\\d{1,5}\\s{0,4}\\(\\d{1,4}"); 75 Pattern.compile("(?:(?:[0-3]?\\d/[01]?\\d)|(?:[01]?\\d/[0-3]?\\d))/(?:[12]\\d)?\\d{2}"); 78 * Matches timestamps. Examples: "2012-01-02 08:00". Note that the reg-ex does not include the 79 * trailing ":\d\d" -- that is covered by TIME_STAMPS_SUFFIX. [all …]
|
| /third_party/vk-gl-cts/external/amber/src/tools/ |
| D | check_code_format.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 17 # Exits with non 0 exit code if formatting is needed. 21 FILES_TO_CHECK=$(git diff --name-only main | grep -E ".*\.(cpp|cc|c\+\+|cxx|c|h|hpp)$") 23 if [ -z "${FILES_TO_CHECK}" ]; then 24 echo "No source code to check for formatting." 28 FORMAT_DIFF=$(git diff -U0 main -- ${FILES_TO_CHECK} | python ./tools/clang-format-diff.py -p1 -sty… 30 if [ -z "${FORMAT_DIFF}" ]; then 34 echo "Found formatting errors!"
|
| /third_party/rust/rust/tests/ui/ |
| D | non-fmt-panic.rs | 1 // run-rustfix 2 // rustfix-only-machine-applicable 3 // build-pass (FIXME(62277): should be check-pass) 4 // aux-build:fancy-panic.rs 16 core::panic!("Hello {}"); //~ WARN panic message contains an unused formatting placeholder in main() 18 //~^ WARN panic message contains unused formatting placeholders in main() 33 panic!(concat!("{", "}")); //~ WARN panic message contains an unused formatting placeholder in main() 37 //~^ WARN panic message contains an unused formatting placeholder in main() 57 // Check that the lint only triggers for std::panic and core::panic, in main()
|
| D | non-fmt-panic.fixed | 1 // run-rustfix 2 // rustfix-only-machine-applicable 3 // build-pass (FIXME(62277): should be check-pass) 4 // aux-build:fancy-panic.rs 16 core::panic!("{}", "Hello {}"); //~ WARN panic message contains an unused formatting placeholder 18 //~^ WARN panic message contains unused formatting placeholders 33 … panic!("{}", concat!("{", "}")); //~ WARN panic message contains an unused formatting placeholder 37 //~^ WARN panic message contains an unused formatting placeholder 57 // Check that the lint only triggers for std::panic and core::panic,
|
| /third_party/spirv-tools/utils/ |
| D | check_code_format.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 17 # Exits with non 0 exit code if formatting is needed. 21 BASE_BRANCH=${1:-main} 23 FILES_TO_CHECK=$(git diff --name-only ${BASE_BRANCH} | grep -E ".*\.(cpp|cc|c\+\+|cxx|c|h|hpp)$") 25 if [ -z "${FILES_TO_CHECK}" ]; then 26 echo "No source code to check for formatting." 30 FORMAT_DIFF=$(git diff -U0 ${BASE_BRANCH} -- ${FILES_TO_CHECK} | python ./utils/clang-format-diff.p… 32 if [ -z "${FORMAT_DIFF}" ]; then 36 echo "Found formatting errors!"
|
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/ |
| D | check_code_format.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 17 # Exits with non 0 exit code if formatting is needed. 21 BASE_BRANCH=${1:-master} 23 FILES_TO_CHECK=$(git diff --name-only ${BASE_BRANCH} | grep -E ".*\.(cpp|cc|c\+\+|cxx|c|h|hpp)$") 25 if [ -z "${FILES_TO_CHECK}" ]; then 26 echo "No source code to check for formatting." 30 FORMAT_DIFF=$(git diff -U0 ${BASE_BRANCH} -- ${FILES_TO_CHECK} | python ./utils/clang-format-diff.p… 32 if [ -z "${FORMAT_DIFF}" ]; then 36 echo "Found formatting errors!"
|
| /third_party/skia/third_party/externals/spirv-tools/utils/ |
| D | check_code_format.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 17 # Exits with non 0 exit code if formatting is needed. 21 BASE_BRANCH=${1:-master} 23 FILES_TO_CHECK=$(git diff --name-only ${BASE_BRANCH} | grep -E ".*\.(cpp|cc|c\+\+|cxx|c|h|hpp)$") 25 if [ -z "${FILES_TO_CHECK}" ]; then 26 echo "No source code to check for formatting." 30 FORMAT_DIFF=$(git diff -U0 ${BASE_BRANCH} -- ${FILES_TO_CHECK} | python ./utils/clang-format-diff.p… 32 if [ -z "${FORMAT_DIFF}" ]; then 36 echo "Found formatting errors!"
|
| /third_party/icu/docs/userguide/format_parse/ |
| D | index.md | 1 --- 3 title: Formatting 6 --- 7 <!-- 10 --> 12 # Formatting and Parsing 16 {: .no_toc .text-delta } 21 --- 25 Formatters translate between binary data and human-readable textual 37 days, numbers, currencies, and messages. Formatting classes do both formatting [all …]
|
| /third_party/rust/rust/src/tools/clippy/clippy_dev/src/ |
| D | fmt.rs | 20 fn from(error: io::Error) -> Self { in from() 26 fn from(error: walkdir::Error) -> Self { in from() 32 check: bool, field 39 pub fn run(check: bool, verbose: bool) { in run() 40 fn try_run(context: &FmtContext) -> Result<bool, CliError> { in run() 68 if path.extension() != Some("rs".as_ref()) || entry.file_name() == "ice-3891.rs" { in run() 100 Not formatting because that would format the local repo as well! in run() 120 check, in run() 129 eprintln!("Formatting check failed."); in run() 130 eprintln!("Run `cargo dev fmt` to update formatting."); in run() [all …]
|
| /third_party/skia/m133/third_party/externals/icu/source/samples/numfmt/ |
| D | main.cpp | 7 * Copyright (c) 1999-2014, International Business Machines Corporation and 30 printf("%s output is in UTF-8\n", argv[0]); in main() 56 check(status, "NumberFormat::createInstance"); in cppapi() 62 fmt->parse(str, result, status); in cppapi() 63 check(status, "NumberFormat::parse"); in cppapi() 74 fmt->format(result, str, status); in cppapi() 75 check(status, "NumberFormat::format"); in cppapi() 87 // currency formatting ----------------------------------------------------- *** 90 * Set a currency on a NumberFormat with pre-ICU 2.6 APIs. 95 * currency-formatting NumberFormat instances. [all …]
|
| /third_party/skia/third_party/externals/icu/source/samples/numfmt/ |
| D | main.cpp | 7 * Copyright (c) 1999-2014, International Business Machines Corporation and 30 printf("%s output is in UTF-8\n", argv[0]); in main() 56 check(status, "NumberFormat::createInstance"); in cppapi() 62 fmt->parse(str, result, status); in cppapi() 63 check(status, "NumberFormat::parse"); in cppapi() 74 fmt->format(result, str, status); in cppapi() 75 check(status, "NumberFormat::format"); in cppapi() 87 // currency formatting ----------------------------------------------------- *** 90 * Set a currency on a NumberFormat with pre-ICU 2.6 APIs. 95 * currency-formatting NumberFormat instances. [all …]
|
| /third_party/icu/icu4c/source/samples/numfmt/ |
| D | main.cpp | 7 * Copyright (c) 1999-2014, International Business Machines Corporation and 30 printf("%s output is in UTF-8\n", argv[0]); in main() 56 check(status, "NumberFormat::createInstance"); in cppapi() 62 fmt->parse(str, result, status); in cppapi() 63 check(status, "NumberFormat::parse"); in cppapi() 74 fmt->format(result, str, status); in cppapi() 75 check(status, "NumberFormat::format"); in cppapi() 87 // currency formatting ----------------------------------------------------- *** 90 * Set a currency on a NumberFormat with pre-ICU 2.6 APIs. 95 * currency-formatting NumberFormat instances. [all …]
|
| /third_party/rust/crates/minimal-lexical/scripts/ |
| D | check.sh | 2 # Ensure formatting and clippy is done on nightly. 4 set -e 10 # Make sure we error on warnings, and don't format in-place. 12 # Do the formatting and clippy for all our project workspaces. 13 cargo +nightly fmt -- --check 14 cargo +nightly clippy --no-default-features -- --deny warnings 15 cargo +nightly clippy --features=compact -- --deny warnings 16 cargo +nightly clippy --features=alloc -- --deny warnings
|