Home
last modified time | relevance | path

Searched refs:warnings (Results 1 – 25 of 1433) sorted by relevance

12345678910>>...58

/third_party/node/deps/npm/node_modules/validate-npm-package-name/
Dindex.js11 var warnings = [] variable
16 return done(warnings, errors)
21 return done(warnings, errors)
26 return done(warnings, errors)
57 warnings.push(builtin + ' is a core module name')
64 warnings.push('name can no longer contain more than 214 characters')
69 warnings.push('name can no longer contain capital letters')
73 warnings.push('name can no longer contain special characters ("~\'!()*")')
83 return done(warnings, errors)
90 return done(warnings, errors)
[all …]
/third_party/python/Lib/unittest/test/
D_test_warnings.py15 import warnings
18 warnings.warn('rw', RuntimeWarning)
38 warnings.warn('dw', DeprecationWarning)
39 warnings.warn('dw', DeprecationWarning)
40 warnings.warn('dw', DeprecationWarning)
43 warnings.warn('iw', ImportWarning)
44 warnings.warn('iw', ImportWarning)
45 warnings.warn('iw', ImportWarning)
49 warnings.warn('uw')
50 warnings.warn('uw')
[all …]
/third_party/node/test/parallel/
Dtest-trace-exit.js33 for (const { execArgv, variant, warnings } of [ field
34 { execArgv: ['--trace-exit'], variant: 'main-thread-exit', warnings: 1 }, property
35 { execArgv: [], variant: 'main-thread-exit', warnings: 0 }, property
36 { execArgv: ['--trace-exit'], variant: 'main-thread', warnings: 0 }, property
37 { execArgv: [], variant: 'main-thread', warnings: 0 }, property
38 { execArgv: ['--trace-exit'], variant: 'worker-thread-exit', warnings: 1 }, property
39 { execArgv: [], variant: 'worker-thread-exit', warnings: 0 }, property
40 { execArgv: ['--trace-exit'], variant: 'worker-thread', warnings: 0 }, property
41 { execArgv: [], variant: 'worker-thread', warnings: 0 }, property
48 if (warnings === 0) {
[all …]
Dtest-sync-io-option.js23 for (const { execArgv, variant, warnings } of [ field
24 { execArgv: ['--trace-sync-io'], variant: 'late-sync-io', warnings: 1 }, property
25 { execArgv: [], variant: 'late-sync-io', warnings: 0 }, property
26 { execArgv: ['--trace-sync-io'], variant: 'early-sync-io', warnings: 0 }, property
27 { execArgv: [], variant: 'early-sync-io', warnings: 0 }, property
34 if (warnings === 0)
37 assert.strictEqual(actualWarnings.length, warnings);
/third_party/python/Lib/
Dgettext.py169 import warnings
170 warnings.warn('Plural value must be an integer, got %s' %
278 import warnings
279 warnings.warn('lgettext() is deprecated, use gettext() instead',
283 with warnings.catch_warnings():
284 warnings.filterwarnings('ignore', r'.*\blgettext\b.*',
300 import warnings
301 warnings.warn('lngettext() is deprecated, use ngettext() instead',
305 with warnings.catch_warnings():
306 warnings.filterwarnings('ignore', r'.*\blngettext\b.*',
[all …]
/third_party/python/Lib/test/test_importlib/import_/
Dtest___package__.py8 import warnings
53 with warnings.catch_warnings():
54 warnings.simplefilter("ignore")
65 with warnings.catch_warnings():
66 warnings.simplefilter("ignore")
102 with warnings.catch_warnings():
103 warnings.simplefilter("ignore", ImportWarning)
107 with warnings.catch_warnings():
108 warnings.simplefilter("ignore", ImportWarning)
169 with warnings.catch_warnings():
[all …]
Dtest_api.py7 import warnings
105 with warnings.catch_warnings():
106 warnings.simplefilter("ignore", ImportWarning)
110 with warnings.catch_warnings():
111 warnings.simplefilter("ignore", ImportWarning)
115 with warnings.catch_warnings():
116 warnings.simplefilter("ignore", ImportWarning)
120 with warnings.catch_warnings():
121 warnings.simplefilter("ignore", ImportWarning)
125 with warnings.catch_warnings():
[all …]
Dtest_path.py11 import warnings
77 with warnings.catch_warnings(record=True) as w:
78 warnings.simplefilter('always', ImportWarning)
79 warnings.simplefilter('ignore', DeprecationWarning)
127 with warnings.catch_warnings():
128 warnings.simplefilter("ignore", ImportWarning)
134 with warnings.catch_warnings():
135 warnings.simplefilter("ignore", ImportWarning)
147 with warnings.catch_warnings():
148 warnings.simplefilter("ignore", ImportWarning)
[all …]
Dtest_caching.py6 import warnings
67 with warnings.catch_warnings():
68 warnings.simplefilter("ignore", ImportWarning)
77 with warnings.catch_warnings():
78 warnings.simplefilter("ignore", ImportWarning)
89 with warnings.catch_warnings():
90 warnings.simplefilter("ignore", ImportWarning)
/third_party/boost/tools/build/src/tools/features/
Dwarnings-feature.jam10 [[bbv2.builtin.features.warnings]]`warnings`::
16 `all`::: enable most warnings.
17 `extra`::: enable extra, possibly conflicting, warnings.
18 `pedantic`::: enable likely inconsequential, and conflicting, warnings.
19 `off`::: disable all warnings.
25 feature.feature warnings
31 [[bbv2.builtin.features.warnings-as-errors]]`warnings-as-errors`::
34 Makes it possible to treat warnings as errors and abort compilation on a
39 feature.feature warnings-as-errors
/third_party/python/Lib/test/support/
Dwarnings_helper.py5 import warnings
12 with warnings.catch_warnings(record=True) as warns:
13 warnings.simplefilter('always', SyntaxWarning)
30 with warnings.catch_warnings(record=True) as warns:
31 warnings.simplefilter('error', SyntaxWarning)
47 with warnings.catch_warnings():
48 warnings.simplefilter('ignore', category=category)
65 elif attr in warnings.WarningMessage._WARNING_DETAILS:
70 def warnings(self): member in WarningsRecorder
116 with warnings.catch_warnings(record=True) as warns:
[all …]
/third_party/python/Doc/library/
Dwarnings.rst1 :mod:`warnings` --- Warning control
4 .. module:: warnings
7 **Source code:** :source:`Lib/warnings.py`
9 .. index:: single: warnings
18 Python programmers issue warnings by calling the :func:`warn` function defined
23 can be changed flexibly, from ignoring all warnings to turning them into
24 exceptions. The disposition of warnings can vary based on the :ref:`warning category
44 :func:`logging.captureWarnings` allows you to handle all warnings with
54 This categorization is useful to be able to filter out groups of warnings.
58 documented here, because conceptually they belong to the warnings mechanism.
[all …]
/third_party/typescript/tests/cases/fourslash/
DjsFileJsdocTypedefTagTypeExpressionCompletion3.ts33 const warnings = (names: ReadonlyArray<string>): ReadonlyArray<FourSlashInterface.ExpectedCompletio… constant
41 …...warnings(["Namespace", "SomeType", "x", "x1", "method1", "property1", "method3", "method4", "fo…
48 …...warnings(["Foo", "value", "property1", "method1", "method3", "method4", "foo", "age", "SomeType…
55 …...warnings(["Foo", "value", "property1", "method1", "method3", "method4", "foo", "age", "Namespac…
64 … ...warnings(["Namespace", "SomeType", "method1", "property1", "method3", "method4", "foo"]),
71 …...warnings(["Foo", "value", "property1", "method1", "method3", "method4", "foo", "Namespace", "So…
80 … ...warnings(["Foo", "value", "method1", "foo", "age", "Namespace", "SomeType", "x", "x1"]),
89 …...warnings(["Foo", "value", "property1", "method3", "method4", "foo", "age", "Namespace", "SomeTy…
DjsFileJsdocTypedefTagTypeExpressionCompletion.ts31 function warnings(entries: ReadonlyArray<FourSlashInterface.ExpectedCompletionEntryObject>): Readon… function
40 ...warnings(values),
41 ...warnings(typeMembers),
48 ...warnings(types),
49 ...warnings(typeMembers),
56 ...warnings(types),
57 ...warnings(values),
/third_party/python/Tools/scripts/
Dfixdiv.py158 warnings = readwarnings(args[0])
159 if warnings is None:
161 files = list(warnings.keys())
168 x = process(filename, warnings[filename])
182 warnings = {}
199 list = warnings.get(filename)
201 warnings[filename] = list = []
203 return warnings
230 warnings = []
232 warnings.append(list[index])
[all …]
/third_party/python/Lib/idlelib/idle_test/
Dtest_warning.py12 import warnings
15 showwarning = warnings.showwarning
35 self.assertIs(warnings.showwarning, showwarning)
37 self.assertIs(warnings.showwarning, run.idle_showwarning_subproc)
39 self.assertIs(warnings.showwarning, showwarning)
53 self.assertIs(warnings.showwarning, showwarning)
55 self.assertIs(warnings.showwarning, shell.idle_showwarning)
57 self.assertIs(warnings.showwarning, showwarning)
/third_party/boost/libs/config/test/
DJamfile.v281 …t>msvc:<link>static <toolset>msvc:<warnings-as-errors>on <toolset>gcc:<warnings-as-errors>on <tool…
82 …ut <threading>multi <toolset>msvc:<warnings-as-errors>on <toolset>gcc:<warnings-as-errors>on <tool…
83 …un_output <rtti>off <toolset>msvc:<warnings-as-errors>on <toolset>gcc:<warnings-as-errors>on <tool…
104 …toolset>clang:<cxxflags>"-std=c++11 -Wimplicit-fallthrough" <warnings-as-errors>on <warnings>all ]…
106 …[ run cstdint_test.cpp : : : <warnings>all <toolset>gcc:<cxxflags>"-Wno-long-long -Wextra" <toolse…
107 …[ run cstdint_test2.cpp : : : <warnings>all <toolset>gcc:<cxxflags>"-Wno-long-long -Wextra" <tools…
108 [ compile cstdint_include_test.cpp : <warnings>all <toolset>gcc:<cxxflags>-Wextra ]
117 …<toolset>clang:<cxxflags>"-std=c++11 -Wimplicit-fallthrough" <warnings-as-errors>on <warnings>all ;
/third_party/python/Lib/test/test_importlib/frozen/
Dtest_loader.py9 import warnings
65 with warnings.catch_warnings():
66 warnings.simplefilter('ignore', DeprecationWarning)
96 with warnings.catch_warnings():
97 warnings.simplefilter('ignore', DeprecationWarning)
110 with warnings.catch_warnings():
111 warnings.simplefilter('ignore', DeprecationWarning)
129 with warnings.catch_warnings():
130 warnings.simplefilter('ignore', DeprecationWarning)
146 with warnings.catch_warnings():
[all …]
/third_party/boost/tools/build/src/tools/
Dintel-vxworks.jam33 <warnings>off <warnings>all <warnings>on
34 <warnings>extra <warnings>pedantic
35 <warnings-as-errors>off <warnings-as-errors>on
129 flags intel-vxworks.compile.c OPTIONS <warnings>off : -w0 ;
130 flags intel-vxworks.compile.c OPTIONS <warnings>on : -w1 ;
131 flags intel-vxworks.compile.c OPTIONS <warnings>all : -w2 ;
132 flags intel-vxworks.compile.c OPTIONS <warnings>extra : -w3 ;
133 flags intel-vxworks.compile.c OPTIONS <warnings>pedantic : -w3 -Wcheck ;
134 flags intel-vxworks.compile.c OPTIONS <warnings-as-errors>on : -Werror-all ;
136 flags intel-vxworks.compile.c++ OPTIONS <warnings>off : -w0 ;
[all …]
/third_party/boost/libs/endian/test/
DJamfile.v216 <warnings>all
20 <toolset>msvc:<warnings-as-errors>on
25 <toolset>gcc:<warnings-as-errors>on
28 <toolset>clang:<warnings-as-errors>on
54 local allow-warnings =
55 "-<toolset>msvc:<warnings-as-errors>on"
56 "-<toolset>gcc:<warnings-as-errors>on"
57 "-<toolset>clang:<warnings-as-errors>on" ;
59 compile spirit_conflict_test.cpp : $(allow-warnings) ;
/third_party/python/Lib/test/test_importlib/builtin/
Dtest_finder.py8 import warnings
62 with warnings.catch_warnings():
63 warnings.simplefilter("ignore", DeprecationWarning)
76 with warnings.catch_warnings():
77 warnings.simplefilter("ignore", DeprecationWarning)
84 with warnings.catch_warnings():
85 warnings.simplefilter("ignore", DeprecationWarning)
/third_party/gstreamer/gstplugins_good/tests/check/
Dgst-plugins-good.supp2 <several valgrind warnings as found with libjpeg 6b on Debian>
11 <several valgrind warnings as found with libjpeg 6b on Debian>
20 <several valgrind warnings as found with libjpeg 6b on Debian>
30 <several valgrind warnings as found with libjpeg 6b on Debian>
39 <several valgrind warnings as found with libjpeg 6b on Debian>
49 <several valgrind warnings as found with libjpeg 6b on Debian>
56 <several valgrind warnings as found with libjpeg 6b on Debian>
64 <several valgrind warnings as found with libjpeg 6b on Debian>
73 <several valgrind warnings as found with libjpeg 6b on Debian>
81 <several valgrind warnings as found with libjpeg 6b on Debian>
[all …]
/third_party/boost/libs/type_traits/test/
DJamfile.v221 # default to all warnings on:
22 <warnings>all
23 # set warnings as errors for those compilers we know we get warning free:
28 <toolset>gcc:<warnings-as-errors>on
29 <toolset>intel:<warnings-as-errors>on
30 <toolset>sun:<warnings-as-errors>on
31 <toolset>msvc:<warnings-as-errors>on
/third_party/boost/libs/core/test/
DJamfile.v259 : <warnings>extra
60 <toolset>gcc:<warnings-as-errors>on
61 <toolset>clang:<warnings-as-errors>on
62 <toolset>msvc:<warnings-as-errors>on ;
71 local pedantic-errors = <warnings>pedantic
72 <toolset>msvc:<warnings-as-errors>on
73 <toolset>gcc:<warnings-as-errors>on
74 <toolset>clang:<warnings-as-errors>on ;
174 : : : <warnings>pedantic
175 <toolset>msvc:<warnings-as-errors>on
[all …]
/third_party/node/deps/npm/lib/install/
Dvalidate-tree.js35 … (mod.parent || path.resolve(npm.globalDir, '..') !== mod.path)) idealTree.warnings.push(mod.error)
45 idealTree.warnings.push(warn)
63 idealTree.warnings.push(warnObj)
67 idealTree.warnings.push(er)
75 idealTree.warnings.push(warnObj)
90 idealTree.warnings.push(warnObj)

12345678910>>...58