Home
last modified time | relevance | path

Searched +full:- +full:- +full:strict +full:- +full:warnings (Results 1 – 25 of 732) sorted by relevance

12345678910>>...30

/third_party/openssl/external/perl/Text-Template-1.56/
DMakefile.PL2 use strict;
3 use warnings;
15 "DISTNAME" => "Text-Template",
24 "strict" => 0,
25 "warnings" => 0
32 "Test::Warnings" => 0,
52 "Test::Warnings" => 0,
55 "strict" => 0,
58 "warnings" => 0
62 unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
[all …]
DChanges3 1.56 2019-07-09
4 - Fix typos in Changes
6 1.55 2019-02-25
7 - Improve AppVeyor tests for older Perls (Thanks Roy Ivy)
8 - Check for Test::More 0.94 and skip tests if not installed where
10 - Improve workaround for broken Win32 File::Temp taint failure (Thanks Roy Ivy).
11 - Skip/todo tests which fail under Devel::Cover (Thanks Roy Ivy)
12 - Add checks and skip_all checks for non-core test modules (Thanks Roy Ivy)
14 1.54 2019-01-13
15 - Fix tempfile creation during tests on Win32
[all …]
DMETA.yml1 ---
4 - 'Michael Schout <mschout@cpan.org>'
10 Test::Warnings: '0'
21 meta-spec:
22 url: http://module-build.sourceforge.net/META-spec-v1.4.html
24 name: Text-Template
38 strict: '0'
39 warnings: '0'
41 bugtracker: https://github.com/mschout/perl-text-template/issues
42 homepage: https://github.com/mschout/perl-text-template
[all …]
DMETA.json11 "meta-spec" : {
15 "name" : "Text-Template",
39 "strict" : "0", string
40 "warnings" : "0" string
49 "Test::Warnings" : "0",
70 "web" : "https://github.com/mschout/perl-text-template/issues"
72 "homepage" : "https://github.com/mschout/perl-text-template",
75 "url" : "https://github.com/mschout/perl-text-template.git",
76 "web" : "https://github.com/mschout/perl-text-template"
/third_party/openssl/external/perl/Text-Template-1.56/t/
Dwarnings.t3 use strict;
4 use warnings;
13 Test::More->import;
15 # Non-CORE module(s)
16 unless (eval { require Test::Warnings; 1; }) {
17 plan(skip_all => '[ Test::Warnings ] is required for testing');
20 Test::Warnings->import;
26 'This template should not produce warnings.'.$bad;
31 $template = Text::Template->new(type => 'STRING', source => $template);
34 my $result = $template->fill_in(HASH => { good => 'good' });
[all …]
Dstrict.t3 # Tests for STRICT features
6 use strict;
7 use warnings;
17 Text::Template->always_prepend(q{$foo = "global"});
19 my $tmpl1 = Text::Template->new(
23 my $tmpl2 = Text::Template->new(
28 $tmpl1->compile;
29 $tmpl2->compile;
31 # strict should cause t1 to contain an error message if wrong variable is used in template
32 my $t1 = $tmpl1->fill_in(PACKAGE => 'T1', STRICT => 1, HASH => { bar => 'baz' });
[all …]
Dhash.t6 use strict;
7 use warnings;
12 my $template = 'We will put value of $v (which is "good") here -> {$v}';
20 $template = Text::Template->new('type' => 'STRING', 'source' => $template);
24 my $result2 = 'We will put value of $v (which is "good") here -> good';
25 my $text = $template->fill_in(HASH => $vars);
32 my $result4 = 'We will put value of $v (which is "good") here -> good';
33 $text = $template->fill_in(HASH => $vars);
37 my $result5 = 'We will put value of $v (which is "good") here -> good';
38 $text = $template->fill_in(HASH => $vars, PACKAGE => 'Q');
[all …]
/third_party/python/Lib/distutils/command/
Dcheck.py36 """This command checks the meta-data of the package.
39 user_options = [('metadata', 'm', 'Verify meta-data'),
41 ('Checks if long string meta-data syntax '
42 'are reStructuredText-compliant')),
43 ('strict', 's',
46 boolean_options = ['metadata', 'restructuredtext', 'strict']
52 self.strict = 0
59 """Counts the number of warnings that occurs."""
71 elif self.strict:
74 # let's raise an error in strict mode, if we have at least
[all …]
/third_party/python/Lib/test/
Dtest_ossaudiodev.py3 import warnings
8 with warnings.catch_warnings():
9 warnings.simplefilter("ignore", DeprecationWarning)
19 # Arggh, AFMT_S16_NE not defined on all platforms -- seems to be a
40 raise RuntimeError("Expect .au file with 8-bit mu-law samples")
42 # Convert the data to 16-bit signed.
64 # Make sure the read-only attributes work.
69 # And make sure they're really read-only.
76 self.fail("dsp.%s not read-only" % attr)
83 self.assertTrue(abs(expected_time - 3.51) < 1e-2, expected_time)
[all …]
/third_party/python/Lib/distutils/tests/
Dtest_register.py6 import warnings
26 index-servers =
35 index-servers =
72 'content-type': 'text/plain; charset=utf-8',
156 self.assertEqual(req1['Content-length'], '1374')
157 self.assertEqual(req2['Content-length'], '1374')
187 self.assertEqual(headers['Content-length'], '608')
205 self.assertEqual(headers['Content-length'], '290')
218 cmd.strict = 1
229 cmd.strict = 1
[all …]
/third_party/python/Lib/importlib/resources/
D_legacy.py5 import warnings
18 warnings.warn(
20 "Refer to https://importlib-resources.readthedocs.io"
21 "/en/latest/using.html#migrating-from-legacy for migration advice.",
31 # type: (Any) -> str
44 def open_binary(package: Package, resource: Resource) -> BinaryIO:
45 """Return a file-like object opened for binary reading of the resource."""
50 def read_binary(package: Package, resource: Resource) -> bytes:
59 encoding: str = 'utf-8',
60 errors: str = 'strict',
[all …]
/third_party/openssl/test/ssl-tests/
D12-ct.cnf.in1 # -*- mode: perl; -*-
2 # Copyright 2016-2022 The OpenSSL Project Authors. All Rights Reserved.
12 use strict;
13 use warnings;
20 name => "ct-permissive-without-scts",
33 name => "ct-permissive-with-scts",
36 "PrivateKey" => test_pem("embeddedSCTs1-key.pem"),
49 name => "ct-strict-without-scts",
54 "CTValidation" => "Strict",
63 name => "ct-strict-with-scts",
[all …]
/third_party/rust/rust/src/tools/clippy/tests/ui/
Dfloat_cmp.stderr1 error: strict comparison of `f32` or `f64`
2 --> $DIR/float_cmp.rs:57:5
5 …^^^ help: consider comparing them within some margin of error: `(ONE as f64 - 2.0).abs() > error_m…
8 = note: `-D clippy::float-cmp` implied by `-D warnings`
10 error: strict comparison of `f32` or `f64`
11 --> $DIR/float_cmp.rs:62:5
14 …| ^^^^^^^^ help: consider comparing them within some margin of error: `(x - 1.0).abs() < error…
18 error: strict comparison of `f32` or `f64`
19 --> $DIR/float_cmp.rs:65:5
22 …^^^^^ help: consider comparing them within some margin of error: `(twice(x) - twice(ONE as f64)).a…
[all …]
Dfloat_cmp_const.stderr1 error: strict comparison of `f32` or `f64` constant
2 --> $DIR/float_cmp_const.rs:16:5
5 …| ^^^^^^^^^^^ help: consider comparing them within some margin of error: `(1f32 - ONE).abs() <…
8 = note: `-D clippy::float-cmp-const` implied by `-D warnings`
10 error: strict comparison of `f32` or `f64` constant
11 --> $DIR/float_cmp_const.rs:17:5
14 …| ^^^^^^^^^^ help: consider comparing them within some margin of error: `(TWO - ONE).abs() < e…
18 error: strict comparison of `f32` or `f64` constant
19 --> $DIR/float_cmp_const.rs:18:5
22 …| ^^^^^^^^^^ help: consider comparing them within some margin of error: `(TWO - ONE).abs() > e…
[all …]
/third_party/flatbuffers/docs/source/
DBuilding.md11 cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release
12 cmake -G "Visual Studio 10" -DCMAKE_BUILD_TYPE=Release
13 cmake -G "Xcode" -DCMAKE_BUILD_TYPE=Release
19 `CC=/usr/bin/clang CXX=/usr/bin/clang++ cmake -G "Unix Makefiles"`.
32 ### Make all warnings into errors
34 By default all Flatbuffers `cmake` targets are **not** built with the `-Werror`
37 may add new warnings that would cause a build failure.
39 To enable a stricter build that does treat warnings as errors, set the
43 cmake . -DFLATBUFFERS_STRICT_MODE=ON
46 Our CI builds run with strict mode on, ensuring the code that is committed to
[all …]
/third_party/openssl/util/
Dmknum.pl3 # Copyright 2018-2021 The OpenSSL Project Authors. All Rights Reserved.
10 use strict;
11 use warnings;
24 my $warnings = 1;
34 'warnings!' => \$warnings,
42 my $ordinals = OpenSSL::Ordinals->new(from => $ordinals_file,
43 warnings => $warnings,
46 $ordinals->set_version($version);
49 %orig_names = map { $_->name() => 1 }
50 $ordinals->items(comparator => sub { $_[0] cmp $_[1] },
[all …]
/third_party/skia/m133/gn/skia/
DBUILD.gn3 # Use of this source code is governed by a BSD-style license that can be
43 xcode_sysroot = "`xcrun --sdk $sdk --show-sdk-path`"
51 xcode_sysroot = "`xcrun --sdk macosx --show-sdk-path`"
64 # Disable warnings about unknown attributes.
65 # (These unknown attribute warnings are on by default, so we don't make
66 # disabling them part of :warnings, as some targets remove :warnings.)
73 cflags += [ "-Wno-attributes" ]
79 cflags += [ "-ffp-contract=off" ]
84 "-v",
85 "--sysroot=" + rebase_path("$fuchsia_sdk_path/arch/$current_cpu/sysroot"),
[all …]
/third_party/rust/rust/src/tools/clippy/
DREADME.md3 …/github.com/rust-lang/rust-clippy/workflows/Clippy%20Test%20(bors)/badge.svg?branch=auto&event=pus…
4 [![License: MIT OR Apache-2.0](https://img.shields.io/crates/l/clippy.svg)](#license)
6 A collection of lints to catch common mistakes and improve your [Rust](https://github.com/rust-lang…
8 [There are over 600 lints included in this crate!](https://rust-lang.github.io/rust-clippy/master/i…
10 Lints are divided into categories, each with a default [lint level](https://doc.rust-lang.org/rustc…
14 |-----------------------|--------------------------------------------------------------------------…
21 | `clippy::pedantic` | lints which are rather strict or have occasional false positives …
26 More to come, please [file an issue](https://github.com/rust-lang/rust-clippy/issues) if you have i…
31 on a case-by-case basis before enabling.
34 - Strict coding styles (e.g. [`clippy::else_if_without_else`]).
[all …]
/third_party/curl/m4/
Dcurl-compilers.m421 # SPDX-License-Identifier: curl
30 dnl -------------------------------------------------
52 mips-sgi-irix*)
65 *** disable generation of debug info, optimization options or warnings.
71 *** mailing list: https://lists.haxx.selistinfo/curl-library/
79 dnl -------------------------------------------------
91 dnl IBM's almost-compatible clang version
99 fullclangver=`$CC -v 2>&1 | grep version`
105 …clangver | grep "based on LLVM " | "$SED" 's/.*(based on LLVM \(@<:@0-9@:>@*\.@<:@0-9@:>@*\).*)/\1…
106 if test -z "$clangver"; then
[all …]
Dcurl-confopts.m421 # SPDX-License-Identifier: curl
29 dnl -------------------------------------------------
31 dnl --enable-threaded-resolver or --disable-threaded-resolver, and
38 AS_HELP_STRING([--enable-threaded-resolver],[Enable threaded resolver])
39 AS_HELP_STRING([--disable-threaded-resolver],[Disable threaded resolver]),
43 dnl --disable-threaded-resolver option used
55 dnl -------------------------------------------------
57 dnl --enable-ares or --disable-ares, and
63 AC_MSG_CHECKING([whether to enable c-ares for DNS lookups])
66 AS_HELP_STRING([--enable-ares@<:@=PATH@:>@],[Enable c-ares for DNS lookups])
[all …]
/third_party/glslang/SPIRV/
DLogger.h30 // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
43 // A class for holding all SPIR-V build status messages, including
44 // missing/TBD functionalities, warnings, and errors.
55 void warning(const std::string& w) { warnings.push_back(w); } in warning()
60 // TBD functionalities, missing functionalities, warnings, errors.
68 std::vector<std::string> warnings; variable
/third_party/mbedtls/tests/scripts/
Dcheck-doxy-blocks.pl6 # Of course one could use doxygen warnings, eg with:
7 # sed -e '/EXTRACT/s/YES/NO/' doxygen/mbedtls.doxyfile | doxygen -
12 # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
14 use warnings;
15 use strict;
58 if (! -d $dir) {
/third_party/googletest/googlemock/test/
Dgmock-nice-strict_test.cc26 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 #include "gmock/gmock-nice-strict.h"
36 #include "gtest/gtest-spi.h"
144 // Tests that a raw mock generates warnings for uninteresting calls.
160 // Tests that a raw mock generates warnings for uninteresting calls
171 raw_foo->DoThis(); in TEST()
219 nice_foo->DoThis(); in TEST()
249 // not-default-constructible type throws an exception and the exception contains
273 // Tests that NiceMock works with a mock class that has a non-default
283 // Tests that NiceMock works with a mock class that has a 10-ary
[all …]
/third_party/rust/crates/once_cell/.github/workflows/
Dci.yaml12 RUSTFLAGS: -D warnings
18 runs-on: ubuntu-latest
21 - uses: actions/checkout@v2
23 fetch-depth: 0 # fetch tags for publish
24 - uses: Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6
25 - run: cargo run -p xtask -- ci
28 MIRIFLAGS: -Zmiri-strict-provenance
/third_party/skia/m133/third_party/externals/libpng/tests/
Dpngtest-all25 TEST --strict "${srcdir}"/pngtest.png
28 # Use --relaxed because some come from fuzzers that don't maintain CRCs
29 TEST --relaxed "${srcdir}"/contrib/testpngs/crashers/badcrc.png
30 # Use --xfail because there is no reliable way of disabling these errors
32 # provision for turning the other checks into warnings.)
33 TEST --xfail "${srcdir}"/contrib/testpngs/crashers/badadler.png
34 TEST --xfail "${srcdir}"/contrib/testpngs/crashers/bad_iCCP.png
35 TEST --xfail "${srcdir}"/contrib/testpngs/crashers/empty_ancillary_chunks.png
38 TEST --xfail "$file"
42 TEST --xfail "$file"
[all …]

12345678910>>...30