Home
last modified time | relevance | path

Searched refs:warn (Results 1 - 25 of 374) sorted by relevance

12345678910>>...15

/third_party/node/deps/npm/node_modules/normalize-package-data/lib/
H A Dfixer.js15 warn: function () {},
19 this.warn('repositories')
23 return this.warn('missingRepository')
41 this.warn('brokenGitUrl', r)
48 this.warn('typo', d, typos.topLevel[d])
58 this.warn('nonObjectScripts')
64 this.warn('nonStringScript')
67 this.warn('typo', k, typos.script[k], 'scripts')
75 this.warn('nonArrayFiles')
80 this.warn('invalidFilenam
[all...]
H A Dnormalize.js20 function normalize (data, warn, strict) {
21 if (warn === true) {
22 warn = null
28 if (!warn || data.private) { function
29 warn = function (msg) { /* noop */ }
37 fixer.warn = function () {
38 warn(makeWarning.apply(null, arguments))
/third_party/python/Lib/unittest/test/
H A D_test_warnings.py18 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')
51 warnings.warn('u
[all...]
/third_party/ltp/testcases/kernel/fs/ftest/
H A Dftest06.c260 #define warn(val,m1,m2) if ((val) < 0) dowarn(me,m1,m2) macro
281 warn(val, "rmdir", fname); in crfile()
284 warn(fd, "creating", fname); in crfile()
287 warn(seekval, "lseek64", 0); in crfile()
290 warn(val, "write", 0); in crfile()
293 warn(seekval, "lseek64", 0); in crfile()
296 warn(val, "read", 0); in crfile()
302 warn(val, "close", 0); in crfile()
344 warn(val, "mkdir", dir); in fussdir()
353 warn(va in fussdir()
[all...]
H A Dftest02.c241 #define warn(val,m1,m2) if ((val) < 0) dowarn(me,m1,m2) macro
260 warn(val, "rmdir", fname); in crfile()
263 warn(fd, "creating", fname); in crfile()
266 warn(val, "lseek", 0); in crfile()
269 warn(val, "write", 0); in crfile()
272 warn(val, "lseek", 0); in crfile()
275 warn(val, "read", 0); in crfile()
281 warn(val, "close", 0); in crfile()
326 warn(val, "mkdir", dir); in fussdir()
335 warn(va in fussdir()
[all...]
/third_party/glslang/glslang/MachineIndependent/
H A Dattribute.cpp175 warn(node->getLoc(), "attribute with arguments not recognized, skipping", "", ""); in handleSelectionAttributes()
187 warn(node->getLoc(), "attribute does not apply to a selection", "", ""); in handleSelectionAttributes()
204 warn(node->getLoc(), "attribute with arguments not recognized, skipping", "", ""); in handleSwitchAttributes()
216 warn(node->getLoc(), "attribute does not apply to a switch", "", ""); in handleSwitchAttributes()
246 warn(node->getLoc(), "expected no arguments", feature, ""); in handleLoopAttributes()
259 warn(node->getLoc(), "expected a single integer argument", feature, ""); in handleLoopAttributes()
268 warn(node->getLoc(), "expected a single integer argument", feature, ""); in handleLoopAttributes()
283 warn(node->getLoc(), "expected a single integer argument", feature, ""); in handleLoopAttributes()
292 warn(node->getLoc(), "attribute requires a SPIR-V 1.4 target-env", feature, ""); in handleLoopAttributes()
340 warn(nod in handleLoopAttributes()
[all...]
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/packaging/
H A Dtags.py114 def _get_config_var(name: str, warn: bool = False) -> Union[int, str, None]:
116 if value is None and warn:
136 def _cpython_abis(py_version: PythonVersion, warn: bool = False) -> List[str]:
141 with_debug = _get_config_var("Py_DEBUG", warn)
150 with_pymalloc = _get_config_var("WITH_PYMALLOC", warn)
154 unicode_size = _get_config_var("Py_UNICODE_SIZE", warn)
177 warn: bool = False,
201 abis = _cpython_abis(python_version, warn)
244 ext_suffix = _get_config_var("EXT_SUFFIX", warn=True)
275 warn
[all...]
/third_party/weex-loader/src/
H A Dlegacy.js21 warn('useScripter()')
24 warn('useStyler()')
27 warn('useTemplater()')
30 function warn (method) { function
31 console.warn(`\u001b[1;32m[Warn]\u001b[0m: method ${method} in weex-loader is no more necessary`)
/third_party/python/Lib/test/support/
H A Dwarnings_helper.py25 warn, = warns
26 testcase.assertTrue(issubclass(warn.category, SyntaxWarning),
27 warn.category)
29 testcase.assertRegex(str(warn.message), errtext)
30 testcase.assertEqual(warn.filename, '<testcase>')
31 testcase.assertIsNotNone(warn.lineno)
33 testcase.assertEqual(warn.lineno, lineno)
201 warnings.warn(
/third_party/python/Lib/distutils/command/
H A Dcheck.py58 def warn(self, msg): member in check
61 return Command.warn(self, msg)
98 self.warn("missing required meta-data: %s" % ', '.join(missing))
101 self.warn("missing meta-data: if 'author' supplied, " +
105 self.warn("missing meta-data: if 'maintainer' supplied, " +
108 self.warn("missing meta-data: either (author and author_email) " +
121 self.warn(warning)
H A Dsdist.py8 from warnings import warn namespace
164 warn("distutils.command.sdist.check_metadata is deprecated, \
192 self.warn(("manifest template '%s' does not exist " +
262 self.warn("standard file not found: should have one of " +
268 self.warn("standard file '%s' not found" % fn)
347 self.warn("%s, line %d: %s" % (template.filename,
448 log.warn("no files to distribute -- empty manifest?")
453 log.warn("'%s' not a regular file -- skipping", file)
468 # Don't warn about missing meta-data here -- should be (and is!)
/third_party/python/Lib/test/test_warnings/
H A D__init__.py92 target_api = ["warn", "warn_explicit", "showwarning",
112 self.assertRaises(UserWarning, self.module.warn,
120 self.module.warn(message, UserWarning)
127 self.assertIn("self.module.warn(message, UserWarning)",
138 self.module.warn("FilterTests.test_ignore", UserWarning)
148 self.module.warn(message, UserWarning)
162 self.module.warn(message, UserWarning)
176 self.module.warn(message, UserWarning)
197 self.module.warn(message, UserWarning)
212 self.module.warn(messag
[all...]
/third_party/python/Lib/
H A Dsmtpd.py80 from warnings import _deprecated, warn namespace
194 warn("Access to __server attribute on SMTPChannel is deprecated, "
199 warn("Setting __server attribute on SMTPChannel is deprecated, "
205 warn("Access to __line attribute on SMTPChannel is deprecated, "
210 warn("Setting __line attribute on SMTPChannel is deprecated, "
216 warn("Access to __state attribute on SMTPChannel is deprecated, "
221 warn("Setting __state attribute on SMTPChannel is deprecated, "
227 warn("Access to __greeting attribute on SMTPChannel is deprecated, "
232 warn("Setting __greeting attribute on SMTPChannel is deprecated, "
238 warn("Acces
[all...]
/third_party/skia/third_party/externals/swiftshader/src/System/
H A DDebug.hpp44 void warn(const char *format, ...) CHECK_PRINTF_ARGS;
45 inline void warn() {} in warn() function
65 #define FIXME(message, ...) sw::warn("%s:%d FIXME: " message "\n", __FILE__, __LINE__, ##__VA_ARGS__)
68 #define WARN(message, ...) sw::warn("%s:%d WARNING: " message "\n", __FILE__, __LINE__, ##__VA_ARGS__)
73 // warn() in release builds (NDEBUG && !DCHECK_ALWAYS_ON)
78 # define DABORT(message, ...) sw::warn("%s:%d WARNING: " message "\n", __FILE__, __LINE__, ##__VA_ARGS__);
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_load_balance_test/
H A Dcpuset_cpu_hog.c67 warn("open fifo failed"); in report_result()
72 warn("write fifo failed."); in report_result()
203 warn("get latest cpu failed.\n"); in cpu_hog()
210 warn("the task(%d) is running on the cpu(%d) excluded" in cpu_hog()
258 warn("initialize failed"); in main()
264 warn("sigemptyset failed"); in main()
271 warn("alloc for child pids failed"); in main()
284 warn("fork test tasks failed"); in main()
/third_party/python/Lib/distutils/
H A Dfilelist.py29 def __init__(self, warn=None, debug_print=None):
119 log.warn("warning: no files found matching '%s'",
126 log.warn(("warning: no previously-included files "
133 log.warn(("warning: no files found matching '%s' "
140 log.warn(("warning: no previously-included files matching "
149 log.warn(("warning: no files found matching '%s' "
158 log.warn(("warning: no previously-included files matching "
165 log.warn("warning: no directories found matching '%s'",
171 log.warn(("no previously-included directories found "
H A Dlog.py48 def warn(self, msg, *args): member in Log
61 warn = _global_log.warn variable
/third_party/ffmpeg/libavutil/
H A Dvulkan_shaderc.c28 int loglevel, err, warn, ret; in shdc_shader_compile() local
63 warn = shaderc_result_get_num_warnings(res); in shdc_shader_compile()
66 loglevel = err ? AV_LOG_ERROR : warn ? AV_LOG_WARNING : AV_LOG_VERBOSE; in shdc_shader_compile()
69 if (message && (err || warn)) in shdc_shader_compile()
73 status, err, warn); in shdc_shader_compile()
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
H A DDebug.hpp44 void warn(const char *format, ...) CHECK_PRINTF_ARGS;
45 inline void warn() {} in warn() function
67 #define FIXME(message, ...) rr::warn("%s:%d FIXME: " message "\n", __FILE__, __LINE__, ##__VA_ARGS__)
70 #define WARN(message, ...) rr::warn("%s:%d WARNING: " message "\n", __FILE__, __LINE__, ##__VA_ARGS__)
75 // warn() in release builds (NDEBUG && !DCHECK_ALWAYS_ON)
80 # define DABORT(message, ...) rr::warn("%s:%d WARNING: " message "\n", __FILE__, __LINE__, ##__VA_ARGS__);
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_spread_test/
H A Dcpuset_mem_hog.c60 warn("open %s failed", path); in page_cache_hog()
66 warn("read %s failed", path); in page_cache_hog()
91 warn("write fifo failed."); in mem_hog()
94 warn("write fifo failed."); in mem_hog()
/third_party/tzdata/
H A Dstrftime.c105 enum warn { IN_NONE, IN_SOME, IN_THIS, IN_ALL }; enum
110 enum warn *);
134 enum warn warn = IN_NONE; in strftime() local
137 p = _fmt(format, t, s, s + maxsize, &warn); in strftime()
143 && warn != IN_NONE && getenv(YEAR_2000_NAME)) { in strftime()
147 if (warn == IN_SOME) in strftime()
149 else if (warn == IN_THIS) in strftime()
165 const char *ptlim, enum warn *warnp) in _fmt()
214 enum warn warn in _fmt()
[all...]
/third_party/node/deps/npm/node_modules/@colors/colors/examples/
H A Dnormal-usage.js50 warn: 'yellow',
59 console.log('this is a warning'.warn);
77 console.log('this is a warning'.warn);
H A Dsafe-string.js49 warn: 'yellow',
58 console.log(colors.warn('this is a warning'));
73 console.log(colors.warn('this is a warning'));
/third_party/python/Lib/importlib/
H A Dabc.py56 warnings.warn("the Finder ABC is deprecated and "
67 warnings.warn("importlib.abc.Finder along with its find_module() "
93 warnings.warn("MetaPathFinder.find_module() is deprecated since Python "
134 warnings.warn("PathEntryFinder.find_loader() is deprecated since Python "
/third_party/node/test/parallel/
H A Dtest-http-outgoing-internal-headernames-setter.js6 const warn = 'OutgoingMessage.prototype._headerNames is deprecated';
7 common.expectWarning('DeprecationWarning', warn, 'DEP0066');

Completed in 10 milliseconds

12345678910>>...15