| /third_party/node/tools/node_modules/eslint/node_modules/table/dist/ |
| D | validateConfig.js | 11 var errors = 0; 14 var errs__0 = errors; 31 errors++; 35 var errs_1 = errors; 37 if (vErrors === null) vErrors = refVal2.errors; 38 else vErrors = vErrors.concat(refVal2.errors); 39 errors = vErrors.length; 41 var valid1 = errors === errs_1; 44 var errs_1 = errors; 46 if (vErrors === null) vErrors = refVal[2].errors; [all …]
|
| D | validateStreamConfig.js | 11 var errors = 0; 14 var errs__0 = errors; 31 errors++; 35 var errs_1 = errors; 37 if (vErrors === null) vErrors = refVal2.errors; 38 else vErrors = vErrors.concat(refVal2.errors); 39 errors = vErrors.length; 41 var valid1 = errors === errs_1; 44 var errs_1 = errors; 46 if (vErrors === null) vErrors = refVal[2].errors; [all …]
|
| /third_party/python/Modules/clinic/ |
| D | _codecsmodule.c.h | 56 "encode($module, /, obj, encoding=\'utf-8\', errors=\'strict\')\n" 61 "The default encoding is \'utf-8\'. errors may be given to set a\n" 63 "errors raise a ValueError. Other possible values are \'ignore\', \'replace\'\n" 72 const char *errors); 78 static const char * const _keywords[] = {"obj", "encoding", "errors", NULL}; in _codecs_encode() 84 const char *errors = NULL; in _codecs_encode() local 113 _PyArg_BadArgument("encode", "argument 'errors'", "str", args[2]); in _codecs_encode() 117 errors = PyUnicode_AsUTF8AndSize(args[2], &errors_length); in _codecs_encode() 118 if (errors == NULL) { in _codecs_encode() 121 if (strlen(errors) != (size_t)errors_length) { in _codecs_encode() [all …]
|
| /third_party/python/Modules/ |
| D | _codecsmodule.c | 17 <encoding>_encode(Unicode_object[,errors='strict']) -> 20 <encoding>_decode(char_buffer_obj[,errors='strict']) -> 90 errors: str(c_default="NULL") = "strict" 94 The default encoding is 'utf-8'. errors may be given to set a 96 errors raise a ValueError. Other possible values are 'ignore', 'replace' 103 const char *errors) in _codecs_encode_impl() argument 110 return PyCodec_Encode(obj, encoding, errors); in _codecs_encode_impl() 117 errors: str(c_default="NULL") = "strict" 121 Default encoding is 'utf-8'. errors may be given to set a 123 errors raise a ValueError. Other possible values are 'ignore', 'replace' [all …]
|
| /third_party/node/deps/npm/node_modules/validate-npm-package-name/ |
| D | index.js | 12 var errors = [] variable 15 errors.push('name cannot be null') 16 return done(warnings, errors) 20 errors.push('name cannot be undefined') 21 return done(warnings, errors) 25 errors.push('name must be a string') 26 return done(warnings, errors) 30 errors.push('name length must be greater than zero') 34 errors.push('name cannot start with a period') 38 errors.push('name cannot start with an underscore') [all …]
|
| /third_party/node/doc/guides/ |
| D | using-internal-errors.md | 1 # Using the internal/errors.js Module 3 ## What is internal/errors.js 5 The `require('internal/errors')` module is an internal-only module that can be 9 The intent of the module is to allow errors provided by Node.js to be assigned a 17 Switching an existing error to use the `internal/errors` module must be 20 ## Using internal/errors.js 22 The `internal/errors` module exposes all custom errors as subclasses of the 23 builtin errors. After being added, an error can be found in the `codes` object. 31 Can be replaced by first adding a new error key into the `internal/errors.js` 41 const { FOO } = require('internal/errors').codes; [all …]
|
| /third_party/e2fsprogs/tests/m_error_behavior/ |
| D | script | 6 errors="$1" 9 errors = $errors 15 errors="$1" 18 errors = broken 22 errors = $errors 36 $DUMPE2FS $TMPFILE 2>&1 | grep 'Errors behavior' >> $OUT 40 $DUMPE2FS $TMPFILE 2>&1 | grep 'Errors behavior' >> $OUT 44 $DUMPE2FS $TMPFILE 2>&1 | grep 'Errors behavior' >> $OUT 48 $DUMPE2FS $TMPFILE 2>&1 | grep 'Errors behavior' >> $OUT 53 $DUMPE2FS $TMPFILE 2>&1 | grep 'Errors behavior' >> $OUT [all …]
|
| D | expect | 2 Errors behavior: Continue 4 Errors behavior: Continue 6 Errors behavior: Panic 8 Errors behavior: Remount read-only 11 Errors behavior: Continue 13 Errors behavior: Panic 15 Errors behavior: Remount read-only 18 Errors behavior: Continue 20 Errors behavior: Panic 22 Errors behavior: Remount read-only [all …]
|
| /third_party/python/Lib/encodings/ |
| D | zlib_codec.py | 13 def zlib_encode(input, errors='strict'): argument 14 assert errors == 'strict' 17 def zlib_decode(input, errors='strict'): argument 18 assert errors == 'strict' 22 def encode(self, input, errors='strict'): argument 23 return zlib_encode(input, errors) 24 def decode(self, input, errors='strict'): argument 25 return zlib_decode(input, errors) 28 def __init__(self, errors='strict'): argument 29 assert errors == 'strict' [all …]
|
| D | bz2_codec.py | 15 def bz2_encode(input, errors='strict'): argument 16 assert errors == 'strict' 19 def bz2_decode(input, errors='strict'): argument 20 assert errors == 'strict' 24 def encode(self, input, errors='strict'): argument 25 return bz2_encode(input, errors) 26 def decode(self, input, errors='strict'): argument 27 return bz2_decode(input, errors) 30 def __init__(self, errors='strict'): argument 31 assert errors == 'strict' [all …]
|
| D | charmap.py | 25 def __init__(self, errors='strict', mapping=None): argument 26 codecs.IncrementalEncoder.__init__(self, errors) 30 return codecs.charmap_encode(input, self.errors, self.mapping)[0] 33 def __init__(self, errors='strict', mapping=None): argument 34 codecs.IncrementalDecoder.__init__(self, errors) 38 return codecs.charmap_decode(input, self.errors, self.mapping)[0] 42 def __init__(self,stream,errors='strict',mapping=None): argument 43 codecs.StreamWriter.__init__(self,stream,errors) 46 def encode(self,input,errors='strict'): argument 47 return Codec.encode(input,errors,self.mapping) [all …]
|
| D | utf_8_sig.py | 14 def encode(input, errors='strict'): argument 15 return (codecs.BOM_UTF8 + codecs.utf_8_encode(input, errors)[0], 18 def decode(input, errors='strict'): argument 23 (output, consumed) = codecs.utf_8_decode(input, errors, True) 27 def __init__(self, errors='strict'): argument 28 codecs.IncrementalEncoder.__init__(self, errors) 35 codecs.utf_8_encode(input, self.errors)[0] 37 return codecs.utf_8_encode(input, self.errors)[0] 50 def __init__(self, errors='strict'): argument 51 codecs.BufferedIncrementalDecoder.__init__(self, errors) [all …]
|
| D | utf_32.py | 10 def decode(input, errors='strict'): argument 11 return codecs.utf_32_decode(input, errors, True) 14 def __init__(self, errors='strict'): argument 15 codecs.IncrementalEncoder.__init__(self, errors) 20 result = codecs.utf_32_encode(input, self.errors)[0] 26 return self.encoder(input, self.errors)[0] 49 def __init__(self, errors='strict'): argument 50 codecs.BufferedIncrementalDecoder.__init__(self, errors) 53 def _buffer_decode(self, input, errors, final): argument 56 codecs.utf_32_ex_decode(input, errors, 0, final) [all …]
|
| D | utf_16.py | 15 def decode(input, errors='strict'): argument 16 return codecs.utf_16_decode(input, errors, True) 19 def __init__(self, errors='strict'): argument 20 codecs.IncrementalEncoder.__init__(self, errors) 25 result = codecs.utf_16_encode(input, self.errors)[0] 31 return self.encoder(input, self.errors)[0] 54 def __init__(self, errors='strict'): argument 55 codecs.BufferedIncrementalDecoder.__init__(self, errors) 58 def _buffer_decode(self, input, errors, final): argument 61 codecs.utf_16_ex_decode(input, errors, 0, final) [all …]
|
| /third_party/node/deps/npm/node_modules/json-parse-better-errors/ |
| D | README.md | 1 …errors [](https://npm.im/… 3 [`json-parse-better-errors`](https://github.com/zkat/json-parse-better-errors) is a Node.js library… 4 getting nicer errors out of `JSON.parse()`, including context and position of the parse errors. 8 `$ npm install --save json-parse-better-errors` 21 const parseJson = require('json-parse-better-errors') 29 * Like JSON.parse, but the errors are better.
|
| D | package.json | 4 "json-parse-better-errors@1.0.2", 8 "_from": "json-parse-better-errors@1.0.2", 9 "_id": "json-parse-better-errors@1.0.2", 12 "_location": "/json-parse-better-errors", 17 "raw": "json-parse-better-errors@1.0.2", 18 "name": "json-parse-better-errors", 19 "escapedName": "json-parse-better-errors", 30 …"_resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2… 38 "url": "https://github.com/zkat/json-parse-better-errors/issues" 60 "homepage": "https://github.com/zkat/json-parse-better-errors#readme", [all …]
|
| /third_party/node/deps/npm/lib/install/ |
| D | check-permissions.js | 13 var errors = [] 19 hasAnyWriteAccess(path.resolve(pkg.path, '..'), errors, done) 23 … hasWriteAccess(pkg.path, errors, andHasWriteAccess(path.resolve(pkg.path, '..'), errors, done)) 26 …hasAnyWriteAccess(pkg.path, errors, andHasWriteAccess(path.resolve(pkg.fromPath, '..'), errors, do… 32 if (!errors.length) return next() 33 …uniq(errors.map(function (er) { return 'Missing write access to ' + er.path })).forEach(function (… 36 npm.config.get('force') ? next() : next(errors[0]) 40 function andHasWriteAccess (dir, errors, done) { argument 43 hasWriteAccess(dir, errors, done) 47 function hasAnyWriteAccess (dir, errors, done) { argument [all …]
|
| /third_party/node/test/parallel/ |
| D | test-eslint-lowercase-name-for-primitive.js | 14 'new errors.TypeError("ERR_INVALID_ARG_TYPE", "a", ["string", "number"])', 15 'new errors.TypeError("ERR_INVALID_ARG_TYPE", "name", "string")', 16 'new errors.TypeError("ERR_INVALID_ARG_TYPE", "name", "number")', 17 'new errors.TypeError("ERR_INVALID_ARG_TYPE", "name", "boolean")', 18 'new errors.TypeError("ERR_INVALID_ARG_TYPE", "name", "null")', 19 'new errors.TypeError("ERR_INVALID_ARG_TYPE", "name", "undefined")', 23 code: "new errors.TypeError('ERR_INVALID_ARG_TYPE', 'a', 'Number')", 24 errors: [{ message: 'primitive should use lowercase: Number' }], property 25 output: "new errors.TypeError('ERR_INVALID_ARG_TYPE', 'a', 'number')", 28 code: "new errors.TypeError('ERR_INVALID_ARG_TYPE', 'a', 'STRING')", [all …]
|
| /third_party/boost/libs/core/test/ |
| D | Jamfile.v2 | 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 ; 77 : : : $(pedantic-errors) ; 79 <exception-handling>off $(pedantic-errors) : lightweight_test_test_no_except ; 81 : : : $(pedantic-errors) ; [all …]
|
| /third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
| D | utils_module_tests.c | 51 int errors = 0; in printf_encode_decode_tests() local 66 errors++; in printf_encode_decode_tests() 74 errors++; in printf_encode_decode_tests() 82 errors++; in printf_encode_decode_tests() 91 errors++; in printf_encode_decode_tests() 96 errors++; in printf_encode_decode_tests() 99 errors++; in printf_encode_decode_tests() 102 errors++; in printf_encode_decode_tests() 105 errors++; in printf_encode_decode_tests() 114 errors++; in printf_encode_decode_tests() [all …]
|
| /third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
| D | utils_module_tests.c | 51 int errors = 0; in printf_encode_decode_tests() local 66 errors++; in printf_encode_decode_tests() 74 errors++; in printf_encode_decode_tests() 82 errors++; in printf_encode_decode_tests() 91 errors++; in printf_encode_decode_tests() 96 errors++; in printf_encode_decode_tests() 99 errors++; in printf_encode_decode_tests() 102 errors++; in printf_encode_decode_tests() 105 errors++; in printf_encode_decode_tests() 114 errors++; in printf_encode_decode_tests() [all …]
|
| /third_party/node/tools/node_modules/eslint/node_modules/rxjs/_esm2015/internal/operators/ |
| D | retryWhen.js | 24 let errors = this.errors; 28 errors = new Subject(); 31 retries = notifier(errors); 39 this.errors = null; 43 this.errors = errors; 46 errors.next(err); 50 const { errors, retriesSubscription } = this; 51 if (errors) { 52 errors.unsubscribe(); 53 this.errors = null;
|
| /third_party/python/Lib/distutils/tests/ |
| D | test_log.py | 15 for errors in ('strict', 'backslashreplace', 'surrogateescape', 17 with self.subTest(errors=errors): 19 encoding='cp437', errors=errors) 21 encoding='cp437', errors=errors) 33 'Dεbug\tM?ss?ge' if errors == 'replace' else 34 'Dεbug\tMssge' if errors == 'ignore' else 38 'Fαtal\t?rr?r' if errors == 'replace' else 39 'Fαtal\trrr' if errors == 'ignore' else
|
| /third_party/node/tools/node_modules/eslint/node_modules/rxjs/_esm5/internal/operators/ |
| D | retryWhen.js | 29 var errors = this.errors; 33 errors = new Subject(); 36 retries = notifier(errors); 44 this.errors = null; 48 this.errors = errors; 51 errors.next(err); 55 var _a = this, errors = _a.errors, retriesSubscription = _a.retriesSubscription; 56 if (errors) { 57 errors.unsubscribe(); 58 this.errors = null;
|
| /third_party/node/tools/inspector_protocol/lib/ |
| D | ValueConversions_h.template | 20 static std::unique_ptr<T> fromValue(protocol::Value* value, ErrorSupport* errors) 22 return T::fromValue(value, errors); 38 static bool fromValue(protocol::Value* value, ErrorSupport* errors) 43 errors->addError("boolean value expected"); 55 static int fromValue(protocol::Value* value, ErrorSupport* errors) 60 errors->addError("integer value expected"); 72 static double fromValue(protocol::Value* value, ErrorSupport* errors) 77 errors->addError("double value expected"); 89 static String fromValue(protocol::Value* value, ErrorSupport* errors) 94 errors->addError("string value expected"); [all …]
|