Home
last modified time | relevance | path

Searched refs:wanted (Results 1 – 25 of 391) sorted by relevance

12345678910>>...16

/third_party/node/deps/npm/node_modules/npm-pick-manifest/
Dindex.js14 function pickManifest (packument, wanted, opts) { argument
17 const spec = npa.resolve(packument.name, wanted)
20 wanted = semver.clean(wanted, true) || wanted
43 err.wanted = wanted
49 if (type === 'tag' && enjoyableBy(distTags[wanted])) {
50 target = distTags[wanted]
52 target = wanted
53 } else if (type !== 'range' && enjoyableBy(distTags[wanted])) {
64 semver.satisfies(tagVersion, wanted, true)
72 target = semver.maxSatisfying(undeprecated, wanted, true)
[all …]
/third_party/python/Lib/distutils/tests/
Dtest_version.py35 for v1, v2, wanted in versions:
39 if wanted is ValueError:
45 self.assertEqual(res, wanted,
47 (v1, v2, wanted, res))
49 self.assertEqual(res, wanted,
51 (v1, v2, wanted, res))
69 for v1, v2, wanted in versions:
71 self.assertEqual(res, wanted,
73 (v1, v2, wanted, res))
75 self.assertEqual(res, wanted,
[all …]
Dtest_build.py24 wanted = os.path.join(cmd.build_base, 'lib')
25 self.assertEqual(cmd.build_purelib, wanted)
34 wanted = os.path.join(cmd.build_base, 'lib' + plat_spec)
35 self.assertEqual(cmd.build_platlib, wanted)
41 wanted = os.path.join(cmd.build_base, 'temp' + plat_spec)
42 self.assertEqual(cmd.build_temp, wanted)
45 wanted = os.path.join(cmd.build_base,
47 self.assertEqual(cmd.build_scripts, wanted)
Dtest_dir_util.py42 wanted = []
43 self.assertEqual(self._logs, wanted)
47 wanted = ['creating %s' % self.root_target,
49 self.assertEqual(self._logs, wanted)
53 wanted = ["removing '%s' (and everything under it)" % self.root_target]
54 self.assertEqual(self._logs, wanted)
75 wanted = ['creating %s' % self.root_target]
77 self.assertEqual(self._logs, wanted)
95 wanted = ['copying %s -> %s' % (a_file, self.target2)]
97 self.assertEqual(self._logs, wanted)
Dtest_file_util.py45 wanted = []
46 self.assertEqual(self._logs, wanted)
52 wanted = ['moving %s -> %s' % (self.source, self.target)]
53 self.assertEqual(self._logs, wanted)
62 wanted = ['moving %s -> %s' % (self.source, self.target_dir)]
63 self.assertEqual(self._logs, wanted)
Dtest_bdist_dumb.py88 wanted = ['foo-0.1-py%s.%s.egg-info' % sys.version_info[:2], 'foo.py']
90 wanted.append('foo.%s.pyc' % sys.implementation.cache_tag)
91 self.assertEqual(contents, sorted(wanted))
Dtest_build_ext.py413 wanted = os.path.join(curdir, 'src', 'lxml', 'etree' + ext)
415 self.assertEqual(wanted, path)
420 wanted = os.path.join(curdir, 'tmpdir', 'lxml', 'etree' + ext)
422 self.assertEqual(wanted, path)
429 wanted = os.path.join(curdir, 'tmpdir', 'twisted', 'runner',
431 self.assertEqual(wanted, path)
436 wanted = os.path.join(curdir, 'twisted', 'runner', 'portmap' + ext)
437 self.assertEqual(wanted, path)
Dtest_extension.py23 wanted = ['_arraysurfarray', '_camera', '_numericsndarray',
32 self.assertEqual(names, wanted)
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DHandleRangeAllocator.cpp37 GLuint HandleRangeAllocator::allocateAtOrAbove(GLuint wanted) in allocateAtOrAbove() argument
39 if (wanted == 0u || wanted == 1u) in allocateAtOrAbove()
42 auto current = mUsed.lower_bound(wanted); in allocateAtOrAbove()
44 if (current == mUsed.end() || current->first > wanted) in allocateAtOrAbove()
55 ASSERT(wanted >= firstId); in allocateAtOrAbove()
57 if (wanted - 1u <= lastId) in allocateAtOrAbove()
77 else if (next != mUsed.end() && next->first - 1u == wanted) in allocateAtOrAbove()
82 mUsed.insert(std::make_pair(wanted, lastExisting)); in allocateAtOrAbove()
83 return wanted; in allocateAtOrAbove()
85 mUsed.insert(std::make_pair(wanted, wanted)); in allocateAtOrAbove()
[all …]
/third_party/node/deps/npm/lib/
Dupdate.js34 wanted: ww[3],
41 const wanted = outdated.filter(function (ww) {
42 if (ww.current === ww.wanted && ww.wanted !== ww.latest) {
49 return ww.current !== ww.wanted
51 if (wanted.length === 0) return
53 log.info('outdated', 'updating', wanted)
56 wanted.forEach(function (ww) {
Doutdated.js207 wanted: want, property
380 function doIt (wanted, latest) { argument
386 return cb(null, [[tree, dep, c, wanted, latest, req, null, pkgpath]])
388 cb(null, [[tree, dep, c, wanted, latest, req, type, pkgpath]])
395 var wanted = localDependency.version
400 if (semver.lt(wanted, latestRegistryVersion)) {
401 wanted = latestRegistryVersion
406 if (!curr || curr.version !== wanted) {
407 doIt(wanted, latest)
/third_party/flutter/skia/third_party/externals/sdl/test/
Dtestaudiocapture.c94 SDL_AudioSpec wanted; in main() local
120 SDL_zero(wanted); in main()
121 wanted.freq = 44100; in main()
122 wanted.format = AUDIO_F32SYS; in main()
123 wanted.channels = 1; in main()
124 wanted.samples = 4096; in main()
125 wanted.callback = NULL; in main()
136 devid_out = SDL_OpenAudioDevice(NULL, SDL_FALSE, &wanted, &spec, SDL_AUDIO_ALLOW_ANY_CHANGE); in main()
/third_party/node/deps/npm/test/tap/
Dupdate-examples.js102 if (options.wanted) {
103 mockParentJson.dependencies.dep1 = options.wanted
104 mockInstalled.package.dependencies.dep1 = options.wanted
105 mockDepJson._from = options.wanted
173 resetPackage({ wanted: '^1.1.1' }) property
184 resetPackage({ wanted: '~1.1.1' }) property
194 resetPackage({ wanted: '~1.1.2', installed: '1.1.2' }) property
204 resetPackage({ wanted: '^0.2.0', installed: '^0.2.0' }) property
214 resetPackage({ wanted: '^0.4.0', installed: '^0.4.0' }) property
/third_party/mbedtls/tests/scripts/
Dcheck-python-files.sh37 wanted = sys.argv[1]
38 if packaging.version.parse(actual) < packaging.version.parse(wanted):
39 sys.stderr.write("$1: version %s is too old (want %s)\n" % (actual, wanted))
/third_party/boost/libs/spirit/classic/test/
Dif_tests.cpp63 test_number(char const *s, unsigned int wanted, rule_t const &r) in test_number() argument
69 number_result = wanted-1; in test_number()
72 bool result = wanted == kError?(m.full?bad:good): (number_result==wanted); in test_number()
87 if (number_result==wanted-1) in test_number()
Dwhile_tests.cpp84 unsigned int wanted, in test_while() argument
97 bool result = wanted == kError?(m.full?bad:good): (number_result==wanted); in test_while()
/third_party/boost/libs/compute/perf/
Dperf_find.cpp54 int wanted = rand_int_max + 1; in main() local
64 wanted, in main()
75 wanted)); in main()
Dperf_stl_find.cpp35 int wanted = rand_int_max + 1; in main() local
43 host_result_it = std::find(host_vector.begin(), host_vector.end(), wanted); in main()
Dperf_thrust_find.cu41 int wanted = rand_int_max + 1; in main() local
49 device_result_it = thrust::find(v.begin(), v.end(), wanted); in main()
/third_party/node/deps/npm/node_modules/promzard/test/
Dvalidate.js11 var wanted = { name: 'cool' }
12 t.same(found, wanted)
/third_party/ntfs-3g/libntfs-3g/
Dsecurity.c1686 struct CACHED_PERMISSIONS_LEGACY wanted; in enter_cache() local
1689 wanted.perm.uid = uid; in enter_cache()
1690 wanted.perm.gid = gid; in enter_cache()
1692 wanted.perm.mode = pxdesc->mode & 07777; in enter_cache()
1693 wanted.perm.inh_fileid = const_cpu_to_le32(0); in enter_cache()
1694 wanted.perm.inh_dirid = const_cpu_to_le32(0); in enter_cache()
1695 wanted.mft_no = ni->mft_no; in enter_cache()
1696 wanted.variable = (void*)pxdesc; in enter_cache()
1697 wanted.varsize = sizeof(struct POSIX_SECURITY) in enter_cache()
1700 wanted.perm.mode = mode & 07777; in enter_cache()
[all …]
/third_party/e2fsprogs/lib/ext2fs/
Dfileio.c255 unsigned int wanted, unsigned int *got) in ext2fs_file_read_inline_data() argument
272 if (count > wanted) in ext2fs_file_read_inline_data()
273 count = wanted; in ext2fs_file_read_inline_data()
286 unsigned int wanted, unsigned int *got) in ext2fs_file_read() argument
299 return ext2fs_file_read_inline_data(file, buf, wanted, got); in ext2fs_file_read()
301 while ((file->pos < EXT2_I_SIZE(&file->inode)) && (wanted > 0)) { in ext2fs_file_read()
311 if (c > wanted) in ext2fs_file_read()
312 c = wanted; in ext2fs_file_read()
321 wanted -= c; in ext2fs_file_read()
/third_party/node/test/parallel/
Dtest-stdin-script-child.js11 const wanted = `${child.pid}\n`; constant
26 assert.strictEqual(found, wanted);
/third_party/python/Lib/test/
Dtest_sysconfig.py98 wanted = _expand_vars(default_scheme, None)
99 wanted = sorted(wanted.items())
101 self.assertEqual(scheme, wanted)
266 wanted = ['nt', 'posix_home', 'posix_prefix']
268 wanted.extend(['nt_user', 'osx_framework_user', 'posix_user'])
269 self.assertEqual(get_scheme_names(), tuple(sorted(wanted)))
/third_party/gstreamer/gstplugins_bad/sys/wasapi/
Dgstwasapisrc.c755 guint wanted = length; in gst_wasapi_src_read() local
773 if (gst_adapter_available (self->adapter) >= wanted) { in gst_wasapi_src_read()
774 memcpy (data, gst_adapter_map (self->adapter, wanted), wanted); in gst_wasapi_src_read()
775 gst_adapter_flush (self->adapter, wanted); in gst_wasapi_src_read()
776 GST_DEBUG_OBJECT (self, "Adapter has enough data, returning %i", wanted); in gst_wasapi_src_read()
780 while (wanted > 0) { in gst_wasapi_src_read()
845 want_frames = wanted / bpf; in gst_wasapi_src_read()
855 wanted, n_frames, read_len, avail_frames, avail_frames * bpf); in gst_wasapi_src_read()
859 wanted -= read_len; in gst_wasapi_src_read()

12345678910>>...16