| /third_party/node/deps/npm/test/tap/ |
| D | search.js | 3 const cacheFile = require('npm-cache-filename') 5 const mr = require('npm-registry-mock') 13 const common = require('../common-tap.js') 17 // them for root-owned files in sudotest 24 cacheBase = cacheFile(CACHE_DIR)(common.registry + '/-/all') 40 mr({port: common.port, throwOnUnmatched: true}, function (err, s) { argument 41 t.ifError(err, 'registry mocked successfully') 48 test('notifies when there are no results', function (t) { 58 server.get(`/-/v1/search?${query}`).once().reply(200, { 63 '--registry', common.registry, [all …]
|
| D | adduser-always-auth.js | 4 var mr = require('npm-registry-mock') 7 var common = require('../common-tap.js') 21 remaining-- 42 server.post('/-/v1/login', 'invalid').reply(404, 'not found') 43 server.put('/-/user/org.couchdb.user:u', 'auth') 52 '--registry', common.registry, 53 '--loglevel', 'silent', 54 '--userconfig', outfile 57 function (err, code) { argument 59 t.notOk(err, 'no error output') [all …]
|
| D | link.js | 7 var common = require('../common-tap.js') 10 var linkScoped = path.join(common.pkg, 'link-scoped') 11 var linkInstall = path.join(common.pkg, 'link-install') 13 var linkRoot = path.join(common.pkg, 'link-root') 30 test: 'echo "Error: no test specified" && exit 1' 42 test: 'echo "Error: no test specified" && exit 1' 54 test: 'echo "Error: no test specified" && exit 1' 66 test: 'echo "Error: no test specified" && exit 1' 95 common.npm(['ls', '-g', '--depth=0'], OPTS, function (err, c, out) { argument 96 t.ifError(err) [all …]
|
| D | install-mention-funding.js | 7 const common = require('../common-tap.js') 10 const singlePackage = path.join(base, 'single-funding-package') 11 const multiplePackages = path.join(base, 'top-level-funding') 29 'single-funding-package': getFixturePackage({ 30 name: 'single-funding-package' 32 'top-level-funding': getFixturePackage({ 33 name: 'top-level-funding', 35 'dep-foo': 'file:../dep-foo', 36 'dep-bar': 'file:../dep-bar' 39 'dep-foo': getFixturePackage({ [all …]
|
| D | team.js | 1 var mr = require('npm-registry-mock') 4 var common = require('../common-tap.js') 9 mr({port: common.port}, function (err, s) { argument 10 t.ifError(err, 'registry mocked successfully') 20 created: '2015-07-23T18:07:49.959Z', 21 updated: '2015-07-23T18:07:49.959Z', 24 server.put('/-/org/myorg/team', JSON.stringify({ 30 '--registry', common.registry, 31 '--loglevel', 'error', 32 '--json' [all …]
|
| D | bugs.js | 1 var common = require('../common-tap.js') 4 var mr = require('npm-registry-mock') 29 '--registry=' + common.registry, 30 '--loglevel=silent', 31 '--browser=' + join(common.pkg, '/_script.sh') 34 function (err, code, stdout, stderr) { argument 35 t.ifError(err, 'bugs ran without issue') 36 t.notOk(stderr, 'should have no stderr') 48 test('npm bugs optimist - github (https://)', function (t) { 53 '--registry=' + common.registry, [all …]
|
| /third_party/node/test/parallel/ |
| D | test-fs-error-messages.js | 1 // Flags: --expose-internals 18 // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, 34 const nonexistentFile = path.join(tmpdir.path, 'non-existent'); 35 const nonexistentDir = path.join(tmpdir.path, 'non-existent', 'foo', 'bar'); 41 fs.writeFileSync(existingFile, 'test', 'utf-8'); 42 fs.writeFileSync(existingFile2, 'test', 'utf-8'); 60 const escapeRE = /[\\^$.*+?()[\]{}|=!<>:-]/g; 71 const validateError = (err) => { argument 72 assert.strictEqual(nonexistentFile, err.path); 74 err.message, [all …]
|
| D | test-fs-watch-enoent.js | 1 // Flags: --expose-internals 15 const nonexistentFile = path.join(tmpdir.path, 'non-existent'); 25 const validateError = (err) => { argument 26 assert.strictEqual(err.path, nonexistentFile); 27 assert.strictEqual(err.filename, nonexistentFile); 28 assert.strictEqual(err.syscall, 'watch'); 29 if (err.code === 'ENOENT') { 31 err.message, 32 `ENOENT: no such file or directory, watch '${nonexistentFile}'`); 33 assert.strictEqual(err.errno, UV_ENOENT); [all …]
|
| D | test-stream-readable-async-iterators.js | 48 .catch(common.mustCall((err) => { 49 assert.strictEqual(err.message, 'asd'); 65 for await (const d of readable) { // eslint-disable-line no-unused-vars 100 (item, i) => assert.strictEqual(item.value, 'hello-' + i), 5)); 103 readable.push('hello-0'); 104 readable.push('hello-1'); 105 readable.push('hello-2'); 106 readable.push('hello-3'); 107 readable.push('hello-4'); 128 readable.push('hello-0'); [all …]
|
| D | test-crypto.js | 17 // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, 53 }, (err) => { 54 // Throws TypeError, so there is no opensslErrorStack property. 55 return err instanceof TypeError && 56 err.name === 'TypeError' && 57 /^TypeError: Illegal invocation$/.test(err) && 58 !('opensslErrorStack' in err); 66 }, (err) => { 67 // Throws general Error, so there is no opensslErrorStack property. 68 return err instanceof Error && [all …]
|
| /third_party/node/deps/npm/node_modules/worker-farm/tests/ |
| D | index.js | 25 child(0, function (err, pid, rnd) { argument 42 child.run0(function (err, pid, rnd) { argument 60 child(0, function(err, pid) { argument 79 while (i--) { 80 child(0, function (err, pid) { argument 104 while (i--) { 105 child(0, function (err, pid) { argument 129 while (i--) { 130 child(1, function (err, pid) { argument 155 while (i--) [all …]
|
| /third_party/typescript/tests/baselines/reference/user/ |
| D | TypeScript-Node-Starter.log | 3 node_modules/connect-mongo/src/types.d.ts(113,66): error TS2694: Namespace 'Express' has no exporte… 4 node_modules/connect-mongo/src/types.d.ts(114,45): error TS2694: Namespace 'Express' has no exporte… 5 node_modules/connect-mongo/src/types.d.ts(118,47): error TS2694: Namespace 'Express' has no exporte… 10 Type 'User' has no call signatures. 11 src/config/passport.ts(18,24): error TS7006: Parameter 'err' implicitly has an 'any' type. 13 src/config/passport.ts(28,51): error TS7006: Parameter 'err' implicitly has an 'any' type. 14 src/config/passport.ts(71,49): error TS7006: Parameter 'err' implicitly has an 'any' type. 16 src/config/passport.ts(77,45): error TS7006: Parameter 'err' implicitly has an 'any' type. 17 src/config/passport.ts(92,49): error TS7006: Parameter 'err' implicitly has an 'any' type. 19 src/config/passport.ts(97,59): error TS7006: Parameter 'err' implicitly has an 'any' type. [all …]
|
| /third_party/flutter/skia/third_party/externals/libjpeg-turbo/ |
| D | jerror.c | 5 * Copyright (C) 1991-1998, Thomas G. Lane. 6 * It was modified by The libjpeg-turbo Project to include only code relevant 7 * to libjpeg-turbo. 11 * This file contains simple error-reporting and trace-message routines. 12 * These are suitable for Unix-like systems and others where writing to 17 * you get a Windows-specific hack to display error messages in a dialog box. 41 * We do this from the master message list in jerror.h by re-reading 72 (*cinfo->err->output_message) (cinfo); in error_exit() 87 * so we provide optional code to produce an error-dialog popup. 102 (*cinfo->err->format_message) (cinfo, buffer); in output_message() [all …]
|
| /third_party/skia/third_party/externals/libjpeg-turbo/ |
| D | jerror.c | 5 * Copyright (C) 1991-1998, Thomas G. Lane. 6 * It was modified by The libjpeg-turbo Project to include only code relevant 7 * to libjpeg-turbo. 11 * This file contains simple error-reporting and trace-message routines. 12 * These are suitable for Unix-like systems and others where writing to 17 * you get a Windows-specific hack to display error messages in a dialog box. 41 * We do this from the master message list in jerror.h by re-reading 72 (*cinfo->err->output_message) (cinfo); in error_exit() 87 * so we provide optional code to produce an error-dialog popup. 102 (*cinfo->err->format_message) (cinfo, buffer); in output_message() [all …]
|
| /third_party/libjpeg-turbo/ |
| D | jerror.c | 5 * Copyright (C) 1991-1998, Thomas G. Lane. 6 * libjpeg-turbo Modifications: 11 * This file contains simple error-reporting and trace-message routines. 12 * These are suitable for Unix-like systems and others where writing to 17 * you get a Windows-specific hack to display error messages in a dialog box. 41 * We do this from the master message list in jerror.h by re-reading 72 (*cinfo->err->output_message) (cinfo); in error_exit() 87 * so we provide optional code to produce an error-dialog popup. 102 (*cinfo->err->format_message) (cinfo, buffer); in output_message() 118 * -1: recoverable corrupt-data warning, may want to abort. [all …]
|
| /third_party/elfutils/tests/ |
| D | backtrace-subr.sh | 17 . $srcdir/test-subr.sh 22 if grep -w main $1; then 25 echo >&2 $2: no main 33 # https://lists.fedorahosted.org/pipermail/elfutils-devel/2012-October/002624.html 36 if ! grep -w gsignal $1; then 45 # when the core was generated through the tests backtrace --gencore. 49 if grep -w backtracegen $1; then 52 echo >&2 $2: no backtracegen 62 …if [ $(grep -E -v <$1 'dwfl_thread_getframes: (No DWARF information found|no matching address rang… 63 | wc -c) \ [all …]
|
| /third_party/node/test/es-module/ |
| D | test-esm-exports.mjs | 13 ['pkgexports/valid-cjs', { default: 'asdf' }], 27 ['pkgexports-sugar', { default: 'main' }], 29 ['pkgexports-sugar2', isRequire ? { default: 'not-exported' } : 32 ['pkgexports/resolve-self', isRequire ? 33 { default: 'self-cjs' } : { default: 'self-mjs' }], 35 ['pkgexports-sugar', { default: 'main' }], 37 ['pkgexports/subpath/sub-dir1', { default: 'main' }], 38 ['pkgexports/subpath/sub-dir1.js', { default: 'main' }], 53 // No exports or main field 69 // There's no such export - so there's nothing to do. [all …]
|
| /third_party/node/deps/npm/node_modules/node-gyp/test/ |
| D | test-find-python.js | 6 const findPython = require('../lib/find-python') 15 findPython.test.findPython(null, function (err, found) { argument 16 t.strictEqual(err, null) 17 var proc = execFile(found, ['-V'], function (err, stdout, stderr) { argument 18 t.strictEqual(err, null) 27 proc.stdout.setEncoding('utf-8') 28 proc.stderr.setEncoding('utf-8') 50 // Silence npmlog - remove for debugging 60 test('find python - python', function (t) { 78 function done (err, python) { argument [all …]
|
| /third_party/node/deps/npm/test/need-npm5-update/need-outdated/ |
| D | update-symlink.js | 1 var fs = require('graceful-fs') 4 var mr = require('npm-registry-mock') 8 var common = require('../common-tap.js') 11 var pkg = path.resolve(testdir, 'update-symlink') 24 name: 'my-local-package', 47 common.npm(['install', '-g', 'underscore@1.3.1'], OPTS, thenLink) 50 function thenLink (err, c, out) { argument 51 t.ifError(err, 'global install did not error') 55 function thenInstallAsync (err, c, out) { argument 56 t.ifError(err, 'link did not error') [all …]
|
| /third_party/ffmpeg/libavdevice/ |
| D | kmsgrab.c | 18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 32 #define DRM_FORMAT_MOD_INVALID ((1ULL << 56) - 1) 79 for (i = 0; i < desc->nb_objects; i++) in kmsgrab_free_desc() 80 close(desc->objects[i].fd); in kmsgrab_free_desc() 96 KMSGrabContext *ctx = avctx->priv_data; in kmsgrab_get_fb() 98 int err, fd; in kmsgrab_get_fb() local 100 fb = drmModeGetFB(ctx->hwctx->fd, plane->fb_id); in kmsgrab_get_fb() 102 err = errno; in kmsgrab_get_fb() 104 "%"PRIu32": %s.\n", plane->fb_id, strerror(err)); in kmsgrab_get_fb() 105 err = AVERROR(err); in kmsgrab_get_fb() [all …]
|
| /third_party/alsa-utils/axfer/ |
| D | xfer-libasound-irq-mmap.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // xfer-libasound-irq-mmap.c - IRQ-based scheduling model for mmap operation. 5 // Copyright (c) 2018 Takashi Sakamoto <o-takashi@sakamocchi.jp> 9 #include "xfer-libasound.h" 21 struct map_layout *layout = state->private_data; in irq_mmap_pre_process() 26 int err; in irq_mmap_pre_process() local 28 err = snd_pcm_status_malloc(&layout->status); in irq_mmap_pre_process() 29 if (err < 0) in irq_mmap_pre_process() 30 return err; in irq_mmap_pre_process() 32 err = snd_pcm_hw_params_get_access(state->hw_params, &access); in irq_mmap_pre_process() [all …]
|
| /third_party/node/deps/npm/node_modules/make-fetch-happen/ |
| D | index.js | 5 const CachePolicy = require('http-cache-semantics') 6 const fetch = require('node-fetch-npm') 8 const retry = require('promise-retry') 27 'request-timeout' 30 // https://fetch.spec.whatwg.org/#http-network-or-cache-fetch 64 // Default cacache-based cache 74 // If header list contains `If-Modified-Since`, `If-None-Match`, 75 // `If-Unmodified-Since`, `If-Match`, or `If-Range`, fetch will set cache 76 // mode to "no-store" if it is "default". 77 opts.cache = 'no-store' [all …]
|
| /third_party/ltp/testcases/kernel/mce-test/tsrc/ |
| D | erst-inject.sh | 3 # APEI ERST firmware interface and implementation has no multiple users 13 # -1 14 # -1 16 # where -1 signals there is no more record ID. 18 # Reader 1 has no chance to check record 2 and 4, while reader 2 has no 20 # return -1, that is, other readers will has no chance to check any 26 # This issue has been resolved since 2.6.39-rc1, so please run this case 27 # with Linux kernel >=2.6.39-rc1 40 # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 48 ERST=./erst-inject [all …]
|
| /third_party/node/lib/internal/streams/ |
| D | destroy.js | 5 function destroy(err, cb) { argument 17 if (err) { 18 // Avoid V8 leak, https://github.com/nodejs/node/pull/34103#issuecomment-652002364 19 err.stack; // eslint-disable-line no-unused-expressions 22 w.errored = err; 25 r.errored = err; 30 // to make it re-entrance safe in case destroy() is called within callbacks 39 this._destroy(err || null, (err) => { 40 if (err) { 41 // Avoid V8 leak, https://github.com/nodejs/node/pull/34103#issuecomment-652002364 [all …]
|
| /third_party/skia/infra/bots/gen_tasks_logic/ |
| D | schema.go | 2 // Use of this source code is governed by a BSD-style license that can be 23 // given values. Panics if no values are provided. 26 log.Fatal("No values provided for equal!") 65 // task equals any of the given values. If no values are provided, cpu returns 78 // equals any of the given values. If no values are provided, gpu returns true 101 log.Fatal("No values provided for extraConfig()!") 123 // noExtraConfig returns true if there are no extra_configs for this job. 132 // use `^` and `$`. Panics if no regular expressions are provided. 135 log.Fatal("No regular expressions provided for matchPart()!") 175 // task matches any of the given regular expressions. If no regular expressions [all …]
|